/* =====================================================================
   Capita Consultants — original premium corporate stylesheet
   No CSS framework. CSS Grid + Flexbox. Mobile-first.
   ===================================================================== */

:root {
  --navy: #101F3B;
  --navy-800: #17294C;
  --royal: #2055A5;
  --gold: #C9A05B;
  --soft: #F6F8FC;
  --white: #FFFFFF;
  --ink: #172238;
  --muted: #64748B;
  --line: #E2E8F0;
  --ok-bg: #ECFDF5; --ok-fg: #047857; --ok-br: #A7F3D0;
  --warn-bg: #FFFBEB; --warn-fg: #B45309; --warn-br: #FDE68A;
  --info-bg: #F0F9FF; --info-fg: #0369A1; --info-br: #BAE6FD;
  --err-bg: #FEF2F2; --err-fg: #B91C1C; --err-br: #FECACA;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,31,59,.06), 0 8px 24px rgba(16,31,59,.06);
  --font: "Inter", "Manrope", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--soft); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding-left: 1.1rem; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy);
  padding: .7rem 1rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-block; padding: .8rem 1.25rem; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .92rem; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 44px; line-height: 1.5;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: .55rem .9rem; font-size: .85rem; min-height: 38px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-royal { background: var(--royal); color: #fff; }
.btn-royal:hover { filter: brightness(1.08); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(.96); color: var(--navy); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--royal); color: var(--navy); }
.btn-wa { background: #fff; color: #128C7E; border-color: #128C7E; }
.btn-wa:hover { color: #0f7a6d; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn[disabled], .btn.is-disabled {
  background: #EEF2F7; color: #94A3B8; border-color: #E2E8F0;
  cursor: not-allowed; transform: none;
}
.btn-block { display: block; width: 100%; }

/* ---------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--navy); color: #cbd5e1; font-size: .78rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; padding-block: .5rem; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--gold); text-decoration: none; }
.region-select select {
  background: var(--navy-800); color: #fff; border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px; padding: .25rem .4rem; font: inherit;
}

.navbar { background: #fff; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none;
}
.brand-text strong { display: block; color: var(--navy); font-size: 1.05rem; letter-spacing: .06em; }
.brand-text em { display: block; color: var(--gold); font-size: .6rem; letter-spacing: .3em; font-style: normal; }
.site-footer .brand-text strong { color: #fff; }

.mainnav { display: none; align-items: center; gap: .15rem; }
.mainnav > a, .mega-trigger {
  display: inline-block; padding: .6rem .7rem; font-size: .88rem; font-weight: 600;
  color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 8px;
}
.mainnav > a:hover, .mega-trigger:hover, .mega-trigger[aria-expanded="true"] { color: var(--royal); text-decoration: none; }
.has-mega { position: static; }
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(16,31,59,.12);
}
.has-mega.open .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: 2rem; }
.mega-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; margin-bottom: .6rem; }
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.mega ul a { font-size: .88rem; color: var(--ink); }
.mega ul a:hover { color: var(--royal); }
.mega-featured { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.mega-featured-title { font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.mega-featured p { font-size: .85rem; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.cart-pill { background: var(--royal); color: #fff; border-radius: 999px; padding: .1rem .5rem; font-size: .72rem; margin-left: .35rem; }
.hamburger {
  background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 1.1rem;
  width: 44px; height: 42px; cursor: pointer; color: var(--navy);
}
.hide-sm { display: none; }

.mobilenav { background: #fff; border-top: 1px solid var(--line); padding-block: .5rem; }
.mobilenav a { display: block; padding: .7rem 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.m-group { border-bottom: 1px solid var(--line); }
.m-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: 0; padding: .75rem 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.m-panel { list-style: none; padding: 0 0 .6rem .8rem; margin: 0; display: grid; gap: .1rem; }
.m-panel a { font-weight: 500; color: var(--muted); font-size: .88rem; padding: .45rem 0; }

@media (min-width: 1024px) {
  .mainnav { display: flex; }
  .hamburger { display: none; }
  .hide-sm { display: inline-block; }
  .mobilenav { display: none !important; }
  .navbar { position: relative; }
}

/* ---------------------------------------------------------- crumbs */
.crumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: .78rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: .7rem 0; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: .5rem; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(16,31,59,.94) 0%, rgba(16,31,59,.78) 45%, rgba(32,85,165,.55) 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3rem, 9vw, 6.5rem); }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .eyebrow { color: var(--gold); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; margin-bottom: .8rem; }
.hero p.lead { color: #dbe3ef; max-width: 62ch; font-size: clamp(.98rem, 1.6vw, 1.1rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-note {
  margin-top: 2rem; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: .8rem 1rem; font-size: .8rem; color: #dbe3ef; max-width: 70ch;
}

.page-hero { background: var(--navy); color: #fff; padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cbd5e1; max-width: 70ch; margin: 0; }

/* ---------------------------------------------------------- sections */
.section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section-white { background: #fff; }
.section-navy { background: var(--navy); color: #cbd5e1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-end; margin-bottom: 1.6rem; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.card-soft { background: var(--soft); box-shadow: none; }
.card-link { display: block; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-3px); border-color: var(--royal); text-decoration: none; box-shadow: 0 12px 28px rgba(16,31,59,.1); }
.card-glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.4rem; }
.card-glass h3 { color: var(--gold); }
.card-grad {
  background: linear-gradient(135deg, var(--navy), var(--royal)); color: #fff;
  border-radius: var(--radius); padding: 2rem;
}
.card-grad h3 { color: #fff; }
.card-grad a { color: var(--gold); font-weight: 600; }

.dest-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dest-media { aspect-ratio: 16/9; overflow: hidden; }
.dest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest-card:hover .dest-media img { transform: scale(1.05); }
.dest-body { padding: 1.4rem; }

.icon-tile {
  width: 42px; height: 42px; border-radius: 10px; background: var(--soft);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--royal); margin-bottom: .9rem;
}
.icon-tile svg { width: 20px; height: 20px; fill: currentColor; }

.steps { list-style: none; padding: 0; counter-reset: step; }
.step-num { color: var(--gold); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------------------------------------------------------- packages */
.pkg-card { display: flex; flex-direction: column; height: 100%; }
.pkg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.pkg-quota { background: var(--soft); border: 1px solid var(--line); color: var(--royal);
  border-radius: 999px; padding: .2rem .6rem; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.pkg-price { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin: .6rem 0 0; }
.pkg-duration { font-size: .76rem; color: var(--muted); margin-bottom: .7rem; }
.pkg-incl { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: .35rem; font-size: .88rem; }
.pkg-incl li::before { content: "✓"; color: #059669; font-weight: 700; margin-right: .5rem; }
.pkg-notice {
  background: var(--warn-bg); border: 1px solid var(--warn-br); color: var(--warn-fg);
  border-radius: 10px; padding: .7rem .8rem; font-size: .76rem; margin: .5rem 0 1rem;
}
.pkg-actions { display: grid; gap: .5rem; margin-top: auto; }
@media (min-width: 420px) { .pkg-actions { grid-template-columns: 1fr 1fr; } .pkg-actions .span-2 { grid-column: 1 / -1; } }

.badge { display: inline-block; border-radius: 999px; padding: .2rem .6rem; font-size: .72rem; font-weight: 600; border: 1px solid; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok-fg); border-color: var(--ok-br); }
.badge-warn { background: var(--warn-bg); color: var(--warn-fg); border-color: var(--warn-br); }
.badge-info { background: var(--info-bg); color: var(--info-fg); border-color: var(--info-br); }
.badge-mute { background: #F1F5F9; color: #64748B; border-color: var(--line); }

/* ---------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 620px; }
table.data th, table.data td { padding: .75rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--soft); color: var(--navy); font-weight: 600; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tfoot td { background: var(--soft); font-weight: 700; }
.compare-table { min-width: 760px; }
.compare-table th:first-child, .compare-table td:first-child { position: sticky; left: 0; background: #fff; font-weight: 600; }
.compare-table thead th:first-child { background: var(--soft); }

/* ---------------------------------------------------------- forms */
.field { display: block; margin-bottom: .9rem; font-size: .88rem; }
.field > span { display: block; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input[type=file], select, textarea {
  width: 100%; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .9rem; background: #fff; color: var(--ink); min-height: 44px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--royal); outline: none; box-shadow: 0 0 0 3px rgba(32,85,165,.15); }
.form-grid { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.checkline { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; margin-bottom: .8rem; }
.checkline input { margin-top: .25rem; width: auto; min-height: auto; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 600; color: var(--navy); font-size: .88rem; margin-bottom: .5rem; padding: 0; }
.chipset { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .5rem .9rem; font-size: .85rem; font-weight: 600; color: var(--navy); cursor: pointer; min-height: 40px;
}
.chip input { position: absolute; opacity: 0; width: 0; }
.chip.is-on, .chip:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }

.alert { border-radius: 10px; padding: .85rem 1rem; margin: 1rem 0; font-size: .88rem; border: 1px solid; }
.alert-success { background: var(--ok-bg); color: var(--ok-fg); border-color: var(--ok-br); }
.alert-error { background: var(--err-bg); color: var(--err-fg); border-color: var(--err-br); }
.alert-info { background: var(--info-bg); color: var(--info-fg); border-color: var(--info-br); }
.alert-warn { background: var(--warn-bg); color: var(--warn-fg); border-color: var(--warn-br); }

.notice-info { background: var(--info-bg); border: 1px solid var(--info-br); color: var(--info-fg); border-radius: 10px; padding: .9rem 1rem; font-size: .85rem; }
.notice-warn { background: var(--warn-bg); border: 1px solid var(--warn-br); color: var(--warn-fg); border-radius: 10px; padding: .9rem 1rem; font-size: .85rem; }

/* ---------------------------------------------------------- accordion */
.accordion { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; padding: 1rem 1.15rem; font: inherit; font-weight: 600;
  color: var(--navy); cursor: pointer; text-align: left;
}
.acc-head:hover { background: var(--soft); }
.acc-head span { color: var(--gold); font-size: 1.2rem; }
.acc-body { padding: 0 1.15rem 1.15rem; font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------- layout aux */
.layout-aside { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: 2fr 1fr; align-items: start; } .sticky-aside { position: sticky; top: 130px; } }
.stack > * + * { margin-top: 1.25rem; }
.kv { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .kv { grid-template-columns: 1fr 1fr; } }
.kv-item { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; }
.kv-item dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kv-item dd { margin: .2rem 0 0; font-weight: 600; color: var(--navy); font-size: .9rem; }

.fee-list { list-style: none; padding: 0; display: grid; gap: .4rem; }
.fee-list li {
  display: flex; justify-content: space-between; gap: 1rem; background: var(--soft);
  border: 1px solid var(--line); border-radius: 9px; padding: .55rem .8rem; font-size: .85rem;
}
.fee-list li.total { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }

/* steps bar */
.stepbar { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; }
.stepbar li { font-size: .72rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #cbd5e1; }
.stepbar li.is-done { background: rgba(255,255,255,.1); color: var(--gold); }
.stepbar li.is-now { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }

/* timeline */
.timeline { list-style: none; padding: 0; display: grid; gap: .55rem; }
.timeline li { display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: var(--muted); text-transform: capitalize; }
.timeline .dot { width: 12px; height: 12px; border-radius: 50%; background: #E2E8F0; flex: none; }
.timeline li.done { color: var(--navy); font-weight: 600; }
.timeline li.done .dot { background: #10B981; }

/* chat */
.msg { border-radius: 12px; padding: .8rem .9rem; font-size: .88rem; }
.msg-customer { background: var(--soft); }
.msg-capita { background: #EEF4FF; border: 1px solid #DBE6FB; }
.msg-meta { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .25rem; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #cbd5e1; margin-top: 4rem; font-size: .9rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: .88rem; max-width: 42ch; }
.footer-title { color: var(--gold); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer-contact { font-size: .85rem; line-height: 1.8; }
.socials { display: flex; gap: 1rem; }
.footer-sub { display: grid; gap: 1.5rem; padding-block: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 800px) { .footer-sub { grid-template-columns: 1.3fr 1fr; align-items: start; } .legal-links { justify-self: end; } }
.newsletter { display: grid; gap: .5rem; max-width: 420px; }
.newsletter input[type=email] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.newsletter input::placeholder { color: #94a3b8; }
.consent { font-size: .75rem; color: #94a3b8; display: flex; gap: .5rem; align-items: flex-start; }
.consent input { width: auto; min-height: auto; margin-top: .2rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.5rem; }
.footer-base p { font-size: .75rem; color: #94a3b8; margin: 0; }

/* ---------------------------------------------------------- whatsapp */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; display: flex; align-items: center; gap: .5rem;
  background: #128C7E; color: #fff; border-radius: 999px; padding: .75rem 1.1rem;
  font-weight: 600; font-size: .88rem; box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.wa-float:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------------------------------------------------------- admin */
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; background: var(--soft); }
@media (min-width: 1024px) { .admin-shell { grid-template-columns: 250px 1fr; } }
.admin-side { background: var(--navy); color: #cbd5e1; padding: 1.25rem; }
.admin-side .logo { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 1.2rem; }
.admin-side .logo span { color: var(--gold); }
.admin-side nav ul { list-style: none; padding: 0; display: grid; gap: .15rem; }
.admin-side nav a { display: block; padding: .55rem .7rem; border-radius: 9px; font-size: .88rem; color: #cbd5e1; }
.admin-side nav a:hover, .admin-side nav a.active { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.admin-main { padding: 1.5rem 1.25rem 3rem; }
.kpi-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.kpi .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kpi .value { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-top: .2rem; }
.chart { display: flex; align-items: flex-end; gap: .6rem; height: 150px; margin-top: 1.2rem; }
.chart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; justify-content: flex-end; }
.chart .fill { width: 100%; background: var(--royal); border-radius: 5px 5px 0 0; min-height: 4px; }
.chart .lbl { font-size: .7rem; color: var(--muted); }
.admin-row { display: grid; gap: .6rem; align-items: end; grid-template-columns: 1fr; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: .9rem; margin-bottom: .6rem; }
@media (min-width: 900px) { .admin-row.cols-6 { grid-template-columns: 1.6fr 1fr 1fr 1.2fr auto auto; } }
.admin-row .field { margin: 0; font-size: .75rem; }
.inline-form { display: inline-flex; gap: .4rem; align-items: center; }
.inline-form select, .inline-form input { min-height: 34px; padding: .25rem .5rem; font-size: .78rem; }
.inline-form .btn { min-height: 34px; padding: .3rem .7rem; font-size: .75rem; }
details.pkg-edit > summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
details.pkg-edit > summary::-webkit-details-marker { display: none; }
details.pkg-edit > summary::after { content: " ▾"; color: var(--gold); }
details.pkg-edit[open] > summary::after { content: " ▴"; }

/* print (invoices) */
@media print {
  .site-header, .site-footer, .wa-float, .no-print, .admin-side { display: none !important; }
  body { background: #fff; }
  .card, .table-wrap { box-shadow: none; border-color: #ccc; }
}
