/* ==========================================================================
   Kinzaad — Design System
   Premium corporate: deep navy + royal blue + gold accent
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #071539;
  --navy-800: #0a1f4d;
  --navy-700: #0e2a63;
  --blue-600: #1a56db;
  --blue-500: #2563eb;
  --blue-400: #4f83f1;
  --gold-500: #c9a227;
  --gold-400: #e0b84c;
  --gold-100: #f6edd2;

  /* Neutrals */
  --ink: #0f1b33;
  --slate-700: #33415c;
  --slate-500: #5a6b8c;
  --slate-400: #8595b3;
  --line: #e4e9f2;
  --mist: #f4f7fc;
  --paper: #ffffff;

  /* Semantic */
  --bg: var(--paper);
  --text: var(--slate-700);
  --heading: var(--navy-900);
  --primary: var(--blue-500);
  --accent: var(--gold-500);

  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Sora", var(--font-sans);

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 21, 57, .06), 0 2px 6px rgba(7, 21, 57, .05);
  --shadow-md: 0 8px 24px rgba(7, 21, 57, .09);
  --shadow-lg: 0 24px 60px rgba(7, 21, 57, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--blue-600); }
ul, ol { padding-left: 1.15rem; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--slate-500); line-height: 1.6; }
strong { color: var(--heading); font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--mist { background: var(--mist); }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #cfd8ec; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.center { text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); margin-bottom: .75rem; }
.section-head { max-width: 42rem; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; padding: .85rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .32); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 99, 235, .4); }
.btn-gold { background: linear-gradient(120deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); box-shadow: 0 6px 18px rgba(201, 162, 39, .32); }
.btn-gold:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 162, 39, .42); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { color: var(--blue-600); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--navy-900); letter-spacing: -.03em; }
.brand:hover { color: var(--navy-900); }
.brand .dot { color: var(--gold-500); }
.brand img { height: 38px; width: auto; }
.nav-links { display: none; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav-links a { display: inline-block; padding: .55rem .8rem; border-radius: 8px; font-weight: 600; font-size: .96rem; color: var(--slate-700); font-family: var(--font-head); }
.nav-links a:hover { color: var(--blue-600); background: var(--mist); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-cta { display: none; }
.has-menu { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease); }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .92rem; color: var(--slate-700); }
.dropdown a:hover { background: var(--mist); color: var(--blue-600); }
.dropdown a span { display: block; font-size: .78rem; color: var(--slate-400); font-weight: 500; }
.burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .2s; }
@media (min-width: 1040px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
}
/* Mobile drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .28s var(--ease); z-index: 80; padding: 1.5rem; overflow-y: auto; }
.drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(7,21,57,.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 70; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer a { display: block; padding: .7rem .5rem; border-radius: 8px; font-family: var(--font-head); font-weight: 600; color: var(--navy-800); border-bottom: 1px solid var(--line); }
.drawer .drawer-sub a { font-weight: 500; font-size: .92rem; padding-left: 1.25rem; color: var(--slate-500); border: 0; }
.drawer-close { float: right; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--slate-500); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 55%, #123a86 100%); color: #dbe4f5; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 85% 10%, rgba(224,184,76,.16), transparent 40%), radial-gradient(circle at 15% 90%, rgba(37,99,235,.25), transparent 45%); }
.hero .container { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold-400); }
.hero p { color: #b9c6e2; font-size: 1.15rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1; }
.hero-trust .t span { font-size: .82rem; color: #92a3c6; margin-top: .3rem; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 1.75rem; backdrop-filter: blur(8px); }
.hero-card h3 { color: #fff; margin-bottom: .35rem; }
.hero-card .field { margin-top: .9rem; }
.hero-card label { display: block; font-size: .82rem; color: #a9b8d8; margin-bottom: .3rem; font-weight: 600; }
.hero-card input, .hero-card select { width: 100%; padding: .8rem .9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: .95rem; }
.hero-card input::placeholder { color: #8496bb; }
.hero-card option { color: #0f1b33; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3ddf0; }
.card .ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(140deg, var(--blue-500), var(--navy-700)); color: #fff; margin-bottom: 1rem; }
.card .ico.gold { background: linear-gradient(140deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; margin-bottom: .9rem; }
.card .more { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .3rem; }
.card-link { color: inherit; }
.card-link:hover { color: inherit; }

/* Stats band */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(2,1fr); text-align: center; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; line-height: 1; }
.stat span { color: #9fb0d3; font-size: .9rem; }

/* Logos */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.75rem; opacity: .8; }
.logos .logo { font-family: var(--font-head); font-weight: 700; color: var(--slate-400); font-size: 1.05rem; letter-spacing: .02em; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width: 800px){ .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding-top: .5rem; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: .9rem; }
.step h4 { margin-bottom: .35rem; }
.step p { font-size: .95rem; }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: .6rem; }
.quote p { font-size: 1.02rem; color: var(--slate-700); }
.quote .who { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--blue-400), var(--navy-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote .who b { display: block; color: var(--heading); font-size: .95rem; }
.quote .who span { font-size: .82rem; color: var(--slate-400); }

/* Comparison table */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; }
table.cmp th, table.cmp td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.cmp thead th { background: var(--navy-900); color: #fff; font-family: var(--font-head); }
table.cmp tbody th { font-family: var(--font-head); color: var(--heading); font-weight: 700; background: var(--mist); }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }

/* FAQ */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: .8rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-500); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 1.3rem 1.2rem; font-size: .98rem; }

/* CTA band */
.cta-band { background: linear-gradient(130deg, var(--blue-600), var(--navy-800)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d5ee; max-width: 38rem; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--slate-400); padding-block: 1rem; }
.crumbs a { color: var(--slate-500); }
.crumbs a:hover { color: var(--blue-600); }

/* Page hero (inner) */
.page-hero { background: linear-gradient(155deg, var(--navy-900), var(--navy-700)); color: #cdd8ee; }
.page-hero .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 40rem; }
.page-hero p { color: #b9c6e2; max-width: 42rem; font-size: 1.12rem; }

/* Prose (articles/service body) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.4rem; margin-bottom: .8rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose .callout { background: var(--mist); border-left: 4px solid var(--gold-500); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.prose .callout p:last-child { margin-bottom: 0; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: .6rem; padding: .6rem .8rem; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.sticky-cta .btn { flex: 1; justify-content: center; padding: .8rem; }
@media (min-width: 1040px) { .sticky-cta { display: none; } }
@media (max-width: 1039px) { body { padding-bottom: 68px; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 84px; z-index: 54; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: var(--shadow-md); }
@media (min-width: 1040px) { .wa-float { bottom: 24px; } }

/* Footer */
.site-footer { background: var(--navy-900); color: #a9b7d4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px){ .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer a { color: #a9b7d4; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: .93rem; color: #8595b8; margin-top: .8rem; max-width: 22rem; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #7285ab; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--blue-500); }

/* Reveal on scroll */
.reveal { opacity: 1; } /* visible by default — no-JS safe */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Form inputs (calculator, contact) */
.calc-input, .form-input { width: 100%; padding: .8rem .9rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-family: inherit; font-size: .96rem; transition: border-color .15s; }
.calc-input:focus, .form-input:focus { border-color: var(--blue-400); outline: none; }
textarea.form-input { min-height: 120px; resize: vertical; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; color: var(--heading); margin-bottom: .35rem; }

/* Utilities */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.muted{color:var(--slate-400)}
.pill { display:inline-flex; align-items:center; gap:.4rem; background:var(--gold-100); color:#7a5f0e; font-weight:600; font-size:.82rem; padding:.35rem .8rem; border-radius:999px; font-family:var(--font-head); }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; background: var(--gold-100); color: var(--gold-500); border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
