
:root {
  --ink: #0d1117;
  --ink-2: #111827;
  --paper: #f5f7fb;
  --white: #ffffff;
  --muted: #667085;
  --line: #d7dde8;
  --slate: #263241;
  --cyan: #00a8e8;
  --orange: #ff8a00;
  --lime: #7bd88f;
  --blue: #155eef;
  --red: #e5484d;
  --radius: 18px;
  --shadow: 0 22px 55px rgba(15, 23, 42, .16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}

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

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

.top-strip {
  background: #0a0f18;
  color: #d7e7ff;
  font-size: .9rem;
}

.top-strip-inner {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-strip strong {
  color: var(--orange);
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #111827;
  border: 2px solid #111827;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 8px 8px 0 rgba(0,168,232,.18);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--cyan);
}

.brand-mark::before {
  width: 28px;
  height: 4px;
  top: 18px;
  left: 15px;
}

.brand-mark::after {
  width: 4px;
  height: 28px;
  top: 15px;
  left: 27px;
  background: var(--orange);
}

.brand-mark span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 950;
  font-size: .88rem;
  letter-spacing: .05em;
  margin-top: 24px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy b {
  font-size: 1.42rem;
  letter-spacing: -.03em;
}

.brand-copy small {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .72rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: #263241;
  font-weight: 760;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav a:hover {
  background: #eef4ff;
  color: var(--blue);
}

.nav-cta {
  background: #111827 !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 24px rgba(17,24,39,.18);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.2rem;
}

.hero {
  background:
    linear-gradient(105deg, #0d1117 0%, #111827 48%, transparent 48%),
    linear-gradient(135deg, #eaf2ff 0%, #f7f9fc 100%);
  min-height: 660px;
  padding: 78px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 46px;
  align-items: center;
}

.hero-copy {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 900;
  color: #c5f2ff;
  background: rgba(0,168,232,.16);
  border: 1px solid rgba(0,168,232,.35);
  padding: 7px 11px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 3px;
}

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  letter-spacing: -.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.04em;
}

h3 {
  font-size: 1.24rem;
}

.lead {
  font-size: 1.16rem;
  color: #c6d3e1;
  max-width: 660px;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--line);
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 900;
  background: #fff;
  color: var(--ink);
}

.btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #111827;
}

.btn.dark {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.dashboard {
  border-radius: 22px;
  overflow: hidden;
  background: #0c1220;
  color: #fff;
  min-height: 470px;
}

.dashboard-top {
  height: 52px;
  background: #121a2b;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--red);
}

.dot:nth-child(2) {
  background: var(--orange);
}

.dot:nth-child(3) {
  background: var(--lime);
}

.dashboard-body {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.monitor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.monitor-card {
  background: #151f33;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 16px;
}

.monitor-card small {
  color: #92a4bd;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.monitor-card strong {
  display: block;
  font-size: 1.8rem;
  margin-top: 8px;
}

.network-map {
  margin-top: 6px;
  min-height: 225px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,168,232,.26), transparent 20%),
    linear-gradient(135deg, #111827, #0c1220);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}

.node {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #1f2d46;
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  font-weight: 950;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(0,168,232,.08);
}

.node.main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--cyan);
  color: #07111f;
}

.node.n1 { left: 12%; top: 18%; }
.node.n2 { right: 12%; top: 16%; }
.node.n3 { left: 14%; bottom: 16%; }
.node.n4 { right: 15%; bottom: 14%; }

.line {
  position: absolute;
  height: 2px;
  background: rgba(0,168,232,.45);
  transform-origin: left center;
}

.line.l1 { width: 180px; left: 27%; top: 36%; transform: rotate(26deg); }
.line.l2 { width: 180px; right: 27%; top: 36%; transform: rotate(154deg); }
.line.l3 { width: 180px; left: 27%; bottom: 34%; transform: rotate(-26deg); }
.line.l4 { width: 180px; right: 27%; bottom: 34%; transform: rotate(-154deg); }

.trust-strip {
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item b {
  display: block;
  font-size: 1.24rem;
}

.trust-item span {
  color: var(--muted);
  font-weight: 680;
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  transition: .18s ease;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #eef7ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.48rem;
  margin-bottom: 18px;
}

.service-card p,
.service-card li {
  color: var(--muted);
}

.dark-band {
  background: #0d1117;
  color: #fff;
}

.dark-band .section-head p {
  color: #b7c7d8;
}

.split-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-left {
  background: #111827;
  color: #fff;
  padding: 34px;
}

.split-left p {
  color: #c6d3e1;
}

.split-right {
  padding: 34px;
  display: grid;
  gap: 16px;
}

.check-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.check {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e9fbef;
  color: #15803d;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.price {
  font-size: 2.3rem;
  font-weight: 950;
  letter-spacing: -.04em;
  margin: 8px 0;
}

.price small {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.pricing-card ul {
  color: var(--muted);
  padding-left: 1.15rem;
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(0,168,232,.16), transparent 35%),
    #111827;
  color: #fff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 50px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: #c6d3e1;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 54px 0 78px;
}

.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.article h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.article h2 {
  margin-top: 36px;
}

.article p,
.article li {
  color: var(--muted);
}

.sidebar-card {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.side-links {
  display: grid;
  gap: 9px;
}

.side-links a {
  background: #f2f5f9;
  border: 1px solid #e5eaf1;
  color: #263241;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 760;
}

.side-links a:hover {
  background: #eef7ff;
  color: var(--blue);
}

.notice {
  background: #fff7e8;
  border: 1px solid #ffd39a;
  color: #7a4a00;
  padding: 15px 17px;
  border-radius: 14px;
  margin: 22px 0;
}

.footer {
  background: #0a0f18;
  color: #d7e7ff;
  padding: 38px 0;
}

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

.footer .brand-copy small {
  color: var(--orange);
}

.footer p,
.footer a {
  color: #a9b8cb;
}

.footer-links {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #111827;
  font-weight: 950;
  font-size: 1.45rem;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 14px 34px rgba(15,23,42,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .18s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (max-width: 950px) {
  .top-strip-inner {
    justify-content: center;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 86px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .hero {
    background: #0d1117;
    min-height: auto;
  }

  .hero-grid,
  .split-panel,
  .cta-panel,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    transform: none;
  }

  .cols-3,
  .cols-2,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy b {
    font-size: 1.05rem;
  }

  .brand-copy small {
    font-size: .62rem;
  }

  .hero {
    padding: 54px 0;
  }

  .monitor-row {
    grid-template-columns: 1fr;
  }

  .line {
    display: none;
  }
}


/* FIX: Why Us section readability */
.dark-band .split-panel {
  background: #ffffff !important;
  color: #0d1117 !important;
}

.dark-band .split-right,
.dark-band .split-right h3,
.dark-band .split-right p {
  color: #0d1117 !important;
}

.dark-band .split-right p {
  color: #667085 !important;
}

.dark-band .split-left {
  background: #111827 !important;
  color: #ffffff !important;
}

.dark-band .split-left h2,
.dark-band .split-left .eyebrow {
  color: #ffffff !important;
}

.dark-band .split-left p {
  color: #c6d3e1 !important;
}


/* LOGO SIZE UPDATE: increase JirehNetworks logo by about 25% */
.brand {
  gap: 15px !important;
}

.brand-mark {
  width: 73px !important;
  height: 73px !important;
  border-radius: 16px !important;
  box-shadow: 10px 10px 0 rgba(0,168,232,.18) !important;
}

.brand-mark::before {
  width: 35px !important;
  height: 5px !important;
  top: 22px !important;
  left: 19px !important;
}

.brand-mark::after {
  width: 5px !important;
  height: 35px !important;
  top: 19px !important;
  left: 34px !important;
}

.brand-mark span {
  font-size: 1rem !important;
  margin-top: 30px !important;
}

.brand-copy b {
  font-size: 1.56rem !important;
}

.brand-copy small {
  font-size: .78rem !important;
}

@media (max-width: 560px) {
  .brand-mark {
    width: 60px !important;
    height: 60px !important;
  }

  .brand-mark::before {
    width: 29px !important;
    height: 4px !important;
    top: 18px !important;
    left: 15px !important;
  }

  .brand-mark::after {
    width: 4px !important;
    height: 29px !important;
    top: 15px !important;
    left: 28px !important;
  }

  .brand-mark span {
    font-size: .84rem !important;
    margin-top: 24px !important;
  }

  .brand-copy b {
    font-size: 1.18rem !important;
  }

  .brand-copy small {
    font-size: .68rem !important;
  }
}


/* HERO TITLE SIZE FIX:
   Make 'IT support with a business-first approach.' similar in size
   to the other visible titles/section headings */
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  letter-spacing: -.04em !important;
}


/* FINAL JirehNetworks logo image integration */
.brand-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 430px !important;
  padding: 0 !important;
}

.jnc-logo-img {
  display: block !important;
  width: 390px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.footer .brand-logo-link {
  max-width: 360px !important;
}

.footer .jnc-logo-img {
  width: 330px !important;
}

@media (max-width: 950px) {
  .brand-logo-link {
    max-width: 340px !important;
  }

  .jnc-logo-img {
    width: 315px !important;
  }

  .footer .jnc-logo-img {
    width: 280px !important;
  }
}

@media (max-width: 560px) {
  .brand-logo-link {
    max-width: 250px !important;
  }

  .jnc-logo-img {
    width: 230px !important;
  }

  .footer .jnc-logo-img {
    width: 225px !important;
  }
}


/* FINAL LOGO TWEAK:
   - trimmed extra transparent space around logo image
   - increased logo size so it matches the page content better */
.brand-logo-link {
  max-width: 500px !important;
}

.jnc-logo-img {
  width: 450px !important;
  max-width: 100% !important;
  height: auto !important;
}

.footer .brand-logo-link {
  max-width: 410px !important;
}

.footer .jnc-logo-img {
  width: 380px !important;
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 950px) {
  .brand-logo-link {
    max-width: 390px !important;
  }

  .jnc-logo-img {
    width: 355px !important;
  }

  .footer .brand-logo-link {
    max-width: 320px !important;
  }

  .footer .jnc-logo-img {
    width: 300px !important;
  }
}

@media (max-width: 560px) {
  .brand-logo-link {
    max-width: 290px !important;
  }

  .jnc-logo-img {
    width: 265px !important;
  }

  .footer .brand-logo-link {
    max-width: 260px !important;
  }

  .footer .jnc-logo-img {
    width: 240px !important;
  }
}


/* FINAL LOGO TWEAK 2:
   - removed more extra space around logo
   - transparent background for cleaner footer display
   - increased size by about 25% more */
.brand-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 620px !important;
  padding: 0 !important;
}

.jnc-logo-img {
  display: block !important;
  width: 560px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.footer .brand-logo-link {
  max-width: 525px !important;
}

.footer .jnc-logo-img {
  width: 475px !important;
  max-width: 100% !important;
  height: auto !important;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)) !important;
}

@media (max-width: 950px) {
  .brand-logo-link {
    max-width: 450px !important;
  }

  .jnc-logo-img {
    width: 420px !important;
  }

  .footer .brand-logo-link {
    max-width: 390px !important;
  }

  .footer .jnc-logo-img {
    width: 360px !important;
  }
}

@media (max-width: 560px) {
  .brand-logo-link {
    max-width: 320px !important;
  }

  .jnc-logo-img {
    width: 300px !important;
  }

  .footer .brand-logo-link {
    max-width: 290px !important;
  }

  .footer .jnc-logo-img {
    width: 270px !important;
  }
}


/* FINAL LOGO SIZE ADJUSTMENT:
   reduced logo by about 10% from the previous version */
.brand-logo-link {
  max-width: 560px !important;
}

.jnc-logo-img {
  width: 505px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.footer .brand-logo-link {
  max-width: 470px !important;
}

.footer .jnc-logo-img {
  width: 430px !important;
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 950px) {
  .brand-logo-link {
    max-width: 405px !important;
  }

  .jnc-logo-img {
    width: 378px !important;
  }

  .footer .brand-logo-link {
    max-width: 350px !important;
  }

  .footer .jnc-logo-img {
    width: 324px !important;
  }
}

@media (max-width: 560px) {
  .brand-logo-link {
    max-width: 290px !important;
  }

  .jnc-logo-img {
    width: 270px !important;
  }

  .footer .brand-logo-link {
    max-width: 260px !important;
  }

  .footer .jnc-logo-img {
    width: 243px !important;
  }
}


/* FINAL LOGO REFINEMENT
   - reduced another ~10%
   - cleaner/tighter logo image
   - white footer logo panel for a cleaner look on dark footer */
.brand-logo-link {
  max-width: 520px !important;
  padding: 0 !important;
}

.jnc-logo-img {
  width: 455px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.footer .brand-logo-link {
  max-width: 450px !important;
  background: #ffffff !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.18) !important;
  display: inline-flex !important;
}

.footer .jnc-logo-img {
  width: 390px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
}

@media (max-width: 950px) {
  .brand-logo-link {
    max-width: 385px !important;
  }

  .jnc-logo-img {
    width: 340px !important;
  }

  .footer .brand-logo-link {
    max-width: 360px !important;
    padding: 9px 12px !important;
  }

  .footer .jnc-logo-img {
    width: 315px !important;
  }
}

@media (max-width: 560px) {
  .brand-logo-link {
    max-width: 285px !important;
  }

  .jnc-logo-img {
    width: 250px !important;
  }

  .footer .brand-logo-link {
    max-width: 275px !important;
    padding: 8px 10px !important;
  }

  .footer .jnc-logo-img {
    width: 238px !important;
  }
}
