:root {
  --blue-950: #071a2f;
  --blue-900: #0e2a47;
  --blue-800: #12395f;
  --blue-100: #eaf1f7;
  --red: #d40000;
  --green: #008a5b;
  --ink: #17212f;
  --muted: #5c6877;
  --line: #dce4ec;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --shadow: 0 22px 60px rgba(7, 26, 47, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,228,236,.8);
}
.site-header.is-elevated { box-shadow: 0 10px 28px rgba(7,26,47,.08); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--blue-950);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}
.logo .secure-word {
  color: #4dabf7;
}
.brand img { height: auto; }
.active-brand { flex: 0 0 auto; }
.zabbix-brand { margin-left: auto; padding-left: 12px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; color: var(--blue-900); }
.nav-menu a { text-decoration: none; }
.nav-menu a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: #fff !important; padding: 10px 14px; border-radius: 6px; }
.nav-toggle { display: none; }

.section { padding: 82px 0; }
.section-dark { background: radial-gradient(circle at 76% 20%, rgba(212,0,0,.22), transparent 28%), linear-gradient(135deg, var(--blue-950), var(--blue-800)); color: #fff; }
.hero { padding: 74px 0 86px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.section-dark .eyebrow { color: #ffb3b3; }
.red { color: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: 0; margin-bottom: 22px; }
h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: 0; margin-bottom: 16px; color: var(--blue-950); }
.section-dark h2, .section-dark h1 { color: #fff; }
h3 { font-size: 18px; line-height: 1.25; color: var(--blue-900); margin-bottom: 10px; }
.hero-lead { font-size: 20px; color: rgba(255,255,255,.86); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(7,26,47,.16); }
.btn-primary { background: var(--red); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue-950); }
.btn-ghost { border: 1px solid var(--line); color: var(--blue-950); background: #fff; }
.section-dark .btn-ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.36); }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 0; }
.hero-points div { border-left: 3px solid var(--red); padding-left: 12px; }
.hero-points dt { font-weight: 800; }
.hero-points dd { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
.visual-frame { background: #fff; border: 1px solid rgba(255,255,255,.2); padding: 10px; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(1deg); }
.visual-frame img { border-radius: 5px; }
.status-strip { display: flex; gap: 10px; margin: -10px auto 0; width: fit-content; background: #fff; color: var(--blue-950); border-radius: 6px; padding: 10px; box-shadow: var(--shadow); position: relative; }
.status-strip span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; }
.status-strip b { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.split p, .section-head p { color: var(--muted); font-size: 18px; }
.issue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.issue-grid span { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; padding: 14px; font-weight: 700; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 34px; }
.section-head.left { text-align: left; margin: 0; }
.section-head.compact { margin-bottom: 26px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article, .service-columns article, .package-card, .contact-card, .control-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(7,26,47,.07);
}
.feature-grid img { width: 32px; height: 32px; margin-bottom: 14px; }
.feature-grid p, .service-columns li, .control-panel li, .check-list li { color: var(--muted); }
.monitorables, .process { background: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-weight: 800; color: var(--blue-900); }
.image-pair { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
figure { margin: 0; }
.image-pair figure, .photo-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 14px 36px rgba(7,26,47,.07); }
.image-pair img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; }
.benefit-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: start; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 4px #dff4ec; }
.onprem-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 42px; align-items: center; }
.control-panel { background: rgba(255,255,255,.95); color: var(--ink); }
.control-panel ul, .service-columns ul { margin: 0; padding-left: 18px; }
.service-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.timeline span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--red); font-weight: 800; margin-bottom: 12px; }
.timeline b { display: block; color: var(--blue-900); }
.timeline p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.package-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.two-col { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
.note { margin: 18px 0 0; color: var(--blue-900); font-weight: 800; }
.cta { background: linear-gradient(180deg, #fff, var(--blue-100)); }
.cta-box { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px; box-shadow: var(--shadow); }
.contact-card { display: grid; gap: 9px; font-style: normal; }
.contact-card strong { color: var(--blue-950); font-size: 20px; }
.contact-card em { color: var(--red); font-style: normal; font-weight: 800; font-size: 13px; }
.footer { background: var(--blue-950); color: rgba(255,255,255,.78); padding: 24px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer p { margin: 0; max-width: 860px; }

.evaluation-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.evaluation-modal.is-open {
  display: flex;
}
.evaluation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 47, .74);
  backdrop-filter: blur(8px);
}
.evaluation-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .32);
}
.evaluation-modal__dialog h2 {
  margin-bottom: 10px;
}
.evaluation-modal__dialog > p:not(.eyebrow) {
  color: var(--muted);
}
.evaluation-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-950);
  min-height: 40px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}
.evaluation-form {
  margin-top: 22px;
}
.evaluation-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.evaluation-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
}
.evaluation-form input,
.evaluation-form select,
.evaluation-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 500;
}
.evaluation-form input:focus,
.evaluation-form select:focus,
.evaluation-form textarea:focus {
  outline: 3px solid rgba(212, 0, 0, .18);
  border-color: var(--red);
}
.evaluation-form__full {
  grid-column: 1 / -1;
}
.evaluation-form__privacy {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--muted) !important;
  font-weight: 700 !important;
}
.evaluation-form__privacy input {
  width: auto;
}
.evaluation-form__trap {
  display: none !important;
}
.evaluation-form__status {
  min-height: 22px;
  margin: 14px 0;
  color: var(--muted);
  font-weight: 800;
}
.evaluation-form__status.is-error {
  color: #b42318;
}
.evaluation-form__status.is-success {
  color: var(--green);
}
body.modal-open {
  overflow: hidden;
}

@media (max-width: 940px) {
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .nav { order: 3; width: 100%; justify-content: flex-start; }
  .nav-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 9px 12px; font-weight: 800; color: var(--blue-900); }
  .nav-menu { display: none; width: 100%; padding-top: 10px; flex-wrap: wrap; justify-content: flex-start; }
  .nav-menu.is-open { display: flex; }
  .hero-grid, .split, .benefit-layout, .onprem-grid, .package-grid, .cta-box { grid-template-columns: 1fr; }
  .feature-grid, .service-columns { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 58px 0; }
  .hero { padding-top: 54px; }
  h1 { font-size: 42px; }
  .hero-points, .feature-grid, .issue-grid, .image-pair, .service-columns, .timeline, .two-col { grid-template-columns: 1fr; }
  .status-strip { flex-wrap: wrap; }
  .zabbix-brand img { width: 112px; }
  .active-brand.logo { font-size: 24px; }
  .cta-box { padding: 22px; }
  .evaluation-modal__dialog { padding: 22px; }
  .evaluation-form__grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
