/* Fuel Marketing - shared styles. Brand palette from the original site:
   near-black header, dark purple buttons and accents, orange highlights. */
:root {
  --purple: #4d1a6e;
  --purple-dark: #3d1357;
  --purple-band: #4b1d6b;
  --orange: #f5a623;
  --orange-box: #ef8b1f;
  --ink: #222222;
  --muted: #555555;
  --header: #161616;
  --line: #dddddd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
}

img { max-width: 100%; }

a { color: var(--purple); }

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: var(--ink);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--header);
  position: relative;
  z-index: 5;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo-box {
  background: #ffffff;
  padding: 12px 18px 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* On the home page the logo box hangs over the top of the hero photo,
   as on the original site. On inner pages it sits inside the header. */
body.home .logo-box { margin-bottom: -58px; }

.logo-box img { display: block; height: 64px; width: auto; }

.main-nav {
  padding-top: 22px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 3px;
}

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

.main-nav a.active { border-bottom: 2px solid #ffffff; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; }

.hero img {
  width: 100%;
  display: block;
}

/* Transparent link over the "Book A FREE Consultation" button that is
   baked into the hero stand-in image, so the button works. */
.hero-cta {
  position: absolute;
  left: 41.5%;
  top: 74%;
  width: 18.5%;
  height: 17%;
  display: block;
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }

.section-label {
  font-weight: bold;
  font-size: 15px;
  margin: 0 0 8px 0;
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin: 0 0 36px 0;
}

.page-title {
  font-size: 22px;
  margin: 0 0 8px 0;
}

.lede { max-width: 860px; }

.btn {
  display: inline-block;
  background: var(--purple);
  color: #ffffff;
  padding: 14px 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn:hover { background: var(--purple-dark); }

.btn-wide {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 32px auto 0 auto;
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 28px 0;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 48px;
}

.service h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  margin: 0 0 10px 0;
}

.service p { font-size: 15px; color: var(--muted); margin: 0 0 12px 0; }

.service p strong { color: var(--ink); }

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--purple-band);
  color: #ffffff;
  padding: 48px 0 60px 0;
  text-align: center;
}

.testimonials h2 { color: #ffffff; font-size: 30px; margin: 0 0 32px 0; }

.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.testimonial {
  background: #ffffff;
  color: var(--ink);
  width: 300px;
  padding: 28px 24px;
  text-align: center;
}

.testimonial img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px auto;
}

.stars { color: #f5b301; letter-spacing: 3px; font-size: 18px; }

.testimonial blockquote { margin: 10px 0; font-size: 15px; }

.testimonial .review-link { font-size: 14px; }

.testimonial .reviewer { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Why Facebook ---------- */
.why-fb p { max-width: 860px; margin: 0 auto 16px auto; }
.why-fb .center { text-align: center; }

/* ---------- Case study teaser ---------- */
.case-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.case-teaser h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 17px;
  min-height: 66px;
  margin: 0 0 20px 0;
}

/* ---------- Blog band ---------- */
.blog-band {
  background: linear-gradient(135deg, #333333, #1a1a1a);
  color: #ffffff;
  padding: 48px 0 60px 0;
}

.blog-band h2 { color: #ffffff; text-align: center; font-size: 30px; margin: 0 0 32px 0; }

.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card {
  background: #ffffff;
  color: var(--ink);
  text-align: center;
  padding-bottom: 18px;
}

.blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.blog-card .date { font-size: 13px; color: var(--muted); margin: 14px 0 6px 0; }

.blog-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin: 0 12px 12px 12px;
  min-height: 58px;
}

.blog-card .read { font-size: 14px; }

/* ---------- Don't fall behind ---------- */
.fall-behind ul { max-width: 860px; }

.fall-behind li { margin-bottom: 4px; }

/* ---------- Connect ---------- */
.connect { text-align: center; }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 8px 0;
}

.social-icons a { display: inline-block; }

.social-icons svg { width: 40px; height: 40px; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  color: #666666;
  font-size: 13px;
  padding: 36px 20px 48px 20px;
  border-top: 1px solid var(--line);
}

.site-footer p { margin: 6px 0; }

/* ---------- Gallery ---------- */
.gallery-item { margin: 0 0 44px 0; }

.gallery-item img {
  width: 100%;
  display: block;
  border: 1px solid #eeeeee;
}

.gallery-item figcaption {
  text-align: center;
  padding: 10px 0 0 0;
  font-size: 15px;
}

.gallery-item figcaption a { color: var(--ink); text-decoration: none; }

.gallery-item figcaption a:hover { color: var(--purple); }

.social-post {
  max-width: 760px;
  margin: 0 auto;
}

.social-post blockquote {
  margin: 0 0 20px 0;
  font-size: 15px;
  color: var(--muted);
}

.social-post img.featured {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 496px;
  width: 100%;
}

.social-strip { width: 100%; display: block; }

/* ---------- Case studies ---------- */
.case-study {
  border: 1px solid var(--line);
  margin: 0 0 56px 0;
}

.case-banner {
  background-image: url("images/case-banner.jpg");
  background-size: cover;
  background-position: center;
  background-color: var(--purple);
  color: #ffffff;
  padding: 40px 32px;
}

.case-banner h2 { color: #ffffff; font-size: 32px; margin: 0 0 6px 0; }

.case-banner .category { font-size: 18px; font-weight: bold; margin: 0; }

.case-banner .tagline {
  text-align: right;
  font-size: 13px;
  font-style: italic;
  margin: 18px 0 0 0;
  opacity: 0.9;
}

.case-body {
  display: flex;
  gap: 36px;
  padding: 28px 32px;
  align-items: flex-start;
}

.case-main { flex: 1; min-width: 0; }

.case-main h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  margin: 24px 0 12px 0;
}

.case-main h3:first-child { margin-top: 0; }

.case-main p { font-size: 15px; color: var(--muted); margin: 0 0 12px 0; }

.case-main ul { font-size: 15px; color: var(--muted); margin: 0 0 12px 0; padding-left: 20px; }

.case-main li { margin-bottom: 4px; }

.case-main p strong, .case-main li strong { color: var(--ink); }

.key-metrics {
  flex: 0 0 210px;
  background: var(--orange-box);
  color: #ffffff;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}

.key-metrics h4 { margin: 0 0 18px 0; font-size: 17px; color: #ffffff; }

.key-metrics .metric { margin-bottom: 20px; }

.key-metrics .metric:last-child { margin-bottom: 0; }

.key-metrics .number {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.1;
  display: block;
}

.key-metrics .label { font-size: 13px; display: block; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form label {
  display: block;
  font-size: 15px;
  margin: 0 0 16px 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  margin-top: 6px;
}

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

.contact-form .btn { width: 100%; }

.contact-info h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: normal;
  margin: 0 0 16px 0;
}

.contact-info p { color: var(--muted); }

.contact-info .email {
  font-size: 18px;
  margin: 24px 0;
}

.hours { color: var(--muted); }

.hours strong { color: var(--ink); font-weight: normal; }

/* ---------- Privacy policy ---------- */
.policy-toc {
  background: #f7f2fa;
  border: 1px solid var(--line);
  padding: 20px 28px;
  margin: 24px 0 36px 0;
}

.policy-toc h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  margin: 0 0 8px 0;
}

.policy-toc p { font-size: 15px; color: var(--muted); margin: 0 0 12px 0; }

.policy-toc ol { margin: 0; padding-left: 22px; font-size: 15px; }

.policy-toc li { margin-bottom: 3px; }

.policy h2 { font-size: 22px; margin: 36px 0 12px 0; }

.policy h3 { font-size: 18px; margin: 24px 0 10px 0; }

.policy p, .policy li { font-size: 15px; color: var(--muted); }

.policy p strong, .policy li strong { color: var(--ink); }

.policy .effective { color: var(--muted); }

.policy ul { margin: 0 0 16px 0; padding-left: 22px; }

.policy .copyright { margin-top: 40px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .case-teaser { grid-template-columns: 1fr; }
  .case-teaser h3 { min-height: 0; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .case-body { flex-direction: column; }
  .key-metrics { flex: 0 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  body.home .logo-box { margin-bottom: 0; }
  .main-nav { gap: 16px; padding-top: 16px; }
}

@media (max-width: 520px) {
  .blog-cards { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; }
  .main-nav { padding: 12px 0 16px 0; }
}
