:root {
  --bz-navy: #0b1f33;
  --bz-navy-2: #14324f;
  --bz-gold: #c4a35a;
  --bz-sand: #f3efe6;
  --bz-ink: #1a2430;
  --bz-muted: #5c6b7a;
  --bz-white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--bz-ink);
  background: var(--bz-sand);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.bz-nav {
  position: sticky; top: 0; z-index: 50;
  background: #f3efe6;
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
  color: var(--bz-ink);
}
.bz-nav .inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 1.25rem;
  position: relative;
}
.bz-brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: 1.35rem;
  color: var(--bz-navy);
}
.bz-brand img { height: 42px; width: auto; }
.bz-nav-links {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  font-size: 0.95rem; color: var(--bz-ink);
}
.bz-nav-links > a { color: var(--bz-ink); font-weight: 600; }
.bz-nav-links > a:hover { color: var(--bz-gold); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0; border-radius: 0.55rem;
  background: transparent;
  color: var(--bz-navy);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--bz-navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lang-switch { display: flex; gap: 0.35rem; }
.lang-switch a {
  border: 1px solid rgba(11, 31, 51, 0.25); border-radius: 999px;
  padding: 0.15rem 0.55rem; font-size: 0.75rem; text-transform: uppercase;
  color: var(--bz-navy);
}
.lang-switch a.active {
  background: var(--bz-gold); color: var(--bz-navy); border-color: var(--bz-gold);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 0.8rem 1.35rem;
  font-weight: 700; cursor: pointer; transition: .2s ease;
}
.btn-primary { background: var(--bz-gold); color: var(--bz-navy); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--bz-white); border: 1px solid rgba(255,255,255,.4); }
.btn-dark { background: var(--bz-navy); color: var(--bz-white); }

.hero {
  min-height: 88vh;
  display: grid; place-items: center;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(11,31,51,.88), rgba(20,50,79,.55)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--bz-white);
  padding: 5rem 1.25rem 4rem;
}
.hero .wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise .8s ease both;
}
.hero-logo {
  height: 88px;
  width: auto;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1; margin: 0 0 1rem;
}
.hero p { font-size: 1.15rem; max-width: 36rem; margin-inline: auto; color: rgba(255,255,255,.9); }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--bz-white);
  margin: 0 0 1.25rem;
  max-width: none;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; justify-content: center; }

.section { padding: 4.5rem 1.25rem; }
.section .wrap { max-width: 1180px; margin: 0 auto; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem;
}
.muted { color: var(--bz-muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card-soft {
  background: var(--bz-white);
  border-radius: 1.25rem;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(11,31,51,.06);
}
.card-soft h3 { margin-top: 0; font-family: var(--font-display); }

.site-reel-card,
.ig-reel-card { align-self: start; }
.site-reel-frame {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bz-navy);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.25);
  /* Placeholder before metadata; JS replaces with the real video ratio. */
  aspect-ratio: 9 / 16;
}
.site-reel-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--bz-navy);
}
.site-reel-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.25rem;
  height: 4.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--bz-navy);
  color: var(--bz-gold);
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}
.site-reel-play:hover {
  transform: scale(1.05);
  background: var(--bz-navy-2);
}
.site-reel-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent var(--bz-gold);
  margin-left: 0.2rem;
}
.site-reel-frame.is-playing .site-reel-play { opacity: 0; pointer-events: none; }
.site-reel-ig {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}
.site-reel-ig a {
  color: var(--bz-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-reel-ig a:hover { color: var(--bz-gold); }

.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: var(--bz-white); border-radius: 1rem; padding: 1.2rem;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--bz-navy); color: var(--bz-gold);
  display: grid; place-items: center; font-weight: 800;
}

.content-divider {
  border: 0;
  border-top: 1px solid rgba(11, 31, 51, 0.14);
  margin: 1.5rem 0 1.25rem;
}
.home-testimonials {
  margin-top: 0;
}
.home-testimonials h2,
.home-testimonials h3 {
  margin-top: 0;
}
.home-testimonials .t-carousel {
  margin-top: 1rem;
  max-width: none;
}
.home-testimonials .t-page--single .t-card {
  max-width: none;
}

.footer {
  background: var(--bz-navy); color: rgba(255,255,255,.85);
  padding: 2.5rem 1.25rem 1.5rem;
}
.footer .wrap { max-width: 1180px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-grid > .footer-brand { grid-column: auto; }
.footer-links {
  display: contents;
}
.footer-links > div strong { display: block; margin-bottom: 0.35rem; }
.compliance { font-size: 0.8rem; opacity: .8; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; }

.form-card { background: var(--bz-white); border-radius: 1.25rem; padding: 1.5rem; }
label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
input, select, textarea {
  width: 100%; border: 1px solid #d5dde6; border-radius: 0.7rem;
  padding: 0.7rem 0.85rem; margin-bottom: 0.9rem; font: inherit;
  background: #fff;
}
.form-card .consent-label {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
  text-align: left;
  font-weight: 500;
  margin: 0.25rem 0 1rem;
  cursor: pointer;
}
.form-card .consent-label input[type="checkbox"] {
  width: auto;
  min-width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--bz-navy);
}
.form-card .consent-label span {
  flex: 1;
  line-height: 1.4;
}
.alert-success { background: #e8f6ee; color: #145c36; padding: 0.8rem 1rem; border-radius: 0.7rem; margin-bottom: 1rem; }
.alert-error { background: #fdecec; color: #8a1f1f; padding: 0.8rem 1rem; border-radius: 0.7rem; margin-bottom: 1rem; }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.badge-ok { background: #e8f6ee; color: #145c36; }
.badge-pending { background: #fff6e5; color: #7a4e00; }
.t-avatar-sm {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bz-navy); color: var(--bz-gold);
  display: inline-grid; place-items: center; font-weight: 700; font-size: .8rem;
}

/* Testimonials carousel */
.t-carousel-section { background: #fff; }
.t-carousel-section .wrap,
.t-carousel-section h2,
.t-carousel-section h3,
.t-carousel-section > .wrap > .muted,
.t-carousel-section .wrap > .muted {
  text-align: center;
}
.t-carousel {
  position: relative;
  margin: 1.5rem auto 0;
  width: 100%;
  max-width: 1100px;
  text-align: left;
}
.t-carousel-track { position: relative; min-height: 220px; }
.t-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
  pointer-events: none;
}
.t-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.t-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  width: 100%;
}
.t-page--single {
  grid-template-columns: 1fr;
  justify-items: center;
}
.t-page--single .t-card { width: 100%; max-width: 520px; }
.t-card { min-width: 0; height: 100%; }
.t-slide-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  background: var(--bz-sand, #f3efe6);
  border-radius: 1.25rem;
  padding: 1.1rem 1.15rem;
  height: 100%;
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
}
.t-photo {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.t-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bz-navy); color: var(--bz-gold);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.t-slide blockquote { margin: 0; min-width: 0; }
.t-slide blockquote p {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-display);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.t-slide footer { font-size: 0.9rem; }
.t-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}
.t-nav {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid #d5dde6; background: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  color: var(--bz-navy);
}
.t-nav:hover { background: var(--bz-navy); color: #fff; border-color: var(--bz-navy); }
.t-dots { display: flex; gap: 0.4rem; align-items: center; }
.t-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  border: 0; padding: 0; background: #c5d0db; cursor: pointer;
}
.t-dot.is-active { background: var(--bz-navy); transform: scale(1.15); }

@media (max-width: 900px) {
  .t-page { grid-template-columns: 1fr; }
  .t-page--single .t-card { max-width: none; }
  .t-slide-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.admin-side { background: var(--bz-navy); color: #fff; padding: 1.25rem; }
.admin-side .bz-brand {
  background: #0a1f32;
  justify-content: center;
  margin: -1.25rem -1.25rem 1.25rem;
  padding: 1rem;
}
.admin-side a { display: block; padding: 0.55rem 0.7rem; border-radius: 0.55rem; margin-bottom: 0.25rem; color: rgba(255,255,255,.85); }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { padding: 1.5rem; background: #eef2f6; }
/* Ghost buttons are white-on-transparent for dark surfaces; invert on light admin content. */
.admin-main .btn-ghost {
  color: var(--bz-navy);
  border: 1px solid rgba(11, 31, 51, 0.22);
}
.admin-main .btn-ghost:hover {
  background: rgba(11, 31, 51, 0.06);
}
.admin-main table .btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}
.kanban { display: grid; grid-template-columns: repeat(6, minmax(200px, 1fr)); gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.kanban-5 { grid-template-columns: repeat(5, minmax(200px, 1fr)); }
.kanban-6 { grid-template-columns: repeat(6, minmax(200px, 1fr)); }
.kanban-col { background: #e7edf3; border-radius: 0.8rem; padding: 0.7rem; min-height: 280px; min-width: 200px; }
.kanban-col h4 { margin: 0 0 0.7rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .04em; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.kanban-count { background: rgba(11,31,51,.12); border-radius: 999px; padding: 0.1rem 0.45rem; font-size: 0.75rem; }
.kanban-card { background: #fff; border-radius: 0.7rem; padding: 0.75rem; margin-bottom: 0.55rem; box-shadow: 0 4px 14px rgba(0,0,0,.05); border: 1px solid transparent; }
.kanban-card.is-overdue { border-color: #c23b3b; }
.kanban-card.is-stale { border-color: #c48a2a; }
.kanban-card-link { display: block; color: inherit; text-decoration: none; }
.kanban-card-top { display: flex; justify-content: space-between; gap: 0.4rem; align-items: flex-start; }
.kanban-amount { font-weight: 700; margin-top: 0.25rem; }
.kanban-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; font-size: 0.78rem; color: var(--bz-muted); }
.kanban-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.55rem; }

.crm-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.crm-board-toggle, .crm-cta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.crm-filters { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto auto auto; gap: 0.6rem; align-items: end; margin-bottom: 1rem; }
.crm-filters input, .crm-filters select { margin: 0; }
.crm-check { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }
.crm-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.25rem; }
.crm-tabs a { padding: 0.55rem 0.85rem; border-radius: 0.55rem; background: #fff; color: var(--bz-navy); border: 1px solid rgba(11,31,51,.1); }
.crm-tabs a.active, .crm-tabs a:hover { background: var(--bz-navy); color: #fff; }
.crm-timeline { display: grid; gap: 0.9rem; }
.crm-timeline-item { display: grid; grid-template-columns: 14px 1fr; gap: 0.75rem; }
.crm-timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bz-navy); margin-top: 0.35rem; }
.crm-progress { height: 8px; background: rgba(11,31,51,.1); border-radius: 999px; overflow: hidden; margin: 0.5rem 0; }
.crm-progress span { display: block; height: 100%; background: var(--bz-gold, #c4a35a); }
.crm-check-item, .crm-doc-row, .crm-task-row { border-top: 1px solid rgba(0,0,0,.08); padding: 0.85rem 0; }
.crm-doc-review, .crm-task-edit { display: grid; gap: 0.4rem; margin-top: 0.5rem; }
.crm-task-row.is-overdue { background: rgba(194,59,59,.06); border-radius: 0.5rem; padding: 0.75rem; }
.btn-xs { padding: 0.25rem 0.55rem !important; font-size: 0.78rem !important; }
.badge { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(11,31,51,.1); font-size: 0.72rem; }
.badge-high, .badge-warn { background: rgba(196,138,42,.18); color: #8a5a10; }
.badge-danger { background: rgba(194,59,59,.15); color: #8b1a1a; }

/* Tasks board */
.crm-task-create {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) auto;
  gap: 0.5rem;
  align-items: end;
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
}
.crm-task-create-title {
  grid-column: 1 / -1;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
}
.crm-task-create input,
.crm-task-create select { margin: 0; width: 100%; }
.crm-task-board { padding: 0.5rem 0.85rem; }
.crm-task-item {
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 0.55rem 0;
}
.crm-task-item:first-child { border-top: 0; }
.crm-task-item.is-overdue { background: rgba(194,59,59,.06); margin: 0 -0.5rem; padding: 0.55rem 0.5rem; border-radius: 0.45rem; border-top-color: transparent; }
.crm-task-item-main { display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-start; }
.crm-task-item-body { min-width: 0; flex: 1; }
.crm-task-item-body strong { font-size: 0.95rem; }
.crm-task-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.55rem; margin-top: 0.25rem; font-size: 0.8rem; color: var(--bz-muted); align-items: center; }
.crm-task-item-actions { display: flex; gap: 0.35rem; flex-shrink: 0; }
.crm-task-edit-wrap { margin-top: 0.35rem; }
.crm-task-edit-wrap > summary { list-style: none; cursor: pointer; display: inline-block; margin-bottom: 0.35rem; }
.crm-task-edit-wrap > summary::-webkit-details-marker { display: none; }
.crm-task-edit {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)) auto;
  gap: 0.4rem;
  align-items: end;
}
.crm-task-edit input,
.crm-task-edit select { margin: 0; width: 100%; }

/* Contacts cards */
.crm-filters-contacts { grid-template-columns: 1.6fr 1fr 1fr auto auto; }
.crm-contact-list { min-height: 200px; }
.crm-contact-grid { display: grid; grid-template-columns: 1fr; gap: 0.65rem; }
a.crm-contact-card {
  background: #f7f9fb;
  border: 1px solid rgba(11,31,51,.08);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  display: grid;
  gap: 0.3rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
a.crm-contact-card:hover {
  border-color: rgba(11,31,51,.22);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.crm-contact-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.crm-contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.badge-deals { background: rgba(11,31,51,.12); color: #0b1f33; }
.badge-source-site { background: #d9ecff; color: #0b4f8a; }
.badge-source-manual { background: #e5e7eb; color: #4b5563; }
.badge-source-instagram { background: #efe0ff; color: #7c3aed; }
.badge-source-whatsapp { background: rgba(37,211,102,.2); color: #128c7e; }
.badge-source-phone { background: #d7e8ea; color: #0f5c63; }
.badge-source-email { background: #fff0d6; color: #9a6700; }
.badge-lang-en { background: #fde2e2; color: #b42318; }
.badge-lang-pt { background: #dcfce7; color: #15803d; }
.badge-lang-es { background: #ffedd5; color: #c2410c; }

/* Dashboard */
.dash-shortcuts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.dash-kpi { padding: 0.85rem 1rem; }
.dash-kpi strong { display: block; font-size: 1.45rem; font-family: var(--font-display); line-height: 1.1; }
.dash-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.dash-chart-wide { grid-column: 1 / -1; }
.dash-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 2.2rem;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}
.dash-bar-label { font-size: 0.8rem; color: var(--bz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-bar-track { height: 8px; background: rgba(11,31,51,.1); border-radius: 999px; overflow: hidden; }
.dash-bar-track span { display: block; height: 100%; background: var(--bz-navy); border-radius: 999px; min-width: 0; }
.dash-bar-value { font-size: 0.85rem; text-align: right; }
.dash-list-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.dash-list-row:last-child { border-bottom: 0; }

@media (max-width: 1100px) {
  .crm-filters { grid-template-columns: 1fr 1fr; }
  .crm-filters-contacts { grid-template-columns: 1fr 1fr; }
  .crm-task-create { grid-template-columns: 1fr 1fr; }
  .crm-task-edit { grid-template-columns: 1fr 1fr; }
  .dash-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: sticky; top: 0; z-index: 20; }
  .crm-task-create,
  .crm-task-edit { grid-template-columns: 1fr; }
  .crm-filters-contacts { grid-template-columns: 1fr; }
  .dash-kpi-grid { grid-template-columns: 1fr 1fr; }
  .dash-charts { grid-template-columns: 1fr; }
  .dash-bar-row { grid-template-columns: 84px 1fr 2rem; }
  .crm-contacts-layout { grid-template-columns: 1fr; }
}

.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--bz-navy); padding: 0.65rem; gap: 0.5rem; justify-content: center;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px);} to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }

  .bz-nav .inner { flex-wrap: wrap; }
  .bz-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid rgba(11, 31, 51, 0.08);
  }
  .bz-nav-links.is-open { display: flex; }
  .bz-nav-links > a,
  .bz-nav-links .lang-switch {
    padding: 0.75rem 0.15rem;
    border-bottom: 1px solid rgba(11, 31, 51, 0.06);
  }
  .bz-nav-links .btn-primary {
    margin-top: 0.75rem;
    width: 100%;
  }

  .footer {
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-brand .bz-brand {
    justify-content: center;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    justify-items: center;
  }
  .compliance {
    text-align: center;
  }

  .admin-shell { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .hero { min-height: 78vh; }
  body { padding-bottom: 4.5rem; }
}
