:root {
  --ink: #071c2f;
  --blue: #0b3a63;
  --blue-2: #2f75b5;
  --cyan: #00a7d8;
  --paper: #f6f9fc;
  --white: #ffffff;
  --muted: #657587;
  --line: #dbe5ee;
  --green: #53b948;
  --shadow: 0 24px 70px rgba(7, 28, 47, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px clamp(16px, 4vw, 56px);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(219,229,238,.78);
  backdrop-filter: blur(18px);
}
.brand img {
  width: clamp(132px, 14vw, 190px);
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  padding: 10px 13px;
  color: #263f55;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}
.main-nav a:hover {
  color: var(--blue);
  background: #eef6fc;
}
.main-nav a:last-child {
  color: #fff;
  background: var(--blue);
}
.menu-button { display: none; }

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(34px, 5.5vw, 72px) clamp(16px, 5vw, 64px);
  background:
    radial-gradient(circle at 88% 18%, rgba(0,167,216,.18), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(47,117,181,.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--cyan);
  border-radius: 999px;
}
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: 0; }
h1 {
  max-width: 900px;
  font-size: clamp(40px, 5.8vw, 70px);
}
h2 { font-size: clamp(29px, 3.7vw, 46px); }
h3 { font-size: 22px; }
.lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: #40556a;
  font-size: clamp(17px, 1.65vw, 21px);
}
.lead.small { font-size: 17px; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
}
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 34px rgba(11,58,99,.22);
}
.button.ghost {
  color: var(--blue);
  background: #fff;
  border-color: var(--line);
}

.hero-console {
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7,28,47,.96), rgba(11,58,99,.9)),
    var(--blue);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.console-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.console-top span { color: rgba(255,255,255,.7); font-weight: 800; }
.console-top strong { color: #83f5ba; }
.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.console-grid div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}
.console-grid span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.console-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(16px, 5vw, 64px) 22px;
}
.trust-strip span {
  padding: 13px 14px;
  color: #254157;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 850;
  text-align: center;
}

.section {
  padding: clamp(42px, 6vw, 72px) clamp(16px, 5vw, 64px);
}
.section-head {
  max-width: 880px;
  margin-bottom: 24px;
}
.section-head p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  min-height: 300px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(7,28,47,.06);
}
.service-card.featured {
  border-color: rgba(47,117,181,.42);
  box-shadow: var(--shadow);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  background: #eef6fc;
  border: 1px solid rgba(47,117,181,.18);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.service-icon svg {
  width: 38px;
  height: 38px;
  display: block;
}
.icon-vtel { background: #eaf7ff; }
.icon-microsoft { background: #fff7e8; }
.icon-avyra { background: #eaf4fb; }
.icon-hosting { background: #f3f8fb; }
.icon-storage { background: #ecfbff; }
.icon-vpn { background: #eef8f1; }
.service-card p {
  color: var(--muted);
  margin: 9px 0 0;
}
.service-card ul {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: #354c60;
}
.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 9px 13px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  background: #fff;
}
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.access-card {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.access-card span {
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.access-card strong { font-size: 23px; }
.access-card small { color: var(--muted); font-weight: 750; }

.contact-section {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: clamp(22px, 4vw, 50px);
  padding: clamp(42px, 6vw, 74px) clamp(16px, 5vw, 64px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(0,167,216,.18), transparent 30%),
    linear-gradient(135deg, #061827, #0b3a63);
}
.contact-copy p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255,255,255,.76);
  font-size: 18px;
}
.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.contact-pills a {
  padding: 10px 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  font-weight: 850;
}
.contact-form {
  display: grid;
  gap: 11px;
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: #263f55;
  font-weight: 850;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 5vw, 64px);
  background: #fff;
  border-top: 1px solid var(--line);
}
.site-footer img { width: 126px; }
.site-footer p { color: var(--muted); margin: 0; }
.site-footer a {
  color: var(--blue);
  font-weight: 900;
}

.vtel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(38px, 6vw, 78px) clamp(16px, 5vw, 64px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(0,167,216,.28), transparent 32%),
    linear-gradient(135deg, #061827 0%, #0b3a63 58%, #123f66 100%);
}
.vtel-hero .lead { color: rgba(255,255,255,.78); }
.vtel-hero .button.ghost {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.24);
}
.pbx-panel {
  padding: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}
.pbx-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.pbx-top span { color: rgba(255,255,255,.68); font-weight: 900; }
.pbx-top strong { color: #83f5ba; }
.call-flow {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.call-flow div {
  min-height: 92px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}
.call-flow small,
.pbx-metrics small {
  display: block;
  color: rgba(255,255,255,.66);
  font-weight: 850;
}
.call-flow strong { display: block; margin-top: 12px; font-size: 22px; }
.call-flow > span {
  height: 3px;
  background: var(--cyan);
  border-radius: 99px;
}
.pbx-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.pbx-metrics div {
  padding: 13px;
  background: rgba(0,167,216,.14);
  border-radius: 12px;
}
.pbx-metrics strong { display: block; font-size: 22px; }
.vtel-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(16px, 5vw, 64px) 20px;
  background: #061827;
}
.vtel-strip span {
  padding: 13px;
  color: #dff6ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.09);
  text-align: center;
  font-weight: 850;
}
.vtel-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vtel-feature-grid article,
.vtel-plans article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(7,28,47,.06);
}
.mini-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  font-weight: 950;
}
.vtel-feature-grid p,
.vtel-plans p {
  color: var(--muted);
  margin: 9px 0 0;
}
.vtel-workflow {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  background: #fff;
}
.workflow-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.workflow-board div {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #123f66;
  background: #f0f8fc;
  border: 1px solid #d5e9f4;
  border-radius: 12px;
  font-weight: 900;
  text-align: center;
}
.vtel-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vtel-plans article > span {
  display: inline-flex;
  padding: 6px 9px;
  color: #0b3a63;
  background: #eaf4fb;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.vtel-plans h3 { margin-top: 14px; }
.vtel-plans ul {
  display: grid;
  gap: 7px;
  margin: 16px 0;
  padding-left: 18px;
  color: #354c60;
}
.vtel-plans article > strong {
  display: block;
  color: var(--blue);
  font-size: 24px;
}
.featured-plan {
  border-color: rgba(47,117,181,.45) !important;
  box-shadow: var(--shadow) !important;
}
.contractor {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
  gap: 16px;
  align-items: stretch;
}
.quote-builder,
.signup-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(7,28,47,.06);
}
.quote-builder {
  display: grid;
  gap: 18px;
}
.quote-row {
  display: grid;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.quote-row div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.quote-row span,
.quote-total span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.quote-row strong {
  color: var(--blue);
  font-size: 36px;
}
.quote-row small,
.quote-total small {
  width: 100%;
  color: var(--muted);
  font-weight: 750;
}
.quote-row input[type="range"] {
  width: 100%;
  accent-color: var(--cyan);
}
.quote-total {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #123f66);
  border-radius: 12px;
}
.quote-total span,
.quote-total small { color: rgba(255,255,255,.76); }
.quote-total strong {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}
.included-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: #354c60;
  font-weight: 750;
}
.signup-card { min-height: 100%; }
.signup-step { display: none; }
.signup-step.active { display: grid; gap: 14px; }
.signup-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.signup-head .eyebrow { margin-bottom: 8px; }
.signup-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  font-weight: 950;
}
.signup-intro {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}
.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full,
.signup-actions {
  grid-column: 1 / -1;
}
.field label {
  color: #30485d;
  font-size: 13px;
  font-weight: 950;
}
.field input {
  min-height: 48px;
  padding: 12px 13px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input:focus {
  background: #fff;
  border-color: rgba(0,167,216,.72);
  box-shadow: 0 0 0 4px rgba(0,167,216,.12);
}
.signup-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.checkout-summary {
  display: grid;
  gap: 9px;
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.checkout-summary div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.checkout-summary span { color: var(--muted); font-weight: 850; }
.checkout-summary strong { text-align: right; }
.button.secondary {
  color: var(--blue);
  background: #eaf4fb;
  border-color: #cde4f2;
}

@media (max-width: 1020px) {
  .hero,
  .vtel-hero,
  .vtel-workflow,
  .split-section,
  .contact-section,
  .service-grid,
  .access-grid,
  .trust-strip,
  .vtel-strip,
  .vtel-feature-grid,
  .vtel-plans,
  .contractor {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .main-nav {
    position: absolute;
    inset: 70px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .menu-button {
    display: inline-grid;
    place-items: center;
    min-width: 54px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    font-weight: 900;
  }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; }
  .brand img { width: 122px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero { padding-top: 28px; padding-bottom: 28px; }
  .actions .button { width: 100%; }
  .console-grid { grid-template-columns: 1fr; }
  .call-flow,
  .pbx-metrics,
  .workflow-board {
    grid-template-columns: 1fr;
  }
  .call-flow > span { height: 18px; width: 3px; justify-self: center; }
  .service-card { min-height: auto; }
  .signup-form {
    grid-template-columns: 1fr;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
