/*
 * Brand overrides
 * Keep all color customizations here so vendor/theme files stay untouched.
 */
:root {
  --brand-black: #000000;
  --brand-gold: #b49368;

  /* Primary brand accent */
  --primary: var(--brand-gold);
  --primary-100: #a9885f;
  --primary-200: #a1845b;
  --primary-300: #997d56;
  --primary--100: #bd9c72;
  --primary--200: #c2a379;
  --primary--300: #c7ab81;
  --primary-rgba-0: rgba(180, 147, 104, 0);
  --primary-rgba-10: rgba(180, 147, 104, 0.1);
  --primary-rgba-20: rgba(180, 147, 104, 0.2);
  --primary-rgba-30: rgba(180, 147, 104, 0.3);
  --primary-rgba-40: rgba(180, 147, 104, 0.4);
  --primary-rgba-50: rgba(180, 147, 104, 0.5);
  --primary-rgba-60: rgba(180, 147, 104, 0.6);
  --primary-rgba-70: rgba(180, 147, 104, 0.7);
  --primary-rgba-80: rgba(180, 147, 104, 0.8);
  --primary-rgba-90: rgba(180, 147, 104, 0.9);

  /* Secondary/dark brand base */
  --secondary: var(--brand-black);
  --secondary-100: #000000;
  --secondary-200: #000000;
  --secondary-300: #000000;
  --secondary--100: #1a1a1a;
  --secondary--200: #242424;
  --secondary--300: #2e2e2e;
  --secondary-rgba-0: rgba(0, 0, 0, 0);
  --secondary-rgba-10: rgba(0, 0, 0, 0.1);
  --secondary-rgba-20: rgba(0, 0, 0, 0.2);
  --secondary-rgba-30: rgba(0, 0, 0, 0.3);
  --secondary-rgba-40: rgba(0, 0, 0, 0.4);
  --secondary-rgba-50: rgba(0, 0, 0, 0.5);
  --secondary-rgba-60: rgba(0, 0, 0, 0.6);
  --secondary-rgba-70: rgba(0, 0, 0, 0.7);
  --secondary-rgba-80: rgba(0, 0, 0, 0.8);
  --secondary-rgba-90: rgba(0, 0, 0, 0.9);

  /* Dark sections in this demo rely on tertiary/dark tokens */
  --tertiary: var(--brand-black);
  --tertiary-100: #000000;
  --tertiary-200: #000000;
  --tertiary-300: #000000;
  --tertiary--100: #171717;
  --tertiary--200: #202020;
  --tertiary--300: #292929;
  --tertiary-rgba-0: rgba(0, 0, 0, 0);
  --tertiary-rgba-10: rgba(0, 0, 0, 0.1);
  --tertiary-rgba-20: rgba(0, 0, 0, 0.2);
  --tertiary-rgba-30: rgba(0, 0, 0, 0.3);
  --tertiary-rgba-40: rgba(0, 0, 0, 0.4);
  --tertiary-rgba-50: rgba(0, 0, 0, 0.5);
  --tertiary-rgba-60: rgba(0, 0, 0, 0.6);
  --tertiary-rgba-70: rgba(0, 0, 0, 0.7);
  --tertiary-rgba-80: rgba(0, 0, 0, 0.8);
  --tertiary-rgba-90: rgba(0, 0, 0, 0.9);

  --dark: var(--brand-black);
  --dark-100: #000000;
  --dark-200: #000000;
  --dark-300: #000000;
  --dark--100: #171717;
  --dark--200: #202020;
  --dark--300: #292929;

  /* Better contrast defaults */
  --primary-inverse: #000000;
  --secondary-inverse: #ffffff;
  --tertiary-inverse: #ffffff;
  --dark-inverse: #ffffff;
}

/*
 * Brand logo sizing
 */
.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.brand-logo-img--header {
  max-width: 250px;
}

.brand-logo-img--footer {
  max-width: 280px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-logo-img--header {
    max-width: 205px;
  }
}

@media (min-width: 1200px) {
  .brand-logo-img--header {
    max-width: 235px;
  }
}

/*
 * Horizontal CTA brand section (landing)
 */
.brand-cta-section {
  padding-top: 3rem;
  padding-bottom: 0.5rem;
}

.brand-cta-bar {
  background: linear-gradient(120deg, var(--primary--300) 0%, var(--brand-gold) 48%, rgba(255, 255, 255, 0.55) 100%);
  border-radius: 14px;
}

.brand-cta-content {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

@media (min-width: 992px) {
  .brand-cta-section {
    padding-top: 3.5rem;
    padding-bottom: 0.75rem;
  }

  .brand-cta-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .stat-mark-mobile {
    font-size: 3.25em !important;
  }

  .brand-logo-img--header {
    max-width: 180px;
  }

  .brand-logo-img--footer {
    max-width: 220px;
  }
}

@media (max-width: 991.98px) {
  #header .header-btn-collapse-nav {
    padding: 0.35rem 0.6rem;
  }
}

/*
 * Language selector: keep dropdown behavior but remove Bootstrap caret icon.
 */
.language-switch-toggle::after {
  display: none !important;
}

.language-switch-toggle {
  display: inline-flex;
  align-items: center;
}

.language-option {
  display: flex;
  align-items: center;
}

.locale-flag {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/*
 * Keep desktop navigation truly centered regardless of theme defaults.
 */
@media (min-width: 992px) {
  #header .header-main-row .header-nav-col {
    justify-content: center !important;
  }

  #header .header-main-row .header-nav-col .header-nav {
    justify-content: center !important;
    width: 100%;
  }

  #header .header-main-row .header-nav-col .header-nav-main nav,
  #header .header-main-row .header-nav-col #mainNav {
    justify-content: center !important;
    width: 100%;
  }
}

/*
 * Process timeline labels should not inherit large counter typography.
 */
#process .timeline-body p strong {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
}

/*
 * Free zone partners marquee strip
 */
.partner-logo-marquee {
  overflow: hidden;
  position: relative;
}

.partner-logo-track {
  display: flex;
  width: max-content;
  animation: partnerLogoMarquee 22s linear infinite;
  will-change: transform;
}

.partner-logo-group {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
}

.partner-logo-item {
  min-width: 190px;
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  padding: 0.45rem 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.partner-logo-item strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.partner-logo-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.3;
}

.partner-logo-item img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(1) saturate(0.1);
  opacity: 0.85;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}

.partner-logo-item:hover img,
.partner-logo-item:focus-within img {
  filter: none;
  opacity: 1;
}

.partner-logo-item.is-active {
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(180, 147, 104, 0.22);
}

.partner-logo-item.is-active img {
  filter: none;
  opacity: 1;
}

.partner-logo-marquee:hover .partner-logo-track {
  animation-play-state: paused;
}

@keyframes partnerLogoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.partner-logo-static {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-logo-static-item {
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  background: #ffffff;
  padding: 0.45rem 0.55rem;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.partner-logo-static-item img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(1) saturate(0.1);
  opacity: 0.85;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}

.partner-logo-static-item:hover img,
.partner-logo-static-item:focus-within img {
  filter: none;
  opacity: 1;
}

.partner-logo-static-item.is-active {
  box-shadow: 0 6px 16px rgba(180, 147, 104, 0.22);
}

.partner-logo-static-item.is-active img {
  filter: none;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .partner-logo-item {
    min-width: 165px;
  }

  .partner-logo-item img {
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-logo-track {
    animation: none;
  }
}

/*
 * Floating WhatsApp CTA
 */
.whatsapp-float-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.whatsapp-float-btn:hover,
.whatsapp-float-btn:focus {
  color: #ffffff;
  background: #1fbe5d;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.whatsapp-float-btn i {
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .whatsapp-float-btn {
    display: flex;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float-btn {
    right: 12px;
    bottom: 12px;
    width: 46px;
    height: 46px;
  }
}

/* ------------------------------------------------------------------
 * Initiative Lab additions (Oct 2026): markets, content pages, form
 * ------------------------------------------------------------------ */

/* Honeypot field: off-screen for people, still filled by naive bots */
.form-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero-eyebrow {
  color: var(--dark);
}

.hero-bullets {
  list-style: none;
  padding-left: 0;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.3rem;
  width: 0.55rem;
  height: 0.95rem;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Market cards (home + guides index) */
.market-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.market-card-tag {
  color: var(--brand-gold);
  letter-spacing: 0.04em;
}

.tax-note {
  background: rgba(180, 147, 104, 0.12);
  border-left: 4px solid var(--brand-gold);
}

/* Content pages */
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a,
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: var(--dark);
  font-size: 0.85rem;
}

.page-hero .breadcrumb-item a {
  text-decoration: underline;
}

.page-eyebrow {
  color: var(--dark);
  letter-spacing: 0.05em;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 1.75rem 0 0.75rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 1.1rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body a {
  color: #000;
  text-decoration: underline;
  text-decoration-color: var(--brand-gold);
  text-underline-offset: 3px;
}

.article-body blockquote {
  background: rgba(180, 147, 104, 0.12);
  border-left: 4px solid var(--brand-gold);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 1rem;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

.article-body th,
.article-body td {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: #f6f4f0;
  font-weight: 600;
}

.aside-cta {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.aside-links {
  background: #f6f4f0;
}

.aside-links li {
  margin-bottom: 0.4rem;
}

.aside-links a {
  color: #222;
}

@media (min-width: 992px) {
  .sticky-aside {
    position: sticky;
    top: 120px;
  }
}

/* The theme uppercases h3/h4; content headings read better in sentence case */
.market-card h2,
.market-card h3,
.tax-note h3,
.article-body h2,
.article-body h3,
.aside-cta p,
.page-hero h1 {
  text-transform: none;
  letter-spacing: normal;
}

.article-body p,
.article-body blockquote,
.article-body blockquote p {
  color: #2b2b2b;
}

.article-body td,
.article-body th {
  min-width: 140px;
}
