/* ════════════════════════════════════
   TOP BAR  — light teal, dark text, marquee
   ════════════════════════════════════ */
.topbar {
  background: #e0edef;
  border-bottom: 1px solid #c3d9dc;
  overflow: hidden;
  white-space: nowrap;
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar-track {
  display: inline-flex;
  animation: scrollLeft 35s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.topbar-track:hover { animation-play-state: paused; }
.topbar-segment {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 32px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #1a2e2e;
  padding: 0 20px;
  white-space: nowrap;
}
.topbar-item svg { width: 13px; height: 13px; fill: var(--green); flex-shrink: 0; }
.topbar-item a { color: #0c6b50; font-weight: 700; text-decoration: underline; margin-left: 3px; }
.topbar-sep { color: #8fb5ba; padding: 0 4px; user-select: none; font-size: 13px; }

/* ════════════════════════════════════
   HEADER  — black bg, white logo
   ════════════════════════════════════ */
header {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.2px;
}
.logo span { color: #4ecb8d; }
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: -2px;
}

/* Desktop nav */
.main-nav {
  display: flex;
  gap: 2px;
  flex: 1;
  flex-wrap: nowrap;
}
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 6px 11px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.main-nav a.active { color: #4ecb8d; }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.search-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.search-btn:hover { border-color: rgba(255,255,255,0.45); color: #fff; }
.search-btn svg { width: 13px; height: 13px; }
.btn-sub {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.btn-sub:hover { background: #0f6e50; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* ════════════════════════════════════
   TRUST BAR  — marquee
   ════════════════════════════════════ */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  height: 38px;
  display: flex;
  align-items: center;
}
.trust-track {
  display: inline-flex;
  animation: scrollLeft 30s linear infinite;
  will-change: transform;
}
.trust-track:hover { animation-play-state: paused; }
.trust-segment {
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 0;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0 20px;
  white-space: nowrap;
}
.trust-item svg { width: 15px; height: 15px; fill: var(--green); flex-shrink: 0; }
.trust-sep { color: #ccc; padding: 0 2px; font-size: 15px; }

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ==========================
   HEADER SEARCH
========================== */

.search-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,.8);
    border-radius: 999px;
    padding: 8px 16px;
    cursor: pointer;
    transition: .2s ease;
}

.search-toggle:hover {
    color: #fff;
    border-color: rgba(255,255,255,.3);
}

.search-toggle svg {
    width: 15px;
    height: 15px;
}

.header-search {
    position: absolute;
    top: 74px;
    right: 24px;
    width: 340px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s ease;
    z-index: 999;
}

.header-search.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input {
    flex: 1;
    height: 44px;
    border: 1.5px solid #cfd8d3;
    border-radius: 999px;
    padding: 0 20px;
    outline: none;
    font-size: 14px;
    background: #fff;
}

.header-search input:focus {
    border-color: var(--green);
}

.header-search button:hover {
    background: var(--green-dark);
}

.header-search button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--green);
    color: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    flex-shrink: 0;

    transition: .2s ease;
}

.header-search button svg {
    width: 15px;
    height: 15px;
    display: block;
    flex-shrink: 0;
}

/* Mobile */

@media(max-width:768px){

.header-search {
    left: 16px;
    right: 16px;
    width: auto;
    top: 68px;
}

}