/* Swiss Smart – Swiss Clean + Modern Tech */
:root {
  --navy: #0f2340;
  --navy-2: #1b3a63;
  --blue: #2563c9;
  --teal: #14a3a8;
  --red: #d52b1e;
  --ink: #1a2433;
  --muted: #5b6878;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 35, 64, .06), 0 8px 24px rgba(15, 35, 64, .06);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: .8em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; }
.logo span.dot { color: var(--red); }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 550; border-radius: 10px; }
.menu a:hover { background: var(--bg-soft); text-decoration: none; }
.menu a[aria-current="page"] { color: var(--blue); }
.has-sub > a::after { content: "▾"; font-size: .75em; margin-left: 6px; color: var(--muted); }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.menu .btn { margin-left: 8px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; font-size: 1.3rem; color: var(--navy); cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 650; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff !important; box-shadow: 0 6px 16px rgba(213, 43, 30, .25); }
.btn-primary:hover { background: #bd2418; }
.btn-ghost { border-color: var(--navy); color: var(--navy) !important; background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff !important; }
.menu .btn-primary { padding: 10px 18px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 88px 0 96px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(20, 163, 168, .14), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(37, 99, 201, .10), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--red); }
.hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 34ch; margin-bottom: 1.8em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--muted); font-size: .95rem; }
.trust span::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* Mockup */
.mockup {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px rgba(15, 35, 64, .14);
  overflow: hidden; transform: rotate(-1deg);
}
.mockup-bar { display: flex; gap: 7px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dde6; display: block; }
.mockup-body { padding: 20px; display: grid; gap: 14px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; }
.mock-row b { color: var(--navy); }
.chip { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip-ok { background: #e3f6f3; color: #0c7c73; }
.chip-run { background: #e7efff; color: var(--blue); }
.chip-red { background: #fdeceb; color: var(--red); }
.mock-ai { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #e8eef8; border: 0; }
.mock-ai b { color: #fff; }
.mock-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.mock-bar > span { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--teal), var(--blue)); }

/* Sections */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 35, 64, .12); }
.card .icon, .why .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(135deg, #e8f1ff, #e2f7f6); margin-bottom: 18px;
}
.card .more { font-weight: 650; color: var(--blue); margin-top: 8px; display: inline-block; }
.card ul { padding-left: 1.1em; margin: .6em 0 0; color: var(--muted); }
.card li { margin: .2em 0; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--navy);
}
.step:first-child::before { background: var(--red); }

.case { display: grid; gap: 14px; }
.case .tag { font-size: .8rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.case dl { margin: 0; display: grid; gap: 10px; }
.case dt { font-weight: 700; color: var(--navy); font-size: .9rem; }
.case dd { margin: 0; color: var(--muted); }

.why { display: flex; gap: 16px; align-items: flex-start; }
.why .icon { flex: 0 0 auto; margin: 0; }
.cta-band .btn { white-space: nowrap; flex: 0 0 auto; }

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #dfe7f3; border-radius: 24px;
  padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }

/* Page header */
.page-hero { padding: 72px 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.aside-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aside-box h3 { margin-top: 0; }

/* Form */
form.contact { display: grid; gap: 16px; }
.field label { display: block; font-weight: 650; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid #cfd7e2; border-radius: 12px; font: inherit; color: var(--ink);
  background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(37, 99, 201, .2); border-color: var(--blue); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { margin-top: 5px; }
.notice { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; }
.notice-ok { background: #e3f6f3; color: #0c5f58; }
.notice-err { background: #fdeceb; color: #8f1d14; }

/* Footer */
.site-footer { background: var(--navy); color: #b9c6d8; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #dfe7f3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .mockup { transform: none; max-width: 520px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; display: none;
  }
  .menu.open { display: flex; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .has-sub > a::after { content: ""; }
  .menu .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .grid-3, .grid-4, .grid-2, .footer-grid { grid-template-columns: 1fr; }
}
