/**
 * Contrast fix — readable text on EVERY surface (light Nordic Signal).
 * Load LAST (after style.css + home.css + imported theme layers).
 */

/* ── Kill leftover black content bands everywhere ── */
.section,
.section-muted,
.home-info-section,
.home-seo,
.home-info,
.home-spot,
.home-classic,
.home-innov-band,
.home-draw,
.home-paths,
.home-crate,
.home-longguide,
.about-team-section,
.trending-bar {
  background: #F3F7FB !important;
  background-image: none !important;
  background-color: #F3F7FB !important;
  color: #3A4658 !important;
  animation: none !important;
  border-color: rgba(12, 107, 138, 0.12) !important;
}

.section-muted,
.home-spot.section-muted,
.home-info-section {
  background-color: #E6EDF4 !important;
  background-image: linear-gradient(180deg, rgba(12, 107, 138, 0.06), transparent 42%) !important;
}

.home-info-section::before {
  display: none !important;
}

.section:nth-of-type(even):not(.hero):not(.page-banner) {
  background: #FFFFFF !important;
  background-image: none !important;
}

/* ── Default ink on light page ── */
body {
  color: #3A4658 !important;
  background-color: #E6EDF4 !important;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.section-title-sm,
.home-classic__title,
.home-spot__title,
.home-draw .section-title,
.home-paths .section-title,
.home-crate .section-title,
.home-info-copy > h2,
.home-info-copy h3,
.home-seo-prose h2,
.home-seo-prose h3,
.logo-title {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
}

.section-subtitle,
.home-draw__long p,
.home-paths__long p,
.home-crate__long p,
.section p,
.section li,
.home-info-copy,
.home-info-copy p,
.home-info-copy li,
.home-seo-prose,
.home-seo-prose p,
.home-seo-prose li,
.content-narrow,
.about-copy,
.feature-copy,
.two-col,
.shop-intro-lead,
.blog-prose,
.faq-body,
.process-step p,
.value-card-body p,
.trust-item p,
.home-path p,
.home-draw__col li,
.related-links-list a,
.trending-item a,
.payment-method-body,
.payment-method-body p,
.engine-compare-card,
.engine-compare-card p,
.home-worldwide__copy,
.home-worldwide__copy p,
.home-worldwide__copy li {
  color: #3A4658 !important;
  -webkit-text-fill-color: #3A4658 !important;
}

.section p strong,
.section li strong,
.home-info-copy strong,
.home-seo-prose strong,
.home-draw__long strong,
.home-path strong,
.payment-method-body strong,
.engine-compare-card strong {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
}

.home-draw__eyebrow,
.home-spot__eyebrow,
.home-classic__eyebrow,
.payment-method-body h3 {
  color: #0C6B8A !important;
}

.home-draw__col h3,
.home-path h3,
.home-draw__long h3,
.trust-item h3,
.product-card h3,
.product-card h3 a,
.product-card-title a,
.value-card h3,
.faq-item summary,
.related-links-col h3,
.engine-compare-card h3,
.home-worldwide__copy h2,
.home-worldwide__copy h3 {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
}

.home-draw__col {
  border-color: rgba(12, 107, 138, 0.18) !important;
}
.home-draw__col--muted {
  background: #fff !important;
}
.home-draw__col--accent {
  background: rgba(12, 107, 138, 0.08) !important;
  border-color: rgba(12, 107, 138, 0.28) !important;
}

.trending-item {
  background: #fff !important;
  border: 1px solid rgba(12, 107, 138, 0.16) !important;
}
.trending-item a:hover {
  color: #0C6B8A !important;
}

a:not(.btn):not(.button) {
  color: #0C6B8A !important;
}
a:not(.btn):not(.button):hover {
  color: #00A896 !important;
}

.home-path__link:hover,
.home-info-copy a:hover,
.home-seo-prose a:hover {
  color: #084E66 !important;
}

/* Ghost / outline buttons on LIGHT sections = dark text */
.section .btn-ghost,
.section .btn-outline,
.home-draw .btn-ghost,
.home-paths .btn-ghost,
.home-crate .btn-ghost,
.home-draw__cta-row .btn-ghost {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
  border: 1.5px solid rgba(12, 107, 138, 0.35) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.section .btn-ghost:hover,
.home-draw .btn-ghost:hover,
.home-draw__cta-row .btn-ghost:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #0C6B8A !important;
  border-color: #0C6B8A !important;
}

.btn-accent,
.btn-black,
.section .btn-accent,
.home-draw .btn-accent {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #0C6B8A 0%, #084E66 100%) !important;
}

/* ── Hero: dark stage + white type ── */
.hero.hero--modern,
.hero.hero--seo {
  background-color: #071525 !important;
}

.hero--modern .hero-brand,
.hero--modern h1,
.hero--seo .hero-content h1,
.hero--modern .hero-lead,
.hero--seo .hero-lead,
.hero--modern .hero-lead strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.45);
}

.hero--modern .hero-lead a {
  color: #5EEAD4 !important;
  -webkit-text-fill-color: #5EEAD4 !important;
}

.hero--modern .btn-ghost,
.hero-actions .btn-ghost {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.78) !important;
  background: transparent !important;
}

.hero--modern .btn-ghost:hover,
.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

.hero--modern .btn-accent,
.hero--modern .btn-black,
.hero-actions .btn-accent {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hero-bg::after {
  background:
    linear-gradient(
      90deg,
      rgb(7 21 37 / 0.96) 0%,
      rgb(7 21 37 / 0.88) 30%,
      rgb(7 21 37 / 0.45) 52%,
      rgb(7 21 37 / 0.12) 72%,
      rgb(7 21 37 / 0.04) 100%
    ),
    linear-gradient(to top, #E6EDF4 0%, transparent 28%),
    linear-gradient(to bottom, rgb(7 21 37 / 0.55) 0%, transparent 22%),
    radial-gradient(ellipse 58% 62% at 74% 40%, rgba(0, 168, 150, 0.28), transparent 64%),
    radial-gradient(ellipse 50% 55% at 90% 58%, rgba(12, 107, 138, 0.32), transparent 66%) !important;
}

/* Page banners / footer / photo cards keep light text on dark */
.page-banner,
.blog-post-banner {
  background: linear-gradient(135deg, #071525 0%, #0C6B8A 55%, #084E66 100%) !important;
}
.page-banner,
.page-banner h1,
.blog-post-banner h1,
.site-footer,
.site-footer h3,
.site-footer .footer-title,
.category-card h3,
.category-card a,
.category-meta h3 a,
.category-engine-names li a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.page-banner-lead,
.site-footer a,
.footer-middle a {
  color: rgba(220, 232, 242, 0.88) !important;
}

.site-footer {
  background: linear-gradient(180deg, #0C1F33, #071525) !important;
}

/* Trust strip */
.trust-strip {
  background: #fff !important;
  border-top: 1px solid rgba(12, 107, 138, 0.12);
  border-bottom: 1px solid rgba(12, 107, 138, 0.12);
}
.trust-item h3 {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
}
.trust-item p {
  color: #3A4658 !important;
  -webkit-text-fill-color: #3A4658 !important;
}

/* Forms readable on light */
input, select, textarea,
.woocommerce input.input-text {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
  background: #fff !important;
  border-color: rgba(12, 107, 138, 0.22) !important;
}

/* WhatsApp place-order — always visible green CTA */
.woocommerce-checkout .place-order .be-checkout-whatsapp,
.checkout-order-review .place-order a.be-checkout-whatsapp,
a.button.be-checkout-whatsapp,
#be-checkout-whatsapp {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #25D366 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 2px solid #1ebe57 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Checkout payment options — dark text on light cards */
.be-payment-heading {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
}
.be-payment-option-inner {
  background: #ffffff !important;
  border: 2px solid rgba(12, 107, 138, 0.2) !important;
}
.be-payment-option-input:checked + .be-payment-option-inner {
  background: rgba(0, 168, 150, 0.1) !important;
  border-color: #00A896 !important;
}
.be-payment-option-title {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
}
.be-payment-option-hint,
.be-payment-note {
  color: #3A4658 !important;
  -webkit-text-fill-color: #3A4658 !important;
}
.be-payment-option-icon--usdt {
  color: #00A896 !important;
  -webkit-text-fill-color: #00A896 !important;
}
/* WooCommerce payment list labels if used */
.wc_payment_methods .payment_method_name,
.wc_payment_methods label,
.woocommerce-checkout-payment .payment_methods label {
  color: #071525 !important;
  -webkit-text-fill-color: #071525 !important;
}
#be-checkout-whatsapp:hover {
  background: #1ebe57 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
