/*
Theme Name: Jietai
Theme URI: http://127.0.0.1:8080/
Author: Jietai
Description: English business site for Wuxi Jietai Machinery Trade Co., Ltd.
Version: 3.0.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: jietai
*/

:root {
  --brand: #466d98;
  --brand-dark: #355a7f;
  --success: #1a7f5a;
  --success-dark: #146248;
  --success-surface: #e8f6ef;
  --warning: #b45309;
  --warning-dark: #92400e;
  --warning-surface: #fef6e8;
  --danger: #b42318;
  --danger-dark: #912018;
  --danger-surface: #fdecec;
  --navy: #0c2340;
  --steel: #5d6b7b;
  --ink: #1c2836;
  --muted: #6b7785;
  --line: #e2e8ef;
  --surface: #f4f6f9;
  --max: 1240px;
  --header-bottom: 132px;
  --radius: 4px;
  --shadow: 0 8px 28px rgba(12, 35, 64, 0.08);
  --font-display: "Barlow Condensed", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  /* Type scale — body + header (nav uses --text-nav, larger than body) */
  --text-xs: 1rem;
  --text-sm: 1.125rem;
  --text-base: 1.25rem;
  --text-md: 1.4375rem;
  --text-lg: 1.5625rem;
  --text-topbar: 1.1875rem;
  --text-nav: 1.125rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --motion-duration: 0.45s;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  background: #fff;
  line-height: 1.6;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dockIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .container,
  .hero.hero-slider .container.hero-slider-inner { animation: none; }
  .floating-inquiry { animation: none; }
}

.topbar {
  background: var(--navy);
  color: #dce4ee;
  font-size: var(--text-topbar);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a {
  transition: color 0.2s ease;
}
.topbar a:hover { color: #fff; }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.lang-pill {
  border: 1px solid rgba(70, 109, 152, 0.6);
  color: #c8d6e4;
  border-radius: var(--radius);
  padding: 2px 10px;
  letter-spacing: 0.06em;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s var(--motion-ease), border-color 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.logo img.custom-logo,
.logo .custom-logo-link img {
  width: auto;
  height: 52px;
  max-width: 120px;
  object-fit: contain;
}
.logo-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text small {
  color: var(--muted);
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
}

.header-toolbar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.header-util {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.btn-header-inquire {
  white-space: nowrap;
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 12px 24px;
  border-radius: 6px;
  line-height: 1.2;
}

.nav { display: flex; align-items: center; }
.nav .menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav .menu > li { position: relative; }
.nav .menu > li > a {
  display: inline-block;
  padding: 10px 12px;
  font-size: var(--text-nav);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}
.nav .menu > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--motion-ease);
}
.nav .menu > li > a:hover::after,
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
  transform: scaleX(1);
}
.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_item > a { color: var(--brand); }
.nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 60;
  list-style: none;
  margin: 0;
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { display: block; }
.nav .sub-menu a {
  display: block;
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  text-transform: none;
  letter-spacing: 0;
}
.nav .sub-menu a:hover { background: var(--surface); color: var(--brand-dark); }

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.hero {
  position: relative;
  min-height: min(72vh, 640px);
  color: #fff;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 35, 64, 0.92) 0%, rgba(12, 35, 64, 0.55) 55%, rgba(70, 109, 152, 0.35) 100%);
}
.hero .container { position: relative; z-index: 1; animation: fadeUp 0.6s ease; }
.hero h1 {
  margin: 0 0 16px;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.15;
  font-style: italic;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
}
.hero p {
  max-width: 560px;
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  line-height: 1.55;
  margin: 0 0 28px;
  color: #dce4ee;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s var(--motion-ease),
    box-shadow 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--text-sm);
}
.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(70, 109, 152, 0.28);
}
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn.outline:hover { background: #fff; color: var(--navy); }
.btn.light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn.light:hover { background: var(--surface); border-color: var(--surface); }
.btn-sm { padding: 8px 14px; font-size: var(--text-xs); }
.product-card-actions { display: flex; gap: 8px; margin: 0 16px 16px; flex-wrap: wrap; }
.product-card .btn.light {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.product-card .btn.light:hover {
  background: var(--surface);
  color: var(--brand-dark);
}

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--surface); }
.section-head { margin-bottom: 36px; }
.section h2,
.page-hero h1,
.entry h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  color: var(--navy);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.lead {
  color: var(--muted);
  margin: 0;
  max-width: 640px;
  font-size: var(--text-md);
  line-height: 1.55;
  font-weight: var(--fw-regular);
}
.kicker {
  color: var(--brand);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: var(--text-md);
  margin-bottom: 4px;
}
.trust-item span { color: var(--muted); font-size: var(--text-sm); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(145deg, #8a96a3 0%, #dce2e8 40%, #5c6772 100%);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.about-panel {
  background: var(--navy);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius);
}
.about-panel .kicker { color: #9eb8d4; margin-bottom: 8px; }
.about-panel a { color: #fff; text-decoration: underline; }

.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reason {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  padding: 22px 18px;
  border-radius: var(--radius);
}
.reason strong { display: block; color: var(--navy); margin-bottom: 6px; }
.reason span { color: var(--muted); font-size: var(--text-sm); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.product-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-thumb {
  height: 140px;
  background: linear-gradient(145deg, #7a8794 0%, #c5ccd4 45%, #4a5560 100%);
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 {
  margin: 16px 16px 8px;
  font-size: var(--text-md);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  line-height: 1.3;
}
.product-card p {
  margin: 0 16px 12px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list { display: grid; gap: 16px; }
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}
.news-item:hover { border-color: var(--brand); }
.news-thumb {
  width: 100px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #8a96a3, #dce2e8);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 {
  margin: 0;
  font-size: var(--text-md);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: #b8c5d4;
  margin: 0 0 12px;
  line-height: 1.2;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dce4ee;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-home .icon {
  width: 15px;
  height: 15px;
}
.breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.55;
  color: #c8d6e4;
}
.breadcrumb-sep .icon {
  width: 14px;
  height: 14px;
}
.breadcrumb-current {
  color: #fff;
  font-weight: var(--fw-semibold);
  opacity: 1;
}
.breadcrumbs svg {
  display: block;
  flex-shrink: 0;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 44px;
}
.page-hero h1 { color: #fff; margin: 0; font-weight: var(--fw-semibold); }
.page-hero p {
  margin: 10px 0 0;
  color: #c8d6e4;
  max-width: 640px;
  font-size: var(--text-md);
  line-height: 1.55;
}
.entry { padding: 56px 0 80px; }
.entry p,
.entry li {
  font-size: var(--text-base);
  line-height: 1.65;
}
.entry h2 {
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  margin: 28px 0 10px;
  color: var(--navy);
  font-family: var(--font-display);
}
.entry h3 {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  margin: 22px 0 8px;
  color: var(--navy);
}

.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: start; }
.contact-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-card a { color: var(--brand-dark); font-weight: 600; }

.inquiry-form label {
  display: block;
  font-weight: var(--fw-semibold);
  margin: 16px 0 6px;
  font-size: var(--text-sm);
}
.inquiry-form label:first-of-type { margin-top: 0; }
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #cfd6df;
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(70, 109, 152, 0.2);
}
.inquiry-form textarea { min-height: 140px; resize: vertical; }
.inquiry-form .btn { width: 100%; margin-top: 8px; }
.notice {
  background: var(--surface);
  color: var(--ink);
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
}
.notice-success {
  background: var(--success-surface);
  color: var(--success-dark);
  border-left-color: var(--success);
}
.notice-warning {
  background: var(--warning-surface);
  color: var(--warning-dark);
  border-left-color: var(--warning);
}
.notice-error,
.notice.error {
  background: var(--danger-surface);
  color: var(--danger-dark);
  border-left-color: var(--danger);
}
.btn-success {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.btn-success:hover {
  background: var(--success-dark);
  border-color: var(--success-dark);
  box-shadow: 0 4px 14px rgba(26, 127, 90, 0.28);
}
.btn-warning {
  background: var(--warning);
  border-color: var(--warning);
  color: #fff;
}
.btn-warning:hover {
  background: var(--warning-dark);
  border-color: var(--warning-dark);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
}
.hp { position: absolute; left: -9999px; }

.footer-cta {
  background: var(--brand);
  color: #fff;
  padding: 32px 0;
  position: relative;
}
.footer-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  color: #fff;
}
.footer-cta p {
  margin: 6px 0 0;
  opacity: 0.92;
  font-size: var(--text-md);
  line-height: 1.5;
}
.footer-cta .btn { background: #fff; color: var(--navy); border-color: #fff; }
.footer-cta .btn:hover { background: var(--surface); }

.site-footer { background: var(--navy); color: #c8d6e4; padding: 48px 0 24px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 32px; }
.site-footer h2, .site-footer h3 {
  color: #fff;
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
}
.site-footer p,
.site-footer .footer-links {
  font-size: var(--text-sm);
  line-height: 1.55;
}
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 8px 0; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: var(--text-xs);
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(12, 35, 64, 0.08);
}
.mobile-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.mobile-bar a {
  text-align: center;
  padding: 14px 8px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  border-right: 1px solid var(--line);
}
.mobile-bar a:last-child {
  border-right: 0;
  background: var(--brand);
  color: #fff;
}
.mobile-bar a:hover { color: var(--brand); }
.mobile-bar a:last-child:hover { background: var(--brand-dark); color: #fff; }

/* Two-column shell: main + product sidebar (detail + news) */
body.product-detail-page .product-detail-layout,
body.news-sidebar-page .news-page-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
body.product-detail-page .product-detail-main-column,
body.news-sidebar-page .news-page-main,
body.news-sidebar-page .news-single-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
body.product-detail-page .product-detail-main-column .product-detail-after-prose {
  max-width: 100%;
}
body.product-detail-page .product-sidebar,
body.news-sidebar-page .product-sidebar {
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  visibility: visible !important;
  width: 340px;
  max-width: 340px;
  position: sticky;
  top: calc(var(--header-bottom, 118px) + 16px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  max-height: calc(100vh - var(--header-bottom, 118px) - 32px);
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 2;
}
.product-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.product-table-wrap table {
  margin: 0;
}
.product-detail-prose > *:first-child {
  margin-top: 0;
}

/* Product detail — prose rhythm + heading accents */
.product-detail-prose-body {
  color: var(--ink);
  line-height: 1.65;
}
.product-detail-prose-body > *:first-child {
  margin-top: 0;
}
.product-detail-prose-body p {
  margin: 0 0 0.85em;
  line-height: 1.65;
}
.product-detail-prose-body h2,
.product-detail-prose-body h3,
.product-detail-prose-body h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.product-detail-prose-body h2 {
  font-size: 1.375rem;
  margin: 1.75rem 0 0.65rem;
  padding: 0.15em 0 0.15em 14px;
  border-left: 4px solid var(--brand);
}
.product-detail-prose-body h3 {
  font-size: 1.2rem;
  margin: 1.35rem 0 0.5rem;
  padding-left: 12px;
  border-left: 3px solid rgba(70, 109, 152, 0.45);
}
.product-detail-prose-body h4 {
  font-size: 1.05rem;
  margin: 1.1rem 0 0.45rem;
  padding-left: 10px;
  border-left: 2px solid var(--warning);
}
.product-detail-prose-body h2 + p,
.product-detail-prose-body h3 + p,
.product-detail-prose-body h4 + p {
  margin-top: 0.35em;
}
.product-detail-prose-body ul,
.product-detail-prose-body ol {
  margin: 0.35em 0 1em;
  padding-left: 1.35em;
  line-height: 1.6;
}
.product-detail-prose-body li {
  margin-bottom: 0.35em;
}
.product-detail-prose-body li:last-child {
  margin-bottom: 0;
}
.product-detail-main-column .product-related-grades h2,
.product-detail-main-column .product-also-like__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  margin: 0 0 1rem;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  line-height: 1.35;
}

.product-detail-prose .product-specs {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: var(--text-sm);
  line-height: 1.55;
}
.product-sidebar-heading {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.product-sidebar-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-sidebar-related-list li {
  margin: 0 0 10px;
}
.product-sidebar-related-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.product-sidebar-related-link:hover {
  background: #fff;
  border-color: var(--line);
}
.product-sidebar-related-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
  background: #dfe5ec;
}
.product-sidebar-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-sidebar-related-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.product-sidebar-related-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  line-height: 1.3;
}
.product-sidebar-related-excerpt {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.35;
}
.product-sidebar-all {
  margin: 12px 0 0;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
}
.product-sidebar-all a { color: var(--brand); }
.product-sidebar-inquire .btn-block { width: 100%; text-align: center; }
.product-sidebar-contact {
  font-size: var(--text-sm);
  line-height: 1.5;
}
.product-sidebar-contact p { margin: 0 0 8px; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid, .reasons { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  body.product-detail-page .product-detail-layout,
  body.news-sidebar-page .news-page-layout {
    display: flex !important;
    flex-direction: column;
  }
  body.product-detail-page .product-detail-main-column,
  body.news-sidebar-page .news-page-main,
  body.news-sidebar-page .news-single-main {
    order: 1;
    grid-column: auto;
    width: 100%;
  }
  body.product-detail-page .product-sidebar,
  body.news-sidebar-page .product-sidebar {
    order: 2;
    grid-column: auto;
    width: 100%;
    max-width: 100%;
    position: static;
    max-height: none;
    margin-top: 32px;
  }
}

.entry-news {
  padding: 56px 0 80px;
}
.news-single-thumb {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}
.news-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.news-single-prose {
  font-size: var(--text-base);
  line-height: 1.65;
}
.news-single-prose h2,
.news-single-prose h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 1.5em 0 0.6em;
}
/* Previous / next (news + product detail) */
.adjacent-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.adjacent-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
a.adjacent-post-nav__link:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(15, 45, 82, 0.08);
  transform: translateY(-1px);
}
.adjacent-post-nav__link--empty {
  cursor: default;
  opacity: 0.72;
  background: #f4f6f9;
}
.adjacent-post-nav__cell--next .adjacent-post-nav__link {
  text-align: right;
  align-items: flex-end;
}
.adjacent-post-nav__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.adjacent-post-nav__cell--next .adjacent-post-nav__label {
  flex-direction: row-reverse;
}
.adjacent-post-nav__icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.25;
}
.adjacent-post-nav__title {
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
a.adjacent-post-nav__link:hover .adjacent-post-nav__title {
  color: var(--brand);
}
.adjacent-post-nav__title--muted {
  font-weight: 500;
  color: var(--muted);
}
.product-detail-after-prose {
  margin-top: 8px;
}
.product-detail-after-prose .adjacent-post-nav {
  margin-top: 32px;
}
.product-detail-after-prose .product-related-grades {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.product-also-like {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.product-also-like__title {
  margin: 0 0 20px;
}
.product-also-like__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.product-also-like__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-also-like__card:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(15, 45, 82, 0.07);
  color: var(--brand);
}
.product-also-like__card-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.55;
}
.product-also-like__card:hover .product-also-like__card-icon {
  opacity: 1;
}

@media (max-width: 640px) {
  .adjacent-post-nav {
    grid-template-columns: 1fr;
  }
  .adjacent-post-nav__cell--next .adjacent-post-nav__link {
    text-align: left;
    align-items: flex-start;
  }
  .adjacent-post-nav__cell--next .adjacent-post-nav__label {
    flex-direction: row;
  }
}

.news-back-link {
  margin-top: 36px;
}

@media (max-width: 768px) {
  body.has-mobile-bar { padding-bottom: 56px; }
  .split, .contact-grid, .footer-grid, .trust-grid, .reasons, .product-grid,
  .product-catalog-grid {
    grid-template-columns: 1fr;
  }
  .news-thumb { width: 100%; height: 160px; }
  .header-util .btn-header-inquire { display: none; }
  .header-util {
    border-left: 0;
    padding-left: 0;
    margin-left: auto;
  }
  .menu-toggle { display: inline-block; order: 2; }
  .header-toolbar { flex-wrap: wrap; justify-content: flex-end; }
  .nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 16px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav .menu { flex-direction: column; align-items: stretch; }
  .nav .sub-menu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding-left: 12px;
    max-height: none;
  }
  .header-inner { flex-wrap: wrap; }
  .logo-text strong { font-size: 1.45rem; }
  .footer-cta .container { flex-direction: column; align-items: flex-start; }
  .mobile-bar { display: block; }
  .inquiry-form .btn { width: 100%; }
}

/* —— v2 visual layer —— */
:root {
  --band: #e8eef5;
  --amber: #d4a017;
  --icon-sm: 18px;
  --icon-md: 24px;
  --icon-lg: 32px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.icon { width: var(--icon-md); height: var(--icon-md); flex-shrink: 0; }
.icon-sm { width: var(--icon-sm); height: var(--icon-sm); }
.icon-lg { width: var(--icon-lg); height: var(--icon-lg); }

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.topbar-wechat { opacity: 0.95; }

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search-icon {
  position: absolute;
  left: 10px;
  color: var(--muted);
  pointer-events: none;
}
.header-search input {
  width: 160px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px 10px 38px;
  font: inherit;
  font-size: var(--text-base);
  color: var(--ink);
  transition: width 0.2s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.header-search input::placeholder { color: var(--muted); font-weight: var(--fw-regular); }
.header-search input:hover {
  background: #fff;
  border-color: var(--line);
}
.header-search input:focus {
  outline: none;
  width: 188px;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(70, 109, 152, 0.12);
}

.nav .sub-menu {
  min-width: 420px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 10px 0;
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { display: grid; }
.nav .sub-menu li { break-inside: avoid; }
.nav .sub-menu a {
  border-left: 3px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.nav .sub-menu a:hover {
  border-left-color: var(--brand);
  background: var(--band);
}

.site-header .header-inner,
.nav,
.nav .menu {
  position: static;
}
.nav .menu > li.menu-item-products-mega {
  position: static;
}
.menu-item-products-mega > a::after {
  display: none;
}
.product-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-bottom, 118px);
  width: 100%;
  z-index: 80;
  color: #dce4ee;
  padding: 20px 0 14px;
  margin-top: 0;
  background: #0a1628;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--motion-ease), visibility 0.22s;
  pointer-events: none;
  overflow: visible;
}
.product-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.menu-item-products-mega.is-mega-open > .product-mega,
.menu-item-products-mega:hover > .product-mega,
.menu-item-products-mega:focus-within > .product-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.product-mega-inner {
  position: relative;
  z-index: 1;
  overflow: visible;
}
.product-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  overflow: visible;
}
.product-mega-col {
  overflow: visible;
  min-width: 0;
}
.product-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-mega-item {
  position: relative;
  margin: 0;
}
.product-mega-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: #e8eef5;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
.product-mega-item > a:hover {
  background: rgba(70, 109, 152, 0.35);
  color: #fff;
}
.product-mega-item .mega-item-chevron {
  flex-shrink: 0;
  opacity: 0.65;
}
.product-mega-item:not(.has-children) .mega-item-chevron {
  display: none;
}
.product-mega-flyout {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 280px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #0f1e34;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: var(--shadow);
  z-index: 2;
}
.product-mega-item.has-children:hover > .product-mega-flyout,
.product-mega-item.has-children:focus-within > .product-mega-flyout {
  display: block;
}
.product-mega-flyout a {
  display: block;
  padding: 9px 14px;
  font-size: var(--text-base);
  color: #c8d6e4;
  transition: background 0.15s ease, color 0.15s ease;
}
.product-mega-flyout a:hover {
  background: rgba(70, 109, 152, 0.3);
  color: #fff;
}
.product-mega-flyout-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-mega-flyout-item.has-children {
  position: relative;
}
.product-mega-flyout-nested {
  z-index: 3;
}
.product-mega-flyout-item.has-children:hover > .product-mega-flyout-nested,
.product-mega-flyout-item.has-children:focus-within > .product-mega-flyout-nested {
  display: block;
}
.product-mega-item > .product-mega-flyout.flyout-flip-x,
.product-mega-flyout-nested.flyout-flip-x {
  left: auto;
  right: 100%;
}
.product-mega-item.is-group > a {
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
}
.product-mega-foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-base);
}
.product-mega-foot a {
  color: #b8cfe4;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--text-sm);
}
.product-mega-foot a:hover { color: #fff; }

.entry-products-catalog .product-catalog-group {
  padding: 40px 0 8px;
  scroll-margin-top: calc(var(--header-bottom, 118px) + 24px);
}
.entry-products-catalog .product-catalog-group:first-of-type {
  padding-top: 16px;
}
.entry-products-catalog .product-catalog-group-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 10px;
}
.entry-products-catalog .product-catalog-group .product-catalog-section {
  padding: 24px 0 28px;
  margin-left: 0;
  border-bottom: 1px solid var(--line);
}
.entry-products-catalog .product-catalog-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-bottom, 118px) + 24px);
}
.entry-products-catalog .product-catalog-section:target {
  animation: catalogSectionFlash 1.2s ease;
}
@keyframes catalogSectionFlash {
  0% { background: rgba(70, 109, 152, 0.08); }
  100% { background: transparent; }
}
.entry-products-catalog .product-catalog-section:last-child {
  border-bottom: 0;
}
.product-catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.product-catalog-head h2,
.product-catalog-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
}
.product-catalog-group .product-catalog-head h3 {
  font-size: 1.25rem;
}
.product-catalog-head h2 a:hover,
.product-catalog-head h3 a:hover { color: var(--brand); }
.product-catalog-inquire {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand);
}
.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-catalog-grid .product-card {
  height: 100%;
}
.product-subcat-links { margin-bottom: 32px; }
.product-subcat-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--navy);
}
.product-subcat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-subcat-list a {
  font-size: var(--text-sm);
  color: var(--brand);
  font-weight: var(--fw-medium);
}

/* Hero slider: kill generic .hero::before overlay (would sit above text). */
.hero.hero-slider::before {
  content: none;
  display: none;
}
.hero-slider {
  min-height: min(78vh, 680px);
  background: var(--navy);
  isolation: isolate;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.6s ease-in-out;
  pointer-events: none;
  backface-visibility: hidden;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Fixed scale — no keyframe zoom (resets on slide change caused visible twitch). */
  transform: scale(1.05);
  backface-visibility: hidden;
}
.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 12;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.hero-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.25s ease, transform 0.25s ease;
}
.hero-slider-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}
.hero-slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hero-slider .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(12, 35, 64, 0.94) 0%,
    rgba(12, 35, 64, 0.88) 38%,
    rgba(12, 35, 64, 0.5) 62%,
    rgba(12, 35, 64, 0.32) 100%
  );
}
.hero.hero-slider .container.hero-slider-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: 24px;
  animation: fadeUp 0.6s ease;
}
.hero-slider .hero-copy {
  position: relative;
  max-width: 640px;
}
.hero-slider .hero-circles {
  position: relative;
  z-index: 1;
}
.hero-slider .hero-copy .kicker {
  color: #b8cfe4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.hero-slider .hero-copy h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-slider .hero-copy > p {
  color: #e8eef5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.hero-circles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--amber);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.hero-circle:hover { transform: scale(1.04); }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }

.trust-band {
  background: var(--band);
  padding: 36px 0;
  border-bottom: 1px solid rgba(70, 109, 152, 0.12);
}
.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-band-item {
  padding: 8px 24px;
  border-right: 1px solid rgba(70, 109, 152, 0.2);
  text-align: center;
}
.trust-band-item:last-child { border-right: 0; }
.trust-band-icon {
  color: var(--brand);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
.trust-band-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.trust-band-item span { color: var(--muted); font-size: var(--text-sm); line-height: 1.45; }

.why-banner {
  background: var(--navy);
  color: #dce4ee;
  padding: 28px 0;
}
.why-banner-inner { max-width: 900px; margin: 0 auto; text-align: center; font-size: var(--text-md); }
.why-banner p { margin: 0; }

.section-products {
  background-color: #fff;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 18px,
    rgba(70, 109, 152, 0.04) 18px,
    rgba(70, 109, 152, 0.04) 19px
  );
}
.section-head-icons .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker-icon { color: var(--brand); }
.section-head-icons .kicker-icon--success { color: var(--success); }
.section-head-icons .kicker-icon--warning { color: var(--warning); }

.product-card-v2 { overflow: hidden; padding: 0; transition-duration: 0.28s; }
.product-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.product-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}
.product-card-v2:hover .product-card-media img { transform: scale(1.05); }
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.product-card-v2:hover .product-card-overlay { opacity: 1; }
.product-read-more {
  color: #fff;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-card-body { padding: 16px 16px 8px; flex: 1; }
.product-card-foot { padding: 0 16px 16px; }
.btn-block { display: block; text-align: center; width: 100%; }

.section-partners {
  border-top: 1px solid var(--line);
  background: #fff;
}
.section-head-center {
  text-align: center;
}
.section-head-center .lead {
  margin-left: auto;
  margin-right: auto;
}
.partners-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.partner-logo-grid {
  width: 100%;
  height: auto;
  max-height: none;
  opacity: 1;
  filter: none;
}
.partner-logo-strip {
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  opacity: 0.92;
}
.partner-logo:not(.partner-logo-grid):not(.partner-logo-strip) {
  max-height: 48px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(30%);
}

.about-split { align-items: start; }
.about-copy p,
.about-excerpt p {
  font-size: var(--text-base);
  line-height: 1.65;
}
.about-excerpt {
  border-bottom: 1px dashed rgba(70, 109, 152, 0.35);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.about-stack { position: relative; }
.about-panel-float {
  margin-top: -48px;
  margin-left: 24px;
  margin-right: 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.about-panel h3 {
  margin: 0 0 16px;
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-display);
}

.about-advantages {
  background: var(--band);
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid rgba(70, 109, 152, 0.12);
}
.about-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.about-advantage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.about-advantage-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.about-advantage-icon {
  color: var(--brand);
  margin-bottom: 14px;
}
.about-advantage-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  line-height: 1.25;
}
.about-advantage-card p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
}
.about-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.about-page-main {
  max-width: 720px;
}
.entry-about .about-page-main h2 {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.entry-about .about-page-main h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.about-page-photo {
  margin-bottom: 20px;
}
.about-page-panel {
  position: sticky;
  top: 100px;
}
.about-page-panel .btn-block {
  margin-top: 16px;
}
.page-hero-lead {
  max-width: 640px;
  margin: 10px 0 0;
  color: #c8d6e4;
  font-size: var(--text-md);
  line-height: 1.55;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-size: var(--text-base);
  line-height: 1.45;
}
.contact-list a { color: #fff; text-decoration: underline; }

.news-item-v2 {
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.news-item-v2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.news-item-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}
.news-item-v2.has-thumb .news-item-card {
  grid-template-columns: 80px 112px minmax(0, 1fr) auto;
}
.news-item-card:hover h3 {
  color: var(--brand);
}
.news-item-v2 .news-body {
  min-width: 0;
}
.news-item-card .news-excerpt {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-date-block {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-height: 72px;
  line-height: 1.1;
}
.news-date-block strong {
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-display);
}
.news-date-block span {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-item-v2 .news-body time {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--muted);
  margin-bottom: 6px;
}
.news-item-v2 .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  white-space: nowrap;
  padding-left: 8px;
  justify-self: end;
}

.page-hero-image {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  padding: 56px 0 52px;
}
.page-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 35, 64, 0.88) 0%, rgba(12, 35, 64, 0.75) 100%);
}
.page-hero-image .container {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.55s var(--motion-ease);
}

.product-hero {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 48px 0 40px;
}
.product-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 35, 64, 0.55) 0%, rgba(12, 35, 64, 0.92) 100%);
}
.product-hero .container { position: relative; z-index: 1; }
.product-hero h1 { color: #fff; margin: 8px 0 0; }
.product-hero-lead {
  max-width: 640px;
  color: #c8d6e4;
  margin: 12px 0 0;
  font-size: var(--text-md);
  line-height: 1.55;
}

.entry-product .product-single-content table {
  width: auto;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: var(--text-base);
  border: 0;
  display: table;
  table-layout: auto;
}
.entry-product .product-single-content th,
.entry-product .product-single-content td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.entry-product .product-single-content th {
  background: var(--band);
  color: var(--navy);
  font-weight: 700;
}
.entry-product .product-single-content tr:nth-child(even) td { background: #fafbfc; }
.entry-product .product-single-content table[border] {
  border: 0;
}
.product-grade-notice {
  background: var(--warning-surface);
  border-left: 4px solid var(--warning);
  padding: 16px 18px;
  margin: 0 0 28px;
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--ink);
}
.product-grade-notice strong {
  color: var(--warning-dark);
}
.product-related-grades {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.product-related-grades h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin: 0 0 14px;
  color: var(--navy);
}
.product-related-grades-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-related-grades-list a {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--brand);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.product-related-grades-list a:hover {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
}
.product-back-link {
  margin-top: 32px;
  font-size: var(--text-sm);
}
.sidebar-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.footer-cta.has-bg {
  background-color: var(--brand);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.footer-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(70, 109, 152, 0.88);
}
.footer-cta.has-bg .container {
  position: relative;
  z-index: 1;
}

.home-cta {
  margin: 0;
}
.section-reasons.about-advantages {
  padding-top: clamp(48px, 6vw, 72px);
}

.contact-groups {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-group {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.contact-group-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
  line-height: 1.45;
}
.contact-group-line:last-child {
  margin-bottom: 0;
}
.contact-group-phone-label {
  font-weight: var(--fw-medium);
}
.contact-groups-card .contact-group,
.contact-groups-about .contact-group,
.contact-groups-sidebar .contact-group {
  border-bottom-color: var(--line);
}
.contact-groups-sidebar .contact-group-line {
  font-size: var(--text-sm);
}
.contact-card-address {
  margin-top: 16px;
  color: var(--muted);
}
.footer-contact.contact-groups .contact-group {
  display: block;
}
.footer-contact.contact-groups a {
  color: inherit;
}

.floating-inquiry {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 54;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 8px;
  box-shadow: var(--shadow);
  animation: dockIn 0.55s var(--motion-ease) 0.6s both;
}
.floating-inquiry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--navy);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-width: 64px;
  transition: background 0.15s, color 0.15s;
}
.floating-inquiry-item:hover {
  background: var(--band);
  color: var(--brand-dark);
}
.floating-inquiry-quote {
  background: var(--brand);
  color: #fff;
}
.floating-inquiry-quote:hover {
  background: var(--brand-dark);
  color: #fff;
}

@media (max-width: 1024px) {
  .about-advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .about-page-layout { grid-template-columns: 1fr; }
  .about-page-panel { position: static; }
  .hero.hero-slider .container.hero-slider-inner { grid-template-columns: 1fr; }
  .hero-circles {
    flex-direction: row;
    justify-content: flex-start;
  }
  .trust-band-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-band-item:nth-child(2) { border-right: 0; }
  .trust-band-item { border-right: 0; border-bottom: 1px solid rgba(70, 109, 152, 0.15); padding: 16px; }
  .news-item-card,
  .news-item-v2.has-thumb .news-item-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px 18px;
  }
  .news-item-v2.has-thumb .news-item-card {
    grid-template-columns: 72px 100px minmax(0, 1fr) auto;
  }
  .news-item-v2 .news-thumb { grid-column: auto; }
}

@media (max-width: 1024px) {
  .product-mega-grid { grid-template-columns: 1fr; }
  .product-mega-item > .product-mega-flyout {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    margin: 0 0 8px 12px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .product-mega-item.has-children.is-open > .product-mega-flyout {
    display: block;
  }
  .product-mega-flyout-nested {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 4px 12px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .product-mega-flyout-item.has-children.is-open > .product-mega-flyout-nested {
    display: block;
  }
}

@media (max-width: 768px) {
  .about-advantages-grid { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .product-mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    padding: 12px 0 0;
    background: var(--surface);
    color: var(--ink);
    box-shadow: none;
    border-top: 0;
  }
  .menu-item-products-mega.open > .product-mega { display: block; }
  .product-mega-item > a { color: var(--ink); }
  .product-mega-flyout a { color: var(--steel); }
  .floating-inquiry { bottom: 64px; right: 8px; scale: 0.92; transform-origin: bottom right; }
  .about-panel-float { margin-left: 0; margin-top: -32px; }
  .hero-circles { display: none; }
  .nav .sub-menu {
    min-width: 100%;
    grid-template-columns: 1fr;
    display: block;
  }
  .news-item-card,
  .news-item-v2.has-thumb .news-item-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .news-item-v2 .more {
    grid-column: 1 / -1;
    justify-self: start;
    padding-left: 0;
    margin-top: 4px;
  }
  .news-date-block {
    flex-direction: row;
    gap: 8px;
    min-height: auto;
    justify-content: flex-start;
    padding: 10px 14px;
  }
}
