/* JOA Trading — gold / white / navy (matches the logo). */
:root {
  --gold: #caa12b;
  --gold-l: #e4c66b;
  --gold-2: #d9b445;
  --gold-deep: #9a7817;
  --navy: #16283f;
  --navy-2: #1e3654;
  --navy-3: #26456a;
  --ink: #182740;
  --ink-2: #414d63;
  --muted: #6c7585;
  --muted-l: #b7bfcc;
  --cream: #faf7ef;
  --cream-2: #f4eddc;
  --paper: #ffffff;
  --line: #ece3ce;
  --grad: linear-gradient(135deg, #e4c66b 0%, #caa12b 55%, #b8912b 100%);
  --grad-soft: linear-gradient(135deg, #e4c66b, #caa12b);
  --grad-text: linear-gradient(135deg, #c39a2c, #8a6a15);
  --grad-navy: linear-gradient(135deg, #26456a 0%, #16283f 60%);
  --shadow: 0 20px 55px rgba(22, 40, 63, .13);
  --shadow-lg: 0 36px 90px rgba(22, 40, 63, .24);
  --glow: 0 18px 50px rgba(202, 161, 43, .38);
  --radius: 18px;
  --wrap: 1180px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.62; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--sans); line-height: 1.1; color: var(--ink); font-weight: 800; margin: 0 0 .5em; letter-spacing: -.025em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--gold-deep); font-size: .8rem; font-weight: 700; letter-spacing: .01em; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-soft); box-shadow: 0 0 0 4px rgba(202,161,43,.16); }
.pill-center { margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: .95rem; padding: 13px 24px; border-radius: 999px; border: 1.6px solid transparent; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .arw { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.btn-primary { background: var(--grad); color: var(--navy); box-shadow: 0 12px 28px rgba(202,161,43,.4); }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(202,161,43,.55); }
.btn-outline { background: #fff; color: var(--gold-deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--navy); }
.btn-white { background: #fff; color: var(--gold-deep); }
.btn-white:hover { box-shadow: 0 16px 34px rgba(0,0,0,.2); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--gold-l); background: rgba(255,255,255,.08); color: var(--gold-l); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Announcement */
.announce { background: var(--grad); color: var(--navy); font-size: .84rem; font-weight: 600; }
.announce-in { padding: 9px 24px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 9px; }
.announce .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px rgba(22,40,63,.2); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--ink-2); position: relative; }
.nav a:not(.btn):hover { color: var(--gold-deep); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad-soft); border-radius: 2px; transition: width .2s ease; }
.nav a:not(.btn):hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hero-mesh { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(48% 60% at 82% 8%, rgba(202,161,43,.24), transparent 62%),
  radial-gradient(40% 50% at 8% 92%, rgba(38,69,106,.10), transparent 60%),
  radial-gradient(30% 40% at 60% 0%, rgba(228,198,107,.18), transparent 60%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 72px 24px 90px; }
.hero-copy .pill { margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); margin-bottom: .3em; letter-spacing: -.03em; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.26rem); color: var(--ink-2); max-width: 540px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: 26px; padding: 10px; background: linear-gradient(150deg, rgba(228,198,107,.75), rgba(38,69,106,.4)); box-shadow: var(--shadow-lg); }
.hero-photo { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.chip { position: absolute; display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 15px; padding: 12px 15px; box-shadow: var(--shadow); }
.chip-ico { width: 38px; height: 38px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; color: var(--navy); background: var(--grad); }
.chip-ico svg { width: 20px; height: 20px; }
.chip strong { display: block; font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.chip small { font-size: .72rem; color: var(--muted); }
.chip-1 { top: 12%; left: -6%; }
.chip-2 { bottom: 10%; right: -5%; }
.chip-3 { bottom: 30%; left: -9%; }

/* Logos */
.logos { padding: 44px 0; border-bottom: 1px solid var(--line); background: #fff; }
.logos-title { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--muted); margin: 0 0 22px; font-weight: 700; }
.logo-strip { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 48px; padding: 0; margin: 0; }
.logo-strip li { font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; color: var(--muted-l); transition: color .2s ease; }
.logo-strip li:hover { color: var(--gold-deep); }

/* Section head */
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Features */
.features { padding: 96px 0; background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--cream), #fff); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.f-ico { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: var(--navy); background: var(--grad); margin-bottom: 18px; box-shadow: var(--glow); }
.f-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.16rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Services */
.services { padding: 96px 0; background: linear-gradient(180deg, #fff, var(--cream)); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: var(--gold-deep); background: var(--cream-2); margin-bottom: 18px; transition: .2s; }
.svc-card:hover .svc-ico { color: var(--navy); background: var(--grad); box-shadow: var(--glow); }
.svc-ico svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: 1.22rem; }
.svc-card p { color: var(--muted); margin: 0; }

/* Process */
.process { padding: 96px 0; background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-n { font-size: 2.4rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.step h3 { font-size: 1.2rem; margin: .2em 0 .35em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Stats */
.stats { background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 80% at 90% 0%, rgba(228,198,107,.24), transparent 60%); pointer-events: none; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 64px 24px; text-align: center; }
.stat-num { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; color: var(--gold-l); }
.stat-label { color: #c6d0de; font-size: .95rem; }

/* About */
.about { padding: 100px 0; background: #fff; }
.about-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-card { position: relative; border-radius: 26px; aspect-ratio: 1/1; background: var(--grad-navy); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); overflow: hidden; }
.about-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 45% at 75% 20%, rgba(228,198,107,.4), transparent 65%); }
.about-logo { width: 62%; height: auto; background: #fff; border-radius: 20px; padding: 20px; position: relative; z-index: 1; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.about-badge { position: absolute; bottom: -18px; right: -14px; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 14px 18px; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-size: 1.1rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-badge small { color: var(--muted); font-size: .8rem; }
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.about-copy p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream-2); color: var(--gold-deep); font-size: .8rem; font-weight: 800; }

/* Quotes */
.quotes { padding: 96px 0; background: linear-gradient(180deg, var(--cream), #fff); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.q-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; color: var(--ink); font-weight: 500; line-height: 1.55; }
.quote figcaption { color: var(--muted); font-size: .88rem; font-weight: 600; }

/* CTA */
.cta-wrap { padding: 40px 0 96px; background: #fff; }
.cta { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; border-radius: 30px; text-align: center; padding: 76px 32px; box-shadow: var(--shadow-lg); }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(42% 120% at 85% 0%, rgba(228,198,107,.34), transparent 55%), radial-gradient(40% 120% at 10% 100%, rgba(202,161,43,.2), transparent 55%); pointer-events: none; }
.cta h2 { position: relative; color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.cta p { position: relative; color: #cdd6e3; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { position: relative; justify-content: center; }

/* Contact */
.contact { padding: 100px 0; background: var(--cream); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 16px 0 12px; }
.contact-copy p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 1.06rem; font-weight: 600; }
.ci { width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); background: var(--grad); border-radius: 13px; box-shadow: var(--glow); }
.ci svg { width: 22px; height: 22px; }
.ci-text { font-weight: 500; color: var(--muted); }
.contact-list a:hover { color: var(--gold-deep); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: .95rem; background: var(--cream); color: var(--ink); resize: vertical; transition: border-color .15s, box-shadow .15s, background .15s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(202,161,43,.2); }
.form-note { font-size: .9rem; margin: 12px 0 0; min-height: 1.2em; }
.form-note.ok { color: #1c7a4a; }
.form-note.err { color: #b3261e; }

/* Footer */
.footer { background: #12203a; color: #c4cddb; padding: 66px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 34px; }
.footer-logo { height: 40px; width: auto; background: #fff; border-radius: 10px; padding: 10px 14px; }
.footer-brand p { margin-top: 16px; max-width: 260px; color: #98a3b6; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: #aeb8c8; font-size: .95rem; }
.footer-col a:hover { color: var(--gold-l); }
.footer-plain { display: block; padding: 5px 0; color: #828da2; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #828da2; }
.footer-secure { color: var(--gold-l); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 404 */
.errpage { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(160deg, var(--cream), #fff); }
.errpage .hero-in { grid-template-columns: 1fr; }
.err-inner { text-align: center; margin: 0 auto; }
.err-logo { height: 56px; width: auto; margin: 0 auto 24px; }
.err-h1 { color: var(--ink); }
.err-lede { margin-left: auto; margin-right: auto; color: var(--ink-2); }
.err-actions { justify-content: center; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 560px; }
  .feature-grid, .svc-grid, .steps, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .about-in { grid-template-columns: 1fr; gap: 54px; }
  .about-media { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px 26px; gap: 6px; transform: translateY(-150%); transition: transform .28s ease; box-shadow: var(--shadow); }
  .nav.open { transform: translateY(0); }
  .nav a:not(.btn) { padding: 12px 4px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .feature-grid, .svc-grid, .steps, .quote-grid, .stats-grid, .contact-in, .footer-grid { grid-template-columns: 1fr; }
  .chip-1 { left: 2%; } .chip-2 { right: 2%; } .chip-3 { display: none; }
  .cta { padding: 56px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature:hover, .svc-card:hover { transform: none; }
}
