/* RunSports B2B site - clean Apple-style design */
:root {
  --bg: #ffffff;
  --ink: #111827;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --accent-soft: #f0fdf4;
  --dark: #0f172a;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 84px 0; }
.sec-alt { background: #f8fafc; }
.sec-narrow { max-width: 820px; }
.center { text-align: center; }
.rich-text p, .rich-text ul, .rich-text h2, .rich-text h3 { margin-bottom: 16px; }
.rich-text ul { padding-left: 22px; }
.rich-text h2 { font-size: 24px; margin-top: 28px; }
.rich-text h3 { font-size: 19px; margin-top: 22px; }

/* buttons */
.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: all .2s; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #f1f5f9; }
.btn-outline { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { font-size: 22px; }
.brand-logo { height: 34px; width: auto; }
.main-nav { display: flex; gap: 4px; align-items: center; }
.nav-link { padding: 8px 12px; border-radius: 8px; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.nav-link:hover { background: #f1f5f9; text-decoration: none; color: var(--ink); }
.nav-link.active { color: var(--accent-dark); font-weight: 600; }
.lang-link { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* hero (home) */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,6,23,.88) 0%, rgba(2,6,23,.62) 45%, rgba(2,6,23,.25) 100%); }
.hero-content { position: relative; color: #fff; max-width: 780px; padding: 100px 24px; }
.hero-title { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 22px; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.85); margin-bottom: 34px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.75); }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--dark), #1e3a2f); color: #fff; padding: 72px 0 64px; }
.page-hero-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.page-hero-sub { font-size: 17px; color: rgba(255,255,255,.8); max-width: 700px; }

/* section headings */
.sec-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.sec-sub { color: var(--muted); font-size: 16.5px; margin-bottom: 44px; max-width: 640px; }
.sec-dark { background: var(--dark); color: #fff; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: all .25s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sec-alt .feature-card { background: #fff; }
.feature-ico { font-size: 30px; margin-bottom: 14px; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { color: var(--ink-soft); font-size: 14.5px; }

/* image_text */
.image-text { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.it-reverse .it-media { order: 2; }
.it-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.it-body .sec-title { margin-bottom: 18px; }

/* stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; padding: 20px 0; }
.stat-value { font-size: 40px; font-weight: 800; color: #4ade80; letter-spacing: -.02em; }
.stat-label { color: rgba(255,255,255,.72); font-size: 14px; margin-top: 6px; }

/* cta */
.sec-cta { padding: 0; }
.cta-box { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); border-radius: 24px; padding: 64px 48px; text-align: center; color: #fff; margin: 84px auto; }
.cta-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-sub { color: rgba(255,255,255,.85); margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* logos */
.logos-title { text-align: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 26px; }
.logos-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.logo-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 22px; font-weight: 700; color: var(--ink-soft); font-size: 14px; background: #fff; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; color: inherit; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); text-decoration: none; }
.product-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-card-body { padding: 22px; }
.product-cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-short { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 12px; }
.product-link { color: var(--accent-dark); font-weight: 600; font-size: 14px; }
.product-moq { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }

/* product list rows */
.product-list { display: flex; flex-direction: column; gap: 36px; }
.product-row { display: grid; grid-template-columns: 420px 1fr; gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; align-items: center; }
.product-row-media img { border-radius: 12px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-row-title { font-size: 22px; margin-bottom: 10px; }
.product-row-actions { display: flex; gap: 12px; margin-top: 16px; }

/* product detail */
.pd-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { display: grid; gap: 14px; }
.pd-img { border-radius: var(--radius); width: 100%; }
.pd-main { box-shadow: var(--shadow); }
.pd-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 16px; }
.pd-short { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.pd-tag { background: var(--accent-soft); border: 1px solid #bbf7d0; color: var(--accent-dark); border-radius: 10px; padding: 8px 14px; font-size: 14px; margin-bottom: 10px; display: inline-block; margin-right: 8px; }
.pd-actions { display: flex; gap: 14px; margin: 22px 0; flex-wrap: wrap; }
.pd-contacts { color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.spec-table th { width: 230px; background: #f8fafc; color: var(--ink-soft); font-weight: 600; }

/* cases */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; color: inherit; }
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); text-decoration: none; }
.case-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.case-body { padding: 22px; }
.case-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.case-summary { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 12px; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; color: inherit; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); text-decoration: none; }
.blog-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-body { padding: 22px; }
.blog-tags { font-size: 12.5px; color: var(--accent-dark); font-weight: 600; margin-bottom: 8px; display: inline-block; }
.blog-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-excerpt { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 12px; }

/* article */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.article-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px; }
.article-img { border-radius: var(--radius); margin: 10px 0 30px; box-shadow: var(--shadow); }
.article-cta { background: var(--accent-soft); border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 30px; text-align: center; margin-top: 40px; }
.article-cta p { margin-bottom: 14px; font-weight: 600; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--accent); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 22px 18px; color: var(--ink-soft); font-size: 15px; }
.faq-more { text-align: center; margin-top: 40px; }
.faq-more p { margin-bottom: 14px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.contact-list li a { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; color: var(--ink); }
.contact-list li a:hover { background: #f8fafc; text-decoration: none; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; }
.ci { font-size: 20px; }
.map-wrap { margin-top: 20px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; }

/* inquiry form */
.inquiry-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.inquiry-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.inquiry-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; transition: border .2s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; min-height: 20px; }
.form-status.ok { color: var(--accent-dark); }
.form-status.err { color: #dc2626; }

/* floating chat widget */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 999; }
.chat-fab { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; border: none; font-size: 26px; cursor: pointer; box-shadow: 0 10px 30px rgba(22,163,74,.4); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab .fab-close { display: none; }
.chat-widget.open .chat-fab .fab-open { display: none; }
.chat-widget.open .chat-fab .fab-close { display: block; }
.chat-panel { position: absolute; right: 0; bottom: 74px; width: 300px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: none; overflow: hidden; }
.chat-widget.open .chat-panel { display: block; animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--dark); color: #fff; font-size: 15px; }
.chat-close { cursor: pointer; opacity: .7; }
.chat-panel-body { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.chat-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.chat-btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); color: var(--ink); background: #fff; text-align: left; width: 100%; cursor: pointer; transition: background .15s; }
.chat-btn:hover { background: #f8fafc; text-decoration: none; }
.chat-btn.wa { border-color: #bbf7d0; background: #f0fdf4; }
.chat-btn.quote { background: var(--accent); color: #fff; border-color: var(--accent); justify-content: center; }
.chat-tag { margin-left: auto; font-size: 11px; background: #dcfce7; color: var(--accent-dark); padding: 2px 8px; border-radius: 999px; }

/* modal */
.modal-mask { position: fixed; inset: 0; background: rgba(2,6,23,.6); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal { background: #fff; border-radius: 18px; padding: 30px; text-align: center; max-width: 340px; width: 90%; position: relative; }
.modal img { max-width: 220px; margin: 16px auto; border-radius: 10px; }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 18px; cursor: pointer; }

/* footer */
.site-footer { background: var(--dark); color: #cbd5e1; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-tagline { color: #4ade80; font-weight: 600; margin-bottom: 10px; font-size: 14px; }
.footer-desc { font-size: 13.5px; color: #94a3b8; max-width: 380px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: #cbd5e1; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #94a3b8; }
.footer-bottom a { color: #94a3b8; }

/* responsive */
@media (max-width: 920px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .image-text, .pd-top, .contact-grid, .product-row { grid-template-columns: 1fr; }
  .it-reverse .it-media { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .cta-box { padding: 44px 24px; margin: 56px auto; }
  .sec { padding: 56px 0; }
  .chat-panel { width: calc(100vw - 44px); max-width: 300px; }
}
