/* ==========================================================================
   LogNex Forwarders — Section styles
   ========================================================================== */

/* --- Reveal animation ---------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.eyebrow--dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  /* Never collapse below a generous floor, so the negative space and cinematic
     composition stay consistent from large desktops down through tablets. */
  min-height: max(100svh, 720px);
  display: flex;
  align-items: flex-end;
  padding-top: clamp(7rem, 18vh, 12rem);
  padding-bottom: clamp(3.5rem, 8vh, 6.5rem);
  isolation: isolate;
  overflow: hidden;
}
@media (max-width: 600px) { .hero { min-height: max(100svh, 600px); } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 11, 18, 0.52);
}
.hero__inner {
  display: flex;
  align-items: flex-end;
  width: 100%;
}
.hero__content { color: #fff; max-width: 46rem; }
.hero__title { max-width: 14ch; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 1rem 0.5rem 0.5rem; border-radius: var(--r-pill);
  margin-bottom: var(--sp-5);
}
.hero__avatars { display: inline-flex; }
.hero__avatars i {
  width: 26px; height: 26px; border-radius: 50%; display: block;
  background: var(--accent);
  border: 2px solid rgba(255,255,255,0.5); margin-left: -8px;
}
.hero__avatars i:first-child { margin-left: 0; }
.hero__title {
  font-size: var(--fs-h1); color: #fff; margin-bottom: var(--sp-5);
}
.hero__lead { color: rgba(255,255,255,0.82); font-size: var(--fs-lead); max-width: 40ch; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hero__card {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--r-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-glass);
  color: var(--text);
  justify-self: end;
  max-width: 360px;
}
.hero__card img { border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hero__card p { font-size: 0.975rem; padding: var(--sp-4) var(--sp-3) var(--sp-3); }
.hero__card-cta { margin: 0 var(--sp-3) var(--sp-3); }

.hero__scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: var(--r-pill);
  display: grid; justify-items: center; padding-top: 7px; z-index: 1;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { justify-self: stretch; max-width: 460px; }
}

/* ==========================================================================
   TRUSTED / MARQUEE
   ========================================================================== */
.trusted { padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.trusted__head { display: flex; align-items: center; justify-content: center; gap: 0.85rem; margin-top: var(--sp-7); text-align: center; color: var(--text-muted); flex-wrap: wrap; }

/* ==========================================================================
   INTRO statement
   ========================================================================== */
.intro__eyebrow { background: var(--surface); }
.intro__chev { display: inline-grid; place-items: center; color: var(--accent-2); }
.intro__statement mark { background: none; color: var(--accent); }
.trustbar__num span { color: var(--accent-2); }
.intro__chev .ico { width: 15px; height: 15px; }
.intro__statement {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2.15rem); line-height: 1.35; letter-spacing: -0.02em;
  color: var(--text); max-width: 60rem;
  margin: var(--sp-5) 0 clamp(2.5rem, 5vw, 4rem);
}
.intro__statement mark { background: none; color: var(--accent); }
.intro__stats { display: grid; grid-template-columns: repeat(3, max-content); gap: clamp(2rem, 6vw, 5rem); }
.intro__stat { position: relative; padding-right: clamp(2rem, 6vw, 5rem); }
.intro__stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 6px; bottom: 6px; width: 1px; background: var(--border-strong); }
.intro__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1; color: var(--text); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.intro__label { display: block; margin-top: var(--sp-3); color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 600px) {
  .intro__stats { grid-template-columns: 1fr; gap: var(--sp-5); }
  .intro__stat { padding-right: 0; }
  .intro__stat:not(:last-child)::after { display: none; }
}
.trusted__avatars { display: inline-flex; }
.trusted__avatars i {
  width: 30px; height: 30px; border-radius: 50%; display: block; margin-left: -9px;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.trusted__avatars i:first-child { margin-left: 0; }

.marquee { position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--sp-4); width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: none; width: 220px; height: 96px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.marquee__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.marquee__item img { max-width: 160px; max-height: 48px; width: auto; height: auto; filter: grayscale(1); opacity: 0.55; transition: filter var(--t-med) var(--ease), opacity var(--t-med) var(--ease); }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { position: relative; overflow: hidden; }
/* faint quarter-circle decoration on the left, like the reference */
.about__deco { position: absolute; left: -16%; top: 12%; width: 38%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--border); opacity: 0.7; pointer-events: none; z-index: 0; }
[data-theme="dark"] .about__deco { opacity: 0.25; }
.about .container { position: relative; z-index: 1; }
.about__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-bottom: clamp(3rem, 6vw, 5rem); }
.about__title { font-size: var(--fs-h2); max-width: 16ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem); }
.about__block h3 { font-size: var(--fs-h5); margin-bottom: var(--sp-3); text-transform: none; }
.about__block p { color: var(--text-muted); max-width: 38ch; font-size: 0.975rem; }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .about__title { margin-bottom: var(--sp-6); }
}
@media (max-width: 520px) { .about__points { grid-template-columns: 1fr; } }

.about__showcase { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__showcase img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.about__contact {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--ink);
  color: #fff;
}
.about__call { color: var(--on-dark-muted); font-size: 0.95rem; margin-bottom: var(--sp-2); }
.about__call a { color: var(--indigo-300); font-weight: 600; }
.about__contact h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 2rem); max-width: 16ch; }
.about__contact-cta { display: inline-flex; align-items: center; gap: 0.85rem; color: #fff; font-weight: 600; flex: none; }
.about__contact-plus { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-2); color: #fff; display: grid; place-items: center; font-size: 1.5rem; transition: transform var(--t-med) var(--ease); }
.about__contact-cta:hover { color: #fff; }
.about__contact-cta:hover .about__contact-plus { transform: scale(1.08) rotate(90deg); }
@media (max-width: 620px) {
  .about__contact { position: static; background: var(--ink); flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--bg-alt); }
.services__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.services__title { font-size: var(--fs-h2); margin-top: var(--sp-5); }
.services__list { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 6rem); }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.srow:nth-child(even) .srow__media { order: 2; }
.srow__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.srow__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.7s var(--ease); }
.srow:hover .srow__media img { transform: scale(1.05); }
.srow__body { position: relative; }
.srow__num {
  position: absolute; top: -3.5rem; right: 0; font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-mega); line-height: 1; color: transparent;
  -webkit-text-stroke: 2px var(--border-strong); opacity: 0.7; z-index: -1; pointer-events: none;
}
.srow__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: var(--sp-4); }
.srow__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.srow__icon .ico { width: 24px; height: 24px; }
.srow:hover .srow__icon { background: var(--accent-2); color: #fff; border-color: transparent; }
.srow__tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.srow__title { font-size: var(--fs-h3); margin-bottom: var(--sp-4); max-width: 18ch; }
.srow__desc { color: var(--text-muted); max-width: 46ch; margin-bottom: var(--sp-5); }
.srow__includes-label { font-weight: 700; margin-bottom: var(--sp-3); }
.srow__includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; }
.srow__includes li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-soft); }
.srow__includes li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); -webkit-mask: url("../img/check.svg") center/12px no-repeat; mask: url("../img/check.svg") center/12px no-repeat;
}
.srow__more { margin-top: var(--sp-6); align-self: flex-start; }
@media (max-width: 880px) {
  .srow { grid-template-columns: 1fr; gap: var(--sp-5); }
  .srow:nth-child(even) .srow__media { order: 0; }
  .srow__num { position: static; font-size: 4.5rem; display: block; margin-bottom: var(--sp-2); }
  .srow__includes { grid-template-columns: 1fr; }
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp-6); align-items: end; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.industries__title { font-size: var(--fs-h2); margin-top: var(--sp-4); }
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.indcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 300px; isolation: isolate; box-shadow: var(--shadow-sm);
}
.indcard--wide { grid-column: span 2; }
.indcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.indcard__overlay { position: absolute; inset: 0; background: rgba(10,11,18,0.42); transition: background var(--t-med) var(--ease); }
.indcard:hover .indcard__overlay { background: rgba(10,11,18,0.58); }
.indcard__text { position: relative; z-index: 1; margin-top: auto; padding: var(--sp-5); color: #fff; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; }
.indcard__text h3 { color: #fff; font-size: var(--fs-h5); }
.indcard__text p { color: rgba(255,255,255,0.78); font-size: 0.95rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease); }
.indcard:hover img { transform: scale(1.07); }
.indcard:hover .indcard__text p { max-height: 5rem; opacity: 1; margin-top: 0.5rem; }
@media (max-width: 980px) { .industries__grid { grid-template-columns: 1fr 1fr; } .indcard--wide { grid-column: span 2; } }
@media (max-width: 620px) {
  .industries__head { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: 1fr; }
  .indcard--wide { grid-column: span 1; }
  .indcard__text p { max-height: 5rem; opacity: 1; margin-top: 0.5rem; }
}

/* ==========================================================================
   WHY (dark band)
   ========================================================================== */
.why { position: relative; background: var(--ink); color: var(--on-dark); padding-block: clamp(4.5rem, 9vw, 8rem); overflow: hidden; isolation: isolate; }
.why__glow { display: none; }
.why__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.why__title { color: #fff; font-size: var(--fs-h2); margin: var(--head-gap) 0 var(--sp-4); max-width: 16ch; }
.why__lead { color: var(--on-dark-muted); max-width: 46ch; margin-bottom: var(--sp-7); }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-5); margin-bottom: var(--sp-7); }
.why__list li { display: flex; gap: 0.95rem; }
.why__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: var(--indigo-300); display: grid; place-items: center; transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.why__ico .ico { width: 24px; height: 24px; }
.why__list li:hover .why__ico { background: var(--accent-2); color: #fff; transform: translateY(-3px); }
.why__text strong { display: block; color: #fff; font-weight: 700; margin-bottom: 0.2rem; }
.why__text em { color: var(--on-dark-muted); font-style: normal; font-size: 0.92rem; line-height: 1.5; }

/* Image with floating stat cards */
.why__visual { position: relative; }
.why__image { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.why__image img { width: 100%; height: 100%; object-fit: cover; }
.why__stat {
  position: absolute; width: min(78%, 320px);
  background: rgba(17,19,28,0.72); border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--r-lg); padding: clamp(1.25rem, 2.2vw, 1.75rem);
  box-shadow: var(--shadow-lg);
}
.why__stat--top { top: clamp(1rem, 3vw, 2rem); right: clamp(-1rem, -2vw, -2rem); }
.why__stat--bottom { bottom: clamp(1rem, 3vw, 2rem); left: clamp(-1rem, -2vw, -2rem); }
.why__stat--accent { background: var(--accent-2); border-color: transparent; }
.why__stat-dot { position: absolute; top: 1rem; right: 1rem; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); box-shadow: 10px 0 0 rgba(255,255,255,0.5), 0 10px 0 rgba(255,255,255,0.5), 10px 10px 0 rgba(255,255,255,0.5); }
.why__stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; display: block; margin-bottom: var(--sp-3); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.why__stat p { color: rgba(255,255,255,0.82); font-size: 0.9rem; max-width: 30ch; }
@media (max-width: 980px) { .why__inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .why__list { grid-template-columns: 1fr; }
  .why__stat { position: static; width: 100%; margin-top: var(--sp-4); }
  .why__visual { display: grid; gap: var(--sp-4); }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { background: var(--bg-alt); }
.stats__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.stats__title { font-size: var(--fs-h2); margin: var(--head-gap) 0 var(--sp-4); }
.stats__lead { max-width: 48ch; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.stat {
  position: relative; overflow: hidden;
  padding: clamp(1.75rem, 2.6vw, 2.5rem) clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.stat:hover::before { transform: scaleX(1); }
.stat__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--indigo-50); color: var(--accent); margin-bottom: var(--sp-5); }
[data-theme="dark"] .stat__ico { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.stat__ico .ico { width: 23px; height: 23px; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4.2vw, 3.25rem); line-height: 1; color: var(--text); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: var(--sp-3); color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
@media (max-width: 980px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .stats__grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   TRACKING (centerpiece)
   ========================================================================== */
.track { position: relative; padding-block: clamp(4rem, 9vw, 8rem); isolation: isolate; overflow: hidden; }
.track__bg { position: absolute; inset: 0; z-index: -1; background: var(--accent); }
.track__panel {
  max-width: 860px; margin-inline: auto; text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-glass);
  color: #fff;
}
.track__panel .eyebrow { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); color: #fff; }
.track__title { color: #fff; font-size: var(--fs-h2); margin: var(--sp-5) 0 var(--sp-3); }
.track__lead { color: rgba(255,255,255,0.82); margin-bottom: var(--sp-6); }
.track__form { display: flex; gap: 0.6rem; background: #fff; padding: 0.5rem; border-radius: var(--r-pill); max-width: 600px; margin-inline: auto; }
.track__form input { flex: 1; border: none; padding: 0.85rem 1.25rem; border-radius: var(--r-pill); color: var(--ink); background: transparent; }
.track__form input:focus-visible { outline: none; }
.track__result { margin: var(--sp-5) auto 0; max-width: 600px; padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); display: flex; flex-direction: column; gap: 0.25rem; text-align: left; }
.track__result strong { color: #fff; font-size: 1.05rem; }
.track__result span { color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.track__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-5); margin-top: var(--sp-6); color: rgba(255,255,255,0.8); }
.track__perks li { display: flex; align-items: center; gap: 0.5rem; }
.track__perks li::before { content: "✓"; color: #fff; font-weight: 700; }
@media (max-width: 560px) { .track__form { flex-direction: column; border-radius: var(--r-lg); } .track__form input { text-align: center; } }

/* ==========================================================================
   NETWORK
   ========================================================================== */
.network__head { max-width: 56rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.network__title { font-size: var(--fs-h2); margin: var(--head-gap) 0 var(--sp-4); }

/* --- Interactive trade map (no container — breathes in the layout) ------- */
.trademap { --tm-purple: var(--accent-2); --tm-land: #e3e3e7; position: relative; overflow: hidden; }
[data-theme="dark"] .trademap { --tm-land: rgba(255,255,255,0.08); }
.trademap__canvas { position: relative; min-height: 240px; opacity: 0; transition: opacity 0.9s var(--ease-out); }
.trademap.is-ready .trademap__canvas { opacity: 1; }
/* overflow:hidden clips every route to the map at any size */
.trademap__svg { width: 100%; height: auto; display: block; overflow: hidden; }

.tm-land path { fill: var(--tm-land); stroke: var(--bg); stroke-width: 0.4; }

/* Soft glow under routes for depth */
.tm-route-glow { fill: none; stroke: var(--tm-purple); stroke-width: 4; opacity: 0; stroke-linecap: round; filter: blur(4px); transition: opacity 0.4s var(--ease); }
.tm-route-glow.is-active { opacity: 0.45; }
/* Thin premium lines; opacity varies by trade volume for depth */
.tm-route { fill: none; stroke: var(--tm-purple); stroke-width: 1.3; stroke-dasharray: 2 6; stroke-linecap: round; opacity: 0; animation: tmDashFlow 1.4s linear infinite; transition: opacity 0.8s var(--ease-out), stroke-width 0.2s var(--ease); }
.trademap.is-ready .tm-route { opacity: var(--op, 0.5); }
@keyframes tmDashFlow { to { stroke-dashoffset: -16; } }
.tm-route.is-active { opacity: 1 !important; stroke-width: 2.4; }

.tm-particle { fill: #fff; stroke: var(--tm-purple); stroke-width: 1.3; }

.tm-node { cursor: pointer; }
.tm-node-hit { fill: transparent; }
.tm-node-dot { fill: var(--tm-purple); transition: r 0.2s var(--ease); }
.tm-node:hover .tm-node-dot, .tm-node.is-active .tm-node-dot, .tm-node:focus-visible .tm-node-dot { r: 6; }
.tm-node-label { fill: #4a4a52; font-family: var(--font-display); font-weight: 600; font-size: 11px; opacity: 0; transition: opacity 0.2s var(--ease); pointer-events: none; }
.tm-node:hover .tm-node-label, .tm-node.is-active .tm-node-label, .tm-node:focus-visible .tm-node-label { opacity: 1; }
.tm-node:focus-visible { outline: none; }

.tm-dest { cursor: pointer; }
.tm-dest-hit { fill: transparent; }
.tm-dest-ring { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.tm-dest-core { fill: var(--accent); }
.tm-dest-label { fill: #0a0b12; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.tm-dest.is-on .tm-dest-ring { stroke: var(--accent-hover); }
[data-theme="dark"] .tm-node-label { fill: rgba(255,255,255,0.78); }
[data-theme="dark"] .tm-dest-ring { fill: var(--ink-800); stroke: #fff; }
[data-theme="dark"] .tm-dest-core { fill: #fff; }
[data-theme="dark"] .tm-dest-label { fill: #fff; }

.trademap__tooltip {
  position: absolute; z-index: 3; pointer-events: none; max-width: 230px;
  background: #0a0b12; color: #fff; border-radius: 12px; padding: 0.85rem 1rem;
  box-shadow: 0 18px 40px rgba(10,11,18,0.28); font-size: 0.85rem; line-height: 1.4;
}
.trademap__tooltip strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; display: block; }
.tm-tip-sub { color: rgba(255,255,255,0.55); font-size: 0.75rem; }
.tm-tip-row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; color: rgba(255,255,255,0.7); }
.tm-tip-row b { color: #fff; }
.tm-tip-products { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.6rem; }
.tm-tip-products span { background: rgba(244,98,63,0.22); color: #ffc3b2; font-size: 0.72rem; padding: 0.2rem 0.5rem; border-radius: var(--r-pill); }

.trademap__legend { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2rem); justify-content: center; margin-top: var(--sp-5); color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }
.trademap__legend li { display: flex; align-items: center; gap: 0.5rem; }
.trademap__key { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.trademap__key--node { background: var(--accent-2); }
.trademap__key--dest { background: #fff; border: 3px solid var(--accent); }
.trademap__key--route { width: 18px; height: 0; border-radius: 0; border-top: 2px dashed var(--accent-2); }

@media (prefers-reduced-motion: reduce) { .trademap.is-ready .tm-route { animation: none; opacity: 0.4; } }
@media (max-width: 600px) { .tm-node-label { display: none; } .tm-dest-label { font-size: 22px; } }

/* ==========================================================================
   TESTIMONIALS (bento)
   ========================================================================== */
.testimonials__head { text-align: center; max-width: 50rem; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3rem); }
.testimonials__title { font-size: var(--fs-h2); margin-top: var(--head-gap); }

/* Credibility trust bar */
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-bottom: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.trustbar__item { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; text-align: center; border-right: 1px solid var(--border); }
.trustbar__item:last-child { border-right: 0; }
.trustbar__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text); letter-spacing: var(--tracking-tight); }
.trustbar__num span { color: var(--text-muted); font-size: 0.6em; }
.trustbar__stars { color: #f5a623; font-size: 0.85rem; letter-spacing: 1px; }
.trustbar__label { color: var(--text-muted); font-size: 0.82rem; }
@media (max-width: 700px) { .trustbar { grid-template-columns: 1fr 1fr; } .trustbar__item:nth-child(2n) { border-right: 0; } .trustbar__item:nth-child(-n+2) { padding-bottom: var(--sp-4); border-bottom: 1px solid var(--border); } }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: clamp(1rem, 1.8vw, 1.5rem); }
.tcard {
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.4vw, 2rem);
  display: flex; flex-direction: column; gap: var(--sp-4);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }

/* Featured: large indigo card spanning two columns and two rows */
.tcard--feature {
  grid-column: span 2; grid-row: span 2;
  background: var(--accent);
  color: #fff; border-color: transparent;
  justify-content: space-between;
}
.tcard--feature .tcard__quote { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.tcard--feature strong, .tcard--feature em { color: #fff; }
.tcard--feature .tcard__avatar { background: rgba(255,255,255,0.25); border: 2px solid rgba(255,255,255,0.5); }

/* Photo tile spanning two columns, single row */
.tcard--media { grid-column: span 2; grid-row: span 1; padding: 0; overflow: hidden; position: relative; min-height: 210px; }
.tcard--media img { width: 100%; height: 100%; object-fit: cover; }
.tcard--media:hover img { transform: none; }
.tcard__media-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; background: rgba(10,11,18,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: var(--r-pill); }

.tcard__stars { color: #f5a623; letter-spacing: 2px; }
.tcard--feature .tcard__stars { color: #fff; }
.tcard__quote { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.5; letter-spacing: -0.015em; color: var(--text); }
.tcard__author { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.tcard--feature .tcard__author, .tcard--ink .tcard__author { border-top-color: rgba(255,255,255,0.15); }
.tcard__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--surface-2); border: 1px solid var(--border-strong); }
.tcard--feature .tcard__avatar { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); }
.tcard__id { margin-right: auto; }
.tcard__author strong { display: block; }
.tcard__author em { font-style: normal; color: var(--text-muted); font-size: 0.9rem; }
.tcard--feature em { color: rgba(255,255,255,0.78); }
.tcard__verified { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 600; color: var(--accent); background: var(--indigo-50); padding: 0.3rem 0.6rem; border-radius: var(--r-pill); flex: none; }
.tcard__verified .ico { width: 13px; height: 13px; }
.tcard--feature .tcard__verified { color: #fff; background: rgba(255,255,255,0.18); }
[data-theme="dark"] .tcard__verified { background: color-mix(in srgb, var(--accent) 18%, transparent); }
@media (max-width: 880px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tcard--feature, .tcard--media { grid-column: span 2; grid-row: span 1; }
  .tcard--media { min-height: 260px; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tcard--feature, .tcard--media { grid-column: span 1; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.faq__title { font-size: var(--fs-h2); margin-top: var(--sp-4); }
.faq__cta { flex: none; }
.faq__body { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.faq__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: 110px; }
.faq__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.faq__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.faq__item[open] { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.25rem, 3vw, 2rem); cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); transition: background var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; background: #fff; transform: translate(-50%, -50%); transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent-2); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq__answer { padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 2.4vw, 1.6rem); }
.faq__answer p { color: var(--text-muted); max-width: 60ch; }
.faq__item[open] .faq__answer { animation: faqIn 0.35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .faq__body { grid-template-columns: 1fr; } .faq__media { display: none; } }

/* ==========================================================================
   QUOTE (get a call back)
   ========================================================================== */
.quote { background: var(--bg-alt); }
.quote__head { text-align: center; max-width: 48rem; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.quote__title { font-size: var(--fs-h2); margin-top: var(--sp-4); }
.quote__lead { margin-inline: auto; }
.quote__body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.quote__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 360px; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; }
.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-md); align-content: start; }
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.875rem; color: var(--text); letter-spacing: -0.005em; }
.field label span { color: var(--accent-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.95rem 1.15rem; border-radius: var(--r-md);
  font-size: 1rem; background: var(--bg); border: 1.5px solid var(--border-strong); color: var(--text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-400); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
/* Inline validation feedback (after the user has interacted) */
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.field input:user-invalid:focus, .field select:user-invalid:focus, .field textarea:user-invalid:focus { box-shadow: 0 0 0 4px color-mix(in srgb, #e5484d 16%, transparent); }
.field input:user-valid, .field select:user-valid { border-color: #2ba05a; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__submit { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.quote__status { font-weight: 600; margin: 0; }
.quote__status[data-state="ok"] { color: #2ba05a; }
.quote__status[data-state="error"] { color: #e5484d; }
.quote__status[data-state="pending"] { color: var(--text-muted); }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::before { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff; animation: btnSpin 0.7s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }
.btn.is-loading .btn__ico { opacity: 0; }
@media (max-width: 880px) { .quote__body { grid-template-columns: 1fr; } .quote__media { min-height: 240px; } }
@media (max-width: 520px) { .quote__form { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA — full-bleed, flows straight into the footer (no gap)
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: 0;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
  text-align: center; color: #fff;
  background: var(--ink);
}
.cta__streaks { display: none; }
.cta__ghost { position: absolute; top: 50%; left: 0; transform: translateY(-50%); z-index: -1; display: flex; width: max-content; opacity: 0.05; animation: marquee 32s linear infinite; }
.cta__ghost span { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 9vw, 7rem); letter-spacing: var(--tracking-tight); color: #fff; white-space: nowrap; padding-right: 0.4em; }
@media (prefers-reduced-motion: reduce) { .cta__ghost { animation: none; } }
.cta__content { position: relative; }
.cta__title { color: #fff; font-size: var(--fs-h2); max-width: 22ch; margin: 0 auto var(--sp-4); }
.cta__accent { color: var(--accent-2); }
.cta__lead { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 0 auto var(--sp-6); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
/* Seamless seam into the footer */
.cta + .footer { margin-top: 0; }
.cta + .footer { padding-top: clamp(3.5rem, 7vw, 6rem); }
