:root {
  color-scheme: light;
  --ink: #0e1c2f;
  --muted: #5a6a7a;
  --line: #d8dfe6;
  --paper: #ffffff;
  --soft: #f2f4f7;
  --deep: #0a1628;
  --teal: #0a1628;
  --gold: #c9960c;
  --gold-light: #e8b84b;
  --silver: #b8c4cc;
  --navy: #0a1628;
  --navy-mid: #132240;
  --red: #c9960c;
  --shadow: 0 18px 50px rgba(10, 22, 40, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(219, 226, 231, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(10, 22, 40, 0.28);
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--navy-mid);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 5vw, 76px) 42px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 40%, rgba(255, 255, 255, 0.55) 62%, rgba(255, 255, 255, 0.04) 100%),
    url("assets/hero-trading.webp") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.17rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: #344047;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 76px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  max-width: 560px;
  overflow: hidden;
  border: 1px solid rgba(219, 226, 231, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section,
.band {
  padding: 88px clamp(18px, 5vw, 76px);
}

.band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  background: var(--deep);
}

.band h2,
.band p:not(.eyebrow) {
  color: #fff;
}

.band .eyebrow {
  color: var(--gold-light);
}

.band p:not(.eyebrow) {
  margin-bottom: 0;
  opacity: 0.84;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.product-list article,
.timeline article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-grid article {
  min-height: 260px;
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 6px;
  color: #fff;
  background: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
}

.products {
  background: var(--soft);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 18px;
}

.featured-product {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 43, 46, 0.05) 0%, rgba(13, 43, 46, 0.9) 100%),
    url("assets/product-categories.webp") right center / cover no-repeat;
  box-shadow: var(--shadow);
}

.featured-product h3,
.featured-product p {
  color: #fff;
}

.featured-product p {
  margin-bottom: 0;
  opacity: 0.88;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-list article {
  padding: 28px;
  min-height: 226px;
}

.markets {
  background: var(--paper);
}

.market-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.market-tag {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.market-tag:hover {
  background: #e6e9ef;
  color: var(--ink);
}

.market-tag.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.market-panels {
  position: relative;
}

.market-panel {
  display: none;
}

.market-panel.active {
  display: block;
  animation: fadePanel 0.22s ease;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.market-panel-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(24px, 5vw, 64px);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.market-panel-text h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.market-panel-text p {
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.market-panel-text p:last-child {
  margin-bottom: 0;
}

.market-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 4vw, 48px);
}

.market-meta-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.market-meta-item:first-child {
  padding-top: 0;
}

.market-meta-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.market-meta-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.market-panel-meta .button {
  margin-top: 22px;
  width: 100%;
}

@media (max-width: 780px) {
  .market-panel-inner {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .market-panel-meta {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }
}

.process {
  background: #fbfaf7;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  min-height: 230px;
  padding: 24px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 6vw, 80px);
  padding: 88px clamp(18px, 5vw, 76px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.82)),
    url("assets/hero-trading.webp") center right / cover no-repeat;
}

.contact h2,
.contact p {
  color: #fff;
}

.contact p:not(.eyebrow) {
  max-width: 680px;
  opacity: 0.86;
}

.contact-panel {
  padding: 24px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.button.full {
  width: 100%;
  margin-bottom: 22px;
}

dl {
  margin: 0;
}

dl div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

address {
  font-style: normal;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 76px);
  background: #060e1c;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

footer address {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}


/* ── Contact Form ─────────────────────────────────────────── */

.form-section {
  background: var(--soft);
}

.contact-form {
  max-width: 780px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-field label {
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field label span {
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6972' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 12, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a8b4bc;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.submit-btn {
  min-width: 180px;
  min-height: 52px;
  font-size: 1rem;
  margin-top: 4px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    padding-top: 92px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.3) 100%),
      url("assets/hero-trading.webp") 62% bottom / auto 64% no-repeat;
  }

  .hero-stats {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(3, 1fr);
  }

  .band,
  .product-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-logo {
    height: 42px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 740px;
    padding: 52px 18px 180px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 50%, rgba(255, 255, 255, 0.35) 100%),
      url("assets/hero-trading.webp") 62% bottom / auto 48% no-repeat;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.8rem);
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    bottom: 16px;
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section,
  .band,
  .contact {
    padding: 58px 18px;
  }

  .service-grid,
  .product-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .featured-product {
    min-height: 360px;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 8px;
  }
}
