/* ============================================================
   BrightWorks Technologies — Shared Theme
   Mirrors: Business Consult | Easy & Free DIY (HubSpot)
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --theme_primary:   #525252;
  --theme_secondary: #e4a444;
  --theme_tertiary:  #ecac44;
  --secondary_light: #ffcc6c;
  --white_color:     #ffffff;
  --light_color:     #dee4e7;
  --dark_color:      #3d525c;
  --black_color:     #000000;
  --navy:            #073763;
  --hero-bg:         rgba(178,144,99,0.92);
  --text:            #525252;
  --text-hint:       #888888;
  --bg-body:         #f0ede8;
  --bg-surface:      #fafafa;
  --border:          rgba(0,0,0,0.10);
  --border-md:       rgba(0,0,0,0.18);
  --container-max:   1240px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: Manrope, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg-body);
  line-height: 1.6;
  letter-spacing: 0.5px;
  overflow-x: hidden;
}
p {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 5px 0 0;
  padding: 0;
  color: var(--text);
}
a, a:focus, a:hover {
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-weight: 400;
  text-decoration: none;
}
a:active { color: #7a7a7a; }
img { max-width: 100%; height: auto; display: block; }

/* ── Typography ── */
h1, .h1 { font-size: 40px; font-weight: 800; line-height: 1.5; margin: 10px 0; color: var(--text); font-family: Manrope, serif; }
h2, .h2 { font-size: 30px; font-weight: 500; margin: 8px 0; color: var(--text); font-family: Manrope, serif; }
h3, .h3 { font-size: 28px; font-weight: 700; margin: 6px 0; color: var(--text); font-family: Manrope, serif; }
h4, .h4 { font-size: 24px; font-weight: 700; margin: 5px 0; color: var(--text); font-family: Manrope, serif; }
h5, .h5 { font-size: 22px; font-weight: 700; margin: 5px 0; color: var(--text); font-family: Manrope, serif; }
h6, .h6 { font-size: 18px; font-weight: 500; margin: 5px 0; color: var(--text); font-family: Manrope, serif; }
@media (max-width: 767px) { h1 { font-size: 50px; } }
@media (max-width: 575px) { h1 { font-size: 40px; } }
@media (max-width: 420px) { h1 { font-size: 36px; } }

/* ── Buttons ── */
.button, button {
  display: inline-block;
  background-color: var(--theme_primary);
  border: 1px solid var(--theme_primary);
  border-radius: 5px;
  box-shadow: 0 10px 20px 0 rgba(0,0,0,0.1);
  color: var(--white_color);
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 15px 25px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  will-change: transform;
  line-height: 1.5;
}
.button:hover, .button:focus { background-color: var(--theme_primary); color: var(--white_color); transform: scale(1.05); }
.button.secondary {
  background-color: var(--theme_secondary);
  border-color: var(--theme_secondary);
  color: var(--white_color);
}
.button.secondary:hover, .button.secondary:focus { background-color: var(--theme_secondary); color: var(--white_color); transform: scale(1.05); }
.button.secondary_outline {
  background-color: transparent;
  border-color: var(--theme_secondary);
  color: var(--theme_secondary);
}
.button.secondary_outline:hover, .button.secondary_outline:focus { color: #b29063; transform: scale(1.05); }

/* ── Layout ── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1rem; }
.dnd-section { padding: 80px 1rem; }
.dnd-section > .inner { max-width: var(--container-max); margin: 0 auto; }
.section-alt { background-color: var(--bg-surface); }
.section-dark { background-color: var(--theme_primary); }
.divider { height: 1px; background: var(--border); }

/* ── Section Labels ── */
.small_headline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--theme_secondary);
  margin-bottom: 0.4rem;
}
.section-title {
  font-family: Manrope, serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.section-sub {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 680px;
}

/* ── Header ── */
.site-header {
  background-color: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__logo img { width: 80px; height: auto; }
.site-header__nav { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.site-header__nav a {
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 12px;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.site-header__nav a:hover { color: #2a2a2a; }
.site-header__nav a.active { font-weight: 700; border-bottom: 2px solid var(--theme_secondary); }
.site-header__nav .nav-dropdown { position: relative; }
.site-header__nav .nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.site-header__nav .nav-dropdown:hover .nav-submenu { display: block; }
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white_color);
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 300;
}
.nav-submenu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
}
.nav-submenu a:hover { background-color: var(--theme_primary); color: var(--white_color); }
.nav-cta {
  background-color: var(--theme_secondary) !important;
  border: 1px solid var(--theme_secondary) !important;
  border-radius: 5px !important;
  box-shadow: 0 10px 20px 0 rgba(0,0,0,0.1);
  color: var(--white_color) !important;
  padding: 10px 20px !important;
  margin-left: 8px;
  font-weight: 400;
  transition: all 0.4s ease-in-out;
  will-change: transform;
}
.nav-cta:hover { transform: scale(1.05); color: var(--white_color) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  box-shadow: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  }
  .site-header__nav.open { display: flex; }
  .site-header__nav a { padding: 10px 12px; width: 100%; }
  .nav-submenu { position: static; box-shadow: none; display: block; padding-left: 1rem; }
  .nav-dropdown > a::after { content: ''; }
}

/* ── Hero / Banner ── */
.banner {
  position: relative;
  overflow: hidden;
  background-color: var(--hero-bg);
  padding: 70px 0;
}
.banner__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.banner__text { flex: 1 1 55%; }
.banner__image { flex: 0 0 40%; text-align: center; }
.banner__image img { max-width: 100%; }
.banner h1 {
  color: var(--white_color);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  display: inline-block;
  margin: 0 0 1rem;
}
.banner p { color: var(--white_color); font-size: 16px; line-height: 1.75; margin: 0 0 1.5rem; }
.banner .button { margin-top: 0.5rem; }
@media (max-width: 767px) {
  .banner { padding: 60px 0; }
  .banner__inner { flex-direction: column; padding: 0 20px; }
  .banner h1 { font-size: 32px; }
  .banner__image { display: none; }
}

/* ── Service Cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--white_color);
  border-style: solid;
  border-width: 1px 1px 4px;
  border-color: #ddd #ddd var(--theme_primary);
  padding: 30px 20px;
  text-align: center;
  transition: 0.4s;
}
.service-card:hover { border-color: #ddd #ddd var(--theme_secondary); }
.service-card .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .card-icon svg { width: 64px; height: 64px; fill: var(--theme_primary); transition: 0.4s; }
.service-card:hover .card-icon svg { fill: var(--theme_secondary); }
.service-card h4 { color: var(--theme_primary); font-size: 18px; font-weight: 700; margin: 0.5rem 0; transition: 0.4s; }
.service-card:hover h4 { color: var(--theme_secondary); }
.service-card p { font-size: 14px; color: var(--text); line-height: 1.65; margin: 0; }

/* ── Stats Row ── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}
.stat-item { text-align: center; }
.stat-item .stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--theme_secondary);
  line-height: 1;
  display: block;
}
.stat-item .stat-label {
  font-size: 14px;
  color: var(--text);
  margin-top: 0.25rem;
  display: block;
}

/* ── CTA Section ── */
.cta-section {
  background-color: var(--theme_primary);
  padding: 80px 1rem;
  text-align: center;
}
.cta-section .inner { max-width: 700px; margin: 0 auto; }
.cta-section h2 { font-size: 30px; font-weight: 800; color: var(--white_color); margin-bottom: 0.85rem; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.75; margin-bottom: 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Footer ── */
.site-footer {
  background-color: var(--bg-surface);
  padding: 80px 1rem 20px;
}
.site-footer__inner { max-width: var(--container-max); margin: 0 auto; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
@media (max-width: 767px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer a {
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-weight: 400;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { line-height: 38px; padding-left: 16px; position: relative; }
.site-footer ul li::before {
  content: '\203A';
  position: absolute;
  left: 2px;
  top: 9px;
  font-size: 18px;
  color: var(--theme_secondary);
  line-height: 1;
}
.site-footer ul li a:hover { text-decoration: underline; }
.footer-divider { height: 1px; background: rgba(0,0,0,0.1); margin: 1.5rem 0; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 13px;
  color: var(--text);
  padding-top: 1rem;
}
.site-footer__bottom a { color: var(--text); }
.site-footer__bottom a:hover { text-decoration: underline; }
.social-links { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.social-links__icon {
  background-color: var(--theme_secondary);
  border-radius: 50%;
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.social-links__icon:hover { background-color: #2a2a2a; }
.social-links__icon svg { fill: var(--white_color); width: 0.7rem; height: auto; }

/* ── Responsive helpers ── */
@media (max-width: 600px) {
  .dnd-section { padding: 40px 1rem; }
  .cta-section { padding: 40px 1rem; }
  .site-footer { padding: 40px 1rem 20px; }
}
