:root {
  color-scheme: light;
  --ink: #111317;
  --text: #27313b;
  --muted: #66717d;
  --paper: #ffffff;
  --soft: #f4f6f7;
  --line: #dbe1e6;
  --teal: #087a75;
  --teal-dark: #075f5c;
  --green: #214e3b;
  --amber: #b65c16;
  --shadow: 0 18px 45px rgba(17, 19, 23, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 44px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 225, 230, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 7px;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(760px, 82svh);
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: #ffffff;
  background: var(--ink);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/it-infrastructure-hero.png");
  background-position: center right;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.92) 0%, rgba(17, 19, 23, 0.76) 38%, rgba(17, 19, 23, 0.18) 78%),
    linear-gradient(0deg, rgba(17, 19, 23, 0.32), rgba(17, 19, 23, 0.12));
}

.hero-download-hotspot {
  position: absolute;
  z-index: 1;
  display: block;
  width: var(--hotspot-width, 0);
  height: var(--hotspot-height, 0);
  left: var(--hotspot-left, -9999px);
  top: var(--hotspot-top, -9999px);
  border-radius: 6px;
  opacity: 0;
  cursor: pointer;
}

.hero-download-hotspot:focus-visible {
  opacity: 1;
  outline: 2px solid #66d5ce;
  outline-offset: 3px;
  background: rgba(102, 213, 206, 0.16);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #66d5ce;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(640px, 100%);
  margin: 0;
}

.hero-pricing div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.hero-pricing dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 750;
}

.hero-pricing dd {
  margin: 5px 0 0;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-band {
  padding-top: clamp(34px, 5vw, 52px);
  padding-bottom: clamp(34px, 5vw, 52px);
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
}

.intro-grid p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 650;
}

.section-heading {
  width: min(680px, 100%);
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.price-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 270px;
  padding: 26px;
}

.service-marker {
  width: 42px;
  height: 5px;
  margin-bottom: 26px;
  background: var(--amber);
  border-radius: 999px;
}

.service-card:nth-child(2) .service-marker {
  background: var(--teal);
}

.service-card:nth-child(3) .service-marker {
  background: var(--green);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-section,
.pay-section {
  background: var(--soft);
}

.pricing-layout,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
}

.form-layout.reverse {
  grid-template-columns: minmax(360px, 1.12fr) minmax(0, 0.88fr);
}

.form-layout.reverse .section-heading {
  grid-column: 2;
}

.form-layout.reverse .form-panel {
  grid-column: 1;
  grid-row: 1;
}

.price-panel {
  padding: 12px 22px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--muted);
  font-weight: 700;
}

.price-row strong {
  color: var(--ink);
  font-size: 1.2rem;
  text-align: right;
}

.form-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd4dc;
  border-radius: 7px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 122, 117, 0.14);
}

.estimate-bar,
.payment-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fafb;
}

.estimate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.estimate-bar span,
.payment-summary span {
  color: var(--muted);
  font-weight: 750;
}

.estimate-bar strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  margin: 0;
  background: #eef2f4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.segmented[hidden] {
  display: none;
}

.segmented legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.segmented label {
  display: block;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-weight: 850;
}

.segmented input:checked + span {
  color: #ffffff;
  background: var(--ink);
}

.payment-summary {
  display: grid;
}

.payment-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.payment-summary div:last-child {
  border-bottom: 0;
}

.payment-summary strong {
  color: var(--ink);
  text-align: right;
}

.summary-total {
  background: #ffffff;
}

.summary-total strong {
  font-size: 1.25rem;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 750;
}

.form-status.is-error {
  color: #9d2b1f;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: var(--ink);
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: #8de0d9;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(17, 19, 23, 0.94), rgba(17, 19, 23, 0.7)),
      linear-gradient(0deg, rgba(17, 19, 23, 0.35), rgba(17, 19, 23, 0.14));
  }

  .hero-pricing,
  .intro-grid,
  .service-grid,
  .pricing-layout,
  .form-layout,
  .form-layout.reverse {
    grid-template-columns: 1fr;
  }

  .form-layout.reverse .section-heading,
  .form-layout.reverse .form-panel {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .nav-links {
    width: 100%;
    gap: 8px 18px;
    font-size: 0.9rem;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .hero-pricing,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer,
  .estimate-bar,
  .price-row,
  .payment-summary div {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-card {
    min-height: 0;
  }

  .payment-summary strong,
  .price-row strong {
    text-align: left;
  }
}
