/* BitFleet landing */

.page-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 980px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(0, 186, 189, .10), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, rgba(62, 79, 98, .06), transparent 70%),
    linear-gradient(180deg, #F4F8FA 0%, #FFFFFF 100%);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 29, 44, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 29, 44, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: var(--line-2); }

.header-cta { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-cta .btn { padding: 10px 16px; font-size: 14px; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

@media (max-width: 1020px) {
  .menu-toggle { display: grid; }
  .header-cta .btn-ghost { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
}
@media (max-width: 480px) {
  .header-cta .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 40px; position: relative; overflow: hidden; }
.hero-copy { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 20px 0 22px;
}
.hero h1 .accent {
  color: var(--teal-700);
  background: linear-gradient(90deg, var(--teal-700), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 auto 34px;
  max-width: 680px;
}
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points li:not(.sep) { color: var(--ink); font-weight: 600; }
.hero-points .sep::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
  margin-right: 4px;
}
.app-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }

.hero-visual { position: relative; max-width: 1080px; margin: 64px auto 0; }
.pnl-hero { zoom: 1.28; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% -4% 4%;
  background: radial-gradient(closest-side, rgba(0, 186, 189, .18), transparent);
  filter: blur(20px);
  z-index: -1;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.float-chip .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.float-chip .sub { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.float-chip-1 { top: -22px; right: 48px; }
.float-chip-1 .ico { background: var(--panel-success); }
.float-chip-2 { bottom: 40px; left: -36px; }
.float-chip-2 .ico { background: var(--teal); }

@media (max-width: 1180px) {
  .float-chip-1 { right: 8px; top: -22px; }
  .float-chip-2 { left: 8px; bottom: -22px; }
}
@media (max-width: 1020px) {
  .hero { padding: 56px 0 32px; }
  .pnl-hero { zoom: 1; }
}
@media (max-width: 640px) {
  .hero-copy { text-align: left; }
  .hero .cta-row, .hero-points { justify-content: flex-start; }
  .hero-visual { margin-top: 40px; }
  .float-chip { display: none; }
}

/* =========================================================
   Panel mock (odwzorowanie dashboard.bitfleet.pl)
   ========================================================= */
.pnl {
  --pnl-side: 168px;
  display: grid;
  grid-template-columns: var(--pnl-side) minmax(0, 1fr);
  background: var(--panel-bg);
  border: 1px solid rgba(15, 29, 44, .08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  font-family: var(--font-panel);
  font-size: 11.5px;
  color: #3B4856;
  line-height: 1.4;
  text-align: left;
  user-select: none;
}
.pnl-side {
  background: var(--navy);
  padding: 14px 10px;
  color: rgba(255, 255, 255, .62);
}
.pnl-logo { padding: 2px 6px 16px; }
.pnl-logo img { height: 22px; width: auto; }
.pnl-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.pnl-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.pnl-lbl { overflow: hidden; text-overflow: ellipsis; }
.pnl-ico { width: 13px; height: 13px; flex: none; display: grid; }
.pnl-ico svg { width: 13px; height: 13px; }
.pnl-menu li.is-active { color: #fff; background: rgba(255, 255, 255, .06); }
.pnl-menu li.is-active .pnl-ico { color: var(--teal); }
.pnl-menu li.pnl-sub { padding: 4px 8px 4px 29px; font-weight: 400; font-size: 10px; }
.pnl-menu li.pnl-sub.is-current { color: var(--teal); font-weight: 600; }

.pnl-main { padding: 14px 16px 16px; min-width: 0; display: grid; gap: 10px; align-content: start; }
.pnl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pnl-h1 { font-size: 15px; font-weight: 700; color: #1E2A36; }
.pnl-crumbs { font-size: 10px; color: #8B96A2; }
.pnl-select {
  padding: 5px 22px 5px 9px;
  background: #fff;
  border: 1px solid #E3E8EE;
  border-radius: 6px;
  font-size: 10px;
  color: #3B4856;
  position: relative;
  white-space: nowrap;
}
.pnl-select::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #8B96A2;
  border-bottom: 1.5px solid #8B96A2;
  transform: translateY(-70%) rotate(45deg);
}
.pnl-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 29, 44, .05), 0 0 0 1px rgba(15, 29, 44, .03);
  padding: 10px 12px;
  min-width: 0;
}
.pnl-card-flush { padding: 0; overflow: hidden; }
.pnl-card-h { font-size: 11px; font-weight: 700; color: #1E2A36; margin-bottom: 8px; }
.pnl-grid { display: grid; gap: 10px; }
.pnl-grid-2 { grid-template-columns: 1fr 1fr; }
.pnl-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pnl-grid-4 { grid-template-columns: repeat(4, 1fr); }

.pnl-kpi-lbl {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8B96A2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pnl-grid-4 .pnl-kpi-lbl { white-space: normal; min-height: 2.6em; }
.pnl-kpi-val { font-size: 16px; font-weight: 700; color: #1E2A36; margin-top: 4px; white-space: nowrap; }
.pnl-kpi-val.is-danger { color: var(--panel-danger); }
.pnl-kpi-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 6px;
  font-size: 9.5px;
  color: #8B96A2;
  white-space: nowrap;
}
.pnl-kpi-row b { color: #3B4856; font-weight: 600; }

.pnl-bars { display: flex; align-items: flex-end; gap: 8px; height: 86px; padding: 0 2px; }
.pnl-bar {
  flex: 1;
  height: var(--h);
  display: flex;
  flex-direction: column;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  transform-origin: bottom;
}
.pnl-bar span { display: block; }
.pnl-legend { display: flex; gap: 10px; margin-top: 8px; font-size: 9.5px; color: #8B96A2; }
.pnl-legend span { display: inline-flex; align-items: center; gap: 4px; }
.pnl-legend i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }

.pnl-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pnl-tile { border: 1px solid #E8ECF1; border-radius: 6px; padding: 6px 7px; }
.pnl-tile small { display: block; font-size: 9px; color: #8B96A2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnl-tile b { display: block; font-size: 14px; color: #1E2A36; }
.pnl-tile.is-alert { border-color: rgba(229, 86, 107, .5); background: rgba(229, 86, 107, .08); }
.pnl-tile.is-alert b { color: var(--panel-danger); }

.pnl-list { display: grid; }
.pnl-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid #EEF1F4;
  font-size: 10.5px;
  white-space: nowrap;
}
.pnl-list > div:first-child { border-top: 0; padding-top: 0; }
.pnl-list span { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; }
.pnl-list .app-dot { width: 7px; height: 7px; }
.pnl-list b { font-weight: 600; }
.pnl-list .neg { color: var(--panel-danger); }
.pnl-list .ok { color: #1E9C61; }

.pnl-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pnl-chip {
  padding: 4px 9px;
  border-radius: 999px;
  background: #EEF2F5;
  font-size: 9.5px;
  font-weight: 600;
  color: #3B4856;
}
.pnl-btn {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}
.pnl-btn-outline { background: #fff; color: #3B4856; border: 1px solid #DCE2E8; margin-left: 0; }

.pnl-table { width: 100%; border-collapse: collapse; font-size: 10.5px; table-layout: fixed; }
.pnl-table th, .pnl-table td { overflow: hidden; text-overflow: ellipsis; }
.pnl-table th:first-child { width: 30%; }
.pnl-table .pnl-badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.pnl-table th {
  text-align: left;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8B96A2;
  background: #F6F8FA;
  padding: 7px 8px;
  white-space: nowrap;
}
.pnl-table td {
  padding: 7px 8px;
  border-top: 1px solid #EEF1F4;
  white-space: nowrap;
  color: #3B4856;
}
.pnl-table td:first-child { font-weight: 600; color: #1E2A36; }
.pnl-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.pnl-table .neg, .pnl-ledger .neg { color: var(--panel-danger); }
.pnl-ledger .pos { color: #1E9C61; }

.pnl-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  color: #fff;
}
.b-gray { background: var(--panel-gray); }
.b-info { background: var(--panel-info); }
.b-primary { background: #00BAC7; }
.b-danger { background: var(--panel-danger); }
.b-success { background: var(--panel-success); }
.b-soft { background: rgba(49, 207, 128, .16); color: #1E9C61; }
.b-outline { background: #fff; color: var(--teal-700); border: 1px solid var(--teal); }

.pnl-person { display: flex; align-items: center; gap: 10px; }
.pnl-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy-3), var(--teal-700));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.pnl-person-meta { display: grid; min-width: 0; }
.pnl-person-meta b { font-size: 12.5px; color: #1E2A36; }
.pnl-person-meta small { font-size: 9.5px; color: #8B96A2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnl-person-status { margin-left: auto; display: grid; justify-items: end; gap: 5px; }

.pnl-detail { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: start; }
.pnl-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.pnl-pills li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(15, 29, 44, .08);
  font-size: 10px;
  font-weight: 600;
}
.pnl-pills li.is-active { background: var(--teal); color: #fff; flex-wrap: wrap; }
.pnl-pills li.is-active b { width: 100%; font-size: 11.5px; }

.pnl-ledger { display: grid; gap: 0; padding: 8px 12px 10px; }
.pnl-ledger-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-size: 10px;
  color: #8B96A2;
}
.pnl-ledger-meta b { color: #1E2A36; font-weight: 600; }
.pnl-ledger-h {
  margin-top: 8px;
  padding: 4px 0 3px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8B96A2;
  border-bottom: 1px solid #EEF1F4;
}
.pnl-ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  font-size: 10.5px;
  border-bottom: 1px dashed #EEF1F4;
}
.pnl-ledger-row span { min-width: 0; }
.pnl-ledger-row em { font-style: normal; color: #8B96A2; font-size: 9px; margin-left: 4px; }
.pnl-ledger-row b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pnl-ledger-row.is-total {
  margin-top: 6px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--teal-50);
  font-size: 12px;
  font-weight: 700;
  color: #1E2A36;
}
.pnl-ledger-row.is-total b { color: var(--teal-700); font-weight: 700; }
.pnl-actions { display: flex; gap: 6px; margin-top: 10px; }
.pnl-actions .pnl-btn { margin-left: 0; }

@media (max-width: 640px) {
  .pnl, .screen .pnl { grid-template-columns: minmax(0, 1fr); }
  .pnl-side { display: none; }
  .pnl-grid-3, .pnl-grid-4 { grid-template-columns: 1fr 1fr; }
  .pnl-grid-2 { grid-template-columns: 1fr; }
  .pnl-detail { grid-template-columns: 1fr; }
  .pnl-pills { grid-template-columns: repeat(4, 1fr); }
  .pnl-pills li.is-active b { display: none; }
  .pnl-table th:nth-child(3), .pnl-table td:nth-child(3) { display: none; }
}

/* ---------- Proof ---------- */
.proof { padding: 8px 0 24px; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-item { padding: 28px 24px; display: grid; gap: 4px; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.proof-label { font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 880px) {
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .74); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section + .section-soft, .section-soft + .section { border-top: 1px solid var(--line-2); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 14px 0 16px;
}
.section-head p { font-size: 17.5px; color: var(--text); margin: 0; }
.section-head-left { text-align: left; margin: 0; }
.eyebrow-light { color: var(--teal); }

@media (max-width: 880px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .container { padding: 0 20px; }
}

/* ---------- Pain ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain-card {
  margin: 0;
  padding: 28px 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  display: grid;
  gap: 14px;
  align-content: start;
}
.pain-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}
.pain-card figcaption {
  font-size: 15px;
  color: var(--muted);
  padding-left: 14px;
  border-left: 2px solid var(--teal);
}
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.feature-card { background: #fff; padding: 30px 28px 32px; transition: background .2s; }
.feature-card:hover { background: #FBFDFD; }
.feature-card h3 { font-size: 18px; margin: 18px 0 8px; letter-spacing: -0.015em; }
.feature-card p { font-size: 15px; color: var(--muted); margin: 0; }
.feature-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--teal-50);
  color: var(--teal-700);
}
.feature-ico svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.how-step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.how-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--teal);
}
.how-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-700);
  letter-spacing: .04em;
}
.how-step h3 { font-size: 20px; margin: 10px 0 10px; }
.how-step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .how-steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr; } }

/* ---------- Product splits ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 120px;
}
.split:last-child { margin-bottom: 0; }
.split.reverse { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.split.reverse .copy { order: 2; }
.split-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 12px;
}
.split h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 16px; letter-spacing: -0.025em; }
.split p { color: var(--text); font-size: 16.5px; margin: 0 0 24px; }
.features-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.features-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-50);
  color: var(--teal-700);
  flex: none;
  margin-top: 1px;
}
.tick svg { width: 12px; height: 12px; }
.screen { position: relative; }
.screen .pnl { --pnl-side: 150px; }
.screen::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0, 186, 189, .10), rgba(62, 79, 98, .06));
  z-index: -1;
}
@media (max-width: 1020px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 48px; margin-bottom: 88px; }
  .split.reverse .copy { order: 0; }
  .screen::before { inset: -14px; }
}

/* ---------- Driver panel + AI ---------- */
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }
.driver-points {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.driver-points li { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.driver-points h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.driver-points p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .64); }

.driver-visual {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
}
.pnl-driver { zoom: 1.12; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .08); }
.pnl-driver .pnl-main { padding-right: 72px; }

.chat {
  position: relative;
  z-index: 2;
  margin: 0 0 -32px -64px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  font-family: var(--font-panel);
  font-size: 11px;
  color: #3B4856;
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: var(--navy-2);
  color: #fff;
}
.chat-head b { display: block; font-size: 12px; }
.chat-head small { display: block; font-size: 10px; color: rgba(255, 255, 255, .6); }
.chat-ava {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--teal);
  font-size: 10px;
  font-weight: 700;
  flex: none;
}
.chat-body { padding: 12px; display: grid; gap: 8px; background: #F8FAFB; }
.chat-msg { padding: 8px 10px; border-radius: 10px; line-height: 1.45; }
.chat-q { justify-self: end; max-width: 82%; background: var(--teal); color: #fff; border-bottom-right-radius: 3px; }
.chat-a { max-width: 94%; background: #fff; border: 1px solid #E8ECF1; border-bottom-left-radius: 3px; }
.chat-a b { color: #1E2A36; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 5px; }
.chat-suggest span {
  padding: 4px 8px;
  border: 1px solid rgba(0, 186, 189, .5);
  border-radius: 999px;
  color: var(--teal-700);
  font-size: 9.5px;
  font-weight: 600;
  background: #fff;
}
.chat-input {
  padding: 10px 12px;
  border-top: 1px solid #E8ECF1;
  color: #A0AAB5;
  font-size: 10.5px;
}

@media (max-width: 860px) {
  .driver-visual { grid-template-columns: 1fr; }
  .pnl-driver { zoom: 1; }
  .pnl-driver .pnl-main { padding-right: 16px; }
  .chat { margin: -24px 12px 0; }
  .driver-points { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
}

/* ---------- Comparison ---------- */
.cmp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.cmp-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  align-items: start;
}
.cmp-row + .cmp-row { border-top: 1px solid var(--line-2); }
.cmp-row > span { padding: 18px 24px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.cmp-head > span {
  padding-top: 20px;
  padding-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
}
.cmp-head .cmp-bf { color: var(--teal-700); }
.cmp-label { font-weight: 600; color: var(--ink); }
.cmp-x { color: var(--muted); }
.cmp-ok { color: var(--ink); background: rgba(0, 186, 189, .045); }
.cmp-head .cmp-bf { background: rgba(0, 186, 189, .045); }
.cmp-x svg, .cmp-ok svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.cmp-x svg { color: #C2CAD3; }
.cmp-ok svg { color: var(--teal); }
@media (max-width: 820px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; padding: 8px 0; }
  .cmp-row > span { padding: 6px 20px; }
  .cmp-label { padding-top: 14px !important; }
  .cmp-ok { background: transparent; padding-bottom: 14px !important; }
}

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.audience-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.audience-card.is-featured { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 186, 189, .1); }
.audience-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.audience-card h3 { font-size: 24px; margin: 10px 0 12px; }
.audience-card > p { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.audience-benefits {
  list-style: none;
  margin: auto 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-2);
  display: grid;
  gap: 12px;
}
.audience-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: var(--ink); }
@media (max-width: 960px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.services-head h2 { font-size: clamp(28px, 3vw, 38px); margin: 14px 0 16px; }
.services-head p { font-size: 16.5px; margin: 0; }
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
.services-list li { padding-top: 20px; border-top: 1px solid var(--line); }
.services-num { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--teal-700); }
.services-list h3 { font-size: 18px; margin: 8px 0 8px; }
.services-list p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .services-list { grid-template-columns: 1fr; } }

/* ---------- Security ---------- */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.security-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.security-card h3 { font-size: 17px; margin: 18px 0 8px; letter-spacing: -0.01em; }
.security-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .security-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .security-grid { grid-template-columns: 1fr; } }

/* ---------- Lead magnet ---------- */
.lead-magnet {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, .74);
}
.lead-magnet::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 186, 189, .35), transparent);
  pointer-events: none;
}
.lead-magnet > * { position: relative; z-index: 1; }
.lead-magnet h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 12px; }
.lead-magnet p { margin: 0; max-width: 620px; font-size: 16px; }
@media (max-width: 880px) {
  .lead-magnet { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}
.faq-wrap .section-head { position: sticky; top: 100px; }
.faq-wrap .section-head p { margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-700); }
.faq summary .chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--muted);
  transition: transform .2s ease, background .2s, color .2s, border-color .2s;
}
.faq summary .chev svg { width: 12px; height: 12px; }
.faq[open] summary .chev { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq .faq-body { padding: 0 52px 24px 4px; font-size: 15.5px; color: var(--text); }
@media (max-width: 960px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-wrap .section-head { position: static; }
}

/* ---------- Contact ---------- */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-card h2 { font-size: clamp(26px, 2.8vw, 36px); margin: 14px 0 12px; }
.contact-card .desc { color: var(--text); margin: 0 0 24px; font-size: 16px; }
.contact-direct { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; }
.contact-direct a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.contact-direct a:hover { color: var(--teal-700); }
.contact-card:has(.form-success.show) { grid-template-columns: 1fr; }
.contact-card:has(.form-success.show) .contact-intro { display: none; }

.form-expectations {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.form-expectations li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.form-expectations-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
}
.form-expectations-icon svg { width: 12px; height: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #D9E0E7;
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input-wrap:hover { border-color: #C2CCD6; }
.input-wrap:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 186, 189, .14); }
.input-wrap.has-error { border-color: var(--danger); }
.input-wrap.has-error:focus-within { box-shadow: 0 0 0 4px rgba(217, 66, 92, .12); }
.input-wrap > .lead-icon { width: 18px; height: 18px; margin-left: 14px; color: var(--muted-2); flex: none; }
.input-wrap input,
.input-wrap textarea,
.input-wrap select {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}
.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: #9AA5B2; }
.input-wrap select { appearance: none; cursor: pointer; padding-right: 44px; }
.input-wrap.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.input-wrap.textarea-wrap { align-items: stretch; }
.input-wrap.textarea-wrap > .lead-icon { margin-top: 14px; }
.field-error {
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 14px;
}
.field-error svg { width: 14px; height: 14px; flex: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
}
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox .box {
  width: 20px;
  height: 20px;
  border: 1.5px solid #C2CCD6;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fff;
  flex: none;
  margin-top: 1px;
  transition: all .15s ease;
}
.checkbox:hover .box { border-color: var(--muted); }
.checkbox input:checked + .box { background: var(--teal); border-color: var(--teal); }
.checkbox input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(0, 186, 189, .2); }
.checkbox .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.6); transition: all .15s ease; }
.checkbox input:checked + .box svg { opacity: 1; transform: scale(1); }
.checkbox.has-error .box { border-color: var(--danger); }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: none; text-align: center; padding: 40px 24px; }
.form-success.show { display: block; }
.form-success .badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.form-success .badge svg { width: 28px; height: 28px; }
.form-success-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 10px;
}

.form-message { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form-message.is-error { background: rgba(217, 66, 92, .08); border: 1px solid rgba(217, 66, 92, .35); color: #B83048; }
.form-message.is-success { background: var(--teal-50); border: 1px solid rgba(0, 186, 189, .4); color: var(--teal-700); }
.recaptcha-info { margin: 12px 0 0; font-size: 11px; color: var(--muted); text-align: center; }
.recaptcha-info a { color: var(--muted); text-decoration: underline; }
.recaptcha-info a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
}
@media (max-width: 640px) {
  .row-2 { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 20px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  padding: 72px 0 28px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer .brand-col img { height: 28px; width: auto; margin-bottom: 18px; }
.site-footer .brand-col p { font-size: 14.5px; color: rgba(255, 255, 255, .58); margin: 0; max-width: 340px; }
.site-footer h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer ul li a { text-decoration: none; color: rgba(255, 255, 255, .62); transition: color .15s; }
.site-footer ul li a:hover { color: var(--teal); }
.site-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
}
@media (max-width: 880px) { .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-page { padding-top: 56px; padding-bottom: 96px; }
.legal-content { max-width: 800px; margin: 0 auto; color: var(--ink); }
.legal-content h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 14px 0 8px; }
.legal-content h2 { font-size: 20px; margin: 36px 0 12px; }
.legal-meta { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.legal-intro { color: var(--text); margin-bottom: 24px; line-height: 1.65; }
.legal-section p { line-height: 1.7; margin: 0 0 10px; color: var(--text); }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero .eyebrow, .hero h1, .hero .lead, .hero .cta-row, .hero-points, .hero-visual {
  animation: fadeUp .8s cubic-bezier(.22, .61, .36, 1) both;
}
.hero h1 { animation-delay: .06s; }
.hero .lead { animation-delay: .12s; }
.hero .cta-row { animation-delay: .18s; }
.hero-points { animation-delay: .24s; }
.hero-visual { animation-delay: .16s; animation-duration: 1s; }

@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.pnl-hero .pnl-bar { animation: barGrow .9s cubic-bezier(.22, .61, .36, 1) both; }
.pnl-hero .pnl-bar:nth-child(2) { animation-delay: .55s; }
.pnl-hero .pnl-bar:nth-child(3) { animation-delay: .6s; }
.pnl-hero .pnl-bar:nth-child(4) { animation-delay: .65s; }
.pnl-hero .pnl-bar:nth-child(5) { animation-delay: .7s; }
.pnl-hero .pnl-bar:nth-child(6) { animation-delay: .75s; }
.pnl-hero .pnl-bar:nth-child(1) { animation-delay: .5s; }

@keyframes chipIn {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.float-chip-1 { animation: chipIn .6s cubic-bezier(.22, .61, .36, 1) .9s both, floatY 6s ease-in-out 1.6s infinite; }
.float-chip-2 { animation: chipIn .6s cubic-bezier(.22, .61, .36, 1) 1.1s both, floatY 7s ease-in-out 1.8s infinite; }

.chat-msg, .chat-suggest { opacity: 1; }
.driver-visual.reveal .chat-q,
.driver-visual.reveal .chat-a,
.driver-visual.reveal .chat-suggest { opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.driver-visual.reveal.in .chat-q { opacity: 1; transform: none; transition-delay: .5s; }
.driver-visual.reveal.in .chat-a { opacity: 1; transform: none; transition-delay: 1.1s; }
.driver-visual.reveal.in .chat-suggest { opacity: 1; transform: none; transition-delay: 1.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Trust (sekcja ukryta, zob. pages/home.latte) ---------- */
.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.client-logo {
  height: 64px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: #FBFCFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.client-logo img {
  max-height: 40px;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter .25s, opacity .25s;
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 880px) { .client-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .client-logos { grid-template-columns: repeat(2, 1fr); } }

/* Testimonial carousel — clean, centered, with external arrows */
.testimonial-carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 24px;
  align-items: center;
  max-width: 920px;
  margin: 48px auto 0;
}
.testimonial-swiper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding-bottom: 48px;
}
.testimonial-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.testimonial-card {
  margin: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px 56px 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  position: relative;
  box-sizing: border-box;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  color: var(--teal-50);
  pointer-events: none;
  user-select: none;
}
.testimonial-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slate), var(--teal-500));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate-ink);
  font-weight: 500;
  font-family: var(--font-heading);
  max-width: 620px;
  position: relative;
  z-index: 1;
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-weight: 700;
  color: var(--slate-ink);
  font-size: 14px;
}
.testimonial-role {
  color: var(--muted);
  font-size: 13px;
}

/* Pagination dots */
.testimonial-swiper .swiper-pagination {
  bottom: 8px;
}
.testimonial-swiper .swiper-pagination-bullet {
  background: var(--slate-2);
  opacity: 0.3;
  width: 8px;
  height: 8px;
  transition: opacity .2s, transform .2s, background .2s, width .2s;
}
.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--teal-700);
  opacity: 1;
  width: 24px;
  border-radius: 999px;
}

/* External arrows */
.testimonial-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal-700);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, color .2s, border-color .2s;
  padding: 0;
}
.testimonial-nav:hover {
  color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: rgba(0, 186, 189, 0.4);
}
.testimonial-nav:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
.testimonial-nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .testimonial-carousel { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-nav { display: none; }
  .testimonial-card { padding: 48px 28px 32px; }
  .testimonial-card::before { left: 16px; font-size: 72px; }
  .testimonial-card blockquote { font-size: 17px; }
}
