/* SmartECU Solutions — shared site */
:root {
  --navy: #0B1F3A;
  --navy-deep: #071525;
  --navy-mid: #122A4A;
  --accent: #2A6FBF;
  --accent-hot: #3B84D6;
  --ink: #161D24;
  --mute: #5B6B7A;
  --line: #D7DEE6;
  --paper: #F3F6F9;
  --white: #FFFFFF;
  --hero: #F7FAFC;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(11, 31, 58, 0.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand { flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1 1 auto; justify-content: flex-end;
  flex-wrap: nowrap;
}
nav a {
  color: var(--navy); text-decoration: none;
  font-family: Outfit, sans-serif; font-weight: 600; font-size: 14px;
  padding: 8px 10px; border-radius: 8px; white-space: nowrap;
}
nav a:hover, nav a.active, nav a.on { background: var(--paper); color: var(--accent); }
nav .nav-cta {
  background: var(--navy); color: #fff !important; margin-left: 8px;
  padding: 10px 16px;
}
nav .nav-cta:hover { background: var(--accent); }
.burger {
  display: none; border: 1px solid var(--line); background: #fff;
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer; flex: 0 0 auto;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; }

.hero {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(42,111,191,0.35), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(42,111,191,0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, #0E2748 100%);
  color: var(--hero);
  padding: 56px 0 36px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: Outfit, sans-serif; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 12px; color: #9BB8D9; margin-bottom: 18px;
}
.eyebrow img { width: 28px; height: 28px; }
h1 {
  font-family: Outfit, sans-serif;
  font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04; margin: 0 0 18px;
}
h1 span { display: block; }
h1 .accent { color: #7EB3F0; }
.lede { font-size: 19px; color: #C5D4E4; max-width: 36rem; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Outfit, sans-serif; font-weight: 700; font-size: 15px;
  text-decoration: none; border-radius: 10px; padding: 13px 20px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hot); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--accent); }
.btn-line { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.hero-note { font-size: 13px; color: #9BB8D9; max-width: 34rem; }
.hero-shot { position: relative; }
.hero-shot img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.10);
}

.ticker {
  background: #09182C;
  color: #8FB0D4;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden; white-space: nowrap;
  font-family: Outfit, sans-serif; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px;
  padding: 14px 0;
}
.ticker-track { display: inline-block; animation: tick 32s linear infinite; }
.ticker b { color: #E8F1FA; padding: 0 18px; font-weight: 700; }
.ticker i { font-style: normal; opacity: 0.45; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

section { padding: 64px 0; }
.sec-kicker {
  font-family: Outfit, sans-serif; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 12px; color: var(--accent); margin: 0 0 8px;
}
h2 {
  font-family: Outfit, sans-serif; font-weight: 700;
  font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em;
  color: var(--navy); margin: 0 0 12px; line-height: 1.15;
}
.sec-lead { color: var(--mute); font-size: 18px; max-width: 42rem; margin: 0 0 28px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile, .card, .price-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  min-width: 0;
}
.card { border-top: 3px solid var(--accent); }
.card .catch, .tile a {
  font-family: Outfit, sans-serif; font-weight: 700;
  color: var(--accent); font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none;
}
.card h3, .tile h3, .price-card h3 {
  font-family: Outfit, sans-serif; font-size: 20px;
  color: var(--navy); margin: 8px 0;
}
.card p, .tile p, .price-card p { margin: 0; color: var(--mute); font-size: 15px; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 16px 40px rgba(42,111,191,.18); }
.price-card .amt {
  font-family: Outfit, sans-serif; font-weight: 800;
  font-size: 36px; color: var(--navy); letter-spacing: -0.03em;
}

.shot-frame {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,31,58,.12);
  background: #0B1F3A;
  min-width: 0;
}
.shot-frame img { width: 100%; }
.shot-cap { font-size: 13px; color: var(--mute); margin-top: 8px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--hero);
}
.band h2 { color: #fff; }
.band .sec-kicker { color: #7EB3F0; }
.band p { color: #C5D4E4; max-width: 44rem; }
.band strong { color: #fff; }
.band .gallery-grid figcaption { color: #C5D4E4; }

.page-hero {
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(42,111,191,.32), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--hero);
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin: 8px 0 12px;
}
.page-hero p { color: #C9D6E4; max-width: 40rem; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.chip {
  font-family: Outfit, sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #E7EEF6;
  padding: 7px 12px; border-radius: 999px;
}

.gallery, .gallery-2, .gallery-3, .gallery-grid {
  display: grid; gap: 14px;
}
.gallery { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-3, .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid figure { margin: 0; min-width: 0; }
.gallery-grid figcaption { font-size: 13px; color: var(--mute); margin-top: 6px; }
.shot {
  margin: 0; background: var(--navy-deep); border-radius: var(--radius);
  overflow: hidden; border: 1px solid #0B1F3A; min-width: 0;
}
.shot img { width: 100%; height: 240px; object-fit: cover; }
.shot.tall img { height: 320px; }
.shot figcaption { background: var(--navy); color: #C5D4E4; padding: 10px 14px; font-size: 13px; }

.paper { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; }
.step b { display: block; font-family: Outfit, sans-serif; color: var(--accent); margin-bottom: 6px; }
.step p { margin: 0; color: var(--navy); font-weight: 600; font-family: Outfit, sans-serif; }

.eq {
  font-family: ui-monospace, Consolas, monospace;
  background: var(--navy); color: #E8F1FA;
  padding: 18px 20px; border-radius: 12px; font-size: 14px;
  margin: 8px 0 22px; overflow-x: auto;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); font-family: Outfit, sans-serif; width: 24%; font-weight: 600; background: #fbfcfd; }

.legal { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal .meta { color: var(--mute); }
.measure { width: min(720px, 100%); margin-inline: auto; }

footer {
  background: #071525; color: #8AA0B8;
  padding: 36px 0 48px; font-size: 14px;
}
footer a { color: #B9CCE0; }
.foot {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  align-items: flex-start;
}
.foot b { color: #E8F1FA; font-family: Outfit, sans-serif; }
.fine { margin-top: 18px; font-size: 12px; color: #6D8298; max-width: 50rem; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 1100px) {
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; z-index: 60;
    box-shadow: 0 16px 32px rgba(11,31,58,.12);
  }
  .burger { display: inline-block; }
}
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-4, .split, .gallery, .gallery-2, .gallery-3, .gallery-grid, .steps {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 36px; }
  section { padding: 48px 0; }
  .shot img, .shot.tall img { height: 220px; }
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* support form */
.legal form label { display:block; font-weight:600; font-size:14px; color:var(--navy); margin:14px 0 6px; }
.legal form input[type=text], .legal form input[type=email], .legal form textarea {
  width:100%; border:1px solid var(--line); border-radius:10px; padding:10px 12px;
  font:inherit; color:var(--ink); background:#fff;
}
.legal form textarea { min-height:120px; resize:vertical; }
.legal .row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:640px) { .legal .row { grid-template-columns:1fr; } }
.legal .check { display:flex; gap:10px; align-items:flex-start; margin:12px 0; font-size:15px; }
.legal .check input { margin-top:4px; }
.legal .note { background:var(--paper); border:1px solid var(--line); padding:12px 14px; border-radius:10px; color:var(--mute); font-size:.92rem; }
.legal .btn { display:inline-block; background:var(--navy); color:#fff; border:0; border-radius:10px; padding:12px 18px;
  font-family:Outfit,sans-serif; font-weight:600; font-size:15px; cursor:pointer; text-decoration:none; }
.legal .btn:hover { background:var(--accent); }

.support-form label, .legal form label {
  display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin: 14px 0 6px;
}
.support-form input[type=text], .support-form input[type=email], .support-form textarea,
.legal form input[type=text], .legal form input[type=email], .legal form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font: inherit; color: var(--ink); background: #fff;
}
.support-form textarea, .legal form textarea { min-height: 120px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; }
.check input { margin-top: 4px; }
.note { background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; color: var(--mute); font-size: .92rem; }
ul.req { padding-left: 1.2rem; color: var(--ink); }
ul.req li { margin: 0 0 10px; }
button.btn { cursor: pointer; font: inherit; }

/* mobile + form polish */
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }
input, select, textarea { font-size: 16px; }
.btn { min-height: 44px; }
nav a { min-height: 36px; }

@media (max-width: 700px) {
  .wrap, .top-inner { width: min(1120px, calc(100% - 28px)); }
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1 { font-size: 32px; }
  h1 { font-size: 32px; }
  .hero { padding: 28px 0 24px; }
  .cta-row .btn { width: 100%; }
  .brand img { height: 38px; }
  .legal { width: min(760px, calc(100% - 28px)); padding: 28px 0 56px; }
  footer { padding: 28px 0 36px; }
}

.wrap.measure { width: min(760px, calc(100% - 40px)); }
.page-hero h1 { color: #fff; }
.legal h2, .measure h2 { font-size: clamp(22px, 2.4vw, 28px); }

@media (max-width: 1100px) and (min-width: 701px) {
  .gallery-grid, .gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
