:root {
  --navy: #0F1E5A;
  --navy-2: #18296E;
  --navy-line: #2C3F8A;
  --navy-badge: #0F2A78;
  --blue: #1D5BD8;
  --blue-text: #1D4FC4;
  --orange: #E8780C;
  --orange-cta: #F28C1B;
  --orange-label: #C25F00;
  --orange-soft: #F7A54A;
  --ink: #0F1E5A;
  --ink-2: #2B3A6B;
  --muted: #46557F;
  --muted-2: #5A6890;
  --on-dark: #C8D3F2;
  --on-dark-2: #E3E9FA;
  --bg: #F5F7FC;
  --surface: #FFFFFF;
  --line: #E3E8F3;
  --line-2: #C9D3EA;
  --chip: #F0F3FA;
  --hero-panel: #EEF3FD;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; color: inherit; }
p { margin: 0; }
a { color: var(--blue-text); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange-cta); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 12px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #164AB5; color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #1A2C78; color: #fff; }
.btn--orange { background: var(--orange-cta); color: var(--navy); font-weight: 700; font-size: 17px; padding: 0 28px; min-height: 54px; }
.btn--orange:hover { background: #F7A54A; color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 20px; border-radius: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand__dot { color: var(--orange); }
.brand__com { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); background: #fff; border-radius: 10px; color: var(--navy);
  align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(15,30,90,.08);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 12px; }
}

/* Section heads */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 48px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-label); }
.section--dark .eyebrow { color: var(--orange-soft); }
.h2 { font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 17px; color: var(--muted); }
.section--dark .lead { color: var(--on-dark); }

/* Hero */
.hero { background: var(--surface); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy-badge); color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px;
}
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.hero__sub { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__panel {
  width: 100%; max-width: 480px; aspect-ratio: 1 / .86; border-radius: 28px;
  background: var(--hero-panel); display: flex; align-items: center; justify-content: center;
}
.hero__panel img { width: 78%; }

/* Services */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 16px;
}
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.card p { font-size: 15px; color: var(--muted); }
.icon-tile {
  width: 56px; height: 56px; border-radius: 14px; color: #fff; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.icon-tile svg { width: 28px; height: 28px; }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile--sm svg { width: 22px; height: 22px; }
.c-purple { background: #5B3FD6; }
.c-green { background: #3E9B1F; }
.c-orange { background: var(--orange); }
.c-blue { background: #1D7FE0; }
.c-magenta { background: #C42585; }
.c-navy { background: var(--navy-badge); }
.c-royal { background: var(--blue); }

/* AI & data */
.grid-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.ai-card {
  background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 22px;
  padding: 36px; display: flex; flex-direction: column; gap: 16px;
}
.ai-card h3 { font-size: 24px; font-weight: 800; color: #fff; }
.ai-card p { font-size: 16px; color: var(--on-dark); }
.ai-card ul { margin: 4px 0 0; padding-left: 20px; font-size: 15px; color: var(--on-dark-2); display: flex; flex-direction: column; gap: 6px; }

/* One-stop steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step__num { font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--blue); }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { font-size: 15px; color: var(--muted); }

/* Products */
.grid-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.product { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); }
.product__art { height: 180px; display: flex; align-items: center; justify-content: center; }
.product__icon { width: 84px; height: 84px; border-radius: 22px; color: #fff; display: flex; align-items: center; justify-content: center; }
.product__icon svg { width: 42px; height: 42px; }
.product__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.product h3 { font-size: 24px; font-weight: 800; }
.product__tag { font-size: 15px; font-weight: 600; }
.product__desc { font-size: 15px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; list-style: none; padding-left: 0; margin-bottom: 0; }
.chips li { font-size: 13px; font-weight: 500; background: var(--chip); color: var(--ink-2); padding: 5px 12px; border-radius: 999px; }
.p-tasklert .product__art { background: #EAF1FF; } .p-tasklert .product__icon { background: var(--blue); } .p-tasklert .product__tag { color: var(--blue-text); }
.p-kinwello .product__art { background: #EAF6E4; } .p-kinwello .product__icon { background: #2F7D14; } .p-kinwello .product__tag { color: #2F7D14; }
.p-gold .product__art { background: #FFF3E2; } .p-gold .product__icon { background: #B86A00; } .p-gold .product__tag { color: #9A5800; }

/* Upcoming */
.upcoming {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.upcoming__art { flex: 0 0 auto; width: 140px; height: 140px; border-radius: 32px; background: #FCE8F3; color: #A3196B; display: flex; align-items: center; justify-content: center; }
.upcoming__art svg { width: 64px; height: 64px; }
.upcoming__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pill-orange { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: #fff; padding: 6px 14px; border-radius: 999px; }
.upcoming h3 { font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.upcoming p { font-size: 17px; color: var(--muted); max-width: 640px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about__points { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.point { display: flex; gap: 18px; padding: 22px; border-radius: 16px; background: var(--bg); }
.point h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.point p { font-size: 15px; color: var(--muted); }

/* Enquiry */
.enquiry {
  background: var(--navy); color: #fff; border-radius: 28px; padding: 64px 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.enquiry__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.enquiry__copy p { font-size: 17px; color: var(--on-dark); }
.enquiry__cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Enquiry form dialog */
.enquiry-dialog {
  width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0;
  border: 0; border-radius: 22px; background: var(--surface); color: var(--ink);
  box-shadow: 0 24px 64px rgba(15,30,90,.28);
}
.enquiry-dialog::backdrop { background: rgba(15,30,90,.55); }
.enquiry-form, .enquiry-done { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.enquiry-form__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.enquiry-form__head h2, .enquiry-done h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.enquiry-form__close {
  width: 44px; height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer;
}
.enquiry-form__intro, .enquiry-done p { font-size: 16px; color: var(--muted); margin-top: -8px; }
.enquiry-form__fields { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field--half { flex: 1 1 240px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label span { font-weight: 400; color: var(--muted-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 14px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,91,216,.18); }
.field [aria-invalid="true"] { border-color: #C0262D; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form__status { font-size: 15px; color: #B3261E; min-height: 0; }
.enquiry-form__status:empty { display: none; }
.enquiry-form__actions { display: flex; justify-content: flex-end; gap: 12px; }
.enquiry-form__actions button { cursor: pointer; }
.enquiry-form__actions button[disabled] { opacity: .6; cursor: progress; transform: none; }
.enquiry-done { align-items: center; text-align: center; padding: 48px 32px; }
.enquiry-done p { margin-top: -8px; }
.enquiry-done .btn { cursor: pointer; }
.enquiry-done__icon { width: 64px; height: 64px; border-radius: 50%; background: #E5F4DD; color: #2F7D14; display: flex; align-items: center; justify-content: center; }
body.has-dialog { overflow: hidden; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 24px; }
.site-footer__logo { width: 100%; max-width: 420px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.footer-nav a { color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--blue); }
.copyright { padding-bottom: 32px; font-size: 13px; color: var(--muted-2); }

/* Phone */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .brand img { height: 36px; }
  .brand__name { font-size: 19px; }
  .hero__inner { padding-top: 32px; padding-bottom: 48px; gap: 28px; flex-direction: column-reverse; align-items: stretch; }
  .hero__art, .hero__copy { flex-basis: auto; }
  .hero__panel { aspect-ratio: auto; padding: 20px; }
  .hero__panel img { width: 62%; }
  .hero h1 { font-size: 34px; line-height: 1.12; }
  .hero__sub { font-size: 16px; }
  .badge { font-size: 11px; padding: 6px 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .h2 { font-size: 28px; }
  .section-head { margin-bottom: 28px; }
  .ai-card { padding: 24px; }
  .ai-card h3 { font-size: 20px; }
  .upcoming { padding: 24px; gap: 20px; }
  .upcoming__art { width: 88px; height: 88px; border-radius: 22px; }
  .upcoming__art svg { width: 44px; height: 44px; }
  .upcoming h3 { font-size: 26px; }
  .enquiry { padding: 32px 24px; border-radius: 22px; }
  .enquiry__cta, .enquiry__cta .btn { width: 100%; }
  .product__art { height: 120px; }
  .enquiry-form, .enquiry-done { padding: 24px 20px; }
  .enquiry-form__actions .btn { flex: 1 1 0; padding: 0 12px; white-space: nowrap; }
}
