:root {
  --navy: #0b3a53;
  --teal: #0b4f6c;
  --teal-600: #0a6e8f;
  --accent: #14b8a6;
  --accent-600: #0d9488;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --card: #ffffff;
  --ok: #16a34a;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px rgba(11, 79, 108, .10);
  --shadow-lg: 0 24px 60px rgba(11, 79, 108, .18);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
p { margin: 0 0 1rem; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; padding: .7rem 1.3rem; font-size: .95rem;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--teal-600); color: var(--teal-600); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.02rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--accent-600); margin: 0 0 .6rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 79, 108, .10); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 180px; padding: 14px 0;
  transition: min-height .25s ease, padding .25s ease;
}
.brand { display: inline-flex; align-items: center; gap: .15rem; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { height: clamp(110px, 18vw, 220px); width: auto; display: block; transition: height .25s ease; }
/* Compact state once the user scrolls */
.site-header.scrolled .header-inner { min-height: 76px; padding: 8px 0; }
.site-header.scrolled .brand-logo { height: 58px; }
.brand-fallback { display: inline-flex; align-items: center; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: .35rem;
  background: linear-gradient(135deg, var(--teal-600), var(--accent)); color: #fff;
  border-radius: 9px; font-weight: 800; font-size: .95rem; letter-spacing: -.03em;
}
.brand-text { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--slate); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.btn-primary { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #e6f6f2 0%, transparent 60%), linear-gradient(180deg, var(--bg-alt), #fff); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.lede { font-size: 1.12rem; color: var(--slate); max-width: 36ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 28px; }
.trust-strip { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.6rem; font-weight: 800; color: var(--teal); line-height: 1; }
.trust-item span { font-size: .82rem; color: var(--muted); max-width: 18ch; }

/* Hero card */
.hero-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  box-shadow: var(--shadow-lg);
}
.hc-row { display: flex; justify-content: space-between; align-items: center; }
.hc-head { font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.hc-live { color: var(--ok); font-size: .8rem; font-weight: 600; }
.hc-line { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px dashed var(--line); color: var(--slate); }
.hc-line b { color: var(--ink); }
.hc-line b.ok { color: var(--ok); }
.hc-bar { height: 8px; background: #eef2f6; border-radius: 999px; margin: 16px 0 10px; overflow: hidden; }
.hc-fill { height: 100%; width: 78%; background: linear-gradient(90deg, var(--teal-600), var(--accent)); border-radius: 999px; }
.hc-foot { font-size: .9rem; color: var(--muted); }
.hc-foot strong { color: var(--ok); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-sub { color: var(--slate); font-size: 1.05rem; }

/* Grid */
.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe3ec; }
.service-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: #e6f6f2; color: var(--accent-600); margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.12rem; }
.service-card p { color: var(--slate); font-size: .95rem; margin: 0; }

/* Differentiator */
.diff-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: #fff; border-radius: 24px; padding: 56px clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-lg); text-align: center;
}
.diff-banner .eyebrow { color: #6fe3d2; }
.diff-banner h2 { color: #fff; max-width: 18ch; margin: 0 auto .5em; }
.diff-banner h2 span { color: #5fe0cd; }
.diff-lede { color: #cfe6ee; font-size: 1.12rem; max-width: 60ch; margin: 0 auto 40px; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.diff-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 24px; }
.diff-card h3 { color: #fff; font-size: 1.1rem; }
.diff-card p { color: #c4dde6; font-size: .94rem; margin: 0; }

/* Platform */
.platform-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--slate); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: #e6f6f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.platform-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.8rem; color: var(--teal); font-weight: 800; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Specialties */
.spec-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.spec-tab {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .65rem 1.2rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--slate); transition: all .15s ease;
}
.spec-tab:hover { border-color: var(--teal-600); color: var(--teal-600); }
.spec-tab.active { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.spec-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-md); padding: 36px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start;
}
.spec-panel-head h3 { font-size: 1.5rem; color: var(--teal); }
.spec-panel-head p { color: var(--slate); margin: 0; }
.spec-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.spec-features li { position: relative; padding-left: 32px; color: var(--ink); font-size: .96rem; }
.spec-features li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #e6f6f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Pricing */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent-600); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.price-tagline { color: var(--muted); font-size: .9rem; min-height: 40px; }
.price-amount { margin: 14px 0 4px; }
.price-amount .amt { font-size: 2rem; font-weight: 800; color: var(--ink); }
.price-amount .per { color: var(--muted); font-size: .9rem; }
.price-features { list-style: none; padding: 18px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; flex: 1; }
.price-features li { position: relative; padding-left: 28px; color: var(--slate); font-size: .93rem; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #e6f6f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-card .btn { margin-top: 22px; width: 100%; }
.pricing-note { text-align: center; color: var(--muted); font-size: .9rem; max-width: 720px; margin: 32px auto 0; }

/* Estimator */
.estimator { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.est-controls { padding: 34px; }
.est-field { margin-bottom: 24px; }
.est-field > label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.est-field .val { color: var(--accent-600); }
.est-field input[type=range] { width: 100%; accent-color: var(--accent-600); }
.est-lines { display: grid; gap: 10px; }
.est-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.est-line:hover { border-color: #cfe3ec; }
.est-line.checked { border-color: var(--accent); background: #f0fbf9; }
.est-line input { width: 18px; height: 18px; accent-color: var(--accent-600); }
.est-line .el-name { font-weight: 600; font-size: .95rem; }
.est-line .el-price { margin-left: auto; color: var(--muted); font-size: .85rem; }
.est-summary { background: linear-gradient(180deg, var(--teal), var(--navy)); color: #fff; padding: 34px; display: flex; flex-direction: column; }
.est-summary h3 { color: #fff; }
.est-summary .sub { color: #bfe0ea; font-size: .9rem; margin-bottom: 18px; }
.est-rows { display: grid; gap: 10px; margin-bottom: auto; }
.est-row { display: flex; justify-content: space-between; font-size: .92rem; color: #dcecf2; }
.est-row span:last-child { color: #fff; font-weight: 600; }
.est-total { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.est-total .label { color: #bfe0ea; font-size: .85rem; }
.est-total .num { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.est-total .num small { font-size: 1rem; font-weight: 600; color: #bfe0ea; }
.est-savings { margin-top: 18px; }
.es-offset { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.es-row { display: flex; justify-content: space-between; font-size: .9rem; color: #dcecf2; }
.es-row .es-save { color: #6fe3d2; font-weight: 700; }
.es-net {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.es-net.good { background: rgba(20,184,166,.18); border-color: rgba(95,224,205,.5); }
.es-net-label { font-size: .9rem; color: #eaf6fa; max-width: 22ch; }
.es-net-label strong { color: #6fe3d2; }
.net-num { font-size: 1.5rem; font-weight: 800; color: #fff; }
.net-num small { font-size: .85rem; font-weight: 600; color: #bfe0ea; }
.net-good { font-size: 1.2rem; font-weight: 800; color: #6fe3d2; white-space: nowrap; }
.es-hint { font-size: .8rem; color: #bfe0ea; margin: 12px 0 0; }
.est-disclaimer { font-size: .76rem; color: #9fcedb; margin: 14px 0 0; }
.est-summary .btn { margin-top: 18px; }
.btn-white { background: #fff; color: var(--teal); }
.btn-white:hover { background: #eafbf7; color: var(--teal); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-md); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: .7rem .85rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-details { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--slate); font-size: .95rem; }
.contact-details p { margin: 0 0 .8rem; }
.contact-details strong { color: var(--ink); }
.contact-details a { font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.success { color: var(--ok); }
.form-status.error { color: #dc2626; }

/* Footer */
.site-footer { background: var(--navy); color: #cfe0e8; padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand { color: #fff; }
.footer-brand p { color: #9fbccb; margin: 8px 0 0; font-size: .9rem; }
.footer-contact { font-style: normal; color: #9fbccb; font-size: .9rem; line-height: 1.7; }
.footer-contact a { color: #cfe0e8; }
.footer-contact a:hover { color: #fff; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: #cfe0e8; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { width: 100%; color: #7fa4b5; font-size: .82rem; margin: 8px 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .platform-inner, .contact-inner, .estimator, .spec-panel { grid-template-columns: 1fr; }
  .services-grid, .pricing-grid, .diff-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { order: -1; }
  .price-card.featured { transform: none; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 24px 18px; box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 10px 4px; }
  .nav-toggle { display: flex; }
  .services-grid, .pricing-grid, .platform-stats, .form-row, .diff-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
