:root {
  --navy: #07101d;
  --navy-2: #0d213c;
  --blue: #0968d8;
  --blue-2: #034b9d;
  --ice: #edf4ff;
  --silver: #e5ebf3;
  --light: #f7f9fc;
  --white: #ffffff;
  --text: #1f2a38;
  --muted: #657386;
  --line: #dde6f0;
  --shadow: 0 14px 36px rgba(7, 16, 29, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.topbar a { color: #fff; }

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.brand-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text {
  color: var(--navy);
  font-weight: 950;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -.02em;
}
.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .18s ease;
}
.menu-toggle:hover {
  border-color: var(--blue);
  background: var(--ice);
}
.menu-icon {
  width: 22px;
  display: grid;
  gap: 5px;
}
.menu-icon span {
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  display: block;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7,16,29,.48);
  opacity: 0;
  visibility: hidden;
  z-index: 120;
  transition: .2s ease;
}
.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(390px, 92vw);
  height: 100vh;
  background: #fff;
  z-index: 130;
  transform: translateX(100%);
  transition: transform .24s ease;
  box-shadow: -24px 0 70px rgba(7,16,29,.22);
  padding: 24px;
  overflow-y: auto;
}
.side-menu.open { transform: translateX(0); }
.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.side-title {
  font-weight: 950;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.05;
}
.close-menu {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.side-nav {
  display: grid;
  gap: 8px;
}
.side-nav a {
  display: grid;
  gap: 3px;
  padding: 14px 12px;
  border-radius: 16px;
  color: var(--navy);
  font-weight: 900;
}
.side-nav a:hover {
  background: var(--ice);
  color: var(--blue);
}
.side-nav small {
  color: var(--muted);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 13px 19px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(9,104,216,.20); }
.btn.secondary { background: transparent; border: 2px solid var(--blue); color: var(--blue); box-shadow: none; }
.btn.white { background: #fff; color: var(--navy); box-shadow: none; }

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 58%, var(--blue) 100%);
  color: #fff;
  padding: 78px 0 68px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 38px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1, h2 {
  color: var(--navy);
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: .98;
}
h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 70px);
  margin-bottom: 20px;
}
.hero-lead {
  max-width: 650px;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 26px;
}
.hero-actions, .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.trust-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 800;
}
.hero-panel, .card, .reference-card, .calc-panel, .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel { padding: 16px; }
.image-box, .panel-image, .reference-image, .pillar-card .image-placeholder {
  background: var(--ice);
  overflow: hidden;
  border-radius: 17px;
  aspect-ratio: 16 / 10;
}
.image-box img, .panel-image img, .reference-image img, .pillar-card .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quick-check {
  list-style: none;
  display: grid;
  gap: 7px;
  padding: 13px 4px 2px;
  color: var(--navy);
  font-weight: 850;
}

.section { padding: 72px 0; }
.section.light { background: var(--light); }
.section.compact { padding: 52px 0; }
.section-head {
  max-width: 730px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 8px;
}
h2 {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 14px;
}
h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.section-head p, .muted {
  color: var(--muted);
  font-size: 18px;
}
.pillar-grid, .reference-grid, .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pillar-card-content { padding: 19px; }
.pillar-card p, .reference-body p { color: var(--muted); }
.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}
.card { padding: 24px; }
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--ice);
  color: var(--blue);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 950;
  margin-bottom: 12px;
}
.detail-layout, .calculator {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 34px;
  align-items: start;
}
.service-intro {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 62px 0;
}
.service-intro h1 { max-width: 900px; }
.service-intro p {
  max-width: 780px;
  color: rgba(255,255,255,.86);
  font-size: 20px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.72);
  font-weight: 850;
  margin-bottom: 15px;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.check-list li {
  position: relative;
  padding-left: 29px;
  font-weight: 760;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}
.warning-list li:before { content: "!"; }
.reference-card { overflow: hidden; }
.reference-body { padding: 18px; }
.sidebar { position: sticky; top: 110px; }
.note-box {
  background: var(--ice);
  color: var(--navy);
  border-left: 4px solid var(--blue);
  border-radius: 16px;
  padding: 16px;
  font-weight: 850;
}
.cta-band, .calc-result, .card.highlight {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: 28px;
}
.cta-band { padding: 42px; }
.cta-band h2, .calc-result h3, .card.highlight h3 { color: #fff; }
.cta-band p, .calc-result p, .card.highlight p { color: rgba(255,255,255,.84); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.cert-item h3 { font-size: 19px; }
.cert-note {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.form { display: grid; gap: 16px; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label {
  display: block;
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd6e4;
  border-radius: 14px;
  background: #fff;
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.calc-panel { padding: 24px; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 9px;
}
.option {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  font-weight: 850;
  cursor: pointer;
}
.option input { width: auto; margin-right: 7px; }
.calc-result {
  padding: 24px;
  position: sticky;
  top: 110px;
}
.notice {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 14px;
}
.result-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.big-result {
  font-size: 27px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.03em;
  margin: 17px 0 10px;
}
.honeypot { display: none !important; }

.footer {
  background: var(--navy);
  color: #fff;
  padding: 42px 0 23px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 30px;
  margin-bottom: 26px;
}
.footer h3 { color: #fff; }
.footer p, .footer a { color: rgba(255,255,255,.78); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.62);
}

@media (max-width: 1024px) {
  .hero-grid, .detail-layout, .calculator, .grid-2, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .pillar-grid, .reference-grid, .grid-3, .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar, .calc-result { position: static; }
}
@media (max-width: 760px) {
  .topbar { font-size: 11px; letter-spacing: .025em; }
  .brand-mark { width: 52px; height: 52px; flex-basis: 52px; }
  .brand-text { font-size: 18px; }
  .brand-sub { display: none; }
  .nav { min-height: 72px; }
  .hero { padding: 58px 0 54px; }
  .section { padding: 58px 0; }
  .service-intro { padding: 52px 0; }
  .pillar-grid, .reference-grid, .grid-3, .cert-grid, .option-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .cta-band { padding: 30px 22px; }
}
