/* B&B Facility Solutions LLC — site styles */

:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #1f8fff;
  --blue-dark: #0d6fd6;
  --gray-band: #666666;
  --gray-text: #555555;
  --gray-light: #f5f6f8;
  --gray-border: #e2e2e2;
  --radius: 12px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0a0a0a;
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

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

/* ---------- Top bar + header ---------- */

.topbar {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: var(--white); }

header.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.logo img { height: 94px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}
nav.main-nav a.nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}
nav.main-nav a.nav-link:hover,
nav.main-nav a.nav-link.active {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, #05070d 0%, #0a1f44 55%, #05070d 100%);
  color: var(--white);
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(31,143,255,0.18), transparent 55%);
  pointer-events: none;
}
.hero.has-photo {
  background-size: cover;
  background-position: center;
}
.hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.35) 100%);
}
.page-hero.has-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.3) 100%);
}
.page-hero.has-photo .wrap { position: relative; z-index: 1; }
.hero .wrap { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 34px;
  max-width: 600px;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(135deg, #05070d 0%, #0a1f44 65%, #05070d 100%);
  color: var(--white);
  padding: 70px 0;
}
.page-hero .eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.page-hero h1 { font-size: 40px; margin: 0 0 16px; font-weight: 800; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 640px; margin: 0; }

/* ---------- Stats bar ---------- */

.stats-bar {
  background: var(--black);
  color: var(--white);
  padding: 40px 0;
}
.stats-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num { font-size: 36px; font-weight: 800; color: var(--blue); }
.stat .label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  text-transform: uppercase;
}

/* ---------- Generic section ---------- */

section { padding: 80px 0; }
.section-eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head h2 { font-size: 34px; margin: 0 0 14px; font-weight: 800; }
.section-head p { font-size: 17px; color: var(--gray-text); margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  padding: 32px;
  border: 1px solid var(--gray-border);
}
.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(31,143,255,0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin: 0 0 10px; }
.service-card p { color: var(--gray-text); font-size: 15px; margin: 0 0 16px; }
.service-card .learn-more { color: var(--blue); font-weight: 600; font-size: 15px; }
.service-card .learn-more:hover { text-decoration: underline; }

.service-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  background: var(--gray-light);
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Placeholder photo blocks (Getty-licensed originals not carried over) ---------- */

.photo-placeholder {
  background: repeating-linear-gradient(135deg, #eceef1, #eceef1 10px, #e3e6ea 10px, #e3e6ea 20px);
  border: 1px dashed #b9c0c9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a828c;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  min-height: 220px;
}

/* ---------- Clients / brand strip ---------- */

.clients-band {
  background: var(--gray-band);
  color: var(--white);
  text-align: center;
}
.clients-band .section-head h2,
.clients-band .section-head p { color: var(--white); }
.clients-band .section-head p { color: rgba(255,255,255,0.8); }
.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.brand-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 18px 26px;
  min-width: 150px;
}
.brand-pill .name { font-weight: 700; font-size: 16px; display: block; }
.brand-pill .locations { font-size: 13px; color: rgba(255,255,255,0.7); }
.clients-band .note { font-size: 13px; color: rgba(255,255,255,0.6); font-style: italic; }

/* ---------- Testimonial ---------- */

.testimonial {
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.testimonial blockquote {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 28px;
  font-style: italic;
}
.testimonial .author { font-weight: 700; display: block; }
.testimonial .company,
.testimonial .note { color: rgba(255,255,255,0.6); font-size: 14px; display: block; }
.testimonial .note { margin-top: 6px; }

/* ---------- CTA + form section ---------- */

.cta-section { background: var(--white); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-grid h2 { font-size: 32px; margin: 0 0 16px; font-weight: 800; }
.cta-grid > div:first-child p { color: var(--gray-text); font-size: 17px; margin: 0 0 26px; }
.cta-list { list-style: none; margin: 0; padding: 0; }
.cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #333;
}
.cta-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
  flex-shrink: 0;
}

.form-card {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-card h3 { margin: 0 0 20px; font-size: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-card .btn-primary { width: 100%; justify-content: center; }

/* ---------- Process steps (services page) ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step .step-num {
  font-size: 32px;
  font-weight: 800;
  color: rgba(31,143,255,0.25);
  margin-bottom: 10px;
}
.process-step h3 { font-size: 18px; margin: 0 0 8px; }
.process-step p { font-size: 14px; color: var(--gray-text); margin: 0; }

/* ---------- Bullet checklist (services page) ---------- */

.check-list {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
  columns: 1;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- About page ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--blue); }
.value-card p { font-size: 14px; color: var(--gray-text); margin: 0; }

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.credential-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 26px 16px;
  border: 1px solid var(--gray-border);
}
.credential-card .big { font-size: 26px; font-weight: 800; color: var(--blue); }
.credential-card .small { font-size: 13px; color: var(--gray-text); margin-top: 4px; }

.story-block p { font-size: 16px; color: #333; margin-bottom: 18px; }

/* ---------- Portfolio ---------- */

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.filter-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
}
.portfolio-card .tag {
  position: relative;
  top: 12px;
  left: 12px;
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin: 12px 0 -34px 12px;
  z-index: 2;
}
.portfolio-card .body { padding: 20px; }
.portfolio-card .locations { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.portfolio-card h3 { font-size: 18px; margin: 8px 0; }
.portfolio-card p { font-size: 14px; color: var(--gray-text); margin: 0 0 10px; }
.portfolio-card .brand { font-size: 13px; font-weight: 600; color: #333; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.contact-info-card {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.contact-info-card h3 { margin: 0 0 18px; font-size: 18px; }
.contact-item { margin-bottom: 16px; }
.contact-item .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.contact-item .value { font-size: 15px; color: #222; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}
.why-list li::before { content: "✓"; color: var(--blue); font-weight: 800; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-grid p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--blue); }
.footer-logo img { height: 40px; margin-bottom: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .hero h1 { font-size: 34px; }
  .page-hero h1 { font-size: 30px; }
  .stats-bar .wrap { grid-template-columns: repeat(2, 1fr); }
  .card-grid,
  .process-grid,
  .values-grid,
  .credentials-grid,
  .portfolio-grid { grid-template-columns: 1fr; }
  .cta-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
