/* ==========================================================================
   ForgeSports — main stylesheet
   Brand: ink #141414 · orange #e9592b · display Kanit (italic) · body Montserrat
   ========================================================================== */

:root {
  --ink: #121212;
  --ink-2: #1a1a1a;
  --ink-3: #232323;
  --line-dark: #2f2f2f;
  --paper: #f5f4f1;
  --paper-2: #ecebe7;
  --white: #ffffff;
  --line: #e1dfda;
  --text: #1b1b1b;
  --text-2: #55524d;
  --text-3: #77736c;
  --text-inv: #f3f1ed;
  --text-inv-2: #b0aca5;
  --orange: #e9592b;
  --orange-hot: #ff6a3d;
  --orange-ink: #b8461f;          /* orange for small text on light bg (AA) */
  --orange-soft: #fbe9e2;
  --green-wa: #1fa855;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 8px 24px rgba(20, 20, 20, .06);
  --shadow-lg: 0 2px 6px rgba(20, 20, 20, .08), 0 24px 48px rgba(20, 20, 20, .12);
  --font-display: "Kanit", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--text-inv); }
.section--dark .lead, .section--dark p { color: var(--text-inv-2); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split--rev > :first-child { order: 2; } }
.stack > * + * { margin-top: 1rem; }
.grid > *, .split > *, .hero-grid > *, .quote > *, .article-layout > * { min-width: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--orange); transform: skewX(-30deg); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero--dark .eyebrow { color: var(--orange-hot); }
.h1, h1 {
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 5.2vw, 3.9rem); line-height: 1.02; letter-spacing: -.005em;
}
h2, .h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.06;
}
h2.slash::before, .h2.slash::before {
  content: "//"; color: var(--orange); margin-inline-end: .3em; letter-spacing: -.12em; font-weight: 800;
}
h3, .h3 { font-family: var(--font-body); font-style: normal; text-transform: none; font-weight: 700; font-size: 1.14rem; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
.accent { color: var(--orange); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 64ch; }
.muted { color: var(--text-3); }
.small { font-size: .875rem; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.prose { max-width: 75ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a, .link { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.section--dark .prose a, .section--dark .link, .page-hero--dark .link, .page-hero--dark .prose a { color: var(--orange-hot); }
.prose a:hover, .link:hover { text-decoration-thickness: 2px; }
.prose ul li::marker { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff; --bd: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }
.btn:hover { --bg: var(--orange-hot); --bd: var(--orange-hot); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(233, 89, 43, .28); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: #c9c6bf; }
.btn--ghost:hover { --bg: var(--white); --bd: var(--text); --fg: var(--text); box-shadow: none; }
.section--dark .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost, .page-hero--dark .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover, .page-hero--dark .btn--ghost:hover { --bg: rgba(255, 255, 255, .08); --bd: #fff; --fg: #fff; }
.section--dark .form .btn--ghost { --fg: var(--text); --bd: #c9c6bf; }
.section--dark .form .btn--ghost:hover { --bg: var(--paper); --bd: var(--text); --fg: var(--text); }
.btn--wa { --bg: var(--green-wa); --bd: var(--green-wa); }
.btn--wa:hover { --bg: #18934a; --bd: #18934a; box-shadow: 0 10px 24px rgba(31, 168, 85, .28); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(4px); }
[dir="rtl"] .arrow-link::after { content: "←"; }
[dir="rtl"] .arrow-link:hover::after { transform: translateX(-4px); }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.section--dark .arrow-link { color: var(--orange-hot); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(18, 18, 18, .92); color: var(--text-inv);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 20px; max-width: 1320px; }
.brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; flex: none; }
.brand .logo-svg { height: 34px; width: auto; }
.nav { margin-inline-start: auto; display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav > ul > li { margin: 0; position: relative; }
.nav a, .nav button.nav-parent {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px; border-radius: 8px;
  font-size: .92rem; font-weight: 600; color: var(--text-inv); text-decoration: none; background: none; border: 0; cursor: pointer;
  white-space: nowrap;
}
.nav a:hover, .nav button.nav-parent:hover, .nav a[aria-current="page"], .nav .is-active > .nav-parent { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; }
.nav-parent svg { width: 12px; height: 12px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); inset-inline-start: -8px; min-width: 330px; padding: 10px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.dropdown li { margin: 0; }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; width: 100%; }
.dropdown a span { font-size: .78rem; font-weight: 500; color: var(--text-inv-2); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .nav-parent svg, .has-dropdown.open .nav-parent svg { transform: rotate(180deg); }
.header-cta { display: none; align-items: center; gap: 10px; margin-inline-start: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { margin-inline-start: 0; }
@media (min-width: 1080px) {
  .nav { display: block; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ink); color: var(--text-inv);
  padding: 20px var(--gutter) 120px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
}
[dir="rtl"] .mobile-menu { transform: translateX(-100%);
}
.mobile-menu.open, [dir="rtl"] .mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { margin: 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu a { display: block; padding: 15px 4px; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mobile-menu a[aria-current="page"] { color: var(--orange-hot); }
.mobile-menu .group-label { padding: 18px 4px 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-inv-2); border: 0; font-weight: 700; }
.mobile-menu .sub a { padding-inline-start: 14px; font-weight: 500; }
.mobile-menu .btn-row { margin-top: 24px; }
.mobile-menu .btn { flex: 1 1 100%; }
body.menu-open { overflow: hidden; }
@media (min-width: 1080px) { .mobile-menu { display: none; } }
/* Languages with long menu labels keep the burger menu until the full menu fits on one line */
@media (min-width: 1080px) and (max-width: 1219.98px) {
  html:is([lang="es"], [lang="fr"], [lang="pt"], [lang="ru"]) .nav { display: none; }
  html:is([lang="es"], [lang="fr"], [lang="pt"], [lang="ru"]) .header-cta { margin-inline-start: auto; }
  html:is([lang="es"], [lang="fr"], [lang="pt"], [lang="ru"]) .menu-toggle { display: inline-grid; }
  html:is([lang="es"], [lang="fr"], [lang="pt"], [lang="ru"]) .mobile-menu { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--text-inv);
  padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 80% 85%, rgba(233, 89, 43, .30), transparent 60%),
    radial-gradient(40% 50% at 10% 0%, rgba(255, 255, 255, .05), transparent 70%),
    linear-gradient(115deg, transparent 0 62%, rgba(255, 106, 61, .55) 62.1%, transparent 62.35%),
    linear-gradient(115deg, transparent 0 74%, rgba(255, 255, 255, .10) 74.05%, transparent 74.2%);
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #d6d3cd; margin-bottom: 28px; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #0c0c0c; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
@media (min-width: 960px) { .hero-media { aspect-ratio: 4 / 5; } .hero-media img { object-position: 50% 60%; } }
.hero-media .badge {
  position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px; background: rgba(18, 18, 18, .72); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .82rem; color: #e9e6e0;
}
.hero-media .badge strong { color: var(--orange-hot); }

.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #eeebe6;
}
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); flex: none; }
.chips--light li { border-color: var(--line); background: var(--white); color: var(--text); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--paper); padding-block: clamp(24px, 4vw, 40px) clamp(48px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 85% 40%, rgba(233, 89, 43, .12), transparent 70%), linear-gradient(180deg, #f8f7f4, var(--paper));
}
.page-hero--dark { background: var(--ink); color: var(--text-inv); }
.page-hero--dark::before { background: radial-gradient(55% 70% at 85% 55%, rgba(233, 89, 43, .28), transparent 65%), linear-gradient(115deg, transparent 0 70%, rgba(255, 106, 61, .4) 70.1%, transparent 70.3%); }
.page-hero--dark h1, .page-hero--dark h2, .page-hero--dark h3 { color: #fff; }
.page-hero--dark .card h2, .page-hero--dark .card h3 { color: var(--text); }
.page-hero--dark .lead { color: #d6d3cd; }
.page-hero--dark .breadcrumbs, .page-hero--dark .breadcrumbs a { color: var(--text-inv-2); }
.page-hero .hero-grid { margin-top: 18px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 26px; }
.product-stage {
  position: relative; aspect-ratio: 1; max-width: 560px; margin-inline: auto; width: 100%;
  border-radius: 28px; background: radial-gradient(60% 60% at 50% 45%, #ffffff 0%, #efeee9 70%); box-shadow: inset 0 0 0 1px var(--line);
}
.page-hero--dark .product-stage { background: radial-gradient(60% 60% at 50% 45%, #3a3a3a 0%, #1a1a1a 72%); box-shadow: inset 0 0 0 1px var(--line-dark); }
.product-stage img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .18)); }
.product-stage .tag {
  position: absolute; top: 16px; inset-inline-start: 16px; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff;
  font-size: .8rem; font-weight: 600; line-height: 1.3;
}
.product-stage .tag strong { color: var(--orange-hot); font-size: 1.05rem; display: block; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .82rem; color: var(--text-3); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow);
}
.section--white .card { background: var(--paper); box-shadow: none; }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-soft); color: var(--orange-ink); margin-bottom: 14px;
}
.section--dark .card .icon { background: rgba(233, 89, 43, .14); color: var(--orange-hot); }
.card .icon svg { width: 22px; height: 22px; }

.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d4d1ca; }
.product-card .media { aspect-ratio: 1 / .86; background: radial-gradient(70% 70% at 50% 45%, #fff 0%, #eeede8 75%); display: grid; place-items: center; padding: 6%; }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { margin: 0; font-size: 1.12rem; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card .meta { font-size: .86rem; color: var(--text-2); }
.product-card .price { font-weight: 700; color: var(--orange-ink); }
.product-card .arrow-link { margin-top: auto; padding-top: 8px; }
@media (max-width: 520px) {
  .grid-products-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-products-compact .product-card .body { padding: 12px 12px 14px; }
  .grid-products-compact .product-card h3 { font-size: .98rem; }
  .grid-products-compact .product-card .meta { font-size: .78rem; }
  .grid-products-compact .product-card .desc { display: none; }
}

/* Item rows (product variants inside a category page) */
.item {
  display: grid; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(16px, 2.4vw, 24px);
}
@media (min-width: 720px) { .item { grid-template-columns: 220px 1fr; gap: 28px; } }
.item .media { aspect-ratio: 1; border-radius: 12px; background: radial-gradient(70% 70% at 50% 45%, #fff 0%, #eeede8 75%); padding: 8%; }
.item .media img { width: 100%; height: 100%; object-fit: contain; }
.item h3 { margin-bottom: 6px; }
.item .from { display: inline-block; margin-bottom: 10px; font-weight: 700; color: var(--orange-ink); }
.item ul { margin-bottom: 0; }
.section--white .item { background: var(--paper); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--ink); padding: clamp(18px, 3vw, 28px); }
.stat .num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; color: #fff; }
.stat .num .accent { color: var(--orange-hot); }
.stat .label { margin-top: 10px; font-size: .88rem; color: var(--text-inv-2); line-height: 1.45; }
.sources { margin-top: 18px; font-size: .78rem; color: var(--text-inv-2); }
.sources a { color: inherit; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table-wrap table { min-width: 560px; }
.section--white .table-wrap { background: var(--white); }
th, td { padding: 13px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .94rem; }
thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
tbody tr:nth-child(even) td { background: #fbf7f5; }
tbody tr:last-child td { border-bottom: 0; }
td.price, th.price { text-align: end; white-space: nowrap; }
td.price { font-weight: 700; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.table-note { margin-top: 12px; font-size: .84rem; color: var(--text-3); }
/* Stacked price table on small screens */
@media (max-width: 640px) {
  .table-stack table { min-width: 0; }
  .table-stack thead { display: none; }
  .table-stack tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table-stack tbody tr:nth-child(even) td { background: none; }
  .table-stack tbody tr:nth-child(even) { background: #fbf7f5; }
  .table-stack td { border: 0; padding: 0; font-size: .92rem; }
  .table-stack td[data-label]::before { content: attr(data-label) ": "; color: var(--text-3); font-weight: 500; }
  .table-stack td:first-child { grid-column: 1 / -1; font-weight: 700; }
  .table-stack td.price { grid-column: 2; grid-row: 2 / span 3; align-self: center; font-size: 1.1rem; }
  .table-stack td.price::before { display: none; }
}

/* ---------- Steps (how we work) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.steps li {
  margin: 0; position: relative; counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding-block: 22px; padding-inline: 78px 22px; min-height: 100%;
}
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 20px; top: 20px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.steps h3 { margin-bottom: 6px; font-size: 1.04rem; }
.steps p { margin: 0; color: var(--text-2); font-size: .94rem; }
.section--white .steps li { background: var(--paper); }
.section--dark .steps li { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .steps li::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(233, 89, 43, .2); }

/* ---------- Feature list / checks ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-inline-start: 30px; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.kv dt { font-weight: 700; color: var(--text); }
.kv dd { margin: 0; color: var(--text-2); }
.section--dark .kv dt { color: #fff; }
.section--dark .kv dd { color: var(--text-inv-2); }

/* ---------- Callouts ---------- */
.callout { border-inline-start: 4px solid var(--orange); background: var(--orange-soft); padding: 16px 18px; border-start-end-radius: 12px; border-end-end-radius: 12px; margin: 1.4em 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--dark { background: var(--ink-2); color: var(--text-inv); border-inline-start-color: var(--orange); }
.callout--note { background: #f0efea; border-inline-start-color: #8b877f; }
.callout > strong:first-child { display: block; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.section--white .faq-item { background: var(--paper); }
.faq-item summary {
  list-style: none; cursor: pointer; padding-block: 18px; padding-inline: 20px 54px; position: relative; font-weight: 700; font-size: 1.02rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 500; font-size: 1.2rem; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; background: var(--orange); }
.faq-item .answer { padding: 0 20px 18px; color: var(--text-2); }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 56px);
  isolation: isolate;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 100% 100%, rgba(233, 89, 43, .45), transparent 70%), linear-gradient(115deg, transparent 0 78%, rgba(255, 106, 61, .5) 78.1%, transparent 78.3%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6d3cd; max-width: 60ch; }

/* ---------- Quote form ---------- */
.quote { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .quote { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.quote-aside .contact-lines { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.quote-aside .contact-lines li { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.quote-aside .contact-lines svg { width: 22px; height: 22px; color: var(--orange-hot); flex: none; margin-top: 2px; }
.quote-aside .contact-lines a { text-decoration: none; }
.quote-aside .contact-lines a:hover { text-decoration: underline; }
.form { background: var(--white); color: var(--text); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 6px; }
.field label .req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #d6d3cc; background: #fcfbf9; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(233, 89, 43, .15); background: #fff; }
.field .hint { font-size: .78rem; color: var(--text-3); margin-top: 5px; }
.form .btn-row { margin-top: 18px; }
.form .btn { flex: 1 1 220px; }
.form-note { font-size: .8rem; color: var(--text-3); margin: 14px 0 0; }
.form .link, .section--dark .form .link { color: var(--orange-ink); }
.form-error { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #a1281a; font-size: .9rem; font-weight: 600; }
.form-error.show { display: block; }
.field.invalid input, .field.invalid select { border-color: #d33b2a; }

/* ---------- Duty / market cards ---------- */
.market { display: flex; flex-direction: column; gap: 6px; }
.market .rate { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--orange-ink); }
.section--dark .market .rate { color: var(--orange-hot); }
.market .flag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.section--dark .market .flag { color: var(--text-inv-2); }

/* ---------- Guides / article ---------- */
.article-layout { display: grid; gap: 40px; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } }
.toc { align-self: start; font-size: .9rem; }
@media (min-width: 1040px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.toc summary { cursor: pointer; font-weight: 700; }
.toc ol { margin: 10px 0 0; padding-inline-start: 1.1em; }
.toc li + li { margin-top: .4em; }
.toc a { text-decoration: none; color: var(--text-2); }
.toc a:hover { color: var(--orange-ink); text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--text-3); margin-bottom: 8px; }
.page-hero--dark .article-meta { color: var(--text-inv-2); }
.article .prose { max-width: 760px; }
.article .prose h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.article .prose .table-wrap { margin: 1.2em 0 1.6em; }
.article .prose figure { margin: 1.6em 0; }
.article .prose figcaption { font-size: .84rem; color: var(--text-3); margin-top: 8px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; height: 100%; transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.guide-card .kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.guide-card h3 { margin: 0; font-size: 1.18rem; }
.guide-card p { color: var(--text-2); margin: 0; font-size: .95rem; }
.guide-card .arrow-link { margin-top: auto; }

/* ---------- Logos / pills ---------- */
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-size: .76rem; font-weight: 700; }
.section--dark .pill { background: rgba(233, 89, 43, .16); color: var(--orange-hot); }
.disambig { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px dashed #cfcbc4; font-size: .92rem; color: var(--text-2); max-width: 640px; }
.disambig strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: #0d0d0d; color: var(--text-inv-2); padding-block: 64px 32px; font-size: .92rem; }
.site-footer a { color: var(--text-inv); text-decoration: none; }
.site-footer a:hover { color: var(--orange-hot); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand .logo-svg { height: 38px; width: auto; color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; }
.site-footer h2 { font-family: var(--font-body); font-style: normal; text-transform: uppercase; font-size: .76rem; letter-spacing: .16em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 9px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange-hot); flex: none; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer .social .icon-btn { color: #fff; }
.site-footer .social .icon-btn:hover { color: var(--orange-hot); border-color: var(--orange-hot); text-decoration: none; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #222; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .8rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(18, 18, 18, .96); border-top: 1px solid #262626;
}
.mobile-bar .btn { min-height: 46px; padding: 10px 12px; font-size: .92rem; }
body { padding-bottom: 76px; }
@media (min-width: 1080px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 24px; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.updated { font-size: .8rem; color: var(--text-3); }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; flex: none; margin-inline-start: auto; }
@media (min-width: 1080px) { .lang-switch { margin-inline-start: 0; } }
.lang-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: rgba(255, 255, 255, .08); }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 190px; margin: 0; padding: 8px; list-style: none;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto;
}
.lang-menu li { margin: 0; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text-inv); text-decoration: none; font-weight: 600; font-size: .95rem; text-align: start; }
.lang-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.lang-menu a[aria-current="true"] { color: var(--orange-hot); }
.footer-langs { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .86rem; }
.footer-langs-label { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.footer-langs-label svg { width: 16px; height: 16px; color: var(--orange-hot); }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer .footer-langs li + li { margin-top: 0; }
.footer-langs a[aria-current="true"] { color: var(--orange-hot); }

/* Suggests the visitor's browser language when they land on another one */
.lang-banner { background: var(--orange); color: #fff; font-size: .92rem; }
.lang-banner .container { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-block: 6px; }
.lang-banner a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.lang-banner button { margin-inline-start: auto; flex: none; width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }

/* Root language picker (fallback page for '/') */
.lang-picker .hero { min-height: 100vh; display: grid; align-items: center; }
.lang-picker .brand .logo-svg { height: 40px; width: auto; margin-bottom: 28px; }
.lang-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.lang-grid li { margin: 0; }
.lang-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; }
.lang-card:hover { border-color: var(--orange-hot); background: rgba(233, 89, 43, .12); }
.lang-card strong { font-size: 1.15rem; }
.lang-card span { font-size: .82rem; color: var(--text-inv-2); line-height: 1.45; }
.lang-card[lang="ur"] strong, .lang-card[lang="ur"] span { font-family: "Noto Nastaliq Urdu", serif; line-height: 2; }
.lang-card[lang="ar"] strong, .lang-card[lang="ar"] span { font-family: "Cairo", sans-serif; }
.lang-card[lang^="zh"] strong, .lang-card[lang^="zh"] span { font-family: "Noto Sans SC", sans-serif; }
.lang-card[lang="hi"] strong, .lang-card[lang="hi"] span { font-family: "Mukta", sans-serif; }
.lang-card[lang="bn"] strong, .lang-card[lang="bn"] span { font-family: "Hind Siliguri", sans-serif; }

/* ---------- Scripts other than Latin ----------
   Kanit (display) has no Cyrillic, Arabic, Devanagari, Bengali or CJK glyphs,
   so each language gets a matching font; italics, caps and letter-spacing are
   switched off where the script doesn't use them (they break joined scripts). */
html[lang="ru"] { --font-display: "Exo 2", "Arial Narrow", system-ui, sans-serif; }
html[lang="zh-Hans"] {
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Montserrat", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
html[lang="hi"] { --font-display: "Mukta", "Nirmala UI", sans-serif; --font-body: "Montserrat", "Mukta", "Nirmala UI", system-ui, sans-serif; }
html[lang="bn"] { --font-display: "Hind Siliguri", "Nirmala UI", sans-serif; --font-body: "Montserrat", "Hind Siliguri", "Nirmala UI", system-ui, sans-serif; }
html[lang="ar"] { --font-display: "Cairo", "Segoe UI", Tahoma, sans-serif; --font-body: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif; }
html[lang="ur"] {
  --font-display: "Montserrat", "Noto Nastaliq Urdu", "Noto Naskh Arabic", "Jameel Noori Nastaleeq", serif;
  --font-body: "Montserrat", "Noto Naskh Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
}
html:is([lang="zh-Hans"], [lang="hi"], [lang="bn"], [lang="ar"], [lang="ur"]) :is(h1, .h1, h2, .h2, .stat .num, .market .rate) { font-style: normal; text-transform: none; }
html:is([lang="hi"], [lang="bn"], [lang="ar"], [lang="ur"]) * { letter-spacing: normal !important; }
html:is([lang="zh-Hans"], [lang="hi"], [lang="bn"]) body { line-height: 1.8; }
html[lang="hi"] body { font-size: 1.05rem; }
html:is([lang="zh-Hans"]) :is(h1, .h1) { font-weight: 900; line-height: 1.2; letter-spacing: .01em; }
html:is([lang="zh-Hans"]) :is(h2, .h2) { font-weight: 700; line-height: 1.3; }
html:is([lang="hi"], [lang="bn"]) :is(h1, .h1) { font-weight: 700; line-height: 1.3; }
html:is([lang="hi"], [lang="bn"]) :is(h2, .h2) { line-height: 1.35; }
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] :is(h1, .h1) { font-weight: 800; line-height: 1.35; }
html[lang="ar"] :is(h2, .h2) { line-height: 1.4; }
html[lang="ur"] body { line-height: 2; font-size: 1.04rem; }
html[lang="ur"] :is(h1, .h1) { font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.9; }
html[lang="ur"] :is(h2, .h2) { font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.9; }
html[lang="ur"] :is(.lead, .hero .lead) { font-family: "Montserrat", "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif; line-height: 2.2; }
html[lang="ur"] .btn { line-height: 1.6; }
html[dir="rtl"] .eyebrow::before { transform: skewX(30deg); }
html[dir="rtl"] .hero-media .badge, html[dir="rtl"] .lang-menu a { text-align: right; }
/* Latin-only bits inside RTL text (emails, phone numbers) */
html[dir="rtl"] :is(input[type="email"], a[href^="mailto:"], a[href^="tel:"]) { unicode-bidi: plaintext; }
