/* =========================================================================
   NAKODA — by Beyonder  |  Design system
   Indigo #283C8C + amber #F5A524, Plus Jakarta Sans + Inter. Flat-clean.
   Tokens from EDNA direction (2026-06-14). WCAG-AA checked.
   ========================================================================= */

:root {
  /* Brand */
  --brand: #283C8C;
  --brand-deep: #1B2A66;
  --brand-soft: #EEF1FB;
  --accent: #F5A524;          /* amber — DARK TEXT ONLY on this */
  --accent-soft: #FFEFD2;
  --wa: #1FA855;
  --wa-deep: #138B44;

  /* Ink + surfaces */
  --ink: #1F2433;
  --ink-muted: #5A6273;
  --surface: #FFFFFF;
  --bg: #F7F8FB;
  --border: #E6E9F0;

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radius */
  --r-card: 16px;
  --r-btn: 10px;
  --r-pill: 999px;

  /* Shadow */
  --sh: 0 4px 16px rgba(31, 36, 51, .08);
  --sh-hover: 0 8px 28px rgba(31, 36, 51, .12);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 24px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 9vw, 96px); }
.section--alt { background: var(--bg); }
.section--brand { background: var(--brand-deep); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto clamp(28px, 5vw, 48px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 14px; }
.section--brand .eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.section__lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-muted); }
.section--brand .section__lead { color: rgba(255,255,255,.85); }

.grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-deep); color: #fff; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-soft); color: var(--brand); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: -.02em; }
.brand-logo:hover { text-decoration: none; }
.brand-logo small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }
.nav__spacer { flex: 1; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; }
.nav__links a { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); padding: 9px 12px; border-radius: 8px; }
.nav__links a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--brand); }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: "▾"; font-size: 11px; margin-left: 4px; color: var(--ink-muted); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 248px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--sh-hover); padding: 8px; list-style: none; display: none; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.dropdown a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.dropdown a span { display: block; font-weight: 500; font-size: 12px; color: var(--ink-muted); margin-top: 1px; }
.nav__cta { display: inline-flex; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .nav__spacer { display: none; }
  .nav { gap: 12px; }
  .nav__links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--border); padding: 12px var(--gutter) 20px; box-shadow: var(--sh); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .18s; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px; font-size: 16px; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 6px 10px; min-width: 0; }
  .has-dropdown > a::after { display: none; }
  .nav__cta--header { display: none; }
  .nav__mobile-cta { display: block; margin-top: 10px; }
}
@media (min-width: 961px) { .nav__mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 78%); padding-block: clamp(40px, 7vw, 80px); }
.hero__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 920px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__title { margin-bottom: 18px; }
.hero__title .hl { color: var(--brand); }
.hero__sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--ink-muted); max-width: 38ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-muted); font-weight: 500; }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--wa-deep); flex: none; }
.hero__art { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--sh-hover); padding: 22px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--brand-deep); }
.trust-strip__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding-block: 18px; }
.trust-chip { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; font-size: 14px; font-family: var(--font-head); }
.trust-chip svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; box-shadow: var(--sh); transition: transform .14s ease, box-shadow .14s ease; height: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-hover); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.card__icon svg { width: 26px; height: 26px; }
.card__icon--amber { background: var(--accent-soft); color: #7a4d00; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-muted); margin-bottom: 0; font-size: 15.5px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--brand); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 760px) { .price-grid--3 { grid-template-columns: repeat(3, 1fr); } .price-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .price-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 22px; box-shadow: var(--sh); display: flex; flex-direction: column; height: 100%; position: relative; }
.price-card--popular { border-color: var(--brand); border-top: 3px solid var(--brand); box-shadow: var(--sh-hover); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #3a2700; font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.price-card__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink); }
.price-card__for { color: var(--ink-muted); font-size: 13.5px; min-height: 2.6em; margin: 4px 0 14px; }
.price-card__price { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--brand); line-height: 1.1; }
.price-card__price small { font-size: 14px; color: var(--ink-muted); font-weight: 600; }
.price-card__note { font-size: 12.5px; color: var(--ink-muted); margin: 4px 0 16px; }
.price-card__list { list-style: none; display: grid; gap: 9px; margin: 0 0 22px; }
.price-card__list li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink); }
.price-card__list svg { width: 17px; height: 17px; color: var(--wa-deep); flex: none; margin-top: 3px; }
.price-card__cta { margin-top: auto; }

/* ---------- Steps / process ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps--row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps--row { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; box-shadow: var(--sh); }
.step__num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--ink-muted); font-size: 15px; margin: 0; }

/* ---------- Feature / why list ---------- */
.feature { display: flex; gap: 14px; }
.feature__ic { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--accent-soft); color: #7a4d00; display: grid; place-items: center; }
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 4px; }
.feature p { color: var(--ink-muted); font-size: 15px; margin: 0; }
.section--brand .feature__ic { background: rgba(255,255,255,.14); color: var(--accent); }
.section--brand .feature p { color: rgba(255,255,255,.82); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh); transition: transform .14s ease, box-shadow .14s ease; }
.portfolio-card:hover { transform: translateY(-3px); box-shadow: var(--sh-hover); }
.portfolio-card__media { aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -.02em; position: relative; }
.portfolio-card__media span { position: relative; z-index: 1; padding: 0 16px; text-align: center; }
.portfolio-card__body { padding: 18px 20px 22px; }
.portfolio-card__body h3 { font-size: 18px; margin-bottom: 4px; }
.portfolio-card__body p { color: var(--ink-muted); font-size: 14.5px; margin-bottom: 12px; }
.tag { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: var(--r-pill); margin-right: 6px; }
.tag--client { color: #7a4d00; background: var(--accent-soft); }
.tag--demo { color: #0f6b39; background: #d8f3e2; }

/* ---------- Portfolio: live website-demo cards (image thumbnail) ---------- */
.portfolio-card__media.is-shot { position: relative; padding: 0; overflow: hidden; }
.portfolio-card__media.is-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:hover .portfolio-card__media.is-shot img { transform: scale(1.06); }
.portfolio-card__media.is-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,42,102,0) 42%, rgba(27,42,102,.5) 100%); }
.portfolio-card__live { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.94); color: var(--brand-deep); font-family: var(--font-head); font-weight: 800; font-size: 11.5px; letter-spacing: .02em; padding: 6px 12px; border-radius: var(--r-pill); box-shadow: var(--sh); }
.portfolio-card__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(31,168,85,.28); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink); padding: 18px 50px 18px 20px; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand); font-weight: 400; }
.faq__q[aria-expanded="true"]::after { content: "–"; }
.faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.faq__a[hidden] { display: block; }
.faq__a > div { padding-bottom: 18px; color: var(--ink-muted); font-size: 15.5px; }
.faq__item.is-open .faq__a { max-height: 600px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; border-radius: 22px; padding: clamp(32px, 6vw, 56px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 52ch; margin-inline: auto; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.78); padding-block: 56px 28px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand .brand-logo { color: #fff; margin-bottom: 14px; }
.footer__brand .brand-logo small { color: rgba(255,255,255,.6); }
.footer__brand p { font-size: 14.5px; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { color: rgba(255,255,255,.78); font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 9px; font-size: 14.5px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.1); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13.5px; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: var(--r-pill); background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-hover); transition: transform .14s ease, background .14s ease; }
.wa-fab:hover { background: var(--wa-deep); transform: scale(1.06); }
.wa-fab svg { width: 30px; height: 30px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); padding-block: clamp(40px, 7vw, 72px); }
.page-hero .container { max-width: 820px; }
.page-hero .eyebrow { }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: clamp(16px, 2.2vw, 20px); color: var(--ink-muted); margin-bottom: 0; }
.breadcrumb { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-muted); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose--list ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose--list li { display: flex; gap: 10px; }
.prose--list svg { width: 18px; height: 18px; color: var(--wa-deep); flex: none; margin-top: 4px; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--brand-soft); font-family: var(--font-head); color: var(--brand); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes { color: var(--wa-deep); font-weight: 600; }
.compare td.no { color: var(--ink-muted); }
.compare .col-us { background: #fbfcff; }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.muted { color: var(--ink-muted); }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.center-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.note-box { background: var(--accent-soft); border: 1px solid #f0d18a; border-radius: 12px; padding: 16px 18px; font-size: 14.5px; color: #5a3d00; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
