:root {
  --ink: #101826;
  --ink-soft: #4b5768;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --navy: #0b1f3a;
  --navy-2: #10274a;
  --accent: #e8622c;
  --accent-dark: #c94f1f;
  --blue: #1f5fd6;
  --line: #e4e8ef;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 16px; color: var(--ink-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(232,98,44,.25); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11,31,58,.25); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11,31,58,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #cdd8ea; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }

.dropdown { position: relative; }
.dropdown-trigger {
  background: none; border: none; color: #cdd8ea; font: inherit; font-weight: 600; font-size: 14.5px;
  cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 0;
}
.dropdown-trigger .chev { font-size: 10px; transition: transform .15s ease; }
.dropdown:hover .dropdown-trigger { color: #fff; }
.dropdown:hover .chev { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: -16px; margin-top: 14px;
  background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(11,31,58,.2);
  width: 320px; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink);
}
.dropdown-item:hover { background: var(--bg-alt); }
.dropdown-item .dd-icon { font-size: 18px; flex: none; }
.dropdown-item strong { display: block; font-size: 14px; color: var(--ink); }
.dropdown-item small { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0d2140 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero .kicker { color: #ff9a67; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.page-hero p { color: #cdd8ea; max-width: 620px; margin: 0 auto; font-size: 17px; }

section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.kicker { text-align: center; color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
h2.center { text-align: center; font-size: clamp(26px, 3.2vw, 34px); }
.lede { text-align: center; color: var(--ink-soft); font-size: 17px; max-width: 640px; margin: 0 auto 44px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 15px; margin-bottom: 0; }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 15px; margin-bottom: 0; }

table.offer { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.offer th, table.offer td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
table.offer th { background: var(--navy); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
table.offer tr:last-child td { border-bottom: none; }
table.offer td.pain { color: var(--ink-soft); }
table.offer td.fix { font-weight: 600; color: var(--navy); }
table.offer tr:nth-child(even) td { background: var(--bg-alt); }

.callout {
  text-align: center; max-width: 720px; margin: 44px auto 0; font-size: 18px; font-weight: 700;
  color: var(--navy); padding: 22px 28px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
}

.mechanism { background: var(--navy); color: #fff; border-radius: 20px; padding: 52px 40px; text-align: center; }
.mechanism h2 { color: #fff; }
.mechanism p { color: #cdd8ea; max-width: 680px; margin: 0 auto; font-size: 17px; }
.tag {
  display: inline-block; margin-bottom: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #ffab7a; text-transform: uppercase; letter-spacing: .05em;
}

.pricing-card {
  max-width: 440px; margin: 0 auto; background: #fff; border: 2px solid var(--navy); border-radius: 20px;
  padding: 40px 34px; text-align: center; box-shadow: 0 20px 50px rgba(11,31,58,.12);
}
.pricing-card .badge {
  display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.price-line { font-size: 16px; color: var(--ink-soft); margin-bottom: 4px; }
.price-line strong { color: var(--navy); font-size: 26px; font-weight: 800; }
.pricing-card .btn { width: 100%; margin-top: 10px; }
.pricing-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
.fit-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.fit-card.yes { border-top: 4px solid #1f9d55; }
.fit-card.no { border-top: 4px solid #c94f1f; }
.fit-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.fit-card.yes h3 { color: #1f9d55; }
.fit-card.no h3 { color: #c94f1f; }
.fit-card p { font-size: 15px; margin: 0; }

.final-cta {
  background: linear-gradient(160deg, var(--navy) 0%, #0d2140 100%);
  color: #fff; text-align: center; padding: 76px 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #cdd8ea; max-width: 580px; margin: 0 auto 30px; font-size: 17px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); margin-bottom: 14px; }
.contact-card a.big-link { font-size: 20px; font-weight: 700; color: var(--navy); text-decoration: none; }

footer { background: #0a1830; color: #8ea0bd; padding: 32px 0; text-align: center; font-size: 13.5px; }
footer a { color: #cdd8ea; text-decoration: none; }
footer .footer-links { margin-bottom: 10px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
footer .credits { display: block; margin-top: 8px; font-size: 12px; color: #5f7392; }
footer .credits a { color: #7c93b5; }

.solution-photo { width: 100%; border-radius: var(--radius); margin-bottom: 32px; max-height: 380px; object-fit: cover; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.blog-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(11,31,58,.1); }
.blog-card img { width: 100%; height: 170px; object-fit: cover; }
.blog-card-body { padding: 20px 22px; }
.blog-card .blog-date { font-size: 12.5px; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; margin-bottom: 8px; }
.blog-card p { font-size: 14.5px; margin-bottom: 0; }

.post-body { max-width: 720px; margin: 0 auto; }
.post-body .post-meta { color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; text-align: center; margin-bottom: 10px; }
.post-body img { border-radius: var(--radius); margin: 0 0 28px; max-height: 380px; width: 100%; object-fit: cover; }
.post-body h2 { font-size: 22px; margin-top: 36px; }
.post-body p { font-size: 16px; color: var(--ink-soft); }
.post-body ul { color: var(--ink-soft); font-size: 16px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-back { display: inline-block; margin-bottom: 28px; color: var(--blue); font-weight: 600; text-decoration: none; font-size: 14.5px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .fit-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .mechanism { padding: 36px 20px; }
  table.offer th, table.offer td { padding: 12px 14px; font-size: 13.5px; }
}
