/* SEO 营销模板 — 参考 k560 风格 */
body.tpl-seo {
  --seo-primary: #19a97b;
  --seo-primary-dark: #128f68;
  --seo-text: #333;
  --seo-muted: #888;
  --seo-bg: #f5f7fa;
  --seo-border: #e8e8e8;
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--seo-text);
  background: #fff;
}

body.tpl-seo .auto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

body.tpl-seo .seo-topbar {
  background: #f8f8f8;
  border-bottom: 1px solid var(--seo-border);
  font-size: 13px;
  color: var(--seo-muted);
}

body.tpl-seo .topbar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.tpl-seo .topbar-phone {
  color: var(--seo-primary);
  font-weight: 600;
}

body.tpl-seo .seo-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

body.tpl-seo .header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

body.tpl-seo .logo-box .site-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

body.tpl-seo .site-nav {
  flex: 1;
  display: flex;
  gap: 8px;
  justify-content: center;
}

body.tpl-seo .site-nav a {
  padding: 8px 18px;
  color: var(--seo-text);
  text-decoration: none;
  font-size: 15px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

body.tpl-seo .site-nav a:hover,
body.tpl-seo .site-nav a.active {
  color: var(--seo-primary);
  background: rgba(25, 169, 123, 0.08);
}

body.tpl-seo .header-cta {
  background: var(--seo-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

body.tpl-seo .header-cta:hover {
  background: var(--seo-primary-dark);
}

body.tpl-seo .banner-section {
  overflow: hidden;
}
body.tpl-seo .banner-arrow { display: none !important; }

body.tpl-seo .banner-slider {
  display: flex;
  transition: transform 0.5s ease;
}

body.tpl-seo .banner-slider .banner-item {
  flex: 0 0 100%;
  position: relative;
}

body.tpl-seo .banner-slider .banner-item img,
body.tpl-seo .banner-placeholder {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #d4f5e9, #a8e6cf);
}

body.tpl-seo .page-hero {
  background: linear-gradient(135deg, var(--seo-primary), var(--seo-primary-dark));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

body.tpl-seo .page-hero h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

body.tpl-seo .page-hero p {
  margin: 0;
  opacity: 0.9;
}

body.tpl-seo .seo-section {
  padding: 60px 0;
}

body.tpl-seo .seo-section:nth-child(even) {
  background: var(--seo-bg);
}

body.tpl-seo .sec-head.centred {
  text-align: center;
  margin-bottom: 36px;
}

body.tpl-seo .sec-head h2 {
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--seo-text);
}

body.tpl-seo .sec-head p {
  margin: 0;
  color: var(--seo-muted);
  font-size: 15px;
  line-height: 1.7;
}

body.tpl-seo .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

body.tpl-seo .service-card {
  background: #fff;
  border: 1px solid var(--seo-border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
  display: block;
  color: inherit;
  text-decoration: none;
}

body.tpl-seo .service-card:hover {
  box-shadow: 0 8px 24px rgba(25, 169, 123, 0.15);
  transform: translateY(-4px);
  border-color: var(--seo-primary);
}

body.tpl-seo .service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(25, 169, 123, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--seo-primary);
  overflow: hidden;
}

body.tpl-seo .service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.tpl-seo .service-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

body.tpl-seo .service-card p {
  font-size: 13px;
  color: var(--seo-muted);
  line-height: 1.6;
  margin: 0 0 12px;
  min-height: 42px;
}

body.tpl-seo .service-card .more {
  color: var(--seo-primary);
  font-size: 13px;
}

body.tpl-seo .solution-section {
  background: linear-gradient(135deg, #1a3a2f, #19a97b) !important;
  color: #fff;
}

body.tpl-seo .solution-box {
  text-align: center;
  max-width: 800px;
}

body.tpl-seo .solution-box h2 {
  font-size: 26px;
  margin: 0 0 16px;
}

body.tpl-seo .solution-box p {
  margin: 0;
  line-height: 1.9;
  opacity: 0.92;
  font-size: 15px;
}

body.tpl-seo .advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

body.tpl-seo .advantage-item {
  background: #fff;
  padding: 28px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--seo-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

body.tpl-seo .advantage-item h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--seo-primary);
}

body.tpl-seo .advantage-item .sub {
  font-size: 13px;
  color: var(--seo-muted);
  margin-bottom: 10px;
}

body.tpl-seo .advantage-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

body.tpl-seo .partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

body.tpl-seo .partner-item {
  background: #fff;
  border: 1px dashed var(--seo-border);
  border-radius: 6px;
  padding: 20px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--seo-muted);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.tpl-seo .partner-item img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

body.tpl-seo .news-list-seo .news-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--seo-border);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

body.tpl-seo .news-list-seo .news-item:hover {
  border-color: var(--seo-primary);
}

body.tpl-seo .news-list-seo .news-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  color: var(--seo-primary);
  font-weight: 700;
}

body.tpl-seo .news-list-seo .news-date .d {
  font-size: 24px;
  line-height: 1;
}

body.tpl-seo .news-list-seo .news-date .ym {
  font-size: 11px;
  color: var(--seo-muted);
  font-weight: 400;
}

body.tpl-seo .news-list-seo .news-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

body.tpl-seo .news-list-seo .news-summary {
  font-size: 13px;
  color: var(--seo-muted);
}

body.tpl-seo .more-link a {
  color: var(--seo-primary);
  text-decoration: none;
}

body.tpl-seo .product-grid-seo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

body.tpl-seo .product-card-seo {
  background: #fff;
  border: 1px solid var(--seo-border);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s;
}

body.tpl-seo .product-card-seo:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.tpl-seo .product-card-seo .cover {
  height: 180px;
  background: linear-gradient(135deg, #e8f8f1, #c8eedd);
  overflow: hidden;
}

body.tpl-seo .product-card-seo .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.tpl-seo .product-card-seo .body {
  padding: 20px;
}

body.tpl-seo .product-card-seo h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

body.tpl-seo .product-card-seo p {
  margin: 0;
  font-size: 14px;
  color: var(--seo-muted);
  line-height: 1.6;
}

body.tpl-seo .products-page-head {
  text-align: center;
  margin-bottom: 32px;
}

body.tpl-seo .products-page-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

body.tpl-seo .products-page-head p {
  margin: 0;
  color: var(--seo-muted);
}

body.tpl-seo .page-main {
  padding: 40px 0 60px;
}

body.tpl-seo .contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--seo-border);
  border-radius: 8px;
  overflow: hidden;
}

body.tpl-seo .contact-info {
  padding: 40px;
  background: var(--seo-primary);
  color: #fff;
}

body.tpl-seo .contact-info h2 {
  margin: 0 0 24px;
}

body.tpl-seo .contact-info p {
  margin: 0 0 14px;
  line-height: 1.8;
}

body.tpl-seo .contact-info span {
  opacity: 0.85;
}

body.tpl-seo .contact-form-wrap {
  padding: 40px;
}

body.tpl-seo .contact-form-wrap h3 {
  margin: 0 0 8px;
}

body.tpl-seo .contact-form-wrap > p {
  color: var(--seo-muted);
  font-size: 14px;
  margin: 0 0 20px;
}

body.tpl-seo .contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 600;
}

body.tpl-seo .contact-form input,
body.tpl-seo .contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--seo-border);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

body.tpl-seo .btn-primary {
  background: var(--seo-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

body.tpl-seo .btn-primary:hover {
  background: var(--seo-primary-dark);
}

body.tpl-seo .btn-block {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

body.tpl-seo .cf-tip {
  min-height: 20px;
  font-size: 13px;
  margin-bottom: 10px;
}

body.tpl-seo .cf-tip.success { color: #67c23a; }
body.tpl-seo .cf-tip.error { color: #f56c6c; }

body.tpl-seo .detail-box {
  background: #fff;
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--seo-border);
}

body.tpl-seo .seo-footer {
  background: #2d3436;
  color: #aaa;
  padding: 24px 0;
  font-size: 13px;
  text-align: center;
}

body.tpl-seo .seo-footer a {
  color: #ccc;
}

@media (max-width: 992px) {
  body.tpl-seo .services-grid { grid-template-columns: repeat(2, 1fr); }
  body.tpl-seo .advantages-grid { grid-template-columns: 1fr; }
  body.tpl-seo .partners-grid { grid-template-columns: repeat(3, 1fr); }
  body.tpl-seo .contact-page { grid-template-columns: 1fr; }
  body.tpl-seo .site-nav { display: none; }
}

@media (max-width: 600px) {
  body.tpl-seo .services-grid,
  body.tpl-seo .product-grid-seo { grid-template-columns: 1fr; }
  body.tpl-seo .partners-grid { grid-template-columns: repeat(2, 1fr); }
  body.tpl-seo .banner-slider .banner-item img,
  body.tpl-seo .banner-placeholder { height: 220px; }
}
