:root {
  --brand-dark: #0f4c75;
  --brand: #1e73be;
  --brand-mid: #2a6f97;
  --accent: #2ea3f2;
  --text: #555;
  --heading: #222;
  --muted: #888;
  --bg: #fff;
  --bg-alt: #f5f8fb;
  --line: #e4e9ef;
  --footer: #222;
  --radius: 6px;
  --max: 1080px;
  --shadow: 0 10px 30px rgba(15, 76, 117, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.7 "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 var(--line), 0 2px 12px rgba(0, 0, 0, .04);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: rgba(0, 0, 0, .62); font-weight: 600; font-size: 15px; padding: 8px 11px; border-radius: var(--radius);
}
.nav a:hover { color: var(--brand); }
.nav a.active { color: var(--brand); }
.nav a.nav-cta { background: var(--brand); color: #fff; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #333; margin: 5px 0; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 8px 16px 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { margin: 10px 0 0; text-align: center; border: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  font-family: inherit; line-height: 1.4;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: rgba(255, 255, 255, .85); color: var(--brand-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ---------- Hero slider ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, #3a8fd0 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, .14), transparent 55%);
}
.slides { position: relative; min-height: 560px; }
.slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.slide.active { opacity: 1; visibility: visible; position: relative; }
.slide h1, .slide h2 { color: #fff; font-size: 46px; font-weight: 300; margin-bottom: .4em; }
.slide p { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 460px; }
.slide .shot { padding: 50px 0; }
.slide .shot img { filter: drop-shadow(0 25px 35px rgba(0, 0, 0, .35)); margin: 0 auto; max-height: 470px; width: auto; }
.slide .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .45);
}
.dots button.active { background: #fff; }
@media (max-width: 800px) {
  .slides { min-height: 0; }
  .slide { grid-template-columns: 1fr; text-align: center; gap: 0; padding-top: 40px; }
  .slide p { margin: 0 auto 1em; }
  .slide .actions { justify-content: center; }
  .slide h1, .slide h2 { font-size: 34px; }
  .slide .shot { padding: 20px 0 60px; }
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  color: #fff; text-align: center; padding: 80px 0 70px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.page-hero h1 { color: #fff; font-size: 44px; font-weight: 300; margin: 0; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 18px; margin: 10px 0 0; }
.page-hero .btn { margin-top: 24px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 34px; font-weight: 300; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.blurbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.blurb { text-align: center; }
.blurb .icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
}
.blurb .icon svg { width: 38px; height: 38px; }
.blurb h3 { font-size: 20px; }
@media (max-width: 800px) { .blurbs { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { margin: 0 auto; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* Features: alternating rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature:nth-child(even) .feature-img { order: 2; }
.feature h3 { font-size: 26px; font-weight: 400; }
.feature-img img { margin: 0 auto; max-height: 360px; width: auto; }
.feature small { color: var(--muted); display: block; font-size: 13px; }
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .feature:nth-child(even) .feature-img { order: 0; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 70px 0; text-align: center; }
.cta-band h2 { color: #fff; font-weight: 300; font-size: 32px; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 720px; margin: 0 auto 26px; font-size: 17px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 36px 30px; text-align: center;
  display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan .tag { display: inline-block; align-self: center; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 12px; border-radius: 20px; margin-bottom: 14px; }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 46px; font-weight: 300; color: var(--heading); margin: 10px 0 4px; }
.plan .price small { font-size: 16px; color: var(--muted); }
.plan p { flex: 1; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

.req-list { columns: 2; padding-left: 18px; }
@media (max-width: 600px) { .req-list { columns: 1; } }

/* ---------- Cards / support ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px 28px; }
.card h3 { font-size: 20px; }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }

.util-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.util { border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.util .ico { flex: 0 0 46px; height: 46px; border-radius: 10px; background: var(--bg-alt); color: var(--brand); display: grid; place-items: center; }
.util h3 { font-size: 18px; margin-bottom: .3em; }
.util p { margin: 0; font-size: 14.5px; }
@media (max-width: 760px) { .util-list { grid-template-columns: 1fr; } }
.wms { font: 13px/1.7 Consolas, monospace; background: var(--bg-alt); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; white-space: nowrap; }

.video-frame { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-card {
  max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 36px; box-shadow: var(--shadow);
}
.form-card.wide { max-width: 760px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--heading); font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid #cfd8e3; border-radius: var(--radius); font: inherit; font-size: 15px;
  color: #333; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 115, 190, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.hp { position: absolute; left: -9999px; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: 15px; }
.alert-error { background: #fdecea; color: #a12622; border: 1px solid #f5c2bd; }
.alert-ok { background: #e8f6ee; color: #1d6b3a; border: 1px solid #b9e2c8; }
.muted { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #aaa; padding: 50px 0 0; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; }
.site-footer a { color: #ccc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { background: rgba(0, 0, 0, .32); padding: 16px 0; font-size: 13px; color: #888; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr; gap: 24px; } }
