/* ============================================
   ADAPT Digital Solutions - Production CSS
   ============================================ */

:root {
  --brand-orange: #F46122;
  --accent-orange: #F49C22;
  --cta-green: #6FD81E;
  --hover-green: #52B307;
  --background-cream: #FBEFEB;
  --midtone-taupe: #AD9286;
  --body-brown: #351C11;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-gray: #F5F5F5;
  --dark-gradient-start: #1a1a2e;
  --dark-gradient-mid: #16213e;
  --dark-gradient-end: #0f0f23;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --section-padding: 80px;
  --container-max: 1200px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-brown);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}
h3, h4 { font-weight: 500; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--brand-orange); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-orange); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-medium);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--accent-orange));
  color: var(--white);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-orange), var(--brand-orange));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244,97,34,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--brand-orange);
  border: 2px solid var(--brand-orange);
}
.btn-secondary:hover {
  background: var(--brand-orange);
  color: var(--white);
}

/* ============ PRODUCTION NAV ============ */
.site-nav {
  background: #1a1a2e;
  padding: 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--brand-orange);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.site-nav__logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.site-nav__logo span { color: var(--brand-orange); }

/* Menu wrapper — flex on desktop so links+actions share ONE row */
.site-nav__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 4px;
  min-width: 0;
}

/* Nav links */
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav__links > li { position: relative; }
.site-nav__links > li > a {
  color: rgba(255,255,255,0.8);
  padding: 8px 11px;
  font-size: 0.87rem;
  display: block;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-nav__links > li > a:hover,
.site-nav__links > li > a.active { color: var(--brand-orange); }

/* Services dropdown */
.has-dropdown-wrap { position: relative; }
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 280px;
  background: #12122a;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--brand-orange);
  border-radius: 0 0 10px 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s ease;
  list-style: none;
  z-index: 200;
  padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.has-dropdown-wrap:hover .site-nav__dropdown,
.site-nav__dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav__dropdown li a {
  display: block;
  padding: 11px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.site-nav__dropdown li:last-child a { border-bottom: none; }
.site-nav__dropdown li a:hover {
  color: white;
  background: rgba(244,97,34,0.12);
  padding-left: 26px;
}

/* Right-side: phone + CTA button */
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  flex-shrink: 0;
}
.site-nav__phone {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s;
}
.site-nav__phone:hover { color: var(--brand-orange); background: rgba(255,255,255,0.06); }
.site-nav__actions .btn {
  padding: 9px 16px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Hamburger — hidden at desktop */
.site-nav__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}
.site-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ====== MOBILE NAV (<= 900px) ====== */
@media (max-width: 900px) {
  .site-nav__hamburger { display: flex; }

  /* Hide full menu — shown only when .open */
  .site-nav__menu {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: #0f0f23;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0 0 30px;
    overflow-y: auto;
    z-index: 999;
    gap: 0;
  }
  .site-nav__menu.open { display: flex; }

  /* Stack links vertically */
  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav__links > li > a {
    padding: 17px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
  }

  /* Mobile services sub-menu */
  .site-nav__dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: none; border-radius: 0; box-shadow: none;
    background: rgba(255,255,255,0.03);
    display: none;
    padding: 4px 0;
  }
  .site-nav__dropdown.open { display: block; }
  .site-nav__dropdown li a {
    padding: 12px 20px 12px 36px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
  }
  .site-nav__dropdown li a:hover { padding-left: 36px; color: var(--brand-orange); }

  /* Actions: phone + CTA stacked at bottom of mobile menu */
  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    margin-top: auto;
    padding: 20px;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav__phone {
    justify-content: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    font-size: 1rem;
    color: white;
  }
  .site-nav__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
  }
}

/* Hide phone number at narrow desktop/tablet (keeps CTA only) */
@media (max-width: 1100px) and (min-width: 901px) {
  .site-nav__phone { display: none; }
}


/* ============ FOOTER ============ */
.site-footer {
  background: #000000;
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.6);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer__logo-img {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
  opacity: 0.9;
  display: block;
}
.site-footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.site-footer__logo span { color: var(--brand-orange); }
.site-footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
}
.site-footer__yt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  transition: all 0.2s;
}
.site-footer__yt:hover { color: white; border-color: rgba(255,0,0,0.4); background: rgba(255,0,0,0.08); }
.site-footer__nav h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
  font-family: var(--font-heading);
}
.site-footer__nav ul { list-style: none; }
.site-footer__nav li { margin-bottom: 10px; }
.site-footer__nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color 0.2s;
  line-height: 1.4;
}
.site-footer__nav a:hover { color: var(--brand-orange); }
/* Legacy footer links class */
.site-footer__links h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 15px; letter-spacing: 2px; }
.site-footer__links ul { list-style: none; }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color 0.2s; }
.site-footer__links a:hover { color: var(--brand-orange); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Sticky CTA mobile bar */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  border-top: 2px solid var(--brand-orange);
  z-index: 998;
  padding: 10px 16px;
  gap: 10px;
}
@media (max-width: 768px) { .sticky-cta { display: flex; } }
.sticky-cta__call, .sticky-cta__report {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.88rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.sticky-cta__call { background: rgba(255,255,255,0.08); color: white; flex: 0.7; }
.sticky-cta__call:hover { color: var(--brand-orange); }
.sticky-cta__report { background: var(--brand-orange); color: white; flex: 1.3; }
.sticky-cta__report:hover { background: var(--accent-orange); color: white; }
@media (max-width: 768px) { body { padding-bottom: 68px; } }

@media (max-width: 992px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .site-footer {
    padding: 32px 0 20px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 20px;
  }

  /* Brand section: compact */
  .site-footer__brand {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-footer__brand p {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer__yt {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  /* Nav sections: collapsible accordion */
  .site-footer__nav {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .site-footer__nav h4 {
    margin-bottom: 0;
    padding: 14px 0;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
  }
  .site-footer__nav h4::after {
    content: '+';
    font-size: 1.1rem;
    color: var(--brand-orange);
    font-weight: 400;
    transition: transform 0.2s;
  }
  .site-footer__nav.footer-nav--open h4::after {
    content: '−';
  }
  .site-footer__nav ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
  }
  .site-footer__nav.footer-nav--open ul {
    max-height: 300px;
    padding-bottom: 12px;
  }
  .site-footer__nav li {
    margin-bottom: 0;
  }
  .site-footer__nav a {
    display: block;
    padding: 7px 0 7px 12px;
    font-size: 0.82rem;
    line-height: 1.4;
    border-left: 2px solid transparent;
    transition: all 0.15s;
  }
  .site-footer__nav a:hover {
    border-left-color: var(--brand-orange);
    padding-left: 16px;
  }

  /* Bottom bar */
  .site-footer__bottom {
    padding-top: 16px;
    font-size: 0.75rem;
    gap: 2px;
  }
  .site-footer__bottom p:last-child {
    display: none;
  }
}

/* ============ UTILITY ============ */
.text-center { text-align: center; }
.text-center--spaced { margin-top: 40px; }
.text-orange { color: var(--brand-orange); }
.bg-dark { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%); }
.bg-cream { background: var(--background-cream); }

/* ============ GENERIC PAGE HERO ============ */
.page-hero {
  background: linear-gradient(165deg, #1a1a2e 0%, #0f0f23 50%, #0a0a15 100%);
  padding: 160px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244,97,34,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
}
.page-hero h1 span { color: var(--brand-orange); }
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============ GENERIC SECTION ============ */
.section { padding: 80px 0; }
.section--cream { background: var(--background-cream); }
.section--white { background: var(--white); }
.section h2 { margin-bottom: 20px; }
.section h2 span { color: var(--brand-orange); }

/* ============ FORMS ============ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  color: var(--body-brown);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(173,146,134,0.15);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #faf8f7;
  transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244,97,34,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============ CARDS GRID ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
@media (max-width: 992px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .cards-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 28px;
  transition: all 0.4s;
  border: 1px solid rgba(173,146,134,0.1);
  box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(244,97,34,0.12);
}
.service-card__icon { width: 100px; height: 100px; margin-bottom: 18px; }
.service-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--body-brown); }
.service-card p { color: var(--midtone-taupe); font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; }
.service-card__link {
  color: var(--brand-orange);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============ TEAM GRID ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 28px 16px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 3px solid #F46122;
}
.team-card h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--body-brown); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.5px; }
.team-card p { font-size: 0.8rem; color: var(--midtone-taupe); margin: 0; }
/* Team grid responsive handled by page-specific CSS (about.css) */


/* ============ STATS ROW ============ */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--brand-orange);
  line-height: 1;
}
.stat-item span {
  color: var(--body-brown);
  font-size: 0.9rem;
}

/* ============ CALLOUT BOX ============ */
.callout {
  background: var(--background-cream);
  border-left: 4px solid var(--brand-orange);
  padding: 20px 25px;
  border-radius: 0 10px 10px 0;
  margin: 25px 0;
}
.callout p { margin: 0; color: var(--midtone-taupe); }

/* ============ H2/H3 SPAN COLOR ============ */
h2 span, h3 span { color: var(--brand-orange); }

/* ============ NAV PHONE ============ */
.site-nav__phone {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav__phone:hover { color: var(--brand-orange); background: rgba(255,255,255,0.08); }
@media (max-width: 768px) { .site-nav__phone { display: none; } }

/* ============ HERO CTA NOTE ============ */
.hero__cta-note {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-top: 8px;
}

/* ============ SERVICE BADGE ============ */
.services__card--featured { position: relative; border: 2px solid var(--brand-orange); }
.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-orange);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ============ CASE STUDY STATS ============ */
.case-study__stat {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--brand-orange);
  margin-bottom: 4px;
}
.case-study__stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--midtone-taupe);
  margin-bottom: 12px;
}

/* ============ PULLQUOTE ============ */
.pullquote {
  border-left: 4px solid var(--brand-orange);
  padding: 20px 25px;
  margin: 30px 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--body-brown);
  background: var(--background-cream);
  border-radius: 0 10px 10px 0;
}

/* ============ BLOG CARD HEADERS ============ */
.blog-card__header {
  height: 100px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card__header--seo { background: linear-gradient(135deg, #0f3443, #34e89e15); }
.blog-card__header--marketing { background: linear-gradient(135deg, #1a1a2e, #F46122 200%); }
.blog-card__header--google { background: linear-gradient(135deg, #1a1a2e, #4285f420); }
.blog-card__header--industry { background: linear-gradient(135deg, #1a2a1e, #2d7a3e20); }
.blog-card__header--social { background: linear-gradient(135deg, #1a1a2e, #e1306c20); }
.blog-card__header--business { background: linear-gradient(135deg, #1a1a2e, #F4912220); }
.blog-card__header--strategy { background: linear-gradient(135deg, #1a1a2e, #9b59b620); }
.blog-card__header--case-study { background: linear-gradient(135deg, #1a1a2e, #F4612220); }

/* ============ POST HERO ============ */
/* All post-hero/post-meta rules moved to blog-post.css (mobile-first) */

/* ============ FAQ ACCORDION ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid #e8e0db; border-radius: 8px; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: white;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--body-brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--brand-orange); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding: 0 24px 20px; color: var(--midtone-taupe); line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }

/* ============ RESPONSIVE ============ */
/* About page story grid responsive */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .page-hero { padding: 140px 20px 60px; }
  .page-hero h1 { font-size: 2.5rem; }
  .about-story-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 30px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.85rem; }
  .page-hero { padding: 110px 20px 50px; }
  .page-hero h1 { font-size: 2.2rem; }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Reviews strip mobile */
  .reviews-strip { padding: 35px 0; }
  .reviews-strip__inner { gap: 20px; text-align: center; }
  .reviews-strip__quotes blockquote { max-width: 100%; font-size: 0.9rem; }
  .reviews-strip__count { font-size: 1.6rem; }
  /* Stats row mobile */
  .stats-row { flex-direction: column; gap: 20px; align-items: center; }
  /* YT badge mobile */
  .yt-badge { display: flex; justify-content: center; width: 100%; }
  .yt-badge__link {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
    max-width: 320px;
  }
  .yt-badge__cta { width: 100%; text-align: center; }
  /* Case studies section header */
  .case-studies .section-header h2 { font-size: 1.8rem; }
  .case-studies .section-header p { font-size: 1rem; }
  .case-studies { padding: 60px 0 0 0; }
  .case-studies .section-header { margin-bottom: 30px; }
  .case-studies__load-more { padding: 35px 20px; }
  .case-studies__load-more button { padding: 12px 30px; font-size: 0.8rem; }
  /* Breadcrumb mobile */
  .breadcrumb__list { font-size: 0.75rem; flex-wrap: wrap; }
}
@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .page-hero h1 { font-size: 2rem; }
  body,
  p,
  li,
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* ============================================
   LEGAL PAGES (Privacy Policy, Terms)
   ============================================ */
.legal-doc {
  max-width: 800px;
}

.legal-doc h2 {
  font-size: 1.4rem;
  margin-top: 30px;
}

/* ============================================
   WEBSITE MAINTENANCE PAGE
   ============================================ */
.maint-narrow {
  max-width: 800px;
}

.maint-narrow h2 {
  margin-bottom: 0;
}

.maint-risks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.maint-risk-card {
  text-align: center;
  padding: 30px;
  background: var(--background-cream);
  border-radius: 16px;
}

.maint-risk-card__icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.maint-risk-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.maint-risk-card p {
  color: var(--midtone-taupe);
  font-size: 0.9rem;
  margin: 0;
}

.maint-handle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.maint-bargain {
  max-width: 700px;
  text-align: center;
}

.maint-bargain p {
  color: var(--midtone-taupe);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .maint-risks {
    grid-template-columns: 1fr;
  }
  .maint-handle-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   OUR SERVICES PAGE UTILITIES
   ============================================ */
.services-pyramid {
  max-width: 800px;
  text-align: center;
}

.services-pyramid p {
  color: var(--midtone-taupe);
  font-size: 1.1rem;
  line-height: 1.8;
}

.services-pyramid__img {
  max-width: 500px;
  width: 100%;
  margin: 30px auto 0;
  display: block;
}

.services-cta-nudge {
  max-width: 600px;
  text-align: center;
}

.services-cta-nudge p {
  color: var(--midtone-taupe);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}


/* ============================================
   YOUTUBE BADGE
   ============================================ */
.yt-badge {
  margin-top: 30px;
  display: inline-block;
}
.yt-badge__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}
.yt-badge__link:hover {
  background: rgba(255,0,0,0.1);
  border-color: rgba(255,0,0,0.3);
  color: white;
}
.yt-badge__channel {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}
.yt-badge__stats {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.yt-badge__cta {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ============ HERO TRUST BADGES ============ */
.hero-trust { padding: 20px 0; background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.08); }
.hero-trust .container { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.hero-trust img { height: 28px; filter: brightness(0) invert(1) opacity(0.5); }

/* ============ STORY SUBHEADS (ABOUT PAGE) ============ */
.story-subhead {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #351C11;
  margin: 30px 0 8px;
  padding-left: 14px;
  border-left: 3px solid #F46122;
}

/* ============ CONTACT LEAD ============ */
.contact-lead h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; }
.contact-lead h2 span { color: #F46122; }

/* ============ REVIEWS STRIP ============ */
.reviews-strip {
  background: #1a1a2e;
  padding: 50px 0;
  border-top: none;
}

/* Story text utility (about page) */
.story-text {
  color: var(--midtone-taupe);
  line-height: 1.8;
}
.reviews-strip__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.reviews-strip__stars { color: #fbbf24; font-size: 1.4rem; letter-spacing: 2px; }
.reviews-strip__count { font-family: 'Oswald', sans-serif; font-size: 2rem; color: white; }
.reviews-strip__label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.reviews-strip__divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }
.reviews-strip__quotes blockquote { color: rgba(255,255,255,0.8); font-style: italic; font-size: 1rem; max-width: 400px; margin: 0; }
.reviews-strip__quotes cite { display: block; margin-top: 8px; color: rgba(255,255,255,0.4); font-size: 0.85rem; font-style: normal; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
@media (max-width: 768px) { .reviews-strip__divider { display: none; } }

/* ============ STANDARDIZED SECTION SPACING ============ */
.section--compact { padding: 50px 0; }
.section--large { padding: 100px 0; }
.section--dark { background: #1a1a2e; }

/* ============ BLOG FILTERS ============ */
.blog-filters {
  background: white;
  border-bottom: 1px solid #e8e0db;
  padding: 16px 0;
  position: sticky;
  top: 70px;
  z-index: 50;
}
.blog-filters__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  padding: 8px 18px;
  border: 1px solid #e0d8d4;
  background: white;
  border-radius: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #351C11;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { background: #fdf5f2; border-color: #F46122; color: #F46122; }
.filter-btn.active { background: #F46122; border-color: #F46122; color: white; }
.blog-card.hidden { display: none; }

/* ============ BLOG FEATURED ============ */
.blog-featured {
  background: linear-gradient(135deg, #1a1a2e, #0f0f23);
  padding: 50px 0;
  border-bottom: 3px solid #F46122;
}
.blog-featured[data-image] {
  background-image:
    linear-gradient(135deg, rgba(26,26,46,0.92), rgba(15,15,35,0.92)),
    var(--bg-image);
  background-size: cover;
  background-position: center;
}
.blog-featured__inner { max-width: 800px; }
.blog-featured__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F46122;
  margin-bottom: 16px;
}
.blog-featured__title a {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: white;
  text-transform: none;
  font-weight: 600;
  line-height: 1.25;
  display: block;
  margin-bottom: 16px;
}
.blog-featured__title a:hover { color: #F46122; }
.blog-featured__excerpt { color: rgba(255,255,255,0.7); margin-bottom: 20px; line-height: 1.7; max-width: 600px; }
.blog-featured__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.blog-featured__cta {
  color: #F46122;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-bottom: 1px solid #F46122;
  padding-bottom: 2px;
  margin-left: auto;
}
.blog-featured__cta:hover { color: white; border-bottom-color: white; }

.blog-card__header[data-image] {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%),
    var(--bg-image);
  background-size: cover;
  background-position: center;
}

.blog-card__header[data-image] .blog-card__emoji {
  display: none;
}

/* Breadcrumb Navigation */
.breadcrumb { background: #f5f0ed; padding: 10px 0; border-bottom: 1px solid #e8e0db; }
.breadcrumb__list { list-style: none; display: flex; gap: 6px; align-items: center; font-size: 0.82rem; color: #AD9286; padding: 0; margin: 0; }
.breadcrumb__list li:not(:last-child)::after { content: '›'; margin-left: 6px; color: #AD9286; }
.breadcrumb__list a { color: #351C11; }
.breadcrumb__list a:hover { color: #F46122; }
.breadcrumb__list li:last-child { color: #F46122; font-weight: 500; }

/* ============================================
   CASE STUDIES - Modular Stacked Stream
   Used on: homepage, about, FMS, service pages
   ============================================ */
.case-studies {
  background: var(--background-cream);
  padding: 80px 0 0 0;
  position: relative;
}

.case-studies .section-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.case-studies .section-header h2 {
  color: var(--body-brown);
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.case-studies .section-header h2 span {
  color: var(--brand-orange);
}

.case-studies .section-header p {
  color: var(--midtone-taupe);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* The stream container - max-width for desktop */
.case-studies__stream {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual case study card - 3 column layout */
.case-card {
  background: white;
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  grid-template-areas: "info story review";
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(173,146,134,0.18);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
  position: relative;
  transition: background 0.2s ease;
}

.case-card:hover {
  background: #fdfcfb;
}

/* Left accent bar on hover */
.case-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-orange);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.case-card:hover::before {
  opacity: 1;
}

/* Info section: Logo above Heading */
.case-card .case-info {
  grid-area: info;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(173,146,134,0.15);
}

.case-card .placeholder-logo {
  width: 80px;
  height: 55px;
  background: linear-gradient(135deg, var(--body-brown) 0%, #4a3428 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.case-card .case-logo {
  width: 80px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.case-card .case-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.case-card.case-card--hidden {
  display: none;
}

.case-card.case-card--hidden.case-card--visible {
  display: grid;
}

.case-card .case-heading .tagline {
  color: var(--brand-orange);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.65rem;
  margin-bottom: 4px;
}

.case-card .case-heading h3 {
  color: var(--body-brown);
  font-size: 1.15rem;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

/* Story section */
.case-card .case-story {
  grid-area: story;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(173,146,134,0.15);
}

.case-card .case-story p {
  color: var(--body-brown);
  line-height: 1.7;
  margin: 0;
  font-size: 0.92rem;
}

/* Review section - Google style (white background) */
.case-card .case-review {
  grid-area: review;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  background: #fff;
}

/* Google Review Card - exact Google style */
.google-review {
  width: 100%;
  background: white;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
}

.google-review__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.google-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.google-review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.google-review__avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

.google-review__user {
  flex: 1;
  min-width: 0;
}

.google-review__name {
  color: #1a73e8;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.google-review__stats {
  color: #5f6368;
  font-size: 0.75rem;
  margin: 0;
}

.google-review__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.google-review__stars {
  display: flex;
  gap: 1px;
}

.google-review__stars svg {
  width: 14px;
  height: 14px;
}

.google-review__date {
  color: #5f6368;
  font-size: 0.75rem;
}

.google-review__text {
  color: #202124;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Load More Button */
.case-studies__load-more {
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--background-cream) 0%, #f0e9e5 100%);
}

.case-studies__load-more button {
  background: transparent;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 40px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.case-studies__load-more button:hover {
  background: var(--brand-orange);
  color: white;
}

.case-studies__load-more .count {
  display: block;
  margin-top: 12px;
  color: var(--midtone-taupe);
  font-size: 0.85rem;
}

@media (max-width: 1000px) {
  .case-card {
    grid-template-columns: 1fr 280px;
    grid-template-areas:
      "info review"
      "story review";
  }

  .case-card .case-info {
    border-bottom: 1px solid rgba(173,146,134,0.1);
  }

  .case-studies .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .case-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "story"
      "review";
    padding: 20px;
  }

  .case-card::before {
    display: none;
  }

  .case-card .case-info {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    border-right: none;
    border-bottom: none;
    padding: 0 0 15px 0;
  }

  .case-card .placeholder-logo {
    margin-bottom: 0;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .case-card .case-heading {
    flex: 1;
  }

  .case-card .case-heading .tagline {
    font-size: 0.6rem;
    margin-bottom: 2px;
  }

  .case-card .case-heading h3 {
    font-size: 1.05rem;
    margin-bottom: 0;
  }

  .case-card .case-story {
    border-right: none;
    padding: 0 0 15px 0;
  }

  .case-card .case-story p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .case-card .case-review {
    padding: 0;
    background: transparent;
  }

  .google-review {
    padding: 14px;
  }

  .google-review__text {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .case-studies__stream {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .services-pyramid__img {
    width: 100%;
    max-width: 100%;
  }
  .service-card {
    background: var(--background-cream, #FBEFEB);
    border: 1px solid rgba(173,146,134,0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
  }
  .service-card__link {
    display: inline-block;
    padding: 12px 0;
  }
}

/* ============================================
   GLOBAL CONTACT FORM COMPONENT
   ============================================ */
.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-align: center;
  color: var(--body-brown);
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--body-brown);
}

.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(173,146,134,0.15);
  border-radius: 10px;
  font-size: 1rem;
  background: #faf8f7;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244,97,34,0.1);
}

.contact-form__btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--brand-orange), var(--accent-orange));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(244,97,34,0.3);
}

.contact-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(244,97,34,0.4);
}

.contact-form__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form__success {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
}

.contact-form__success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  animation: successPop 0.4s ease-out;
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.contact-form__success h3 {
  color: #15803d;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.contact-form__success-urgent {
  background: #fff;
  border: 2px solid #22c55e;
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #15803d;
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-form__success p {
  color: var(--body-brown);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .contact-form h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .contact-form__group {
    margin-bottom: 16px;
  }

  .contact-form__group input,
  .contact-form__group select,
  .contact-form__group textarea {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}
