/* ============================================================
   Level Up Management — Theme
   Corporate / trustworthy. Navy + blue. Spectral + IBM Plex Sans.
   ============================================================ */

:root {
  /* Palette */
  --navy-900: #0a1a30;
  --navy-800: #0f2440;   /* primary surface */
  --navy-700: #163356;
  --navy-600: #1d4070;
  --blue-600: #2f5f93;
  --blue-500: #3b6ea5;   /* accent */
  --blue-400: #5d8cc0;
  --blue-100: #e8f0f8;
  --blue-50:  #f2f7fc;

  --ink:    #16202e;
  --ink-2:  #34465c;
  --muted:  #5c6b7e;
  --faint:  #8493a4;
  --line:   #e2e8f0;
  --line-2: #eef2f7;

  --paper:   #ffffff;
  --paper-2: #f5f8fc;
  --paper-3: #eef3f9;

  --sand: #c8a24a;        /* whisper of warmth, used sparingly */

  /* Type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Geometry */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Shadow */
  --sh-1: 0 1px 2px rgba(15,36,64,.06), 0 1px 3px rgba(15,36,64,.05);
  --sh-2: 0 4px 14px rgba(15,36,64,.08), 0 2px 4px rgba(15,36,64,.04);
  --sh-3: 0 18px 50px rgba(10,26,48,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-800);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p  { margin: 0; text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-paper2 { background: var(--paper-2); }
.bg-paper3 { background: var(--paper-3); }
.bg-navy { background: var(--navy-800); color: #dfe8f2; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-500);
  font-family: var(--sans);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--blue-500);
  display: inline-block;
}
.bg-navy .eyebrow { color: var(--blue-400); }
.bg-navy .eyebrow::before { background: var(--blue-400); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }
.bg-navy .lead { color: #c2d2e4; }

.section-head { max-width: 680px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); }
.bg-navy .btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.bg-navy .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-lg { padding: 16px 30px; font-size: 1.04rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-800));
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand .logo span { position: relative; }
.brand .logo::after {
  content: ""; position: absolute; inset-block: 9px; inset-inline-end: 8px;
  width: 3px; border-radius: 3px; background: var(--sand);
}
.brand b { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; color: var(--navy-800); line-height: 1; letter-spacing: -.01em; }
.brand small { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-sm); font-size: .95rem; font-weight: 500;
  color: var(--ink-2); transition: color .18s, background .18s; position: relative;
}
.nav-links a:hover { color: var(--navy-800); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-600); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--blue-500); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang {
  display: inline-flex; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
  padding: 5px 11px; border-radius: 999px; transition: all .16s;
}
.lang button.on { background: #fff; color: var(--navy-800); box-shadow: var(--sh-1); }
.lang button:hover:not(.on) { color: var(--navy-800); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy-800); }

/* Mobile drawer */
.drawer { display: none; }
@media (max-width: 920px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .drawer {
    display: block; position: fixed; inset: 72px 0 0; z-index: 55;
    background: rgba(10,26,48,.5); opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .drawer.open { opacity: 1; pointer-events: auto; }
  .drawer-panel {
    background: #fff; padding: 18px var(--gutter) 32px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); transition: transform .28s var(--ease);
  }
  .drawer.open .drawer-panel { transform: none; }
  .drawer-panel a {
    display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 500;
    color: var(--navy-800); border-bottom: 1px solid var(--line-2);
  }
  .drawer-panel a.active { color: var(--blue-600); }
  .drawer-panel .btn { width: 100%; justify-content: center; margin-top: 18px; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* Service / feature icon chip */
.chip {
  width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
  border: 1px solid var(--blue-100);
}
.chip svg { width: 24px; height: 24px; }
.card-num {
  font-family: var(--serif); font-size: .9rem; font-weight: 600; color: var(--blue-400);
  letter-spacing: .05em;
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r);
  background-color: var(--paper-3);
  background-image: repeating-linear-gradient(135deg, rgba(59,110,165,.07) 0 2px, transparent 2px 11px);
  display: grid; place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); font-weight: 600; padding: 6px 12px;
  border: 1px dashed var(--blue-400); border-radius: 999px; background: rgba(255,255,255,.7);
}
.ph-navy {
  background-color: var(--navy-700);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 11px);
}
.ph-navy::after { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }

/* ---------- Stats ---------- */
.stat b { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--navy-800); line-height: 1; display: block; }
.bg-navy .stat b { color: #fff; }
.stat span { font-size: .92rem; color: var(--muted); margin-top: 8px; display: block; }
.bg-navy .stat span { color: #aebfd2; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; text-align: start; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--navy-800);
}
.acc-head:hover { color: var(--blue-600); }
.acc-icon { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; color: var(--blue-500); transition: transform .3s var(--ease); }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body { overflow: hidden; height: 0; transition: height .32s var(--ease); }
.acc-body-inner { padding: 0 4px 26px; color: var(--ink-2); max-width: 760px; }
.acc-body-inner p + p { margin-top: 12px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-50);
}
.field.err input, .field.err select, .field.err textarea { border-color: #d4624c; }
.field .msg { font-size: .78rem; color: #d4624c; min-height: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c8db; padding-block: clamp(56px, 7vw, 84px) 32px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.site-footer a { color: #b9c8db; transition: color .16s; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-links { display: flex; flex-direction: column; gap: 11px; font-size: .95rem; }
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: #7d90a6;
}
.foot-brand b { font-family: var(--serif); color: #fff; font-size: 1.3rem; font-weight: 700; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 11px;
  background: #25a366; color: #fff; padding: 13px 19px 13px 15px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,163,102,.4); font-weight: 600; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 38px rgba(37,163,102,.5); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 560px) { .wa-float .wa-label { display: none; } .wa-float { padding: 14px; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-800); color: #cddae8; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 18px; max-width: 800px; }
.page-hero .lead { max-width: 620px; color: #b9c8db; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(59,110,165,.35), transparent 55%);
}
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #8ea4bf; margin-bottom: 22px; position: relative; z-index: 2; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #5f7790; }

/* ---------- Misc ---------- */
.divider-list { list-style: none; padding: 0; margin: 0; }
.divider-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.divider-list li:last-child { border-bottom: 0; }
.tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-top: 2px; }
.tick svg { width: 13px; height: 13px; }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-size: .8rem; font-weight: 600; border: 1px solid var(--blue-100); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
