/* ============================================================
   BBG Impact Solutions — bbgwindows.com
   ============================================================ */

:root {
  --navy: #14213d;
  --navy-deep: #0e1830;
  --gold: #c99612;
  --gold-bright: #d9a614;
  --gold-dark: #a87c0a;
  --ink: #1c1c1c;
  --gray-text: #4b5563;
  --gray-bg: #f4f5f7;
  --line: #e2e5ea;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', Arial, sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  background: var(--white);
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-icon { width: 17px; height: 17px; flex: none; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(201, 150, 18, 0.35);
}
.btn-gold:hover { background: var(--gold-bright); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-deep); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(14, 24, 48, 0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar-logo img { height: 130px; width: auto; }

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.phone-icon svg { width: 19px; height: 19px; }
.topbar-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.topbar-phone-text strong { font-size: 19px; letter-spacing: 0.01em; }
.topbar-phone-text small { color: var(--gray-text); font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center 68%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 16, 32, 0.88) 0%, rgba(14, 24, 48, 0.72) 45%, rgba(14, 24, 48, 0.45) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy { color: var(--white); }
.hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.hero-copy h1 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
}
.hero-points li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}
.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 11px;
  border-right: 2.5px solid var(--gold-bright);
  border-bottom: 2.5px solid var(--gold-bright);
  margin-top: -2px;
}

/* ---------- Quote card ---------- */
.quote-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(5, 10, 25, 0.45);
}
.quote-card-promo {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 24px 28px 22px;
  border-bottom: 4px solid var(--gold);
}
.promo-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.promo-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 8px;
}
.promo-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.quote-form { padding: 22px 26px 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 16px; /* 16px+ prevents iOS Safari from auto-zooming on focus */
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  background: var(--white);
  margin-bottom: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quote-form select { appearance: auto; color: var(--ink); }
.quote-form textarea { resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 18, 0.18);
}
.quote-form ::placeholder { color: #8a919d; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  color: var(--gray-text);
  margin: 2px 0 16px;
  cursor: pointer;
}
.consent input { margin-top: 3px; flex: none; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray-text);
}
.trust-item strong { color: var(--ink); font-size: 15px; }
.trust-seal { height: 54px; width: auto; flex: none; }
.trust-icon { width: 34px; height: 34px; color: var(--gold); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section-gray { background: var(--gray-bg); }

.section-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
  padding-bottom: 18px;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 3px;
  background: var(--gold);
}
.section .section-title { margin-bottom: 48px; }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.benefits-list { display: flex; flex-direction: column; gap: 30px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit-icon {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: rgba(201, 150, 18, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 4px;
}
.benefit p { color: var(--gray-text); font-size: 16px; }

.benefits-photo img {
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(14, 24, 48, 0.18);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
}

/* ---------- Why BBG ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why-photo img {
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(14, 24, 48, 0.18);
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  width: 100%;
}
.why-copy p { color: var(--gray-text); margin-bottom: 18px; }
.why-copy p strong { color: var(--ink); }
.why-copy .btn { margin-top: 6px; }

/* ---------- Diagonal banners ---------- */
.banner {
  position: relative;
  background-size: cover;
  background-position: center 35%;
  min-height: 340px;
  display: flex;
  align-items: stretch;
}
.banner-panel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.banner-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 100%);
  clip-path: polygon(0 0, 58% 0, 44% 100%, 0 100%);
  opacity: 0.96;
}
.banner-content {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 64px 24px;
}
.banner-content h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: var(--white);
  font-size: 36px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.18;
  max-width: 480px;
  margin-bottom: 26px;
}
.banner-alt .banner-panel::before {
  clip-path: polygon(0 0, 62% 0, 48% 100%, 0 100%);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}
.step-photo {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}
.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(14, 24, 48, 0.22);
}
.step-num {
  position: absolute;
  bottom: 2px;
  left: 2px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(14, 24, 48, 0.3);
}
.step h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 23px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p { color: var(--gray-text); font-size: 15px; }

/* ---------- Closing copy ---------- */
.section-copy h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 30px 0 10px;
}
.section-copy p { color: var(--gray-text); }
.closing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.7fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer-col h4 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.footer-col p { font-size: 15px; margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-license {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.45;
}
.footer-license img { height: 62px; width: auto; flex: none; }

.footer-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 40px;
}
.footer-logo { max-height: 170px; width: auto; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ---------- Thanks page ---------- */
.thanks-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: var(--gray-bg);
  padding: 80px 0;
}
.thanks-hero .container { max-width: 640px; }
.thanks-hero h1 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 44px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.thanks-hero p { color: var(--gray-text); margin-bottom: 28px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy h1 { font-size: 52px; }
  .quote-card { max-width: 560px; }
  .benefits-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefits-photo { order: -1; }
  .benefits-photo img, .why-photo img { aspect-ratio: 16 / 10; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
  .banner-panel::before { clip-path: polygon(0 0, 78% 0, 62% 100%, 0 100%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo-col { border-left: 0; padding-left: 0; justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar-logo img { height: 88px; }
  .topbar-phone-text small { display: none; }
  .topbar-phone-text strong { font-size: 17px; }
  .phone-icon { width: 38px; height: 38px; }

  .hero-inner { padding-top: 52px; padding-bottom: 52px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 31px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .promo-title { font-size: 25px; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .banner { min-height: 0; }
  .banner-content { padding: 48px 24px; }
  .banner-content h2 { font-size: 27px; }
  .banner-panel::before { clip-path: none; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo-col { justify-content: center; }
  .footer-logo { max-height: 140px; }
  .closing-cta .btn { width: 100%; justify-content: center; }
}
