/* ============================================================
   COPELL LIMITED — HK global trading & supply chain
   ============================================================ */

:root {
  --hk-navy: #0a2540;
  --hk-navy-light: #143d66;
  --hk-blue: #2563eb;
  --hk-blue-dark: #1d4ed8;
  --hk-sky: #e8f0fa;
  --bg: #f4f7fb;
  --white: #ffffff;
  --dark: #0f172a;
  --gray: #52607a;
  --gray-light: #8494ad;
  --border: #d8e2ef;
  --font: "Segoe UI", "PingFang HK", "Microsoft JhengHei", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 15px; color: var(--dark); background: var(--bg); line-height: 1.65; }

a { color: var(--hk-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1140px, 92%); margin: 0 auto; }

.top-bar { background: var(--hk-navy); color: rgba(255,255,255,0.9); font-size: 13px; padding: 9px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: #fff; font-weight: 600; }
.top-bar .phone { font-weight: 700; font-size: 14px; }

.compliance-bar { background: var(--hk-sky); border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 12px; color: var(--gray); text-align: center; }

.site-header { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 14px rgba(10,37,64,0.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; flex-wrap: wrap; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 48px; height: 48px; background: linear-gradient(135deg, var(--hk-navy), var(--hk-blue)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; border-radius: 4px; letter-spacing: 0.04em; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--hk-navy); display: block; letter-spacing: 0.06em; line-height: 1.2; }
.logo-tag { font-size: 10px; color: var(--gray-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 10px 16px; color: var(--dark); font-weight: 600; font-size: 14px; border-radius: 4px; }
.main-nav a:hover { background: var(--hk-sky); color: var(--hk-navy); text-decoration: none; }

.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.btn-primary { background: var(--hk-blue); color: #fff; padding: 11px 22px; border-radius: 4px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; white-space: nowrap; display: inline-block; text-decoration: none; }
.btn-primary:hover { background: var(--hk-blue-dark); color: #fff; text-decoration: none; }

.lang-switch { position: relative; }
.lang-switch-btn { display: flex; align-items: center; gap: 6px; background: var(--white); border: 2px solid var(--hk-navy); color: var(--hk-navy); font-weight: 800; font-size: 14px; padding: 8px 14px; cursor: pointer; border-radius: 4px; min-width: 80px; }
.lang-switch-btn:hover { background: var(--hk-sky); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: #fff; border: 2px solid var(--hk-navy); border-radius: 4px; min-width: 200px; box-shadow: 0 8px 28px rgba(0,0,0,0.12); overflow: hidden; z-index: 120; }
.lang-dropdown.open { display: block; }
.lang-dropdown button { display: block; width: 100%; text-align: left; padding: 12px 16px; border: none; background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--border); color: var(--dark); }
.lang-dropdown button:last-child { border-bottom: none; }
.lang-dropdown button:hover { background: var(--hk-sky); }
.lang-dropdown button.active { background: var(--hk-navy); color: #fff; }
.lang-dropdown .lang-sub { display: block; font-size: 11px; font-weight: 400; opacity: 0.75; margin-top: 2px; }
.lang-dropdown button.active .lang-sub { color: rgba(255,255,255,0.85); }

.menu-toggle { display: none; background: var(--hk-navy); color: #fff; border: none; padding: 10px 14px; font-size: 18px; cursor: pointer; border-radius: 4px; }

.hero { background: linear-gradient(135deg, var(--hk-navy) 0%, var(--hk-navy-light) 50%, #1e5090 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -100px; bottom: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(37,99,235,0.12); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: #93c5fd; margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.55rem); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.hero-lead { font-size: 16px; opacity: 0.92; margin-bottom: 28px; max-width: 54ch; line-height: 1.75; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); padding: 7px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); padding: 11px 22px; border-radius: 4px; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; border-color: #fff; }

.hero-card { background: var(--white); color: var(--dark); border-radius: 6px; padding: 28px; box-shadow: 0 16px 48px rgba(0,0,0,0.16); border-top: 3px solid var(--hk-blue); }
.hero-card h3 { color: var(--hk-navy); font-size: 16px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.hero-card ul { list-style: none; }
.hero-card li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; display: flex; gap: 12px; align-items: flex-start; }
.hero-card li:last-child { border-bottom: none; }
.hero-card .ico { font-size: 18px; flex-shrink: 0; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-item .ico { font-size: 28px; margin-bottom: 10px; }
.trust-item h4 { font-size: 14px; font-weight: 700; color: var(--hk-navy); margin-bottom: 4px; }
.trust-item p { font-size: 12px; color: var(--gray-light); }

section { padding: 56px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 28px; font-weight: 800; color: var(--hk-navy); margin-bottom: 12px; }
.section-head p { color: var(--gray); font-size: 15px; }
.section-head .line { width: 48px; height: 3px; background: var(--hk-blue); margin: 14px auto 0; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; transition: box-shadow 0.2s; border-left: 4px solid var(--hk-blue); }
section.alt .service-card { background: var(--bg); }
.service-card:hover { box-shadow: 0 8px 28px rgba(10,37,64,0.1); }
.service-card .ico { font-size: 36px; flex-shrink: 0; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--hk-navy); margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-text p { color: var(--gray); margin-bottom: 16px; font-size: 15px; }
.about-facts { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.about-facts h3 { background: var(--hk-navy); color: #fff; padding: 14px 20px; font-size: 15px; font-weight: 700; }
.about-facts dl { padding: 0; }
.about-facts dt { font-weight: 700; font-size: 11px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 20px 4px; }
.about-facts dd { padding: 0 20px 14px; font-size: 14px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.about-facts dd:last-child { border-bottom: none; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 24px 18px; text-align: center; transition: border-color 0.2s, box-shadow 0.2s; }
.why-item:hover { border-color: var(--hk-blue); box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.why-item .ico { font-size: 32px; margin-bottom: 12px; }
.why-item h4 { font-size: 14px; font-weight: 700; color: var(--hk-navy); margin-bottom: 6px; }
.why-item p { font-size: 12px; color: var(--gray); line-height: 1.55; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; }
.contact-info { background: var(--hk-navy); color: #fff; border-radius: 6px; padding: 32px; }
.contact-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--hk-blue); }
.contact-info ul { list-style: none; }
.contact-info li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 14px; line-height: 1.55; }
.contact-info li:last-child { border-bottom: none; }
.contact-info a { color: #93c5fd; font-weight: 700; }
.contact-info .label { display: block; font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 32px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 14px; margin-bottom: 16px; outline: none; background: var(--bg); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--hk-blue); }
.contact-form button { width: 100%; background: var(--hk-navy); color: #fff; border: none; padding: 14px; font-weight: 700; font-size: 15px; border-radius: 4px; cursor: pointer; }
.contact-form button:hover { background: var(--hk-navy-light); }
.form-msg { margin-top: 10px; font-size: 13px; font-weight: 600; min-height: 1.2em; }

.site-footer { background: var(--dark); color: #999; font-size: 13px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col p { font-size: 13px; line-height: 1.65; margin-bottom: 10px; }
.footer-col a { display: block; color: #888; padding: 5px 0; font-size: 13px; }
.footer-col a:hover { color: #93c5fd; }
.footer-bottom { border-top: 1px solid #333; padding: 18px 0; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.footer-disclaimer { max-width: 720px; color: #666; line-height: 1.6; font-size: 11px; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.mobile-open { display: flex; flex-direction: column; width: 100%; order: 10; background: var(--hk-sky); padding: 12px; border-radius: 6px; }
}
@media (max-width: 560px) {
  .why-grid, .trust-grid, .footer-main { grid-template-columns: 1fr; }
}
