/* Belfore Global — static rebuild of the WordPress/Divi one-pager */

:root {
  --orange: #ffb356;
  --orange-light: #ffd088;
  --slate-dark: #3e5159;
  --slate: #455860;
  --heading: #345168;
  --body-text: #666;
  --light-grey: #edf0f7;
}

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

body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: #fff;
}

img { max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.header-inner .logo img { height: 44px; width: auto; display: block; }

nav.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav.main-nav a {
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--orange);
  border-radius: 3px;
  color: var(--heading);
  font-weight: 600;
  font-size: 17px;
  transition: background .2s, color .2s;
}

.btn:hover { background: var(--orange); color: #fff; }

.btn.btn-light { border-color: #fff; color: #fff; }
.btn.btn-light:hover { background: #fff; color: var(--heading); }

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)), url('hero-bg.jpg') center / cover no-repeat;
  position: relative;
  padding: 90px 0 160px;
}

.hero-content {
  max-width: 620px;
  margin-left: auto;
  background: rgba(255, 255, 255, .82);
  padding: 36px 40px;
  border-radius: 4px;
}

.hero-content .kicker h2 { font-size: 30px; margin-bottom: 2px; }
.hero-content .kicker h6 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
  margin-bottom: 18px;
}

.hero-content h1 { font-size: 44px; margin-bottom: 26px; }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.hero-card {
  background: var(--slate-dark);
  color: #fff;
  padding: 26px 24px;
  border-radius: 4px;
}

.hero-card h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.hero-card p { font-size: 14px; margin-bottom: 18px; }
.hero-card .btn { border-color: var(--orange); color: #fff; font-size: 15px; padding: 9px 20px; }
.hero-card .btn:hover { background: var(--orange); }

/* Angled divider between sections (Divi-style) */
.divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  width: 100%;
  display: block;
}

/* ---------- Services strip ---------- */
.services {
  position: relative;
  background: var(--slate);
  padding: 90px 0 170px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service {
  text-align: center;
  color: #d9dfe4;
}

.service .icon {
  font-size: 44px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 18px;
}

.service h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.service p { font-size: 14px; }

/* ---------- About ---------- */
.about {
  position: relative;
  padding: 80px 0 150px;
  background: var(--light-grey);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.about h2 { font-size: 28px; margin-bottom: 14px; }

/* ---------- Contact page ---------- */
.contact-hero {
  background: linear-gradient(rgba(62, 81, 89, .72), rgba(62, 81, 89, .72)), url('contact-hero.jpg') center / cover no-repeat;
  position: relative;
  text-align: center;
  padding: 110px 0 170px;
  color: #fff;
}

.contact-hero h1 { color: #fff; font-size: 46px; margin-bottom: 12px; }
.contact-hero p { font-size: 18px; }

.contact-body { padding: 70px 0 90px; }
.contact-body h2 { font-size: 30px; margin-bottom: 26px; }

.contact-form { max-width: 760px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form p { margin-bottom: 20px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d5d9e2;
  border-radius: 3px;
  background: var(--light-grey);
  font: inherit;
  color: #333;
}

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--slate-dark);
  color: #c4cace;
  padding: 60px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: #c4cace; }
footer a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  text-align: center;
  color: #9aa4aa;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 34px; }
  .hero-content { margin: 0; }
}

@media (max-width: 640px) {
  .hero { padding: 50px 0 120px; }
  .hero-content { padding: 26px 22px; }
  .hero-cards, .about-grid, .form-row, .services-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  nav.main-nav ul { gap: 16px; }
}
