:root {
  --ink: #15171a;
  --muted: #5c6470;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #d9ded8;
  --green: #1f6b4d;
  --green-dark: #124331;
  --lime: #91dc3f;
  --red: #d71920;
  --gold: #e0b348;
  --shadow: 0 18px 45px rgba(14, 18, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(21, 23, 26, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(3, 24, 54, 0.42), rgba(4, 44, 92, 0.74)),
    url("assets/technology/network-rack-pexels.jpg") center / cover no-repeat;
  border: 0;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.1vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a,
.footer-links a {
  text-decoration: none;
}

.primary-nav a {
  white-space: nowrap;
}

.primary-nav a:hover,
.footer-links a:hover {
  color: var(--red);
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.header-call {
  color: var(--white);
  background: var(--ink);
  white-space: nowrap;
}

.email-nudge {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(520px, calc(100vw - 28px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.email-nudge[hidden] {
  display: none;
}

.email-nudge.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.email-nudge p {
  flex: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.email-nudge button {
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font: inherit;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(21, 23, 26, 0.34);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/technology/network-rack-pexels.jpg") center right / cover no-repeat;
  opacity: 0.34;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.9) 44%, rgba(251, 250, 247, 0.54) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0 86px;
}

.eyebrow,
.service-kicker,
.plan-label,
.work-type {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(25, 28, 31, 0.06);
}

.hero-facts div {
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 58px);
}

.section-heading {
  width: min(900px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.portfolio-grid,
.pricing-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 18px;
}

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

.service-card,
.pricing-card,
.work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(25, 28, 31, 0.06);
}

.service-card {
  min-height: 250px;
  padding: 28px;
}

.service-card.highlight {
  border-color: rgba(31, 107, 77, 0.42);
  background: #f2f8ed;
}

.service-card p,
.pricing-card p,
.work-copy p,
.email-panel p,
.contact-copy p {
  color: var(--muted);
}

.voip-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.pricing-card {
  padding: 30px;
}

.pricing-card h3 {
  font-size: 44px;
}

.pricing-card h3 span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.featured-plan {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: #2e3338;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.feature-bands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
}

.feature-bands div {
  padding: 26px;
  border-right: 1px solid var(--line);
  background: #f8f8f4;
}

.feature-bands div:last-child {
  border-right: 0;
}

.feature-bands p {
  margin-bottom: 0;
  color: var(--muted);
}

.work-section {
  background: #f3f7f3;
}

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

.work-card {
  overflow: hidden;
}

.work-card a {
  display: block;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.work-copy {
  padding: 22px;
}

.work-copy p:last-child {
  margin-bottom: 0;
}

.email-section {
  background: var(--ink);
  color: var(--white);
}

.email-panel {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.44);
  box-shadow: var(--shadow);
}

.email-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.email-panel .eyebrow {
  color: var(--lime);
}

.verification-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.verification-list span {
  padding: 12px 14px;
  border-left: 4px solid var(--lime);
  background: rgba(255, 255, 255, 0.1);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.contact-copy {
  align-self: center;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-methods a,
.verification-list a {
  color: inherit;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #293039;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd2cc;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 107, 77, 0.18);
  border-color: var(--green);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 22px;
  padding: 36px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  font-size: 14px;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .service-grid,
  .portfolio-grid,
  .feature-bands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-bands div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-bands div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-call {
    width: 100%;
  }

  .email-nudge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .primary-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 64px 0 72px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-facts,
  .service-grid,
  .portfolio-grid,
  .pricing-grid,
  .feature-bands,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 0;
  }

  .pricing-card h3 {
    font-size: 36px;
  }

  .feature-bands div:last-child {
    grid-column: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
