
/* XM Sports Trade — B2B wholesale / OEM (sporty deep blue / charcoal) */
:root {
  --ink: #0f1720;
  --charcoal: #1a2332;
  --espresso: #152238;
  --saddle: #1e3a5f;
  --tan: #3b6ea5;
  --camel: #5b8fc7;
  --cream: #e8eef6;
  --parchment: #f4f7fb;
  --white: #ffffff;
  --muted: #5a6a7a;
  --line: #d4dde8;
  --accent: #1e4d8c;
  --accent-hover: #163a6b;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(15, 23, 32, 0.08);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--ink); font-weight: 700; letter-spacing: 0.02em;
}
.brand img {
  width: 40px; height: 40px; border-radius: 8px;
  object-fit: cover; border: 1px solid var(--line);
}
.brand span { font-size: 1.05rem; }
.nav-links {
  display: flex; align-items: center; gap: 1.25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--charcoal); font-size: 0.95rem; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--espresso) !important; color: var(--cream) !important;
  padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--saddle) !important; }
.lang-switch { font-size: 0.85rem; color: var(--muted); }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--white);
  border-radius: 8px; padding: 0.45rem 0.7rem; cursor: pointer;
}

/* Products dropdown */
.nav-item-has-dropdown { position: relative; }
.nav-item-has-dropdown > a::after {
  content: " ▾"; font-size: 0.7em; opacity: 0.7;
}
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); list-style: none; margin: 0.35rem 0 0; padding: 0.4rem 0;
  z-index: 60;
}
.nav-dropdown a {
  display: block; padding: 0.45rem 1rem; font-size: 0.9rem; color: var(--charcoal);
}
.nav-dropdown a:hover { background: var(--cream); color: var(--accent); }
.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown { display: block; }

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(59, 110, 165, 0.18), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--saddle); margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15; margin: 0 0 1rem; color: var(--espresso);
}
.hero-lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--espresso); color: var(--cream); }
.btn-primary:hover { background: var(--saddle); color: var(--white); }
.btn-secondary {
  background: transparent; color: var(--espresso); border-color: var(--camel);
}
.btn-secondary:hover { border-color: var(--saddle); color: var(--saddle); }
.hero-meta { font-size: 0.9rem; color: var(--muted); }
.hero-meta a { font-weight: 600; }

.hero-card {
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.placeholder-visual {
  aspect-ratio: 4/3; display: grid; place-items: center;
  position: relative; color: var(--cream); text-align: center; padding: 1.5rem;
}
.placeholder-visual .label {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(15,23,32,0.55); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.25rem 0.5rem; border-radius: 4px;
}
.placeholder-visual img {
  width: 72px; height: 72px; margin: 0 auto 0.75rem; opacity: 0.95;
}
.pv-pickleball { background: linear-gradient(145deg, #152238, #1e4d8c 45%, #5b8fc7); }
.pv-padel { background: linear-gradient(145deg, #0f1720, #1e3a5f 50%, #3b6ea5); }
.pv-tennis { background: linear-gradient(145deg, #1a2332, #2a5a3a 40%, #6b9b6a); }
.pv-badminton { background: linear-gradient(145deg, #152238, #3a4a6b 45%, #7a8fb0); }
.pv-squash { background: linear-gradient(145deg, #1a2332, #4a3060 40%, #8a6aa0); }
.pv-balls { background: linear-gradient(145deg, #0f1720, #1e4d8c 50%, #c45c26); }
.pv-generic { background: linear-gradient(145deg, #152238, #3b6ea5); }
.placeholder-visual strong { font-size: 1.2rem; display: block; margin-bottom: 0.35rem; }
.placeholder-visual small { opacity: 0.85; font-size: 0.85rem; }
.hero-card-body { padding: 1.15rem 1.25rem 1.35rem; }
.hero-card-body h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.hero-card-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Sections */
section { padding: 3rem 0; }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head h2 {
  margin: 0 0 0.5rem; font-size: clamp(1.4rem, 3vw, 1.85rem); color: var(--espresso);
}
.section-head p { margin: 0; color: var(--muted); }
.band { background: var(--white); border-block: 1px solid var(--line); }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(15,23,32,0.04);
  display: flex; flex-direction: column;
}
.card-body { padding: 1.15rem 1.2rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--espresso); }
.card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; flex: 1; }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--saddle); background: #e0eaf5; padding: 0.2rem 0.5rem;
  border-radius: 4px; margin-bottom: 0.65rem;
}
.card .btn { align-self: flex-start; }

.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.pillar {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem;
}
.pillar strong { display: block; color: var(--espresso); margin-bottom: 0.35rem; }
.pillar p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.cta-band {
  background: linear-gradient(120deg, var(--espresso), #1e3a5f);
  color: var(--cream); border-radius: 16px; padding: 2rem 1.75rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.cta-band h2 { margin: 0 0 0.4rem; color: var(--white); font-size: 1.45rem; }
.cta-band p { margin: 0; opacity: 0.9; max-width: 32rem; }
.cta-band .btn-primary { background: var(--camel); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--cream); }
.cta-band .btn-secondary { border-color: rgba(255,255,255,0.4); color: var(--cream); }
.cta-band .btn-secondary:hover { border-color: var(--cream); color: var(--white); }

/* Products detail */
.product-block {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.75rem;
  align-items: start; margin-bottom: 2.5rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.product-block .placeholder-visual { border-radius: 0; min-height: 260px; }
.product-copy { padding: 1.5rem 1.5rem 1.75rem; }
.product-copy h2 { margin: 0 0 0.6rem; color: var(--espresso); }
.product-copy ul { margin: 0.75rem 0 1.25rem; padding-left: 1.15rem; color: var(--muted); }
.product-copy li { margin-bottom: 0.35rem; }
.spec-row {
  display: grid; grid-template-columns: 8rem 1fr; gap: 0.35rem 0.75rem;
  font-size: 0.92rem; margin-bottom: 1rem;
}
.spec-row dt { color: var(--muted); font-weight: 600; }
.spec-row dd { margin: 0; color: var(--ink); }

.series-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin: 1.25rem 0;
}
.series-card {
  background: var(--parchment); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
}
.series-card h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--espresso); }
.series-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.oem-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
  margin: 1rem 0 1.25rem; background: var(--white);
}
.oem-table th, .oem-table td {
  border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left;
}
.oem-table th { background: var(--cream); color: var(--espresso); font-weight: 600; }
.oem-table td { color: var(--muted); }

/* OEM */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step;
}
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--espresso); color: var(--cream);
  font-weight: 700; font-size: 0.85rem; margin-bottom: 0.75rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Form */
.form-wrap {
  max-width: 640px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.5rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 0.35rem;
}
input, select, textarea {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; background: var(--parchment); color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(30, 77, 140, 0.35); border-color: var(--tan);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.form-status {
  display: none; margin-top: 1rem; padding: 0.85rem 1rem;
  border-radius: 8px; background: #e8f0ea; color: #2d5a27; font-size: 0.92rem;
}
.form-status.show { display: block; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Footer */
.site-footer {
  margin-top: 2rem; padding: 2rem 0 2.5rem;
  background: var(--charcoal); color: #c5d0dc;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
}
.site-footer h3 { color: var(--cream); margin: 0 0 0.6rem; font-size: 1rem; }
.site-footer p, .site-footer a { color: #a8b8c8; font-size: 0.92rem; }
.site-footer a:hover { color: var(--cream); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-bottom {
  margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; color: #7a8a9a;
}

/* Notice strip */
.b2b-strip {
  background: var(--espresso); color: var(--cream);
  font-size: 0.82rem; text-align: center; padding: 0.45rem 1rem;
}
.b2b-strip strong { color: var(--camel); }

@media (max-width: 900px) {
  .hero-grid, .product-block, .pillars, .steps, .footer-grid, .grid-3, .grid-2, .series-grid {
    grid-template-columns: 1fr;
  }
  .pillars { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--parchment); border-bottom: 1px solid var(--line);
    padding: 1rem; gap: 0.75rem;
  }
  .nav-links.open { display: flex; }
  .nav { position: relative; }
  .nav-dropdown {
    position: static; display: none; box-shadow: none; border: none;
    background: transparent; padding-left: 0.75rem;
  }
  .nav-item-has-dropdown.open .nav-dropdown,
  .nav-links.open .nav-dropdown { display: block; }
  .nav-item-has-dropdown > a::after { content: ""; }
}
@media (max-width: 560px) {
  .pillars, .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.25rem 0 2rem; }
}
