/* ============================================================
   Burgtec Projects Overview — Stylesheet v1.0.0
   All selectors prefixed bpo- to avoid conflicts.
   ============================================================ */

:root {
  --bpo-text:    #1d1d1b;
  --bpo-muted:   #737879;
  --bpo-green:   #162A24;
  --bpo-line:    #E3E2DE;
  --bpo-soft:    #f5f5f2;
  --bpo-softer:  #faf9f7;
  --bpo-orange:  #DB792E;
  --bpo-white:   #ffffff;
  --bpo-font:    'Fonetika', Arial, sans-serif;
  --bpo-max:     1140px;
}

/* ══════════════════════════════════════
   HERO STRIP
   Drop into: Full Width section, Content Width Full Width, Padding 0
══════════════════════════════════════ */
.bpo-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  background: var(--bpo-green);
  border-bottom: 1px solid var(--bpo-line);
  font-family: var(--bpo-font);
}
.bpo-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  opacity: .55;
  display: block;
}
.bpo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(22,42,36,0) 20%, rgba(22,42,36,.8) 100%);
}
.bpo-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  max-width: var(--bpo-max);
  margin: 0 auto;
  padding: 0 0 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.bpo-hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bpo-orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bpo-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--bpo-orange);
}
.bpo-hero-title {
  font-family: var(--bpo-font);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 200;
  letter-spacing: -.04em;
  line-height: .95;
  color: #fff;
  margin: 0;
}
.bpo-hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  max-width: 40ch;
  line-height: 1.7;
  align-self: end;
  padding-bottom: 4px;
  margin: 0;
}

/* ══════════════════════════════════════
   FILTER BAR
   Drop into: Boxed section (1140px), sticky
══════════════════════════════════════ */
.bpo-filter-bar {
  border-bottom: 1px solid var(--bpo-line);
  background: var(--bpo-white);
  width: 100%;
  font-family: var(--bpo-font);
}
.bpo-filter-inner {
  max-width: var(--bpo-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 52px;
}
.bpo-filter-btn {
  font-family: var(--bpo-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bpo-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 20px;
  height: 52px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.bpo-filter-btn:hover { color: var(--bpo-text); }
.bpo-filter-btn.bpo-active {
  color: var(--bpo-text);
  border-bottom-color: var(--bpo-text);
}
.bpo-filter-count {
  font-size: 10px;
  font-weight: 400;
  color: var(--bpo-muted);
  margin-left: 4px;
}

/* ══════════════════════════════════════
   FEATURED PROJECTS
   Drop into: Boxed section (1140px)
══════════════════════════════════════ */
.bpo-featured-section {
  padding: 64px 0 0;
  font-family: var(--bpo-font);
}
.bpo-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bpo-orange);
  margin-bottom: 36px;
}
.bpo-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.bpo-feat-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--bpo-line);
  aspect-ratio: 16/10;
  background: var(--bpo-soft);
  display: block;
  text-decoration: none;
}
.bpo-feat-card--tall {
  grid-row: 1 / 3;
  aspect-ratio: auto;
}
.bpo-feat-card img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .6s ease;
  position: absolute !important;
  inset: 0 !important;
}
.bpo-feat-card:hover img { transform: scale(1.03); }
.bpo-feat-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  background: linear-gradient(transparent, rgba(22,42,36,.88) 70%);
}
.bpo-feat-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.bpo-feat-title {
  font-family: var(--bpo-font);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 200;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.bpo-feat-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* ══════════════════════════════════════
   PROJECTS GRID
   Drop into: Boxed section (1140px)
══════════════════════════════════════ */
.bpo-grid-section { padding: 16px 0 80px; }
.bpo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-family: var(--bpo-font);
}
.bpo-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bpo-line);
  background: var(--bpo-white);
  display: block;
  text-decoration: none;
  transition: border-color .18s, transform .18s;
}
.bpo-card:hover { border-color: #c7c1b8; transform: translateY(-2px); }
.bpo-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bpo-soft);
  position: relative;
}
.bpo-card-img img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .5s;
}
.bpo-card:hover .bpo-card-img img { transform: scale(1.03); }
.bpo-card-body { padding: 18px 20px 22px; }
.bpo-card-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bpo-orange);
  margin-bottom: 8px;
}
.bpo-card-title {
  font-family: var(--bpo-font);
  font-size: 17px;
  font-weight: 200;
  letter-spacing: -.02em;
  color: var(--bpo-text);
  line-height: 1.25;
  margin-bottom: 6px;
}
.bpo-card-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--bpo-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════
   MARKETS CTA — self-contained, full-bleed outer
   Drop into: Full Width section, Padding 0
══════════════════════════════════════ */
.bpo-markets-outer {
  background: var(--bpo-softer);
  border-top: 1px solid var(--bpo-line);
  border-bottom: 1px solid var(--bpo-line);
  width: 100%;
  font-family: var(--bpo-font);
}
.bpo-markets-inner {
  max-width: var(--bpo-max);
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.bpo-markets-heading {
  font-family: var(--bpo-font);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 200;
  letter-spacing: -.04em;
  color: var(--bpo-text);
  line-height: 1.1;
  margin-bottom: 18px;
}
.bpo-markets-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--bpo-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.bpo-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.bpo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 24px;
  border-radius: 7px;
  font-family: var(--bpo-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s;
  border: none;
}
.bpo-btn-primary { background: var(--bpo-green); color: #fff !important; }
.bpo-btn-primary:hover { background: #1e3a2f; }
.bpo-btn-soft { background: var(--bpo-soft); color: var(--bpo-muted) !important; border: 1px solid var(--bpo-line); }
.bpo-btn-soft:hover { background: #ede9e4; }
.bpo-mkt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bpo-mkt-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bpo-line);
  background: var(--bpo-white);
  display: block;
  text-decoration: none;
  transition: border-color .18s, transform .18s;
}
.bpo-mkt-card:hover { border-color: #c7c1b8; transform: translateY(-2px); }
.bpo-mkt-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.bpo-mkt-img img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.bpo-mkt-label {
  font-family: var(--bpo-font);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px 14px;
  color: var(--bpo-text);
}

/* ── FINAL CTA ── */
.bpo-final-cta-outer {
  background: var(--bpo-green);
  width: 100%;
  font-family: var(--bpo-font);
}
.bpo-final-cta-inner {
  max-width: var(--bpo-max);
  margin: 0 auto;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.bpo-cta-heading {
  font-family: var(--bpo-font);
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 200;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}
.bpo-cta-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.6);
}
.bpo-cta-btns { display: flex; gap: 10px; flex-shrink: 0; }
.bpo-btn-white { background: #fff; color: var(--bpo-green) !important; border: none; }
.bpo-btn-white:hover { background: #f0ede8; }
.bpo-btn-outline {
  background: transparent;
  color: rgba(255,255,255,.7) !important;
  border: 1px solid rgba(255,255,255,.3);
}
.bpo-btn-outline:hover { color: #fff !important; border-color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .bpo-hero-content { grid-template-columns: 1fr; }
  .bpo-featured-grid { grid-template-columns: 1fr; }
  .bpo-feat-card--tall { grid-row: auto; aspect-ratio: 16/10; }
  .bpo-grid { grid-template-columns: 1fr 1fr; }
  .bpo-markets-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px; }
  .bpo-final-cta-inner { grid-template-columns: 1fr; padding: 60px 24px; }
  .bpo-cta-btns { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .bpo-grid { grid-template-columns: 1fr; }
  .bpo-mkt-cards { grid-template-columns: 1fr 1fr; }
  .bpo-hero-content { padding: 0 24px 36px; }
  .bpo-filter-inner { overflow-x: auto; }
}
