/*
Theme Name: Wolong Drives
Theme URI: https://wolongdrives.com/
Author: Wolong (Zhejiang) Power Electronics Co., Ltd.
Description: A complete English industrial B2B theme for Wolong WD200 and WD400 variable frequency drives.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: wolong-drives
*/

:root {
  --wl-red: #d3141d;
  --wl-red-dark: #a90d15;
  --wl-ink: #17191b;
  --wl-muted: #60676d;
  --wl-line: #dfe2e4;
  --wl-soft: #f2f3f4;
  --wl-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wl-white); color: var(--wl-ink); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wl-header { height: 88px; padding: 0 clamp(24px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--wl-line); background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.admin-bar .wl-header { top: 32px; }
.wl-brand { display: flex; align-items: center; gap: 11px; justify-self: start; }
.wl-brand img { width: 142px; height: 34px; object-fit: contain; }
.wl-brand em { font-style: normal; font-size: 11px; letter-spacing: .32em; font-weight: 700; border-left: 1px solid #aeb2b5; padding-left: 11px; }
.wl-nav { display: flex; gap: 34px; align-items: center; font-size: 13px; font-weight: 700; }
.wl-nav a { padding: 34px 0 31px; position: relative; }
.wl-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: 24px; background: var(--wl-red); transition: right .2s ease; }
.wl-nav a:hover::after, .wl-nav a:focus-visible::after { right: 0; }
.wl-header-cta { justify-self: end; background: var(--wl-red); color: white; padding: 14px 20px; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 800; }
.wl-header-cta:hover { background: var(--wl-red-dark); }

.wl-hero { min-height: 680px; display: grid; grid-template-columns: 54% 46%; border-bottom: 1px solid var(--wl-line); overflow: hidden; }
.wl-hero-copy { padding: 82px clamp(28px, 5vw, 78px) 48px; display: flex; flex-direction: column; }
.wl-kicker { margin: 0 0 24px; color: var(--wl-red); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.wl-hero h1 { max-width: 780px; margin: 0; font-size: clamp(52px, 5.4vw, 86px); line-height: .98; letter-spacing: -.062em; font-weight: 800; }
.wl-lead { max-width: 720px; margin: 32px 0 0; color: var(--wl-muted); font-size: 18px; line-height: 1.65; }
.wl-actions { display: flex; gap: 12px; margin-top: 34px; }
.wl-button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 800; border: 1px solid var(--wl-ink); transition: .2s ease; }
.wl-button-primary { background: var(--wl-ink); color: white; }
.wl-button-primary:hover { background: var(--wl-red); border-color: var(--wl-red); }
.wl-button-secondary:hover { background: var(--wl-soft); }
.wl-proof { margin-top: auto; padding-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--wl-line); }
.wl-proof span { display: flex; flex-direction: column; gap: 5px; color: var(--wl-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.wl-proof strong { color: var(--wl-ink); font-size: 25px; letter-spacing: -.03em; }
.wl-hero-visual { position: relative; min-height: 680px; background: linear-gradient(145deg, #fafafa 0%, #e8eaeb 100%); overflow: hidden; }
.wl-hero-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(#b7bcc0 1px, transparent 1px), linear-gradient(90deg, #b7bcc0 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.wl-orbit { position: absolute; border: 1px solid rgba(211,20,29,.45); border-radius: 50%; }
.wl-orbit-one { width: 580px; height: 580px; top: 43px; right: -160px; }
.wl-orbit-two { width: 410px; height: 410px; left: -130px; bottom: -90px; }
.wl-drive { position: absolute; object-fit: contain; filter: drop-shadow(0 28px 24px rgba(0,0,0,.18)); }
.wl-hero-wd200 { width: 60%; max-height: 510px; right: -2%; top: 105px; z-index: 2; }
.wl-hero-wd400 { width: 35%; max-height: 420px; left: 2%; top: 174px; z-index: 3; }
.wl-model { position: absolute; z-index: 4; bottom: 34px; padding: 12px 14px; background: rgba(255,255,255,.9); border-left: 3px solid var(--wl-red); font-size: 9px; letter-spacing: .12em; font-weight: 700; }
.wl-model b { display: block; color: var(--wl-red); font-size: 18px; letter-spacing: -.02em; margin-bottom: 2px; }
.wl-model-left { left: 8%; }
.wl-model-right { right: 8%; }

.wl-signal { min-height: 62px; padding: 0 clamp(24px, 5vw, 76px); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: var(--wl-ink); color: white; }
.wl-signal span { padding: 0 28px; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-align: center; border-right: 1px solid #3d4043; }
.wl-signal span:last-child { border: 0; }

.wl-section { padding: 112px clamp(24px, 6vw, 96px); }
.wl-section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.wl-section-heading h2, .wl-applications h2, .wl-company h2, .wl-contact h2 { margin: 0; font-size: clamp(42px, 4.2vw, 68px); line-height: 1; letter-spacing: -.055em; }
.wl-section-heading > p { margin: 0 0 4px; color: var(--wl-muted); font-size: 17px; line-height: 1.7; max-width: 620px; }
.wl-product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wl-product-card { min-height: 650px; position: relative; overflow: hidden; display: grid; grid-template-columns: 42% 58%; border: 1px solid var(--wl-line); }
.wl-product-light { background: var(--wl-soft); }
.wl-product-dark { background: var(--wl-ink); color: white; border-color: var(--wl-ink); }
.wl-product-index { position: absolute; top: 28px; left: 28px; color: var(--wl-red); font-size: 10px; font-weight: 800; letter-spacing: .14em; z-index: 2; }
.wl-product-image { position: relative; display: grid; place-items: center; padding: 90px 20px 36px; }
.wl-product-image::after { content: ""; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(211,20,29,.42); border-radius: 50%; }
.wl-product-image img { max-height: 460px; position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(0,0,0,.18)); }
.wl-product-content { padding: 86px 42px 38px 24px; display: flex; flex-direction: column; }
.wl-product-type { color: var(--wl-red); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin: 0 0 12px; }
.wl-product-content h3 { margin: 0 0 18px; font-size: clamp(38px, 3vw, 54px); letter-spacing: -.05em; }
.wl-product-content > p:not(.wl-product-type) { color: var(--wl-muted); margin: 0 0 28px; font-size: 14px; line-height: 1.7; }
.wl-product-dark .wl-product-content > p:not(.wl-product-type) { color: #adb2b7; }
.wl-specs { margin: 0; border-top: 1px solid #cdd1d3; }
.wl-product-dark .wl-specs { border-color: #404346; }
.wl-specs div { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; border-bottom: 1px solid #cdd1d3; font-size: 12px; }
.wl-product-dark .wl-specs div { border-color: #404346; }
.wl-specs dt { color: var(--wl-muted); }
.wl-specs dd { margin: 0; font-weight: 700; }
.wl-product-links { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; }
.wl-product-links a { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.wl-product-links a:hover { color: var(--wl-red); }

.wl-advantages { background: #fafafa; border-top: 1px solid var(--wl-line); }
.wl-advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--wl-line); border-left: 1px solid var(--wl-line); }
.wl-advantage-grid article { min-height: 270px; padding: 28px; border-right: 1px solid var(--wl-line); border-bottom: 1px solid var(--wl-line); background: white; }
.wl-advantage-grid span { color: var(--wl-red); font-size: 11px; font-weight: 800; }
.wl-advantage-grid h3 { margin: 70px 0 14px; font-size: 22px; letter-spacing: -.03em; }
.wl-advantage-grid p { margin: 0; color: var(--wl-muted); font-size: 13px; line-height: 1.65; }

.wl-applications { padding: 112px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; background: var(--wl-ink); color: white; }
.wl-applications-copy > p:not(.wl-kicker) { color: #b0b5ba; max-width: 640px; font-size: 16px; line-height: 1.75; margin: 30px 0; }
.wl-text-link { display: inline-flex; gap: 40px; border-bottom: 1px solid white; padding-bottom: 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.wl-application-grid { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid #404346; border-left: 1px solid #404346; }
.wl-application-item { min-height: 100px; display: flex; align-items: center; gap: 22px; padding: 22px; border-right: 1px solid #404346; border-bottom: 1px solid #404346; }
.wl-application-item span { color: var(--wl-red); font-size: 10px; font-weight: 800; }

.wl-company { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 720px; }
.wl-company-photo { position: relative; min-height: 720px; overflow: hidden; }
.wl-company-photo img { width: 100%; height: 100%; object-fit: cover; }
.wl-photo-label { position: absolute; left: 30px; bottom: 30px; background: var(--wl-red); color: white; padding: 12px 16px; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.wl-company-copy { padding: 100px clamp(32px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.wl-company-intro { margin: 30px 0 16px; font-size: 20px; line-height: 1.55; font-weight: 600; }
.wl-company-copy > p:not(.wl-kicker):not(.wl-company-intro) { color: var(--wl-muted); line-height: 1.7; font-size: 15px; }
.wl-company-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--wl-line); }
.wl-company-stats div { display: flex; flex-direction: column; gap: 8px; }
.wl-company-stats strong { font-size: 32px; color: var(--wl-red); }
.wl-company-stats span { color: var(--wl-muted); font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }

.wl-contact { padding: 112px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; background: var(--wl-red); color: white; }
.wl-contact .wl-kicker { color: white; }
.wl-contact-copy > p:not(.wl-kicker) { max-width: 560px; margin: 28px 0 38px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.82); }
.wl-contact-direct { display: grid; gap: 18px; }
.wl-contact-direct a { display: flex; flex-direction: column; gap: 4px; font-size: 19px; font-weight: 700; }
.wl-contact-direct span { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; opacity: .72; }
.wl-inquiry-form { background: white; color: var(--wl-ink); padding: 42px; display: grid; gap: 22px; }
.wl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wl-inquiry-form label { display: grid; gap: 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.wl-inquiry-form input, .wl-inquiry-form select, .wl-inquiry-form textarea { width: 100%; border: 0; border-bottom: 1px solid #c9cdd0; border-radius: 0; padding: 12px 0; color: var(--wl-ink); background: transparent; font-size: 14px; text-transform: none; letter-spacing: normal; outline: none; }
.wl-inquiry-form textarea { border: 1px solid #c9cdd0; padding: 14px; resize: vertical; }
.wl-inquiry-form button { min-height: 54px; border: 0; background: var(--wl-ink); color: white; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.wl-form-note { margin: -8px 0 0; color: var(--wl-muted); font-size: 10px; line-height: 1.5; }

.wl-footer { min-height: 210px; padding: 48px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: 1fr auto; gap: 34px; border-top: 1px solid var(--wl-line); }
.wl-footer-brand img { width: 150px; }
.wl-footer-brand p { margin: 18px 0 0; font-size: 13px; font-weight: 700; }
.wl-footer-meta { display: grid; gap: 10px; text-align: right; color: var(--wl-muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.wl-copyright { grid-column: 1 / -1; margin: 0; color: #8a9094; font-size: 10px; }
.wl-generic { max-width: 900px; min-height: 60vh; margin: 0 auto; padding: 100px 24px; }

@media (max-width: 1180px) {
  .wl-header { grid-template-columns: 1fr auto; }
  .wl-nav { display: none; }
  .wl-product-card { grid-template-columns: 1fr; }
  .wl-product-image { min-height: 340px; padding: 80px 30px 0; }
  .wl-product-image img { max-height: 320px; }
  .wl-product-content { padding: 40px; }
  .wl-advantage-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .admin-bar .wl-header { top: 46px; }
  .wl-header { height: 72px; padding: 0 20px; }
  .wl-brand img { width: 116px; }
  .wl-brand em { display: none; }
  .wl-header-cta { padding: 12px 14px; }
  .wl-hero { grid-template-columns: 1fr; }
  .wl-hero-copy { padding: 62px 24px 38px; min-height: 620px; }
  .wl-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .wl-actions { flex-direction: column; }
  .wl-proof { margin-top: 46px; }
  .wl-hero-visual { min-height: 560px; }
  .wl-hero-wd200 { width: 66%; right: -5%; }
  .wl-hero-wd400 { width: 40%; left: 0; }
  .wl-signal { grid-template-columns: 1fr 1fr; padding: 12px 20px; }
  .wl-signal span { min-height: 42px; padding: 14px 10px; border-bottom: 1px solid #3d4043; }
  .wl-section { padding: 82px 24px; }
  .wl-section-heading, .wl-product-list, .wl-applications, .wl-contact, .wl-company { grid-template-columns: 1fr; }
  .wl-section-heading { gap: 28px; }
  .wl-advantage-grid, .wl-application-grid { grid-template-columns: 1fr; }
  .wl-applications, .wl-contact { padding: 82px 24px; gap: 54px; }
  .wl-company-photo { min-height: 480px; }
  .wl-company-copy { padding: 82px 24px; }
  .wl-company-stats, .wl-form-row { grid-template-columns: 1fr; }
  .wl-inquiry-form { padding: 28px 22px; }
  .wl-footer { grid-template-columns: 1fr; padding: 42px 24px; }
  .wl-footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }
