/* ORBITAL site polish — hover, anchors, images, selection, dividers, breadcrumbs, footer trust */

/* 2 — consistent interactive hover */
a.hbtn1,
a.hbtn2,
.cbtn1,
.cbtn2,
.btn-risk-calc,
.btn-wa,
.pcard,
.cat,
.bcard,
.blog-card,
.filter-btn,
.mega-cat,
.sec-link,
.hsc-actions a,
.allcat-card,
.app-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.pcard:hover {
  transform: translateY(-3px);
}

.cat:hover,
.bcard:hover,
.blog-card:hover,
.allcat-card:hover {
  transform: translateY(-2px);
}

.cbtn1:hover,
.hbtn1:hover {
  box-shadow: 0 6px 20px rgba(233, 6, 49, 0.28);
}

/* Header — Risk Calculator & WhatsApp (modern pill) */
.hdr-right .btn-risk-calc,
.hdr-right .btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  font-family: 'Campton', sans-serif !important;
  font-weight: 600 !important;
  font-size: 10px !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 16px !important;
  border-radius: 8px !important;
  border: 2px solid transparent;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(9, 45, 99, 0.1);
}

.hdr-right .btn-risk-calc::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e90631;
  box-shadow: 0 0 0 3px rgba(233, 6, 49, 0.15);
  flex-shrink: 0;
}

@keyframes risk-calc-pulse {
  0%,
  100% {
    opacity: 1;
    border-color: rgba(233, 6, 49, 0.42) !important;
    box-shadow: 0 2px 6px rgba(9, 45, 99, 0.1);
  }
  50% {
    opacity: 0.72;
    border-color: rgba(233, 6, 49, 0.85) !important;
    box-shadow: 0 2px 14px rgba(233, 6, 49, 0.35), 0 0 10px rgba(233, 6, 49, 0.18);
  }
}

@keyframes risk-calc-dot-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(233, 6, 49, 0.15);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(233, 6, 49, 0.35);
  }
}

.hdr-right .btn-risk-calc {
  color: #092d63 !important;
  background: linear-gradient(180deg, #fff5f7 0%, #fde8ed 100%) !important;
  border-color: rgba(233, 6, 49, 0.42) !important;
  animation: risk-calc-pulse 3.2s ease-in-out infinite;
}

.hdr-right .btn-risk-calc::before {
  animation: risk-calc-dot-pulse 3.2s ease-in-out infinite;
}

.hdr-right .btn-risk-calc:hover {
  color: #e90631 !important;
  background: linear-gradient(180deg, #fff 0%, #fde8ed 100%) !important;
  border-color: #e90631 !important;
  box-shadow: 0 4px 16px rgba(233, 6, 49, 0.22) !important;
  transform: translateY(-1px);
  animation: none;
  opacity: 1 !important;
}

.hdr-right .btn-risk-calc:hover::before {
  animation: none;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(233, 6, 49, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .hdr-right .btn-risk-calc,
  .hdr-right .btn-risk-calc::before {
    animation: none;
  }
}

.hdr-right .btn-wa {
  color: #067a3d !important;
  background: linear-gradient(180deg, #ecfdf3 0%, #d1fae5 100%) !important;
  border-color: rgba(22, 163, 74, 0.55) !important;
}

.hdr-right .btn-wa svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.hdr-right .btn-wa:hover {
  color: #fff !important;
  background: linear-gradient(180deg, #2ee06a 0%, #16a34a 100%) !important;
  border-color: #16a34a !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
  transform: translateY(-1px);
}

.hdr-eu-logo img {
  filter: drop-shadow(0 3px 5px rgba(9, 45, 99, 0.45))
    drop-shadow(0 6px 16px rgba(0, 0, 0, 0.34)) !important;
}

@media (max-width: 900px) {
  .hdr-right .btn-risk-calc,
  .hdr-right .btn-wa {
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    padding: 0 12px !important;
    font-size: 9px !important;
  }
}

/* 3 — anchor offset under sticky header */
[id] {
  scroll-margin-top: 108px;
}

/* 4 — lazy image fade-in (class added by site-polish.js) */
img.img-lazy-fade {
  opacity: 0;
  transition: opacity 0.45s ease;
}

img.img-lazy-fade.is-loaded {
  opacity: 1;
}

/* 5 — text selection */
::selection {
  background: rgba(9, 45, 99, 0.18);
  color: var(--navy, #092d63);
}

::-moz-selection {
  background: rgba(9, 45, 99, 0.18);
  color: var(--navy, #092d63);
}

/* 6 — breadcrumbs (products + blog listing) */
.breadcrumb {
  background: var(--white, #fff);
  border-bottom: 1px solid var(--border, rgba(9, 45, 99, 0.1));
}

.bc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bc-inner a {
  font-family: 'Dunspace', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  text-decoration: none;
}

.bc-inner a:hover {
  color: var(--navy, #092d63);
}

.bc-inner > span:not(.bc-current) {
  color: var(--border, rgba(9, 45, 99, 0.1));
  font-size: 10px;
}

.bc-current {
  font-family: 'Dunspace', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy, #092d63);
}

.ph-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* 8 — section dividers (home + key content blocks) */
.career-wrap,
.blog-scroll-wrap,
.products,
.auth-strip,
.why,
.allcats,
.cta,
.page-hero + .filters,
.prod-page-wrap,
.content-wrap,
.faq-wrap {
  border-top: 1px solid var(--border, rgba(9, 45, 99, 0.1));
}

.hero,
.cert-bar,
.cats,
.vstrip,
.ticker {
  border-top: none;
}

/* 9 — footer trust strip */
.ftr-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.ftr-trust-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.ftr-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.ftr-trust-item img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(1.05);
}

.ftr-trust-label {
  font-family: 'Dunspace', sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ftr-trust-val,
.ftr-trust-tags {
  font-family: 'Campton', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

.ftr-trust-tags {
  font-weight: 500;
  font-size: 11px;
}

.ftr-trust-link {
  font-family: 'Dunspace', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ftr-trust-link:hover {
  color: #fff;
}

.ftr-trust-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ftr-trust-sep {
    display: none;
  }

  .ftr-trust-inner {
    gap: 16px;
  }

  [id] {
    scroll-margin-top: 72px;
  }
}
