/* Pristine Renovations — brand PNG icons v7 */

/* ── Base rule — overrides Tailwind preflight ─────────────────────────── */
.brand-icon {
  display: block;
  flex-shrink: 0;
  width: var(--icon-size, 2rem) !important;
  height: var(--icon-size, 2rem) !important;
  max-width: var(--icon-size, 2rem) !important;
  max-height: var(--icon-size, 2rem) !important;
  object-fit: contain;
  object-position: center;
}

/* ── Sizes ────────────────────────────────────────────────────────────── */
.brand-icon--nav     { --icon-size: 2rem; }
.brand-icon--trust   { --icon-size: 4.5rem; }
.brand-icon--feature { --icon-size: 4.5rem; }
.brand-icon--process { --icon-size: 4rem; }
.brand-icon--star    { --icon-size: 1.5rem; }
.brand-icon--footer  { --icon-size: 1.375rem; }
.brand-icon--handle  { --icon-size: 2.5rem; }

/* ── Trust bar wrapper ─────────────────────────────────────────────────
   White rounded square, generous padding so the amber circle breathes. */
.trust-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  min-width: 5.5rem;
  min-height: 5.5rem;
  padding: 0.55rem;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.trust-icon-wrap img.brand-icon {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  border-radius: 50%;
}

/* ── Hero service pill icon wrapper (small white circle) ────────────── */
.hero-nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.3rem;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.hero-nav-icon-wrap img.brand-icon {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

/* ── Feature card slot — white bg, rounded, generous padding ─────────── */
.icon-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-slot--feature {
  width: 5.5rem;
  height: 5.5rem;
  min-width: 5.5rem;
  min-height: 5.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f4f4f5;
}

.icon-slot--process {
  width: 5rem;
  height: 5rem;
  min-width: 5rem;
  min-height: 5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #fde68a;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.icon-slot--value {
  width: 5.5rem;
  height: 5.5rem;
  min-width: 5.5rem;
  min-height: 5.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  margin-left: auto;
  margin-right: auto;
}

.icon-slot--feature img.brand-icon,
.icon-slot--process img.brand-icon,
.icon-slot--value img.brand-icon {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  border-radius: 50%;
}

/* ── Feature card — centred layout (desktop + mobile) ─────────────────── */
.feature-card {
  text-align: center;
}

.feature-card .icon-slot {
  margin-left: auto;
  margin-right: auto;
}

/* ── Slider drag handle ─────────────────────────────────────────────── */
.ba-drag-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem !important;
  height: 4.5rem !important;
  max-width: 4.5rem !important;
  max-height: 4.5rem !important;
  object-fit: contain;
  pointer-events: none;
  z-index: 11;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(255,255,255,0.9))
          drop-shadow(0 6px 20px rgba(0,0,0,0.5));
}

/* ── Mobile nav pills ─────────────────────────────────────────────────── */
a > .brand-icon--nav {
  flex-shrink: 0;
}

/* ── Stratify IQ credit badge ─────────────────────────────────────────── */
.siq-credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  background: linear-gradient(135deg, rgba(108,99,255,.13) 0%, rgba(62,207,207,.07) 100%);
  border: 1px solid rgba(108,99,255,.2);
  border-radius: 100px;
  padding: 5px 12px 5px 7px;
  text-decoration: none;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.siq-credit:hover {
  background: linear-gradient(135deg, rgba(108,99,255,.22) 0%, rgba(62,207,207,.15) 100%);
  border-color: rgba(108,99,255,.4);
  color: rgba(255,255,255,.8);
  transform: translateY(-1px);
}
.siq-credit-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #6C63FF 0%, #3ECFCF 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.siq-credit strong { color: #a89fff; font-weight: 700; }

/* ── Package Cards v2 (expandable) ─────────────────────────────────── */
.pkg-v2 {
  background: rgba(24,24,27,0.85);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
}
.pkg-v2:hover {
  border-color: rgba(217,119,6,0.35);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.55), 0 0 0 1px rgba(217,119,6,0.12);
  transform: translateY(-3px);
}
.pkg-v2.pkg-popular {
  border-color: rgba(217,119,6,0.55);
  box-shadow: 0 0 0 2px rgba(217,119,6,0.2);
}
.pkg-v2.pkg-popular:hover { border-color: rgba(217,119,6,0.8); }
.pkg-v2-header { position: relative; height: 175px; overflow: hidden; }
.pkg-v2-header img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pkg-v2:hover .pkg-v2-header img { transform: scale(1.05); }
.pkg-v2-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,0.92) 0%, rgba(9,9,11,0.2) 60%, transparent 100%);
}
.pkg-v2-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.875rem 1.125rem; }
.pkg-v2-summary {
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  user-select: none;
}
.pkg-v2-body { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1); }
.pkg-v2-body.pkg-open { max-height: 560px; }
.pkg-v2-body-inner { padding: 1rem 1.125rem 1.25rem; border-top: 1px solid rgba(217,119,6,0.12); }
.pkg-toggle-icon {
  width: 28px; height: 28px; min-width: 28px;
  background: rgba(217,119,6,0.1);
  border: 1px solid rgba(217,119,6,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #D97706; font-size: 1.25rem; font-weight: 300; line-height: 1;
  transition: background .2s, transform .3s, border-color .2s;
}
.pkg-v2.pkg-expanded .pkg-toggle-icon {
  background: rgba(217,119,6,0.2);
  border-color: rgba(217,119,6,0.5);
  transform: rotate(45deg);
}
