/* ByteHurst - shared stylesheet (static rebuild of the GoHighLevel site) */

:root {
  --slate: #565a7c;      /* header + about panel base (GHL --color-lx2qgvbk) */
  --ink: #181b20;        /* section background (GHL --color-m6tlakx1) */
  --card: #1d2127;       /* service cards (GHL --color-m6tovl2u) */
  --navy: #141b2c;       /* fallback under the network background */
  --red: #e93d3d;        /* "DON'T PAY" accent (GHL --red) */
  --btn: #dc3434;        /* CTA fill: GHL red nudged darker for 4.5:1 text contrast */
  --btn-hover: #c22a2a;
  --green: #37ca37;      /* "LEADS" accent (GHL --primary) */
  --line: #c9d8e0;       /* footer divider (GHL --color-lx3csigp) */
  --text-dark: #2c3345;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1170px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 4px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.on-light :focus-visible,
.contact-panel :focus-visible { outline-color: var(--text-dark); }

.container {
  width: 100%;
  max-width: calc(var(--wrap) + 32px);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ---------- shared backgrounds ---------- */
.bg-network {
  background-color: var(--navy);
  background-image: url(/assets/img/bg-network-1280.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 1281px) {
  .bg-network { background-image: url(/assets/img/bg-network-1920.webp); }
}

/* ---------- buttons ---------- */
.cta-row { text-align: center; }

.btn {
  display: inline-block;
  max-width: 100%;
  padding: 15px 10px;
  border-radius: 125px;
  background: var(--btn);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 0 transparent;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn:hover {
  background: var(--btn-hover);
  transform: translateY(-10px);
  box-shadow: 0 8px 5px -5px rgba(0, 0, 0, .25);
}
.btn:focus-visible { outline-color: #fff; }
.contact-panel .btn:focus-visible { outline-color: var(--text-dark); }
@media (min-width: 768px) { .btn { padding: 15px 25px; } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--slate);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 70px;
  padding-block: 12px;
}
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { display: block; width: auto; height: 44px; }

.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; }
.site-nav li + li { margin-left: 12px; }
.site-nav a {
  display: block;
  padding: 8px 6px;
  border-radius: 2px;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--btn); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 759px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    background: var(--slate);
    border-top: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .35);
  }
  .js.nav-open .site-nav { display: block; }
  .js .site-nav ul { display: block; padding: 8px 16px 16px; }
  .js .site-nav li + li { margin-left: 0; }
  .js .site-nav a { padding: 12px 8px; font-size: 16px; }
}

@media (min-width: 760px) {
  .header-inner { min-height: 89px; padding: 17px 10px; flex-wrap: nowrap; }
  .brand img { height: 54px; }
}

/* ---------- section headings ---------- */
.section-title {
  color: #fff;
  font-size: clamp(2.25rem, 1.2rem + 4vw, 3.125rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  padding: 25px 5px;
}

/* ---------- hero (home) ---------- */
.hero { padding: 20px 0 25px; color: #fff; text-align: center; }
.hero-title {
  max-width: 1088px;
  margin: 0 auto;
  padding: 25px 5px 0;
  font-size: clamp(2.5rem, 1rem + 5.5vw, 4.375rem);
  font-weight: 900;
  line-height: 1.1;
}
.hero .cta-row { margin-top: 40px; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
@media (min-width: 768px) {
  .hero { padding-top: 60px; }
  .hero .cta-row { margin-top: 90px; }
}

/* ---------- services ---------- */
.services {
  position: relative;
  padding: 50px 0 60px;
  background-color: var(--ink);
}
/* GHL pulls this section up 15px (under the hero / sticky header) */
.services { margin-top: -15px; }
@media (min-width: 768px) {
  /* live site stretches the image to the section (GHL "fill width & height") */
  .services.bg-network { background-size: 100% 100%; }
}

.cards { display: grid; gap: 20px; padding-top: 15px; }
.card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  align-items: start;
  padding: 40px 18px;
  border-radius: 40px;
  background: var(--card);
  color: #fff;
}
.card-icon { padding: 5px; text-align: center; }
.card-icon img { display: inline-block; width: auto; max-width: 96px; max-height: 72px; }
.card-body { padding: 5px; }
.card-title { font-size: 18px; font-weight: 900; line-height: 1.6; }
.card-text { padding: 5px 0; font-size: 14px; font-weight: 500; line-height: 1.6; }
.card-text p + p { margin-top: 1.6em; }
.services .cta-row { padding-top: 35px; }

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .card {
    grid-template-columns: 20% 80%;
    padding: 40px 10px 46px;
    border-radius: 50px;
  }
  .card-icon img { width: 100%; max-width: none; max-height: none; }
  .card-title { font-size: 17px; }
  .card-text { font-size: 16px; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- about ---------- */
.about { padding: 40px 0 40px; background: var(--ink); color: #fff; }
.about .section-title { line-height: 1.3; }
.about-panel {
  margin: 15px 0;
  padding: 40px 20px;
  border-radius: 48px;
  background-color: var(--slate);
}
.about-photo { padding: 10px; }
.about-photo img { display: block; width: 260px; height: 260px; margin: 0 auto; object-fit: cover; }
.about-panel p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}
.about .cta-row { padding-top: 20px; }
@media (min-width: 768px) {
  .about-panel { padding: 40px 30px; margin-right: 10px; }
  .about-panel p { text-align: left; }
}

/* ---------- contact ---------- */
.contact {
  padding: 40px 0 60px;
  background: var(--ink) url(/assets/img/bg-contact-glow-1320.webp) center / cover no-repeat;
}
.contact-grid { display: grid; grid-template-columns: 1fr; }
.contact-col { padding: 10px 5px; }
.contact-title {
  margin-bottom: 20px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}
.contact-panel {
  max-width: 650px;
  margin: 0 auto;
  padding: 30px 20px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(87, 100, 126, .21);
  color: var(--text-dark);
}
.contact-intro { font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; }
.contact-cards { display: grid; gap: 12px; margin-top: 24px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #d5dae3;
  border-radius: 10px;
  color: var(--text-dark);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover { border-color: var(--btn); box-shadow: 0 4px 10px rgba(44, 51, 69, .12); }
.contact-card__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--btn);
  color: #fff;
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card__text { display: flex; flex-direction: column; min-width: 0; }
.contact-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5b6475;
}
.contact-card__value { font-size: 16px; font-weight: 600; line-height: 1.4; }
.contact-panel .cta-row { margin-top: 28px; }
@media (min-width: 768px) {
  .contact { padding: 60px 0 80px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-col { grid-column: 2; }
  .contact-panel { padding: 30px 40px 36px; }
}

/* ---------- legal pages ---------- */
.legal { background: #fff; color: #000; padding: 20px 0; }
.legal-body { padding: 20px 5px; font-size: 16px; font-weight: 400; line-height: 1.3; }
.legal-body h1,
.legal-body h2 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.legal-body h2 { margin-top: 1.3em; }
.legal-body .gap { margin-top: 1.3em; }
.legal-body a { color: #0b6bcb; text-decoration: none; } /* live #188bf6 darkened for 4.5:1 contrast */
.legal-body a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { padding: 60px 0 80px; color: #fff; text-align: center; }
.notfound .hero-title { padding-top: 0; }
.notfound p.lead { margin-top: 24px; font-size: 18px; font-weight: 500; }
.notfound .cta-row { margin-top: 40px; }

/* ---------- footer ---------- */
.site-footer { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: 32px;
  text-align: center;
}
.footer-logo { padding: 10px 5px; }
.footer-logo img { display: inline-block; width: auto; height: 32px; }
.footer-col { padding: 10px 5px; }
.footer-heading {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.footer-contact .footer-heading { padding-top: 15px; }
.footer-legal .footer-heading { padding: 10px 0 5px; }
.footer-heading a,
.footer-item a { text-decoration: none; }
.footer-heading a:hover,
.footer-item a:hover { text-decoration: underline; }
.footer-item { padding-top: 15px; font-size: 16px; font-weight: 400; line-height: 1.2; }
.footer-address {
  max-width: 313px;
  margin-inline: auto;
  padding-top: 34px;
  padding-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 2px #707070;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 45px 16px;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-grid { display: flex; align-items: flex-start; padding-block: 35px; text-align: left; }
  /* GHL column widths 22.7% / 24% / 22.1% that grow to fill the row */
  .footer-grid > * { min-width: 0; }
  .footer-logo { flex: 1 1 22.7%; margin-right: 80px; padding-top: 20px; }
  .footer-contact { flex: 1 1 24%; }
  .footer-legal { flex: 1 1 22.1%; }
  .footer-col .footer-heading,
  .footer-col .footer-item { padding-left: 20px; padding-right: 20px; }
  .footer-legal .footer-heading { padding: 10px 0 20px; margin-left: 20px; padding-left: 0; line-height: 1; }
  .footer-col .footer-address { max-width: 353px; margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
