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

:root {
  --navy: #111827;
  --navy-2: #1b2738;
  --blue: #6fbf44;
  --blue-dark: #57a633;
  --teal: #8bd34f;
  --lime: #8bd34f;
  --ink: #17202a;
  --muted: #66717e;
  --line: #dfe5e8;
  --light: #f6f8f7;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 24, 39, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  min-width: 46px;
  height: 40px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: transparent;
  border: 2px solid var(--lime);
  color: var(--lime);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.05em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 18px;
  color: var(--white);
}

.brand-copy-horizontal {
  flex-direction: row;
  align-items: center;
}

.brand-copy-horizontal strong {
  letter-spacing: -0.02em;
}

.brand-copy small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  font-weight: 700;
  color: var(--white);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: #f9fbfd;
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.full-width {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 26px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 82% 18%, rgba(139, 211, 79, 0.16), transparent 25%),
    linear-gradient(135deg, #111827 0%, #182334 60%, #101820 100%);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow.light {
  color: #8fd5ca;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  font-size: clamp(44px, 5vw, 68px);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  max-width: 900px;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
}

.hero-lead {
  margin: 0 0 14px;
  font-size: 25px;
  font-weight: 700;
  color: var(--navy-2);
}

.hero-body {
  max-width: 710px;
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.trust-row span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: #47596a;
  font-size: 13px;
  font-weight: 600;
}

.hero-visual {
  min-height: 440px;
  position: relative;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 25%, rgba(139, 211, 79, 0.18), transparent 22%),
    linear-gradient(135deg, #202c3a, #0d141d);
  border: 1px solid rgba(139, 211, 79, 0.26);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(139, 211, 79, .10) 1px, transparent 1px),
    linear-gradient(rgba(139, 211, 79, .10) 1px, transparent 1px),
    linear-gradient(135deg, #1a2634, #101820);
  background-size: 32px 32px, 32px 32px, auto;
  border: 1px solid rgba(139, 211, 79, .18);
}

.hero-card {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(13, 33, 54, 0.20);
}

.hero-card-main {
  left: 5px;
  bottom: 38px;
  width: 290px;
  padding: 22px;
}

.hero-card-main small,
.hero-card-float small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-card-main strong,
.hero-card-float strong {
  display: block;
  color: var(--navy);
}

.hero-card-float {
  right: 0;
  top: 54px;
  padding: 16px 20px;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: #2db38f;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.mini-grid div {
  font-size: 13px;
  color: #4f6171;
}

.mini-grid span {
  color: var(--teal);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p,
.large-copy {
  color: var(--muted);
  font-size: 18px;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.icon-card,
.service-card,
.industry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.icon-card {
  box-shadow: 0 10px 30px rgba(17, 42, 67, 0.05);
}

.icon-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  background: #eef7e9;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
}

.icon-card p,
.service-card p,
.industry-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.ownership-banner {
  margin-top: 34px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.ownership-banner strong {
  font-size: 23px;
}

.ownership-banner span {
  color: #c6d4df;
}

.services-section {
  background: var(--light);
}

.service-card {
  position: relative;
  min-height: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 800;
}

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

.industry-card {
  display: flex;
  flex-direction: column;
}

.industry-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--lime);
  font-size: 23px;
  font-weight: 800;
}

.industry-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 700;
}

.about-section {
  background: #f9fbfd;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.about-grid p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 700;
}

.stats-panel {
  display: grid;
  gap: 18px;
}

.stat {
  padding: 26px 28px;
  border-left: 4px solid var(--lime);
  border-radius: 0 14px 14px 0;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 42, 67, 0.06);
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
}

.stat span {
  color: var(--muted);
}

.switch-section {
  background: linear-gradient(135deg, #1d2a39, #0f1722);
  color: var(--white);
}

.switch-section h2,
.security-section h2 {
  color: var(--white);
}

.switch-grid,
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.switch-section p,
.security-section p {
  color: #d2dde6;
}

.quote-stack {
  display: grid;
  gap: 14px;
}

.quote-stack blockquote {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid #69c5b5;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}

.security-section {
  background: #0a1119;
  color: var(--white);
}

.security-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.security-list span {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.security-callout {
  padding-top: 10px;
  font-weight: 700;
  color: #ffffff !important;
}

.assessment-section {
  background: var(--light);
}

.assessment-box {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.assessment-copy p {
  color: var(--muted);
}

.check-list {
  columns: 2;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  break-inside: avoid;
  margin-bottom: 12px;
  padding-left: 24px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

 .direct-contact-card {
  padding: 32px;
  border-radius: var(--radius);
  background: #f7fafc;
  border: 1px solid var(--line);
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.direct-contact-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.direct-contact-card > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(17, 42, 67, 0.08);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
}

.contact-method small,
.contact-method strong {
  display: block;
}

.contact-method small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-method strong {
  color: var(--navy);
  font-size: 18px;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.contact-note {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
}


.site-footer {
  padding: 58px 0 24px;
  background: var(--navy);
  color: #c5d2dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .brand-mark {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.footer-brand .brand-copy strong {
  color: var(--white);
}

.footer-brand .brand-copy small {
  color: #aebdca;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: #c5d2dc;
}

.footer-phone {
  color: var(--white) !important;
  font-size: 18px;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav-open .main-nav a {
    padding: 12px 0;
  }

  .hero-grid,
  .about-grid,
  .switch-grid,
  .security-grid,
  .assessment-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .card-grid.four,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 74px 0 64px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-grid.four,
  .card-grid.three,
  .industry-grid,
  .security-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-card-main {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .hero-card-float {
    right: 10px;
    top: 34px;
  }

  .ownership-banner {
    flex-direction: column;
  }

  .assessment-box {
    padding: 24px;
  }

  .check-list {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.hero h1, .hero .hero-lead { color: var(--white); }
.hero .hero-body { color: #c9d2dc; }
.hero .eyebrow { color: var(--lime); }
.hero .trust-row span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #e7edf2; }
.hero .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.hero .btn-secondary:hover { background: rgba(255,255,255,.08); }


/* Official WitzEnd brand assets */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(17, 28, 39, 0.12);
}

.nav-wrap {
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 158px;
  height: auto;
  object-fit: contain;
}

.brand-mark,
.brand-copy {
  display: none !important;
}

.main-nav a {
  color: #20242a;
}

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

.site-header .phone-link {
  color: #111820;
}

.site-header .btn {
  background: var(--lime);
  color: #111820;
}

.site-header .btn:hover {
  background: #79be2a;
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffffff;
}

.footer-logo {
  width: 165px;
}

@media (max-width: 1000px) {
  .nav-open .main-nav {
    background: #ffffff;
  }

  .nav-open .main-nav a {
    color: #20242a;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    min-height: 76px;
  }

  .brand-logo {
    width: 138px;
  }

  .footer-logo {
    width: 150px;
  }
}

@media (max-width: 700px) {
  .contact-actions { grid-template-columns: 1fr; }
  .direct-contact-card { padding: 24px; }
  .contact-method strong { font-size: 16px; word-break: break-word; }
}


/* More breathing room around the WitzEnd logo/header */
.site-header .nav-wrap {
  min-height: 112px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header .brand-logo {
  width: 168px;
}

@media (max-width: 700px) {
  .site-header .nav-wrap {
    min-height: 92px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .site-header .brand-logo {
    width: 148px;
  }
}
