/* Shandong Guowei Chemical - B2B Trade Website */
:root {
  --primary: #1a4a8e;
  --primary-dark: #0f2f5c;
  --accent: #3db2c1;
  --accent-light: #e8f6f8;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26, 74, 142, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 74, 142, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --header-h: 72px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo img { height: 44px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 32px; }

.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }

.nav-desktop a.active { color: var(--primary); }

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }
.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero */
.hero {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2563a8 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61,178,193,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(61,178,193,0.25);
  border: 1px solid rgba(61,178,193,0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2a9aaa; color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); color: #fff; }

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}

.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: center;
}

/* Stats bar */
.stats-bar {
  background: var(--bg);
  margin-top: -48px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item span { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 48px; }

.section-header .label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Product cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img.img-cover { transform: scale(1.05); }

.product-card-body { padding: 24px; }

.product-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 8px; }
.product-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }

.product-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color var(--transition);
}

.feature-card:hover { border-color: var(--accent); }

.feature-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.feature-card h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Certifications */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cert-badge {
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: center;
}

.about-content h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }

.about-list { list-style: none; margin: 24px 0; }

.about-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.cta-section h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-section p { opacity: 0.9; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* Page header */
.page-header {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.page-header h1 { font-size: 2.25rem; margin-bottom: 12px; }
.page-header p { opacity: 0.85; max-width: 600px; margin: 0 auto; }

.breadcrumb {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* Product detail */
.product-detail { padding: 60px 0; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: center;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-thumbs img {
  height: 80px;
  object-fit: contain;
  object-position: center;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover { border-color: var(--accent); }

.product-info h1 { font-size: 1.75rem; color: var(--primary-dark); margin-bottom: 8px; }

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}

.meta-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.meta-tag strong { color: var(--primary); }

.product-info .intro { color: var(--text-muted); margin-bottom: 24px; line-height: 1.8; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--bg-alt);
  color: var(--primary);
  font-weight: 600;
  width: 40%;
}

/* Tabs */
.tabs { margin-top: 48px; }

.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}

.tab-btn.active { color: var(--primary); border-bottom-color: var(--accent); }
.tab-btn:hover { color: var(--primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel h3 { color: var(--primary-dark); margin-bottom: 16px; font-size: 1.2rem; }
.tab-panel p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }

.app-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-list li {
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-left: 3px solid var(--accent);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: #fff;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg-alt); }
.faq-question .icon { font-size: 1.2rem; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* Contact */
.contact-details-section {
  padding: 48px 0 0;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
}

.contact-detail-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7ba3d4;
  margin-bottom: 14px;
}

.contact-detail-bar {
  display: block;
  width: 3px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.contact-detail-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  transition: color var(--transition);
}

.contact-detail-value:hover {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-info-card h3 { color: var(--primary-dark); margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; color: var(--text); }

.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* About page */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.value-card .num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.value-card h3 { color: var(--primary-dark); margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); }

.map-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img.img-cover { transform: scale(1.05); }

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-category {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.6;
}

.news-card-link {
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: auto;
}

.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.article-main { max-width: 100%; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.article-cover img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: center;
}

/* Close-up product shots — fill frame without cropping */
img.img-cover {
  object-fit: cover;
  object-position: center;
}

.article-content h2 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.article-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 24px 0 12px;
}

.article-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.article-content ul {
  margin: 0 0 16px 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.article-content li { margin-bottom: 8px; }

.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h4 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-news-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-news-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sidebar-news-item strong {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

.sidebar-news-item:hover strong { color: var(--primary); }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.article-nav a:hover { border-color: var(--accent); }
.article-nav .label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }

/* Social float */
.social-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.social-float-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.social-float-btn .tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.social-float-btn .tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--primary-dark);
}

.social-float-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.social-float-btn.whatsapp { background: #25d366; }
.social-float-btn.facebook { background: #1877f2; }
.social-float-btn.twitter { background: #000000; }
.social-float-btn.instagram { background: #E4405F; }
.social-float-btn.tiktok { background: #010101; }

/* Social connect page */
.social-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.social-connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--text);
}

.social-connect-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.social-connect-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}

.social-connect-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.social-connect-card.whatsapp .social-connect-icon { background: #25d366; }
.social-connect-card.facebook .social-connect-icon { background: #1877f2; }
.social-connect-card.twitter .social-connect-icon { background: #000000; }
.social-connect-card.instagram .social-connect-icon { background: #E4405F; }
.social-connect-card.tiktok .social-connect-icon { background: #010101; }

.social-connect-card h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.social-connect-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.social-connect-action {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.social-connect-card:hover .social-connect-action { color: var(--accent); }

.inquiry-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.inquiry-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.inquiry-status.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.inquiry-status.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.inquiry-status.info {
  background: var(--accent-light);
  color: var(--primary);
  border: 1px solid #b8e8ee;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  z-index: 999;
}

.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .news-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .about-grid, .product-detail-grid, .contact-grid, .about-page-grid { grid-template-columns: 1fr; }
  .contact-details-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 80px; }
  .hero-image img { height: 260px; }
  .products-grid { grid-template-columns: 1fr; }
  .news-grid, .news-preview-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .app-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  section { padding: 56px 0; }
  .social-float {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    right: max(12px, env(safe-area-inset-right, 12px));
    transform: none;
    gap: 8px;
  }
  .social-float-btn {
    width: 44px;
    height: 44px;
  }
  .social-float-btn svg {
    width: 20px;
    height: 20px;
  }
  .social-float-btn .tooltip { display: none; }
  .social-connect-grid { grid-template-columns: 1fr; max-width: 400px; }
}
