/**
 * Global trust hero — replaces generic homepage / inner-page banner
 */

.cl-trust-hero {
  --cl-th-bg: #0a0f1a;
  --cl-th-accent: #0ea5e9;
  --cl-th-gold: #c9a962;
  --cl-th-muted: rgba(255, 255, 255, 0.62);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f1a 0%, #111827 45%, #0c1929 100%);
  color: #fff;
  border-bottom: 3px solid var(--cl-th-gold);
}

.cl-trust-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.cl-trust-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cl-trust-hero .container {
  position: relative;
  z-index: 1;
}

.cl-trust-hero--home {
  padding: clamp(2rem, 6vw, 3.25rem) 0 clamp(1.75rem, 5vw, 2.75rem);
}

.cl-trust-hero--compact {
  padding: 0.85rem 0;
  background: linear-gradient(90deg, #0a0f1a, #152238);
}

.cl-trust-hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 992px) {
  .cl-trust-hero__layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.85rem 2.5rem;
  }

  .cl-trust-hero__nabl-row {
    grid-column: 1 / -1;
  }

  .cl-trust-hero__copy {
    grid-column: 1;
    grid-row: 2;
  }

  .cl-trust-hero__aside {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: 100%;
    max-width: 22rem;
  }
}

.cl-trust-hero__nabl-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  width: 100%;
  margin-bottom: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.cl-trust-hero__nabl-row::-webkit-scrollbar {
  display: none;
}

.cl-trust-hero__nabl-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  flex-shrink: 0;
}

.cl-trust-hero__promo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.32rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e8d5a3;
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.18), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cl-trust-hero__promo::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 8px rgba(20, 184, 166, 0.8);
  flex-shrink: 0;
}

.cl-trust-hero__nabl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0a0f1a;
  background: linear-gradient(145deg, #c9a962, #e8d5a3);
  border-radius: 8px;
  flex-shrink: 0;
}

.cl-trust-hero__nabl-badge--sm {
  padding: 0.35rem 0.6rem;
  font-size: 0.6875rem;
}

.cl-trust-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.cl-trust-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--cl-th-muted);
}

.cl-trust-hero__value-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .cl-trust-hero__value-panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

.cl-trust-hero__value-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  padding: 0.55rem 0.4rem;
  text-align: center;
}

.cl-trust-hero__value-cell + .cl-trust-hero__value-cell {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
}

@media (min-width: 640px) {
  .cl-trust-hero__value-cell + .cl-trust-hero__value-cell {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.55rem;
    padding-left: 0.5rem;
  }

  .cl-trust-hero__value-cell:first-child {
    padding-left: 0;
  }
}

.cl-trust-hero__value-top {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.08em;
  color: var(--cl-th-gold);
  text-transform: uppercase;
}

.cl-trust-hero__value-top--title {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.25;
}

.cl-trust-hero__value-mid {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cl-trust-hero__value-desc {
  display: block;
  max-width: 11rem;
  margin: 0.1rem auto 0;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--cl-th-muted);
}

.cl-trust-hero__value-cell--free .cl-trust-hero__value-top {
  color: #5eead4;
}

.cl-trust-hero__value-cell--time .cl-trust-hero__value-top {
  color: #e8d5a3;
}

.cl-trust-hero__compact-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}

.cl-trust-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.cl-trust-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.cl-trust-hero__actions .cl-trust-hero__btn {
  width: 100%;
  justify-content: center;
}

.cl-trust-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 12px;
  border: none;
  white-space: nowrap;
}

.cl-trust-hero__btn--sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.cl-trust-hero__btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--cl-th-accent), #0284c7);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.cl-trust-hero__btn--ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cl-trust-hero__btn--wa {
  color: #fff !important;
  background: #25d366;
}

.cl-trust-hero__stats-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 1.15rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  width: 100%;
}

@media (min-width: 480px) {
  .cl-trust-hero__stats-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .cl-trust-hero__stat-note {
    grid-column: 1 / -1;
  }
}

.cl-trust-hero__stat {
  text-align: center;
  padding: 0.65rem 0.35rem;
}

.cl-trust-hero__stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cl-th-gold);
  line-height: 1.1;
}

.cl-trust-hero__stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--cl-th-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cl-trust-hero__stat-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.cl-trust-hero__compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.cl-trust-hero__compact-nabl {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.cl-trust-hero__compact-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-trust-hero__compact-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.cl-trust-hero__compact-stats strong {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--cl-th-gold);
  line-height: 1.1;
}

.cl-trust-hero__compact-stats span {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--cl-th-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cl-trust-hero__compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cl-package-search {
  padding: 1.75rem 0 0.5rem;
  background: #f6f8fc;
}

.cl-package-search__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(12, 18, 34, 0.06);
}

@media (min-width: 768px) {
  .cl-package-search__inner {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 1.5rem;
  }
}

.cl-package-search__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: #0c1222;
}

.cl-package-search__hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.cl-package-search__field {
  position: relative;
}

.cl-package-search__field .form-control {
  width: 100%;
  height: 52px;
  padding: 0.7rem 3.5rem 0.7rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cl-package-search__submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0 12px 12px 0;
  background: #e63946;
  color: #fff;
  cursor: pointer;
}

.cl-package-search__results {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 100;
}

@media (max-width: 991.98px) {
  .cl-trust-hero__aside {
    max-width: none;
  }

  .cl-trust-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cl-trust-hero__actions .cl-trust-hero__btn {
    width: auto;
    flex: 1 1 calc(33.333% - 0.4rem);
    min-width: 0;
  }

  .cl-trust-hero__actions .cl-trust-hero__btn--primary {
    flex: 1 1 100%;
  }
}

@media (max-width: 767.98px) {
  .cl-trust-hero__nabl-row {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .cl-trust-hero__promo {
    font-size: 0.625rem;
    padding: 0.28rem 0.6rem;
  }

  .cl-trust-hero__value-panel {
    padding: 1rem;
  }

  .cl-trust-hero__value-desc {
    max-width: none;
  }

  .cl-trust-hero__compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .cl-trust-hero__compact-actions {
    width: 100%;
  }

  .cl-trust-hero__compact-actions .cl-trust-hero__btn {
    flex: 1;
  }
}
