:root {
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 18px;
  --accent: #e8a94a;
  --max: 1080px;
}
:root[data-theme="light"] {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --soft: #ece8dd;
  --text: #0f2744;
  --muted: #5a6b80;
  --line: #e2ddd1;
  --primary: #0f2744;
  --on-primary: #f6f4ef;
  --nav-bg: rgba(246, 244, 239, 0.88);
  --logo-bg: #0f2744;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b1a2e;
  --surface: #112440;
  --soft: #0f2139;
  --text: #f3f0e8;
  --muted: #9fb0c5;
  --line: #1f3856;
  --primary: #f3f0e8;
  --on-primary: #0b1a2e;
  --nav-bg: rgba(11, 26, 46, 0.88);
  --logo-bg: #1a3556;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
a { color: inherit; }
img, svg { max-width: 100%; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.brand-text span { font-size: 10px; letter-spacing: 4px; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--soft); }
.nav-links a.active { color: var(--text); background: var(--soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--muted); }
.theme-toggle svg, .menu-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.menu-toggle { display: none; padding: 8px 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--primary); color: var(--on-primary);
  transition: transform .15s ease, opacity .15s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); opacity: 1; }
.btn.whatsapp { background: #1fa855; color: #fff; }
.btn.small { padding: 10px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Layout bits ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--soft); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -.6px; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.hero { padding: 84px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.chips span { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 16px; height: 16px; color: var(--accent); }

.page-hero { padding: 72px 0 24px; }
.page-hero p { margin-top: 16px; }

/* browser mock */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(8, 20, 40, .16); overflow: hidden;
}
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #9fb0c5; display: block; }
.mock-bar i:first-child { background: var(--accent); }
.mock-body { padding: 26px 22px 30px; }
.bar { height: 12px; border-radius: 8px; background: var(--soft); margin-bottom: 12px; }
.bar.title { height: 22px; width: 70%; background: var(--primary); opacity: .9; margin-bottom: 18px; }
.bar.w90 { width: 90%; } .bar.w75 { width: 75%; } .bar.w60 { width: 60%; }
.bar.btn-bar { width: 38%; height: 34px; border-radius: 999px; background: var(--accent); margin-top: 22px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.mock-cards div { height: 58px; border-radius: 12px; background: var(--soft); }

/* cards */
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--muted); }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--soft);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--text);
}
.section.alt .icon { background: var(--bg); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 2px; margin-bottom: 8px;
}
.step p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* feature blocks */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; padding: 44px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature p.desc { color: var(--muted); margin-top: 10px; font-size: 17px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.callout {
  background: var(--primary); color: var(--on-primary);
  border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.callout p { opacity: .85; margin-top: 12px; font-size: 17px; }
.callout .btn { background: var(--accent); color: #1a1405; justify-self: start; }

/* CTA band */
.cta {
  background: var(--primary); color: var(--on-primary);
  border-radius: 28px; padding: 56px 28px; text-align: center;
}
.cta p { opacity: .85; margin: 12px auto 28px; max-width: 520px; font-size: 17px; }
.cta .btn { background: var(--accent); color: #1a1405; }
.cta .btn.ghost { background: transparent; color: var(--on-primary); border-color: rgba(255,255,255,.35); }
:root[data-theme="dark"] .cta .btn.ghost { border-color: rgba(11,26,46,.35); }
.cta .btn-row { justify-content: center; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 17px; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--accent); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 16px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; }
.contact-card .links { display: grid; gap: 8px; margin-top: 14px; }
.contact-card .btn { width: 100%; }
form.enquiry { display: grid; gap: 16px; max-width: 640px; }
form.enquiry label { font-weight: 700; font-size: 14px; display: grid; gap: 8px; }
form.enquiry input, form.enquiry textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%;
}
form.enquiry input:focus, form.enquiry textarea:focus { outline: none; border-color: var(--accent); }
form.enquiry textarea { min-height: 140px; resize: vertical; }
.note { color: var(--muted); font-size: 14px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--text); font-size: 15px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 300px; }
.copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* responsive */
@media (max-width: 860px) {
  .hero-grid, .feature, .callout, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .mock { max-width: 420px; }
  .feature { gap: 20px; }
  .callout { padding: 34px 26px; }
  .menu-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 22px 18px; gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .theme-toggle span { display: none; }
  .theme-toggle { padding: 8px 10px; }
  .section { padding: 56px 0; }
}
