/*
Theme Name: LIANTU Motor
Theme URI: https://example.com/liantu-motor
Author: LIANTU
Author URI: https://example.com
Description: A multi-page LIANTU WordPress theme with editable products, categories, specifications, and product images.
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: liantu-motor
Tags: custom-homepage, portfolio, products, responsive-layout
*/

:root {
  --red: #d9232e;
  --red-dark: #a70f18;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --panel: #f6f8fb;
  --white: #ffffff;
  --blue: #0f2f4c;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1440px, calc(100% - 36px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(10px, 1.35vw, 22px);
}

.primary-nav a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
  color: var(--red);
}

.header-action,
.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.header-action,
.primary-button {
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.text-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--red);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.9) 0%, rgba(5, 10, 18, 0.7) 42%, rgba(5, 10, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 10, 18, 0.78) 0%, rgba(5, 10, 18, 0.04) 44%),
    url("liantu-home-background.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-reveal-gallery {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-reveal-gallery::before {
  position: absolute;
  inset: 12% 6% 8% 38%;
  content: "";
  background:
    radial-gradient(circle at 48% 52%, rgba(217, 35, 46, 0.34), transparent 31%),
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.16), transparent 24%);
  filter: blur(18px);
  opacity: var(--hero-glow-opacity, 0.26);
  transform: scale(var(--hero-glow-scale, 0.72));
}

.hero-reveal-card {
  position: absolute;
  top: 50%;
  left: 59%;
  width: clamp(150px, 15vw, 250px);
  aspect-ratio: 1.15;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.04)),
    rgba(9, 18, 31, 0.58);
  box-shadow:
    0 34px 62px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  opacity: 0.12;
  overflow: hidden;
  transform: translate3d(var(--x-start), var(--y-start), -320px) rotate(var(--r-start)) scale(0.58);
  transition:
    opacity 0.2s linear,
    transform 0.08s linear;
}

.hero-reveal-card::after {
  position: absolute;
  inset: auto 16px 14px;
  height: 20px;
  content: "";
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28), transparent 70%);
  filter: blur(5px);
}

.hero-reveal-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 15px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.26));
}

.card-motorcycle {
  width: clamp(230px, 24vw, 410px);
  left: 57%;
}

.card-bicycle {
  width: clamp(150px, 15vw, 245px);
  left: 64%;
}

.card-tricycle {
  width: clamp(185px, 19vw, 330px);
  left: 58%;
}

.card-loadking {
  width: clamp(170px, 18vw, 300px);
  left: 64%;
}

.card-detail {
  width: clamp(140px, 13vw, 220px);
  left: 62%;
}

.hero-product {
  position: absolute;
  right: clamp(-80px, -3vw, -20px);
  bottom: clamp(18px, 4vw, 70px);
  z-index: 2;
  width: clamp(520px, 58vw, 940px);
  max-height: 76svh;
  object-fit: contain;
  filter: drop-shadow(0 36px 50px rgba(0, 0, 0, 0.42));
  transform: translate3d(var(--hero-product-x, 0), var(--hero-product-y, 0), 0) scale(var(--hero-product-scale, 1));
  transition: transform 0.08s linear;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(1240px, calc(100% - 36px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 120px 0 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: #ff7a83;
}

.home-hero h1 {
  margin: 0;
  max-width: 7ch;
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
}

.home-hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: #f2f4f7;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.46);
}

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

.category-entry,
.catalog-section,
.about-page,
.news-grid.page-grid,
.contact-page,
.home-about {
  padding: clamp(66px, 8vw, 116px) clamp(18px, 5vw, 64px);
}

.section-heading {
  width: min(1240px, 100%);
  margin: 0 auto 34px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.home-about h2,
.about-page h2,
.contact-page h1,
.text-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 0.98;
}

.section-heading.centered h2 {
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.category-card,
.product-card,
.news-grid article {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.07);
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: contain;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(217, 35, 46, 0.08), transparent 54%),
    var(--panel);
}

.category-card span {
  margin: 20px 20px 0;
  color: var(--red);
  font-weight: 950;
}

.category-card h3 {
  margin: 8px 20px 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.category-card p {
  margin: 12px 20px 22px;
  color: var(--muted);
}

.home-about {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 96px);
  width: min(1680px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: clamp(76px, 7vw, 118px);
  padding-right: 0;
  padding-bottom: clamp(76px, 7vw, 118px);
  padding-left: 0;
  border-top: 0;
}

.home-about-copy {
  display: flex;
  min-height: clamp(520px, 52vw, 760px);
  flex-direction: column;
  justify-content: flex-start;
  padding-left: clamp(0px, 2vw, 28px);
}

.home-about h2 {
  max-width: 680px;
  font-size: clamp(2.7rem, 4.2vw, 5.4rem);
  line-height: 1.08;
}

.home-about-article {
  max-width: 620px;
  margin-top: clamp(88px, 13vw, 220px);
}

.home-about p:not(.eyebrow) {
  color: var(--muted);
}

.home-about-lead {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2.35rem);
  font-weight: 760;
  line-height: 1.36;
}

.home-about-detail {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.home-about-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 54px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
}

.home-about-progress::after {
  width: 58px;
  height: 2px;
  background: var(--line);
  content: "";
}

.home-about-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.35;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.home-about-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.home-about-media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(16, 24, 40, 0.08);
  content: "";
  pointer-events: none;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: 640px;
  padding: 128px clamp(18px, 5vw, 64px) 58px;
  background:
    linear-gradient(135deg, #f8fafc 0%, #eef2f6 55%, #ffffff 100%);
}

.page-hero > div,
.page-hero > img {
  width: min(620px, 100%);
}

.page-hero > div {
  justify-self: end;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.8rem);
  line-height: 0.88;
}

.page-hero p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.12rem;
}

.page-hero img {
  justify-self: start;
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 28px 44px rgba(16, 24, 40, 0.16));
}

.catalog-section {
  background: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card figure {
  display: grid;
  place-items: center;
  aspect-ratio: 1.05;
  margin: 0;
  padding: 10px 12px;
  background: var(--panel);
  contain: layout paint;
}

.product-card img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.product-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card p {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 10px 0 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.product-card span {
  margin-top: 10px;
  color: var(--muted);
}

.product-card button {
  min-height: 42px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.product-card button:hover {
  border-color: var(--red);
  color: var(--red);
}

.text-hero {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 56px;
}

.text-hero p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.15rem;
}

.about-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.about-page > img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
}

.customization-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 88px) 0 clamp(72px, 8vw, 118px);
}

.customization-page > img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  background: var(--panel);
}

.customization-page h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 0.98;
}

.customization-page p {
  color: var(--muted);
}

.customization-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.customization-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink-soft);
  font-weight: 850;
}

.about-page p,
.contact-page p {
  color: var(--muted);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact-strip div {
  padding: 18px;
  background: var(--white);
}

.fact-strip dt {
  color: var(--red);
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 1;
}

.fact-strip dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

.news-grid.page-grid {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.news-grid article {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
}

.news-grid p {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.news-grid h3 {
  margin: 34px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.news-grid span {
  display: inline-flex;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 800;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(30px, 5vw, 74px);
  width: min(1240px, calc(100% - 36px));
  min-height: calc(100svh - 190px);
  margin: 0 auto;
  padding-top: 150px;
  padding-right: 0;
  padding-left: 0;
}

.contact-page address {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-style: normal;
}

.contact-page address a {
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 900;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd3dd;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
}

.inquiry-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #16845f;
  font-weight: 850;
}

.site-footer {
  background: #101820;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.75fr 1fr;
  gap: clamp(22px, 4vw, 56px);
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--red);
}

.footer-brand small,
.site-footer p,
.site-footer span,
.site-footer a {
  color: #b9c3cf;
}

.site-footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong {
  color: var(--white);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  color: #b9c3cf;
  text-align: center;
  font-size: 0.82rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.68);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 28px;
  width: min(980px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: clamp(20px, 4vw, 42px);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.modal-panel > img {
  width: 100%;
  aspect-ratio: 1.12;
  min-height: 300px;
  max-height: 64svh;
  object-fit: contain;
  padding: 28px;
  background: var(--panel);
}

.modal-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.modal-panel p:not(.eyebrow) {
  color: var(--muted);
}

.modal-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.modal-panel dl div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
}

.modal-panel dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-panel dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .header-action {
    display: none;
  }

  .category-grid,
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1060px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: none;
    align-content: start;
    justify-content: stretch;
    flex-direction: column;
    gap: 0;
    height: calc(100svh - 68px);
    overflow: auto;
    padding: 18px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.14);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .hero-product {
    right: -170px;
    width: 820px;
    opacity: 0.78;
  }

  .hero-reveal-gallery {
    opacity: 0.86;
  }

  .hero-reveal-card {
    left: 56%;
  }

  .page-hero,
  .about-page,
  .customization-page,
  .contact-page,
  .modal-panel {
    grid-template-columns: 1fr;
  }

  .page-hero > div,
  .page-hero > img {
    justify-self: center;
    width: min(760px, 100%);
  }

  .home-about {
    grid-template-columns: 1fr;
  }

  .home-about-copy {
    min-height: auto;
    padding-left: 0;
  }

  .home-about-article {
    margin-top: 42px;
  }

  .home-about-progress {
    margin-top: 34px;
    padding-top: 0;
  }

  .home-about-media {
    min-height: 420px;
  }

  .news-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    width: calc(100% - 28px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .home-hero h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding-top: 104px;
  }

  .hero-product {
    right: -230px;
    bottom: 20px;
    width: 720px;
    opacity: 0.55;
  }

  .hero-reveal-gallery {
    display: none;
  }

  .category-grid,
  .catalog-grid,
  .news-grid,
  .footer-inner,
  .fact-strip,
  .modal-panel dl {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 0;
    padding-top: 110px;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }

  .home-about h2 {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

  .page-hero img {
    max-height: 330px;
  }

  .home-about-media {
    min-height: 320px;
  }

  .about-page > img {
    min-height: 320px;
  }

  .customization-page > img {
    aspect-ratio: 1.1;
  }
}

/* Clean centered homepage hero, replacing the older product-card reveal visual. */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  padding: clamp(118px, 14vh, 150px) clamp(18px, 5vw, 80px) clamp(52px, 8vh, 80px);
}

.hero-bg,
.hero-video,
.hero-fallback,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -4;
  background: #05070a;
  transform: none;
}

.hero-video,
.hero-fallback {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.05);
}

.hero-scrim {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.78)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62));
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at center, black 0 36%, transparent 78%);
  opacity: 0.45;
}

.home-hero .hero-copy {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  width: min(760px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.home-hero .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: heroFadeRise 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.home-hero h1 {
  display: grid;
  gap: 4px;
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 6.6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.home-hero h1 span {
  display: block;
  will-change: transform, opacity;
}

.line-from-left {
  animation: heroSlideFromLeft 1250ms cubic-bezier(0.16, 1, 0.3, 1) 220ms both;
}

.line-from-right {
  animation: heroSlideFromRight 1250ms cubic-bezier(0.16, 1, 0.3, 1) 320ms both;
}

.home-hero p:not(.eyebrow) {
  width: min(600px, 100%);
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.65;
  text-align: center;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
  animation: heroFadeRise 1000ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
  animation: heroFadeRise 900ms cubic-bezier(0.16, 1, 0.3, 1) 650ms both;
}

.home-hero .primary-button,
.home-hero .secondary-button {
  min-width: 154px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.home-hero .secondary-button {
  min-width: 188px;
  background: rgba(255, 255, 255, 0.1) !important;
}

.home-hero .primary-button:hover,
.home-hero .secondary-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.22) !important;
}

@keyframes heroSlideFromLeft {
  from {
    opacity: 0;
    transform: translate3d(-14vw, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroSlideFromRight {
  from {
    opacity: 0;
    transform: translate3d(14vw, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFadeRise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 104px 18px 38px;
  }

  .home-hero .hero-copy {
    width: min(100%, 380px);
    gap: 16px;
  }

  .home-hero h1 {
    font-size: clamp(36px, 13.4vw, 66px);
  }

  .home-hero p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.62;
  }

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

  .home-hero .primary-button,
  .home-hero .secondary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .line-from-left,
  .line-from-right,
  .home-hero .eyebrow,
  .home-hero p:not(.eyebrow),
  .home-hero .hero-actions {
    animation-duration: 1ms;
  }
}

/* Centered image-and-copy section inspired by the supplied reference layout. */
.home-about,
.customization-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(420px, 1.42fr);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
  width: min(1500px, calc(100% - 72px));
  margin: 0 auto;
  padding: clamp(78px, 9vw, 132px) 0;
}

.home-about-copy,
.customization-page > div {
  min-height: 0;
  padding: 0;
  align-self: center;
  max-width: 520px;
}

.home-about .eyebrow {
  margin: 0 0 24px;
  color: #101828;
  font-size: clamp(17px, 1.45vw, 26px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: none;
}

.home-about h2,
.customization-page h2 {
  max-width: 620px;
  margin: 0;
  color: #101828;
  font-size: clamp(42px, 5.35vw, 94px);
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: 0;
}

.home-about-article {
  margin: clamp(24px, 3vw, 40px) 0 0;
}

.home-about p:not(.eyebrow),
.customization-page p {
  max-width: 600px;
  margin: 0;
  color: #344054;
  font-size: clamp(16px, 1.4vw, 23px);
  font-weight: 650;
  line-height: 1.58;
}

.home-about-detail,
.home-about-progress,
.home-about-media::after,
.customization-list {
  display: none;
}

.home-about-media {
  min-height: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: #f5f7fa;
  overflow: hidden;
}

.home-about-image,
.customization-page > img {
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 46vw, 720px);
  aspect-ratio: 1.78;
  object-fit: cover;
}

.customization-page > img {
  background: var(--panel);
}

.customization-page .primary-button {
  margin-top: clamp(24px, 3vw, 38px);
}

@media (max-width: 1060px) {
  .home-about,
  .customization-page {
    grid-template-columns: 1fr;
    width: min(860px, calc(100% - 36px));
  }

  .home-about-copy,
  .customization-page > div {
    max-width: 720px;
  }

  .home-about h2,
  .customization-page h2 {
    font-size: clamp(38px, 8vw, 72px);
  }
}

@media (max-width: 720px) {
  .home-about,
  .customization-page {
    width: calc(100% - 32px);
    padding: 64px 0;
    gap: 28px;
  }

  .home-about .eyebrow {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .home-about h2,
  .customization-page h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .home-about p:not(.eyebrow),
  .customization-page p {
    font-size: 16px;
  }

  .home-about-image,
  .customization-page > img {
    min-height: 300px;
  }
}
