/* Trade Sourcing International — landing page
   Palette is built around freight: deep cargo green, container amber, port grey. */

:root {
  --ink: #07301F;
  --brand: #0B5D3B;
  --brand-soft: #E8F1EC;
  --accent: #E8A020;
  --accent-soft: #FDF3E0;
  --paper: #FFFFFF;
  --page: #F5F8F6;
  --line: #D9E3DC;
  --muted: #5D6E66;
  --danger: #B3261E;
  --radius: 14px;
  --shell: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: #16221C;
  font-family: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 700;
}

h1 { font-size: clamp(28px, 5.2vw, 46px); letter-spacing: -0.01em; }
h2 { font-size: clamp(23px, 3.6vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 16px; }
a { color: var(--brand); }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
section { padding: 62px 0; }
section.tight { padding: 42px 0; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #DCEAE2; }
.bg-ink h2, .bg-ink h3 { color: #fff; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: #CFE2D8;
  font-size: 14px;
  padding: 9px 0;
}
.topbar .shell { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: var(--accent); text-decoration: none; }

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.masthead .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 17px; }
.brandmark img { height: 34px; width: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn-primary { background: var(--accent); color: #241902; box-shadow: 0 1px 0 #B67C10 inset; }
.btn-primary:hover { background: #F0AE33; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, #08361F 0%, #07301F 62%, #0B3E27 100%); color: #D8E9DF; padding: 56px 0 0; }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.eyebrow {
  display: inline-block;
  background: rgba(232,160,32,.16);
  border: 1px solid rgba(232,160,32,.42);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: 14px;
  margin-bottom: 18px;
}
.hero-sub { font-size: 18px; color: #BDD5C8; max-width: 52ch; }
.hero-note { font-size: 15px; color: #9FBEAF; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* the signature element: the cost ladder from factory price to your door */
.ladder { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 22px; }
.ladder h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.ladder .cap { font-size: 14px; color: #9FBEAF; margin-bottom: 18px; }
.rung { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.rung:last-of-type { border-bottom: 0; }
.rung .step { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(232,160,32,.18); color: var(--accent); font-size: 13px; display: grid; place-items: center; font-weight: 700; }
.rung .label { flex: 1; color: #E4F0E9; font-size: 16px; }
.rung .hint { font-size: 13px; color: #8FB3A1; }
.ladder .total { margin-top: 16px; background: var(--accent); color: #241902; border-radius: 10px; padding: 12px 16px; font-weight: 700; text-align: center; }

.counter { display: flex; gap: 10px; margin-top: 22px; }
.counter div { background: rgba(255,255,255,.07); border-radius: 10px; padding: 8px 14px; text-align: center; min-width: 66px; }
.counter b { display: block; font-size: 22px; color: #fff; font-family: "Anek Bangla", sans-serif; }
.counter span { font-size: 12px; color: #9FBEAF; }

.trustbar { background: #062919; border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 16px 0; }
.trustbar .shell { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; font-size: 15px; color: #A9C6B7; }

/* ---------- lists ---------- */
.pain { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 26px; }
.pain li { list-style: none; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--danger); border-radius: 10px; padding: 14px 16px; }

.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px 26px; margin: 26px 0 0; padding: 0; }
.checklist li { list-style: none; padding-left: 30px; position: relative; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- curriculum ---------- */
.modules { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.module { border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
.module > summary {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; cursor: pointer; list-style: none;
  font-family: "Anek Bangla", sans-serif; font-weight: 600; color: var(--ink);
}
.module > summary::-webkit-details-marker { display: none; }
.module .num { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 14px; }
.module .count { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 400; }
.module ol { margin: 0; padding: 0 18px 18px 74px; color: var(--muted); }
.module ol li { padding: 4px 0; }

/* ---------- offer + testimonials + faq ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 26px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.bg-ink .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #CFE2D8; }

.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.quote p { font-size: 16px; }
.quote footer { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

.faq { border-top: 1px solid var(--line); margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; cursor: pointer; font-weight: 600; font-family: "Anek Bangla", sans-serif; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; color: var(--muted); }

/* ---------- checkout ---------- */
.checkout { background: var(--brand-soft); }
.checkout-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; margin-top: 26px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel h3 { margin-bottom: 4px; }
.panel .sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
label.field { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
label.field span.req { color: var(--danger); }
.field input {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-weight: 400; background: #fff;
}
.field input:focus { border-color: var(--brand); outline: none; }
.field .help { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.summary-row.total { border-bottom: 0; font-size: 20px; font-weight: 700; color: var(--ink); font-family: "Anek Bangla", sans-serif; }
.strike { color: var(--muted); text-decoration: line-through; margin-right: 8px; }
.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-row input { flex: 1; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pay-methods span { border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; background: #fff; }
.alert { border-radius: 10px; padding: 13px 16px; margin-bottom: 16px; font-size: 15px; }
.alert-error { background: #FDECEB; color: #8F1D16; border: 1px solid #F3C6C2; }
.alert-success { background: #E8F5EE; color: #0B5D3B; border: 1px solid #BFE0CD; }

/* ---------- footer + whatsapp ---------- */
footer.site { background: var(--ink); color: #A9C6B7; padding: 34px 0; font-size: 15px; }
footer.site a { color: #CFE2D8; text-decoration: none; margin-left: 18px; }
footer.site .shell { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1FA855; color: #fff; text-decoration: none;
  padding: 13px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(7,48,31,.28);
}
.wa-float:hover { background: #17994A; }
.wa-float svg { width: 21px; height: 21px; fill: currentColor; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--ink); padding: 10px 16px;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sticky-cta .price { color: #fff; font-family: "Anek Bangla", sans-serif; font-weight: 700; }
.sticky-cta .price s { color: #8FB3A1; font-weight: 400; margin-right: 6px; }

@media (max-width: 900px) {
  .hero-grid, .checkout-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  section { padding: 46px 0; }
  .wa-float { bottom: 74px; padding: 11px 15px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
