:root {
  --color-primary-500: #FF6A00;
  --color-primary-600: #E85F00;
  --color-text-900: #1F2329;
  --color-text-700: #5B6470;
  --color-border-300: #E7EAF0;
  --color-bg-100: #F8FAFC;
  --color-bg-0: #FFFFFF;
  --font-title: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --container-max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: var(--font-body);
  color: var(--color-text-900);
  background: #fff;
  line-height: 1.6
}

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin: 0 auto
}

a {
  text-decoration: none;
  color: inherit
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-300)
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img,
.logo .custom-logo,
a.custom-logo-link img {
  width: 216px;
  height: 62.4px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.site-header .logo .custom-logo-link img,
.site-header .logo .custom-logo {
  object-position: left center;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: .5px
}

.menu {
  list-style: none;
  display: flex;
  gap: 24px
}

.menu a {
  font-weight: 600
}

.menu a:hover,
.menu .current-menu-item>a {
  color: var(--color-primary-500)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease
}

.btn:hover {
  transform: translateY(-1px)
}

.btn-primary {
  background: var(--color-primary-500);
  color: #fff
}

.btn-primary:hover {
  background: var(--color-primary-600)
}

.btn-secondary {
  border: 1px solid var(--color-primary-500);
  color: var(--color-primary-500);
  background: #fff
}

.btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(255, 106, 0, .12)
}

.hero {
  padding: 0;
  background: linear-gradient(180deg, #fff 0%, #fff8f1 100%)
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1319 0%, #1c2735 55%, #2a3a4f 100%);
  min-height: 480px;
}
.hero-slides {
  position: relative;
  min-height: 480px;
}
.hero-slide {
  display: none;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 480px;
  width: 100%;
}
.hero-slide.active {
  display: flex;
  align-items: center;
  animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active,
.hero-dot:hover {
  background: #fff;
  border-color: #fff;
}
.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
}
.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(15,19,25,0.5);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  pointer-events: auto;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}
.hero-home {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  overflow: hidden
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, .16), transparent 40%);
  pointer-events: none
}

.hero-layout {
  position: relative;
  z-index: 1
}

.hero-copy {
  max-width: 760px;
  color: #fff
}

.hero-copy h1,
.hero-copy p,
.hero-copy .hero-eyebrow {
  color: #fff !important
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: #fff
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 52px;
  line-height: 1.1;
  max-width: 860px
}

.hero-home h1,
.hero-home p,
.hero-home .hero-eyebrow {
  color: #fff !important
}

.hero p {
  margin-top: 16px;
  max-width: 760px;
  color: var(--color-text-700);
  font-size: 20px
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

section {
  padding: 40px 0
}

.section-title {
  font-family: var(--font-title);
  font-size: 36px;
  margin-bottom: 20px
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.card {
  border: 1px solid var(--color-border-300);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  transition: .2s
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 35, 41, .1)
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center
}

.mock-img {
  min-height: 320px;
  border-radius: 16px;
  background: #e9edf3
}

.home-about__media img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px
}

.product-tile {
  display: block;
  border: 1px solid var(--color-border-300);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 35, 41, .12)
}

.product-card__body {
  padding: 18px 18px 12px
}

.product-card__body h3 {
  font-family: var(--font-title);
  font-size: 18px;
  margin-bottom: 8px
}

.product-card__body p {
  font-size: 15px;
  color: var(--color-text-700);
  line-height: 1.5;
  margin: 0
}

.product-card__media {
  width: 100%;
  height: auto;
  display: block
}

.product-tile:not(.has-bg-image) .product-card__media {
  min-height: 200px;
  background: var(--color-text-900)
}

.product-tile.has-bg-image .product-card__body {
  color: #fff
}

.product-tile.has-bg-image {
  background: var(--color-text-900);
  border-color: var(--color-text-900)
}

.product-tile.has-bg-image .product-card__body h3,
.product-tile.has-bg-image .product-card__body p {
  color: #fff !important
}

.accordion {
  border-top: 1px solid var(--color-border-300)
}

.acc-item {
  border-bottom: 1px solid var(--color-border-300)
}

.acc-title {
  width: 100%;
  text-align: left;
  padding: 18px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600
}

.acc-content {
  display: none;
  padding: 0 4px 18px;
  color: var(--color-text-700)
}

.acc-item.active .acc-content {
  display: block
}

.contact-block {
  background: var(--color-bg-100);
  border-top: 1px solid var(--color-border-300)
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px
}

.form input,
.form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--color-border-300);
  border-radius: 10px;
  font: inherit
}

.inner-hero {
  padding: 56px 0 24px;
  background: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 280px;
  display: flex;
  align-items: center;
  position: relative;
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.inner-hero h1,
.inner-hero p {
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  color: #fff;
}

.inner-hero p {
  color: #fff;
}

.inner-hero h1 {
  font-family: var(--font-title);
  font-size: 42px
}

.inner-hero p {
  margin-top: 12px;
  color: #fff;
  font-size: 16px
}

.page-content {
  padding: 42px 0
}

/* Products Page Banner */
.products-banner {
  padding: 0 0 0px;
  background: #fff;
}

.products-banner .banner-image {
  width: 100%;
  border-radius: 1px;
  overflow: hidden;
}

.products-banner .banner-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Products Text Cards Grid - 5 columns on desktop */
.products-text-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* 3 columns variant for Services/Resources/Greases pages */
.products-text-grid--3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .products-text-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-text-grid,
  .products-text-grid--3cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-text-grid,
  .products-text-grid--3cols {
    grid-template-columns: 1fr;
  }
}

/* Products Text Card Styles */
.product-text-card {
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-text-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(31, 35, 41, .15);
}

.product-text-card__link {
  display: block;
  padding: 24px;
  height: 100%;
  text-decoration: none;
}

.product-text-card h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-text-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.95;
}

.card-link-text {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Product Card Themes */
.product-text-card--dark {
  background: var(--color-text-900);
  border: 1px solid var(--color-text-900);
  color: #fff;
}

.product-text-card--dark h3,
.product-text-card--dark p,
.product-text-card--dark .card-link-text {
  color: #fff;
}

.product-text-card--orange {
  background: linear-gradient(135deg, #FF6A00 0%, #FF8C42 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.product-text-card--orange h3,
.product-text-card--orange p,
.product-text-card--orange .card-link-text {
  color: #fff;
}

.product-text-card--light {
  background: var(--color-bg-100);
  border: 1px solid var(--color-border-300);
  color: var(--color-text-900);
}

.product-text-card--light h3,
.product-text-card--light p {
  color: var(--color-text-900);
}

.product-text-card--light .card-link-text {
  color: var(--color-primary-500);
}

.product-text-card--blue {
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.product-text-card--blue h3,
.product-text-card--blue p,
.product-text-card--blue .card-link-text {
  color: #fff;
}

.product-text-card--green {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.product-text-card--green h3,
.product-text-card--green p,
.product-text-card--green .card-link-text {
  color: #fff;
}

/* About Page Sections */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border-radius: 16px;
  margin-bottom: 24px
}

.about-section:last-child {
  margin-bottom: 0
}

/* Layout: 图片在左 (默认layout-normal) */
.layout-normal .section-text {
  order: 1
}

.layout-normal .section-image,
.layout-normal .mock-img {
  order: 2
}

/* Layout: 图片在右 (layout-reverse) */
.layout-reverse .section-text {
  order: 2
}

.layout-reverse .section-image,
.layout-reverse .mock-img {
  order: 1
}

/* Section Text */
.section-text h2 {
  font-family: var(--font-title);
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.3
}

.section-text p {
  color: var(--color-text-700);
  line-height: 1.8;
  margin-bottom: 16px
}

.section-text p:last-child {
  margin-bottom: 0
}

/* Section Link Button */
.section-text .btn {
  margin-top: 24px
}

/* Section Image */
.section-image {
  border-radius: 16px;
  overflow: hidden
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover
}

/* Theme: 浅色背景 */
.theme-light {
  background: var(--color-bg-100);
  color: var(--color-text-900)
}

/* Theme: 白色背景 */
.theme-white {
  background: #fff;
  color: var(--color-text-900)
}

/* Theme: 深色背景 */
.theme-dark {
  background: var(--color-text-900);
  color: #fff
}

.theme-dark .section-text h2 {
  color: #fff
}

.theme-dark .section-text p {
  color: rgba(255,255,255,.8)
}

.theme-dark .section-text .btn-secondary {
  border-color: #fff;
  color: #fff;
  background: transparent
}

.theme-dark .section-text .btn-secondary:hover {
  background: rgba(255,255,255,.1);
  box-shadow: none
}

/* Spacing: 紧凑间距 */
.spacing-compact {
  padding: 40px 36px
}

.spacing-compact .section-text h2 {
  margin-bottom: 12px
}

/* Spacing: 标准间距 */
.spacing-standard {
  padding: 64px 48px
}

/* Spacing: 宽松间距 */
.spacing-loose {
  padding: 96px 64px
}

.spacing-loose .section-text h2 {
  margin-bottom: 28px
}

.spacing-loose .section-text p {
  line-height: 2
}

.site-footer {
  border-top: 1px solid var(--color-border-300);
  padding-top: 48px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px
}

.footer-menu {
  list-style: none;
  display: grid;
  gap: 8px
}

.footer-menu li {
  line-height: 1.4;
}

.footer-menu a {
  color: var(--color-text-700);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-menu a:hover {
  color: var(--color-primary-500);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .custom-logo-link img,
.footer-brand .custom-logo {
  height: 62.4px;
  width: 216px;
  object-fit: contain;
}

.footer-company-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--color-primary-500);
  line-height: 1.3;
  max-width: 260px;
  display: block;
}

.footer-company-name:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-brand p {
  color: var(--color-text-700);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.site-footer h5 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text-900);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer a[href^="mailto"],
.site-footer a[href^="tel"] {
  color: var(--color-text-700);
  transition: color 0.2s;
}

.site-footer a[href^="mailto"]:hover,
.site-footer a[href^="tel"]:hover {
  color: var(--color-primary-500);
}

.footer-grid > div:nth-child(3) p {
  color: var(--color-text-700);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.copyright {
  padding: 20px 0;
  color: var(--color-text-700);
  font-size: 14px
}

@media (max-width:1100px) {
  /* 移动端菜单默认隐藏 */
  .primary-nav .menu {
    display: none !important;
  }

  /* 汉堡菜单打开时显示移动端菜单 */
  .menu-open .menu,
  .menu-open .primary-nav .menu {
    display: flex !important;
  }

  /* 同时显示汉堡按钮 */
  .menu-toggle {
    display: flex !important;
    margin-left: auto;
    order: 2;
  }

  /* 移动端隐藏 CTA 按钮 */
  .nav-cta {
    display: none;
  }

  .hero h1 {
    font-size: 40px
  }

  .grid-3,
  .about,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}



/* ===== Dropdown Menu (Desktop hover + Mobile click) ===== */

/* 基础菜单容器 */
.primary-nav .menu {
  list-style: none;
  align-items: center;
  gap: 24px;
}

/* 桌面端横向菜单 */
@media (min-width: 1101px) {
  .primary-nav .menu {
    display: flex;
    flex-wrap: nowrap;
  }

  /* 桌面端隐藏 JS 创建的子菜单箭头按钮 */
  .primary-nav .submenu-toggle {
    display: none !important;
  }

  /* 防止菜单项换行 */
  .primary-nav .menu > li {
    white-space: nowrap;
  }

  .primary-nav .menu a {
    white-space: nowrap;
  }
}

.primary-nav .menu>li {
  position: relative;
}

.primary-nav .menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: var(--color-text-900);
  font-weight: 600;
  transition: color .2s ease;
}

.primary-nav .menu>li:hover>a,
.primary-nav .menu>li.current-menu-item>a,
.primary-nav .menu>li.current-menu-ancestor>a {
  color: var(--color-primary-500);
}

/* 二级菜单 */
.primary-nav .menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border-300);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(31, 35, 41, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 99;
}

.primary-nav .menu .sub-menu li {
  width: 100%;
}

.primary-nav .menu .sub-menu a {
  display: block;
  padding: 10px 16px;
  font-weight: 500;
  color: var(--color-text-900);
  white-space: normal;
  line-height: 1.4;
}

.primary-nav .menu .sub-menu a:hover,
.primary-nav .menu .sub-menu .current-menu-item>a {
  color: var(--color-primary-500);
  background: #FFF4EB;
}

@media (min-width: 1101px) {
  .primary-nav .menu>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  /* 移动端导航面板 */
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-width: calc(100% - 32px);
    background: #fff;
    border: 1px solid var(--color-border-300);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(31, 35, 41, 0.12);
    padding: 8px 16px;
    margin-top: 8px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    pointer-events: none;
  }

  /* 菜单打开时显示面板 */
  .menu-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .primary-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-top: 0;
  }

  .primary-nav .menu>li {
    border-bottom: 1px solid var(--color-border-300);
  }

  .primary-nav .menu>li>a {
    width: 100%;
    padding: 14px 4px;
    justify-content: space-between;
  }

  .primary-nav .menu .sub-menu {
    position: static;
    min-width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px;
    margin: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height .25s ease, opacity .2s ease, visibility .2s ease;
  }

  .primary-nav .menu .sub-menu a {
    padding: 10px 12px 10px 18px;
    font-size: 15px;
    color: var(--color-text-700);
  }

  .primary-nav .menu>li.is-open>.sub-menu {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav .menu>li.menu-item-has-children>a::after {
    content: "▾";
    margin-left: 8px;
    font-size: 12px;
    color: var(--color-text-700);
    transition: transform .2s ease;
  }

  .primary-nav .menu>li.is-open>a::after {
    transform: rotate(180deg);
    color: var(--color-primary-500);
  }

  /* 隐藏 CSS::after 箭头，使用 JS 添加的按钮 */
  .primary-nav .menu>li.menu-item-has-children>a::after {
    display: none;
  }
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border-300);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

/* 桌面端隐藏汉堡按钮 */
@media (min-width: 1101px) {
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--color-text-900);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Grease Card Themes ===== */
.grease-card--orange {
  background: linear-gradient(135deg, #FF6A00 0%, #FF8C42 100%);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.grease-card--orange h3,
.grease-card--orange p {
  color: #fff !important;
}

.grease-card--light {
  background: var(--color-bg-100);
  border-color: var(--color-border-300);
}

.grease-card--dark {
  background: var(--color-text-900);
  border-color: var(--color-text-900);
  color: #fff;
}

.grease-card--dark h3,
.grease-card--dark p {
  color: #fff !important;
}

/* ===== Contact Form 7 自定义样式 ===== */
.wpcf7 {
  width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border-300);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: inherit;
  line-height: inherit;
  background: var(--color-bg-0);
  transition: border-color 0.2s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  border: none;
  background: var(--color-primary-500);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
  margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
  transform: translateY(-1px);
  background: var(--color-primary-600);
}

.wpcf7-form .wpcf7-spinner {
  display: none;
}

.wpcf7-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors {
  border-color: #ff6a00;
  background: rgba(255, 106, 0, 0.05);
  color: var(--color-text-900);
}

.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #00a651;
  background: rgba(0, 166, 81, 0.05);
  color: var(--color-text-900);
}

/* WordPress Gallery Block - 铺满内容块，图片间距最小 */
/* .wp-block-gallery,
.wp-block-gallery.has-nested-images {
  --wp--style--unstable-gallery-gap: 4px !important;
  gap: 4px !important;
}

.wp-block-gallery .blocks-gallery-item,
.wp-block-gallery figure.wp-block-image {
  width: calc(50% - 2px) !important;
  margin: 0 !important;
}

.wp-block-gallery .blocks-gallery-item img,
.wp-block-gallery figure.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
} */

/* ========== Social QR Code - WhatsApp & WeChat ========== */
.social-qr {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qr-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border: 1px solid var(--color-border-300);
  border-radius: 8px;
  padding: 4px;
  background: var(--color-bg-0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qr-card img:hover {
  border-color: var(--color-primary-500);
  box-shadow: 0 2px 8px rgba(255, 106, 0, 0.15);
}

/* Contact 页面中的二维码放大显示 */
.page-contact .social-qr .qr-card img,
.contact-info .social-qr .qr-card img {
  width: 150px;
  height: 150px;
}

@media (max-width: 576px) {
  .social-qr {
    justify-content: center;
  }

  .qr-card img {
    width: 110px;
    height: 110px;
  }
}

/* ============================================================
   多端兼容性修复 - 响应式媒体查询
   覆盖范围：平板(≤1200px)、大屏手机(≤768px)、手机(≤600px)、小屏手机(≤480px)
   ============================================================ */

/* ---------- ≤1200px: 小桌面/大平板过渡 ---------- */
@media (max-width: 1200px) {
  /* Logo 微调 */
  .logo img,
  .logo .custom-logo,
  a.custom-logo-link img {
    width: 180px;
    height: 52px;
  }

  .site-header .logo .custom-logo-link img,
  .site-header .logo .custom-logo {
    object-position: left center;
  }

  /* Hero 标题微缩 */
  .hero h1 {
    font-size: 44px;
  }

  /* Section 标题微缩 */
  .section-title {
    font-size: 32px;
  }

  /* 产品网格 5→3 列过渡 */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 内页 Hero 标题微缩 */
  .inner-hero h1 {
    font-size: 36px;
  }
}

/* ---------- ≤900px: 平板适配 ---------- */
@media (max-width: 900px) {
  /* Hero 区域高度减小 */
  .hero-carousel,
  .hero-slides,
  .hero-slide {
    min-height: 400px;
  }

  /* Hero 标题继续缩小 */
  .hero h1 {
    font-size: 36px;
  }

  /* Hero 描述字体缩小 */
  .hero p {
    font-size: 17px;
  }

  /* Section 标题缩小 */
  .section-title {
    font-size: 28px;
  }

  /* 内页 Hero 高度减小 */
  .inner-hero {
    min-height: 220px;
    padding: 40px 0 20px;
  }

  /* 内页 Hero 标题缩小 */
  .inner-hero h1 {
    font-size: 30px;
  }

  .inner-hero p {
    font-size: 14px;
  }

  /* About section 两列间距缩小 */
  .about-section {
    gap: 28px;
  }

  /* spacing 类在平板上压缩 */
  .spacing-standard {
    padding: 48px 32px;
  }

  .spacing-loose {
    padding: 64px 40px;
  }

  .spacing-loose .section-text h2 {
    margin-bottom: 20px;
  }

  .spacing-loose .section-text p {
    line-height: 1.7;
  }

  /* Footer Logo 缩小 */
  .footer-brand .custom-logo-link img,
  .footer-brand .custom-logo {
    width: 180px;
    height: 52px;
  }

  /* Footer 网格间距微调 */
  .footer-grid {
    gap: 20px;
  }
}

/* ---------- ≤768px: 大屏手机核心适配 ---------- */
@media (max-width: 768px) {
  /* Header 导航栏 */
  .nav {
    min-height: 68px;
    gap: 16px;
  }

  /* Logo 进一步缩小 */
  .logo img,
  .logo .custom-logo,
  a.custom-logo-link img {
    width: 150px;
    height: 43.3px;
  }

  /* 导航栏高度适配 */
  .site-header .logo .custom-logo-link img,
  .site-header .logo .custom-logo {
    object-position: left center;
  }

  /* Hero 区域高度进一步减小 */
  .hero-carousel,
  .hero-slides,
  .hero-slide {
    min-height: 360px;
  }

  /* Hero 标题手机端尺寸 */
  .hero h1 {
    font-size: 30px;
    max-width: 100%;
  }

  /* Hero 描述手机端尺寸 */
  .hero p {
    font-size: 16px;
    margin-top: 12px;
  }

  /* Hero eyebrow 标签缩小 */
  .hero-eyebrow {
    font-size: 10px;
    padding: 5px 10px;
    margin-bottom: 12px;
  }

  /* Hero 按钮组调整 */
  .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }

  .hero-actions .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* 隐藏轮播箭头（小屏幕触摸操作） */
  .hero-arrows {
    display: none;
  }

  /* 轮播圆点位置调整 */
  .hero-dots {
    bottom: 16px;
    gap: 8px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  /* Section 标题手机端 */
  .section-title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  /* section 间距优化 */
  section {
    padding: 32px 0;
  }

  /* 内页 Hero 手机端 */
  .inner-hero {
    min-height: 200px;
    padding: 36px 0 18px;
  }

  .inner-hero h1 {
    font-size: 26px;
  }

  .inner-hero p {
    font-size: 13px;
    margin-top: 8px;
  }

  /* 页面内容区 padding */
  .page-content {
    padding: 32px 0;
  }

  /* About 两列布局单列化 */
  .about-section {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 20px;
  }

  /* About 默认布局重置 */
  .layout-normal .section-text,
  .layout-normal .section-image,
  .layout-normal .mock-img,
  .layout-reverse .section-text,
  .layout-reverse .section-image,
  .layout-reverse .mock-img {
    order: unset;
  }

  /* 图片始终在文字下方（手机端统一） */
  .layout-normal .section-image,
  .layout-normal .mock-img {
    order: 2;
  }

  .layout-normal .section-text {
    order: 1;
  }

  .layout-reverse .section-image,
  .layout-reverse .mock-img {
    order: 2;
  }

  .layout-reverse .section-text {
    order: 1;
  }

  /* Section 文字排版 */
  .section-text h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .section-text p {
    font-size: 15px;
    margin-bottom: 12px;
  }

  /* spacing 类在手机上进一步压缩 */
  .spacing-compact {
    padding: 24px 20px;
  }

  .spacing-compact .section-text h2 {
    margin-bottom: 10px;
  }

  .spacing-standard {
    padding: 32px 24px;
  }

  .spacing-loose {
    padding: 44px 24px;
  }

  .spacing-loose .section-text h2 {
    margin-bottom: 16px;
  }

  .spacing-loose .section-text p {
    line-height: 1.6;
  }

  /* Footer 单列化 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-company-name {
    max-width: 100%;
  }

  .site-footer h5 {
    margin-bottom: 12px;
  }

  /* Footer Logo 手机端 */
  .footer-brand .custom-logo-link img,
  .footer-brand .custom-logo {
    width: 160px;
    height: 46.2px;
  }

  /* Contact 双列变单列 */
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact__content {
    text-align: center;
  }

  /* 表单元素优化 */
  .form input,
  .form textarea,
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    padding: 10px 12px;
  }

  /* 卡片内边距压缩 */
  .card {
    padding: 18px;
  }

  .product-card__body {
    padding: 14px 14px 10px;
  }

  .product-card__body h3 {
    font-size: 16px;
  }

  .product-card__body p {
    font-size: 13px;
  }

  /* 文本卡片链接区 */
  .product-text-card__link {
    padding: 18px;
  }

  .product-text-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .product-text-card p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  /* Accordion 手风琴 */
  .acc-title {
    font-size: 18px;
    padding: 14px 4px;
  }

  /* Mock image 高度减小 */
  .mock-img {
    min-height: 220px;
  }

  /* 二维码居中显示 */
  .page-contact .social-qr,
  .contact-info .social-qr {
    justify-content: center;
  }

  /* Copyright 居中 */
  .copyright {
    text-align: center;
  }
}

/* ---------- ≤600px: 手机全面单列化 ---------- */
@media (max-width: 600px) {
  /* 容器边距优化 */
  .container {
    width: calc(100% - 32px);
  }

  /* Hero 极致紧凑 */
  .hero-carousel,
  .hero-slides,
  .hero-slide {
    min-height: 340px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  /* Hero 布局全宽 */
  .hero-copy {
    max-width: 100%;
  }

  /* 产品网格单列 */
  .products-grid,
  .products-text-grid,
  .products-text-grid--3cols {
    grid-template-columns: 1fr;
  }

  /* Grid-3 单列 */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* About 区单列 */
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-about__media {
    order: 1;
  }

  .home-about__content {
    order: 2;
  }

  /* Section title 更小 */
  .section-title {
    font-size: 22px;
  }

  /* inner-hero 更紧凑 */
  .inner-hero {
    min-height: 180px;
    padding: 28px 0 14px;
  }

  .inner-hero h1 {
    font-size: 24px;
  }

  /* 页面内容更紧凑 */
  .page-content {
    padding: 24px 0;
  }

  section {
    padding: 24px 0;
  }
}

/* ---------- ≤480px: 小屏手机极致适配 ---------- */
@media (max-width: 480px) {
  /* 容器边距进一步收窄 */
  .container {
    width: calc(100% - 24px);
  }

  /* 导航栏紧凑 */
  .nav {
    min-height: 60px;
    gap: 12px;
  }

  /* Logo 小屏尺寸 */
  .logo img,
  .logo .custom-logo,
  a.custom-logo-link img {
    width: 130px;
    height: 37.6px;
  }

  /* 显示汉堡菜单按钮（与菜单隐藏同一断点） */
  .menu-toggle {
    display: flex;
  }

  /* 汉堡按钮稍大便于点击 */
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  /* Hero 最小高度 */
  .hero-carousel,
  .hero-slides,
  .hero-slide {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-eyebrow {
    font-size: 9px;
    padding: 4px 8px;
  }

  .hero-actions .btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  /* 轮播点更小 */
  .hero-dots {
    bottom: 12px;
    gap: 6px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  /* Section 标题最小 */
  .section-title {
    font-size: 20px;
    margin-bottom: 14px;
  }

  /* inner-hero 最小 */
  .inner-hero {
    min-height: 160px;
    padding: 24px 0 12px;
  }

  .inner-hero h1 {
    font-size: 21px;
  }

  .inner-hero p {
    font-size: 12px;
  }

  /* 卡片更紧凑 */
  .card {
    padding: 14px;
    border-radius: 10px;
  }

  .product-tile {
    border-radius: 10px;
  }

  .product-card__body {
    padding: 12px 12px 8px;
  }

  .product-card__body h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  /* 文本卡片 */
  .product-text-card__link {
    padding: 14px;
  }

  .product-text-card {
    border-radius: 10px;
  }

  .product-text-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .product-text-card p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .card-link-text {
    font-size: 12px;
  }

  /* About section */
  .about-section {
    gap: 18px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .section-text h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .section-text p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .section-text .btn {
    margin-top: 16px;
    padding: 9px 16px;
    font-size: 14px;
  }

  /* spacing 极致压缩 */
  .spacing-compact {
    padding: 20px 16px;
  }

  .spacing-standard {
    padding: 24px 16px;
  }

  .spacing-loose {
    padding: 32px 16px;
  }

  .spacing-loose .section-text h2 {
    margin-bottom: 12px;
  }

  /* Mock image */
  .mock-img {
    min-height: 180px;
    border-radius: 12px;
  }

  .section-image {
    border-radius: 12px;
  }

  /* Accordion */
  .acc-title {
    font-size: 16px;
    padding: 12px 4px;
  }

  .acc-content {
    padding: 0 4px 14px;
    font-size: 14px;
  }

  /* Footer 更紧凑 */
  .site-footer {
    padding-top: 32px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-brand .custom-logo-link img,
  .footer-brand .custom-logo {
    width: 140px;
    height: 40.4px;
  }

  .footer-company-name {
    font-size: 17px;
  }

  .footer-brand p {
    font-size: 13px;
  }

  .site-footer h5 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .copyright {
    padding: 16px 0;
    font-size: 12px;
  }

  /* Contact */
  .contact-block {
    padding-top: 24px;
  }

  .contact-wrap {
    gap: 16px;
  }

  /* 表单 */
  .form input,
  .form textarea,
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    padding: 9px 11px;
    font-size: 15px;
    border-radius: 8px;
  }

  .wpcf7-form textarea {
    min-height: 100px;
  }

  .wpcf7-form input[type="submit"],
  .wpcf7-form button[type="submit"] {
    padding: 10px 18px;
    font-size: 15px;
  }

  /* 二维码 */
  .qr-label {
    font-size: 10px;
  }

  .qr-card img {
    width: 100px;
    height: 100px;
    padding: 3px;
  }

  .page-contact .social-qr .qr-card img,
  .contact-info .social-qr .qr-card img {
    width: 120px;
    height: 120px;
  }

  /* 按钮 */
  .btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
  }

  /* Social QR 居中 */
  .social-qr {
    gap: 12px;
  }
}