﻿
:root {
  --green:        #00573F;
  --forest:       #003D2D;
  --green-light:  #D9E8E2;
  --green-mid:    #00573F;
  --ivory:        #F7F8F3;
  --warm-bg:      #F5F5F7;
  --sage-light:   #D9E8E2;
  --mist:         #E5E5EA;
  --stone:        #6B6B6B;
  --gold:         #C4922A;
  --white:        #FFFFFF;
  --body-text:    #1D1D1F;
  --text-secondary: #6B6B6B;
  --border:       #E5E5EA;
  --hero-bg:      #E8E2D4;
  --hero-dark:    #0B1620;
  --green-bright: #3DBE7A;
  --font:         'Poppins', sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y proximity;
}
body { font-family: var(--font); background: var(--ivory); color: var(--body-text); overflow-x: hidden; }
img { display: block; max-width: 100%; }

/* ── TICKER ── */
.ticker-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 34px; background: #0a1a12;
  border-bottom: 1px solid rgba(0,87,63,0.35);
  display: flex; align-items: center; overflow: hidden;
}
.ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 7px;
  padding: 0 16px; height: 100%;
  border-right: 1px solid rgba(0,87,63,0.4);
  font-size: 9px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: rgba(255,255,255,0.5); white-space: nowrap;
}
.ticker-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #00c853; box-shadow: 0 0 6px #00c853;
  animation: tickBlink 1.8s infinite;
}
@keyframes tickBlink { 0%,100%{opacity:1} 50%{opacity:.35} }
.ticker-scroll {
  flex: 1; overflow: hidden; position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
}
.ticker-track {
  display: flex; animation: tickerScroll 55s linear infinite; width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.tick-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 22px; height: 34px;
  border-right: 1px solid rgba(255,255,255,0.05); white-space: nowrap;
}
.tick-name  { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.55); }
.tick-price { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.88); }
.tick-up    { font-size: 9px; font-weight: 600; color: #00c853; }
.tick-dn    { font-size: 9px; font-weight: 600; color: #ff5252; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── NAV ── */
nav {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 48px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 26px; max-width: 170px; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 22px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: #000000;
  text-decoration: none; transition: color .15s;
}
.nav-links a:hover { color: var(--green); }
.nav-links li.active > a {
  color: var(--green); font-weight: 600;
  border-bottom: 2px solid var(--green); padding-bottom: 2px;
}

/* Dropdown */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item-dropdown > a::after {
  content: ''; display: inline-block; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.nav-item-dropdown:hover > a::after { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.09); border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12); padding: 8px;
  min-width: 160px; list-style: none;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(12px); z-index: 999;
}
.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 400; color: var(--stone);
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-dropdown li a:hover { background: var(--green-light); color: var(--green); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-ghost {
  font-size: 14px; font-weight: 500; color: #000000;
  background: transparent; border: 1px solid #D2D2D7;
  padding: 10px 24px; border-radius: 999px; cursor: pointer;
  text-decoration: none; transition: border-color .2s, color .2s;
}
.btn-nav-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-nav-primary {
  font-size: 14px; font-weight: 600; color: var(--white);
  background: var(--green); border: none; padding: 8px 16px;
  border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: background .2s, box-shadow .2s;
}
.btn-nav-primary:hover { background: var(--green-mid); box-shadow: 0 4px 16px rgba(0,87,63,.3); }

/* ── PAGE WRAPPER ── */
.page-wrapper { padding-top: 0; }

/* ══════════════════════════════════════════
   HERO — dark navy, centered (matches Global/Partners style)
══════════════════════════════════════════ */
.dom-hero {
  background: var(--hero-dark);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 152px 64px 72px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  scroll-snap-align: start;
}
.dom-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.80; z-index: 0; pointer-events: none;
}

/* radial glow */
.dom-hero::before {
  content: '';
  position: absolute;
  top: 40%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,87,63,0.20) 0%, transparent 70%);
  pointer-events: none;
}
/* dot grid */
.dom-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.dom-hero-inner { position: relative; z-index: 1; max-width: 820px; width: 100%; }

.dom-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(61,190,122,0.4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 28px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  background: rgba(61,190,122,0.06);
}
.dom-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3DBE7A; box-shadow: 0 0 8px #3DBE7A;
  animation: domGlow 2s infinite;
}
@keyframes domGlow { 0%,100%{opacity:1} 50%{opacity:.4} }

.dom-hero-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.65), 0 1px 6px rgba(0,0,0,0.4);
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.dom-hero-sub {
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  font-size: 16px; font-weight: 400;
  color: rgba(255,255,255,0.88); line-height: 1.8;
  max-width: 560px; margin: 0 auto 40px;
}

/* H3 standard */
h3, .h3 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.6px; color: var(--body-text); }

/* Search bar — dark style */
.dom-search-wrap {
  display: flex; align-items: center;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.07);
  overflow: hidden;
  max-width: 560px; margin: 0 auto 48px;
  transition: border-color .2s;
}
.dom-search-wrap:focus-within { border-color: #3DBE7A; }
.dom-search-wrap svg { margin: 0 14px; width: 16px; height: 16px; stroke: rgba(255,255,255,0.45); flex-shrink: 0; }
.dom-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font); font-size: 14px; font-weight: 400;
  color: var(--white); padding: 14px 12px 14px 0; min-width: 0;
}
.dom-search-input::placeholder { color: rgba(255,255,255,0.3); }
.dom-search-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--white); background: var(--green);
  border: none; padding: 12px 24px;
  border-radius: 0 calc(var(--r-md) - 2px) calc(var(--r-md) - 2px) 0;
  cursor: pointer; transition: background .2s;
}
.dom-search-btn svg { width: 14px; height: 14px; stroke: white; }
.dom-search-btn:hover { background: var(--forest); }

/* Stats row — centered with dividers */
.dom-hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 48px;
}
.dom-stat { text-align: center; }
.dom-stat-num {
  font-size: clamp(30px, 3.5vw, 44px); font-weight: 800;
  color: #FFFFFF; line-height: 1; letter-spacing: -1px;
}
.dom-stat-lbl {
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-top: 6px; white-space: nowrap;
}
.dom-stat-divider {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.1);
  align-self: center;
}

/* ══════════════════════════════════════════
   LISTING AREA — sidebar + grid
══════════════════════════════════════════ */
.dom-listing {
  background: #EEF2F7;
  padding: 36px 64px 60px;
  min-height: 70vh;
}

.dom-listing-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Sidebar ── */
.dom-sidebar {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-xl);
  padding: 22px;
  position: sticky;
  top: 110px;
}

.dom-sidebar-heading {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--body-text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mist);
}
.dom-sidebar-heading svg { width: 16px; height: 16px; stroke: var(--stone); }

.dom-cat-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.dom-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: var(--r-md);
  cursor: pointer; transition: background .15s, color .15s;
  font-size: 13px; font-weight: 500; color: var(--stone);
}
.dom-cat-item:hover { background: var(--green-light); color: var(--green); }
.dom-cat-item.active {
  background: var(--green-light); color: var(--green); font-weight: 600;
}
.dom-cat-count {
  font-size: 12px; font-weight: 500; color: var(--stone);
  background: var(--mist); border-radius: 999px;
  padding: 1px 8px; min-width: 24px; text-align: center;
}
.dom-cat-item.active .dom-cat-count {
  background: rgba(0,87,63,0.12); color: var(--green);
}

/* ── Results area ── */
.dom-results-area {}

.dom-results-meta {
  font-size: 13px; color: var(--stone); margin-bottom: 22px; font-weight: 400;
}
.dom-results-meta strong { color: var(--body-text); font-weight: 700; }

.dom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Product card */
.dom-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.22,.68,0,1.2), box-shadow .25s ease, border-color .2s;
}
.dom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
  border-color: rgba(0,87,63,0.2);
}
.dom-card-img {
  height: 180px; overflow: hidden; position: relative; background: var(--mist);
}
.dom-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .4s cubic-bezier(.22,.68,0,1.2);
  display: block;
}
.dom-card:hover .dom-card-img img { transform: scale(1.05); }

.dom-card-body { padding: 16px 18px 20px; }

.dom-card-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--stone);
  margin-bottom: 7px;
}
.dom-card-name {
  font-size: 14px; font-weight: 700;
  color: var(--body-text); line-height: 1.35;
  margin-bottom: 14px;
}

.btn-login-check {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--white); background: var(--green);
  border: none; padding: 8px 18px; border-radius: 999px;
  cursor: pointer; text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .15s;
  width: 100%; justify-content: center;
}
.btn-login-check svg { width: 13px; height: 13px; stroke: rgba(255,255,255,0.85); flex-shrink: 0; }
.btn-login-check:hover { background: var(--forest); box-shadow: 0 4px 14px rgba(0,87,63,0.3); }

/* ── Floating Request Callback ── */
.callback-tab {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%) rotate(0deg);
  z-index: 500;
  display: flex; flex-direction: column;
  background: #1A1A1A;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background .2s;
}
.callback-tab:hover { background: var(--green); }
.callback-tab-icon {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.callback-tab-icon svg { width: 18px; height: 18px; stroke: #2ECC71; }
.callback-tab:hover .callback-tab-icon svg { stroke: white; }
.callback-tab-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  padding: 14px 10px; white-space: nowrap;
}

/* ── Pagination ── */

/* ── FOOTER ── */
footer { background: #141414; padding: 64px 72px 36px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06); max-width: 1440px; margin: 0 auto; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer-brand-badges { display: flex; gap: 8px; margin-top: 20px; }
.fbadge { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.10); padding: 4px 10px; border-radius: 999px; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,.50); text-decoration: none; transition: color .15s; }
.footer-col li a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; max-width: 1440px; margin: 0 auto; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.20); }
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,.20); text-decoration: none; transition: color .15s; }
.footer-legal-links a:hover { color: rgba(255,255,255,.50); }
.footer-logo-wrap { display: flex; align-items: center; margin-bottom: 14px; text-decoration: none; }
.footer-logo-wrap img { height: 26px; display: block; filter: brightness(0) invert(1); }

/* ── TABLET NAV ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  nav:not(.nav-scrolled) .nav-mobile-toggle { color: rgba(255,255,255,0.9); }
  nav.nav-scrolled .nav-mobile-toggle { color: #1D1D1F; }
  .nav-mobile-toggle { color: #1D1D1F; }
  /* Hide floating callback tab on touch devices */
  .callback-tab { display: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .dom-hero { padding: 110px 40px 56px; }
  .dom-hero-stats { gap: 28px; }
  .dom-listing { padding: 28px 40px 48px; }
  .dom-listing-inner { grid-template-columns: 220px 1fr; gap: 20px; }
  .dom-grid { grid-template-columns: repeat(2,1fr); }
  /* Touch target improvements */
  .dom-cat-item { padding: 12px 12px; min-height: 44px; }
  .pg-btn { width: 44px; height: 44px; font-size: 14px; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .dom-hero { padding: 110px 24px 56px; }
  .dom-hero-stats { gap: 20px; }
  .dom-listing { padding: 20px 24px 40px; }
  .dom-listing-inner { grid-template-columns: 1fr; }
  .dom-sidebar { position: static; width: 100%; max-width: 100%; }
  .dom-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .dom-grid { grid-template-columns: 1fr; }
}




nav.nav-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
nav:not(.nav-scrolled) .nav-links a { color: rgba(255,255,255,0.90); text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
nav:not(.nav-scrolled) .nav-links a:hover { color: #fff; }
nav:not(.nav-scrolled) .btn-nav-ghost { color: rgba(255,255,255,0.90); border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); }
nav:not(.nav-scrolled) .btn-nav-ghost:hover { border-color: rgba(255,255,255,0.70); color: #fff; }
/* ══ MOBILE NAV ══ */
@media (max-width: 768px) {
  nav { height: 52px; padding: 0 16px; }
  .nav-links { display: none; }
  .btn-nav-ghost { display: none; }
  .btn-nav-primary, .btn-reg-free { font-size: 12px; padding: 10px 14px; min-height: 44px; white-space: nowrap; }
  .nav-cta { gap: 8px; }
}

@media (max-width: 480px) {
  .dom-hero { padding: 110px 20px 56px; min-height: 100svh; }
  .dom-hero-title { font-size: clamp(28px, 7vw, 40px); letter-spacing: -0.5px; }
  .dom-hero-sub { font-size: 14px; }
  .dom-hero-search { margin: 20px 0; }
  .dom-hero-search input { font-size: 14px; }
  .dom-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .dom-stat-val { font-size: 28px; }
  .dom-listing { padding: 20px 16px 40px; }
  .dom-listing-inner { grid-template-columns: 1fr; gap: 16px; }
  .dom-sidebar { position: static; }
  .dom-grid { grid-template-columns: 1fr; gap: 16px; }
  .dom-section {
  scroll-snap-align: start; padding: 40px 20px; }
  .dom-footer { padding: 36px 20px 24px; }
  .dom-footer-top { grid-template-columns: 1fr; gap: 24px; }
  .dom-hero-stats { gap: 16px; flex-wrap: wrap; }
  /* Fix actual footer element — was dead .dom-footer-top class */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px; justify-content: center; }
}
