/* ==========================================================================
   KLIMA — Design system (interna)
   Coherente con index.html (landing). Paleta teal+coral+paper.
   ========================================================================== */

:root {
  --teal:        #0F5E6E;
  --teal-2:      #0A4452;
  --teal-3:      #06303B;
  --teal-bright: #1A8A9E;
  --teal-glow:   #3DD5E8;
  --teal-soft:   #E5F1F3;
  --coral:       #FF7B54;
  --coral-deep:  #E8643F;
  --coral-glow:  #FFA98A;
  --coral-soft:  #FFE5D4;
  --amber:       #F4A261;
  --gold:        #E8C547;
  --gold-soft:   #F8E8B8;
  --ink:         #0A0E12;
  --ink-2:       #1A1F24;
  --ink-3:       #2B2D2F;
  --paper:       #FAF7F0;
  --paper-2:     #F0EAD9;
  --line:        rgba(15,14,18,.08);
  --line-2:      rgba(15,14,18,.14);
  --muted:       #6B6359;
  --ok:          #2A9D5F;
  --warn:        #F4A261;
  --err:         #D9534F;
  --info:        #1A8A9E;
  --shadow-sm:   0 1px 2px rgba(15,14,18,.06), 0 1px 4px rgba(15,14,18,.04);
  --shadow-md:   0 4px 12px rgba(15,14,18,.08), 0 2px 6px rgba(15,14,18,.05);
  --shadow-lg:   0 12px 32px rgba(15,14,18,.10), 0 4px 12px rgba(15,14,18,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html, body { height: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 14.5px;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.display { font-family: 'Fraunces', Georgia, serif; font-weight: 400; letter-spacing: -.025em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ================= LAYOUT ================= */
.app {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* ================= SIDEBAR ================= */
.sidebar {
  background: var(--teal-3);
  color: rgba(255,255,255,.85);
  padding: 22px 14px 20px;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.sidebar .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 14px;
}
.sidebar .brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: conic-gradient(from 220deg, var(--teal-bright) 0%, var(--coral) 100%);
  position: relative; flex-shrink: 0;
}
.sidebar .brand .mark::after {
  content: ""; position: absolute; inset: 6px; background: var(--teal-3); border-radius: 50%;
}
.sidebar .brand .mark::before {
  content: ""; position: absolute; inset: 11px; background: var(--coral); border-radius: 50%; z-index: 2;
}
.sidebar .brand strong { font-size: 19px; color: #fff; letter-spacing: -.02em; font-weight: 700; }
.sidebar .brand small { display: block; font-size: 10.5px; opacity: .65; letter-spacing: .14em; text-transform: uppercase; }

.sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 9px;
  color: rgba(255,255,255,.72); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all .15s;
}
.sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar nav a.active { background: rgba(255,255,255,.10); color: #fff; }
.sidebar nav a.active svg { color: var(--coral-glow); }
.sidebar nav a svg { flex-shrink: 0; opacity: .75; }
.sidebar nav a.active svg { opacity: 1; }
.sidebar .section-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.4); padding: 16px 12px 6px;
}
.sidebar .user-card {
  margin-top: auto; padding: 12px;
  background: rgba(255,255,255,.05); border-radius: 11px;
  display: flex; align-items: center; gap: 10px;
}
.sidebar .user-card .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.sidebar .user-card .who { flex: 1; min-width: 0; }
.sidebar .user-card .who b { color: #fff; font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar .user-card .who span { font-size: 11.5px; opacity: .6; }
.sidebar .user-card a.logout {
  color: rgba(255,255,255,.6); padding: 6px;
  border-radius: 6px; display: flex; align-items: center;
}
.sidebar .user-card a.logout:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }

/* ================= MAIN AREA ================= */
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  background: rgba(250,247,240,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.topbar h1 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 24px; letter-spacing: -.02em; color: var(--ink);
}
.topbar .crumbs { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.topbar .actions { display: flex; align-items: center; gap: 10px; }
.topbar .bell {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); color: var(--ink); cursor: pointer; position: relative;
  border: none; font: inherit;
}
.topbar .bell:hover { background: var(--paper); }
.topbar .bell .dot {
  position: absolute; top: 9px; right: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--paper);
}

/* Notificaciones popover */
.notif-pop {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 360px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 50; max-height: 540px; display: flex; flex-direction: column;
}
.notif-pop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.notif-head {
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.notif-pop .notif-item {
  display: flex; gap: 10px; padding: 12px 18px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .15s;
}
.notif-pop .notif-item:hover { background: var(--paper); text-decoration: none; }
.notif-pop .notif-item.unread { background: rgba(255,123,84,.04); }
.notif-pop .notif-item b { font-size: 13.5px; display: block; margin-bottom: 3px; }
.notif-pop .notif-item p { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; margin: 0 0 4px; }
.notif-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-top: 6px; flex-shrink: 0; }
.notif-empty { padding: 30px; text-align: center; }
.notif-foot { padding: 12px 18px; text-align: center; background: var(--paper); border-radius: 0 0 14px 14px; }
.notif-pop > div:last-of-type { overflow-y: auto; }

.page { padding: 28px 32px 60px; }

/* ================= TYPOGRAPHY HELPERS ================= */
h2.section { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; letter-spacing: -.02em; margin: 30px 0 14px; }
h3.section { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.lead { font-size: 16px; color: var(--ink-3); max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.right { text-align: right; }

/* ================= BUTTONS ================= */
.btn {
  font-family: inherit; font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 100px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .18s ease; text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,123,84,.32); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-2); color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ================= CARDS / KPIs ================= */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-12 { grid-template-columns: repeat(12, 1fr); }
@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-12 > * { grid-column: span 12; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card.tight { padding: 16px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.card-head h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.card-head .more { font-size: 12.5px; color: var(--muted); }

.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 6px;
}
.kpi .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.kpi .val { font-family: 'Fraunces', serif; font-size: 34px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.kpi .sub { font-size: 12px; color: var(--muted); }
.kpi .trend { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; }
.kpi .trend.up { color: var(--ok); }
.kpi .trend.down { color: var(--err); }
.kpi.accent-coral { border-top: 3px solid var(--coral); }
.kpi.accent-teal { border-top: 3px solid var(--teal); }
.kpi.accent-gold { border-top: 3px solid var(--gold); }
.kpi.accent-amber { border-top: 3px solid var(--amber); }

/* ================= TABLES ================= */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { padding: 11px 12px; text-align: left; vertical-align: middle; }
.tbl th {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.tbl tbody tr { border-bottom: 1px solid var(--line); }
.tbl tbody tr:hover { background: var(--paper); }
.tbl td.mono { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .actions-cell a { color: var(--teal); margin-right: 10px; font-size: 12.5px; }

/* ================= BADGES ================= */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 100px;
  font-size: 11.5px; font-weight: 600;
  background: var(--paper-2); color: var(--ink);
}
.badge.ok    { background: rgba(42,157,95,.12);  color: var(--ok); }
.badge.warn  { background: rgba(244,162,97,.18); color: #b06a2a; }
.badge.err   { background: rgba(217,83,79,.13);  color: var(--err); }
.badge.info  { background: var(--teal-soft);     color: var(--teal-2); }
.badge.coral { background: var(--coral-soft);    color: var(--coral-deep); }
.badge.gold  { background: var(--gold-soft);     color: #7a5a00; }

/* ================= FORMS ================= */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.field input[type=text],
.field input[type=email],
.field input[type=password],
.field input[type=number],
.field input[type=date],
.field input[type=tel],
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: 14px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-2); border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border .15s, box-shadow .15s;
}
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%232B2D2F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.field select::-ms-expand { display: none; }
.field select option { color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,94,110,.12);
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field-inline { display: flex; gap: 10px; align-items: center; }

/* ================= ALERTS ================= */
.alert {
  padding: 12px 16px; border-radius: 10px;
  font-size: 13.5px; margin-bottom: 16px;
  border-left: 4px solid;
}
.alert.ok   { background: rgba(42,157,95,.08);  border-color: var(--ok);   color: #1d6b41; }
.alert.warn { background: rgba(244,162,97,.10); border-color: var(--warn); color: #8d521f; }
.alert.err  { background: rgba(217,83,79,.08);  border-color: var(--err);  color: #a83b37; }
.alert.info { background: var(--teal-soft);     border-color: var(--teal); color: var(--teal-2); }

/* ================= LOGIN ================= */
.auth-wrap {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--paper);
}
.auth-side {
  background: linear-gradient(135deg, var(--teal-3) 0%, var(--teal) 60%, var(--teal-bright) 100%);
  color: #fff; padding: 60px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.auth-side::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--coral-glow) 0%, transparent 70%);
  top: -120px; right: -120px; opacity: .35; filter: blur(60px);
}
.auth-side .brand-big { display: flex; align-items: center; gap: 14px; margin-bottom: 50px; }
.auth-side .brand-big .mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: conic-gradient(from 220deg, var(--teal-bright) 0%, var(--coral) 100%);
  position: relative;
}
.auth-side .brand-big .mark::after { content: ""; position: absolute; inset: 8px; background: var(--teal-3); border-radius: 50%; }
.auth-side .brand-big .mark::before { content: ""; position: absolute; inset: 14px; background: var(--coral); border-radius: 50%; z-index: 2; }
.auth-side .brand-big strong { font-size: 28px; letter-spacing: -.025em; }
.auth-side h2 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 38px; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 16px; }
.auth-side p { opacity: .82; font-size: 15px; max-width: 420px; }
.auth-side .testimonial { margin-top: auto; padding-top: 40px; }
.auth-side .testimonial blockquote {
  font-family: 'Fraunces', serif; font-size: 18px; font-style: italic;
  border-left: 3px solid var(--coral); padding-left: 16px; opacity: .9;
}
.auth-side .testimonial cite { display: block; margin-top: 10px; font-size: 13px; opacity: .65; font-style: normal; }

.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h1 { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 400; letter-spacing: -.02em; margin-bottom: 8px; }
.auth-form .sub { color: var(--muted); margin-bottom: 28px; }
.demo-accounts {
  margin-top: 24px; padding: 14px;
  background: var(--paper-2); border-radius: 10px; font-size: 12.5px;
}
.demo-accounts b { display: block; margin-bottom: 6px; }
.demo-accounts code {
  background: rgba(255,255,255,.5); padding: 1px 6px; border-radius: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}

@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* ================= MISC ================= */
.flex { display: flex; }
.flex.between { justify-content: space-between; }
.flex.center { align-items: center; }
.flex.gap { gap: 10px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

.avatar-sm {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.avatar-sm.coral { background: linear-gradient(135deg, var(--coral), var(--amber)); }
.avatar-sm.teal  { background: linear-gradient(135deg, var(--teal-bright), var(--teal-2)); }
.avatar-sm.gold  { background: linear-gradient(135deg, var(--gold), var(--amber)); }

.benefit-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: all .2s; display: flex; flex-direction: column;
}
.benefit-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--coral-glow); }
.benefit-card .cover {
  height: 110px;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  position: relative; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.benefit-card .cover.cat-1 { background: linear-gradient(135deg, #FF7B54, #E8643F); } /* Alimentación */
.benefit-card .cover.cat-2 { background: linear-gradient(135deg, #0F5E6E, #1A8A9E); } /* Salud */
.benefit-card .cover.cat-3 { background: linear-gradient(135deg, #1A8A9E, #3DD5E8); } /* Familia */
.benefit-card .cover.cat-4 { background: linear-gradient(135deg, #F4A261, #E8C547); } /* Mascotas */
.benefit-card .cover.cat-5 { background: linear-gradient(135deg, #6B6359, #2B2D2F); } /* Servicios */
.benefit-card .cover.cat-6 { background: linear-gradient(135deg, #E8C547, #FF7B54); } /* Ocio */
.benefit-card .cover .pill {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.92); color: var(--ink);
  padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 700;
}
.benefit-card .body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.benefit-card .body h4 { font-size: 15px; margin-bottom: 4px; }
.benefit-card .body .pyme-name { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.benefit-card .body .desc { font-size: 13px; color: var(--ink-3); flex: 1; }
.benefit-card .body .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }

/* eNPS gauge */
.gauge {
  width: 100%; height: 8px; border-radius: 100px; background: var(--paper-2);
  overflow: hidden; position: relative;
}
.gauge > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--ok));
}

/* Progress bar simple */
.progress { width: 100%; height: 6px; background: var(--paper-2); border-radius: 100px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--teal); border-radius: 100px; }
.progress > span.coral { background: var(--coral); }
.progress > span.gold { background: var(--gold); }

/* Empty state */
.empty {
  text-align: center; padding: 60px 20px;
  color: var(--muted);
}
.empty svg { opacity: .35; margin-bottom: 14px; }
.empty h4 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 6px; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs a {
  padding: 10px 16px; color: var(--muted); font-weight: 600; font-size: 14px;
  border-bottom: 2px solid transparent; text-decoration: none;
}
.tabs a.active { color: var(--ink); border-bottom-color: var(--coral); }
.tabs a:hover { color: var(--ink); text-decoration: none; }

/* QR placeholder */
.qr-display {
  width: 220px; height: 220px; margin: 0 auto;
  background: repeating-conic-gradient(var(--ink) 0% 25%, #fff 0% 50%);
  background-size: 22px 22px;
  border-radius: 14px; border: 8px solid #fff; box-shadow: var(--shadow-md);
}
.code-big {
  font-family: 'JetBrains Mono', monospace; font-size: 26px; letter-spacing: .04em;
  text-align: center; padding: 14px 20px; background: var(--paper-2); border-radius: 10px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 880px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .page, .topbar { padding-left: 18px; padding-right: 18px; }
}

/* ================= KLIMA FOOTER (logo app.klima.cl) ================= */
.klima-footer {
  background: var(--ink);
  color: rgba(250,247,240,.6);
  padding: 40px 32px 28px;
  margin-top: 40px;
  border-radius: 24px 24px 0 0;
}
.klima-footer .kf-wrap {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.klima-footer .logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 22px; letter-spacing: -.02em;
  color: var(--paper); white-space: nowrap;
}
.klima-footer .logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: conic-gradient(from 220deg, var(--teal) 0%, var(--teal-bright) 50%, var(--coral) 100%);
  position: relative; flex-shrink: 0;
}
.klima-footer .logo-mark::after {
  content: ""; position: absolute; inset: 7px;
  background: var(--ink); border-radius: 50%;
}
.klima-footer .logo-mark::before {
  content: ""; position: absolute; inset: 12px;
  background: var(--coral); border-radius: 50%; z-index: 2;
}
.klima-footer .kf-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(250,247,240,.55);
  display: flex; gap: 18px; flex-wrap: wrap;
}
.klima-footer .kf-meta a {
  color: rgba(250,247,240,.75); text-decoration: none; transition: color .2s;
}
.klima-footer .kf-meta a:hover { color: var(--coral-glow); }
@media (max-width: 760px) {
  .klima-footer { padding: 32px 18px 22px; }
  .klima-footer .kf-wrap { flex-direction: column; align-items: flex-start; }
}
