/* ===== CSS Variables ===== */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #d1fae5;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --green-100: #dcfce7;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-logo span {
  color: var(--gray-800);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--gray-700);
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  display: none;
  z-index: 100;
}

.lang-dropdown.show {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Main Content ===== */
main {
  padding-top: 64px;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  min-height: 560px;
  margin-top: 64px;
  background: var(--white);
}

.hero-media {
  flex: 1.1;
  min-width: 0;
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem;
  background: linear-gradient(135deg, #064e3b, #10b981);
  color: var(--white);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-light);
}

.hero-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 460px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-green {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-green:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary-light);
}

/* ===== Sections ===== */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section + .section {
  margin-top: 1rem;
}

.section:nth-child(even) {
  background: var(--white);
  border-radius: var(--radius);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.section-desc {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===== Product Cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.product-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-specs {
  list-style: none;
  margin-bottom: 1rem;
}

.product-specs li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.product-specs li:last-child {
  border-bottom: none;
}

/* ===== Video Section ===== */
.video-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-900);
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

.video-caption {
  text-align: center;
  margin-top: 1rem;
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== Factory Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-200);
  height: 200px;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.show {
  display: flex;
}

.modal img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
}

/* ===== Equipment Cards ===== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.equipment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.equipment-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.equipment-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.equipment-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===== QC Section ===== */
.qc-section {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.qc-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.qc-section p {
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Markets Grid ===== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.market-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.market-flag {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.market-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.market-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Certifications */
.cert-section {
  margin-top: 3rem;
  text-align: center;
}

.cert-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cert-badge {
  width: 100px;
  height: 100px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray-400);
}

/* ===== About Page ===== */
.about-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.advantage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.advantage-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-item-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red-500);
}

.form-group .error-msg {
  color: var(--red-500);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group .error-msg.show {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Form Alert */
.form-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: none;
}

.form-alert.success {
  background: var(--green-100);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
}

.form-alert.error {
  background: var(--red-100);
  color: var(--red-500);
  border: 1px solid var(--red-500);
}

.form-alert.show {
  display: block;
}

/* ===== Why Choose Us ===== */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-choose-card {
  text-align: center;
  padding: 1.5rem;
}

.why-choose-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.why-choose-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.why-choose-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-800);
  color: var(--gray-300);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer p,
.footer li {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  padding: 0.25rem 0;
}

.footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== Page Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  margin-top: 64px;
}

.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.75rem;
    width: 100%;
    text-align: center;
  }

  .lang-selector {
    margin-left: auto;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-media {
    height: 40vh;
    flex: none;
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
    align-items: center;
    text-align: center;
    flex: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-desc {
    max-width: 100%;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .page-banner h1 {
    font-size: 1.75rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }
}

/* ===== FAQ Section (GEO) ===== */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}
.faq-q .faq-toggle {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 1.25rem 1.1rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}

/* ===== Blog / Resources ===== */
.page-banner {
  background: linear-gradient(135deg, #064e3b, #10b981);
  color: var(--white);
  padding: 4rem 1rem 3rem;
  text-align: center;
}
.page-banner h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.page-banner p {
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Article page */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-800);
}
.article-body h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--gray-900);
}
.article-body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--gray-900);
}
.article-body p {
  margin-bottom: 1.1rem;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.1rem 1.25rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--gray-200);
  padding: 0.6rem 0.8rem;
  text-align: left;
}
.article-body th {
  background: var(--gray-100);
  font-weight: 600;
}
.article-body a {
  color: var(--primary);
  text-decoration: underline;
}
.article-cta {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

/* ===== Case Studies ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.case-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.case-card h3 {
  font-size: 1.2rem;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.case-product {
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}
.case-block-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  font-weight: 700;
  margin: 0.9rem 0 0.3rem;
}
.case-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--gray-200);
}
.case-stat {
  flex: 1;
  min-width: 80px;
}
.case-stat .num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}
.case-stat .lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}
.case-note {
  background: var(--gray-50);
  border-left: 3px solid var(--primary);
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0 auto 2.5rem;
  max-width: 820px;
}

/* ===== Breadcrumb navigation ===== */
.breadcrumb {
  background: #f6faf8;
  border-bottom: 1px solid #e6edea;
  padding: 11px 0;
  font-size: 14px;
  line-height: 1.4;
}
.breadcrumb .bc-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7c76;
}
.breadcrumb a {
  color: var(--primary, #10b981);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .bc-sep { color: #b6c4be; }
.breadcrumb [aria-current="page"] {
  color: #2f3e38;
  font-weight: 600;
}
@media (max-width: 600px) {
  .breadcrumb { font-size: 13px; padding: 9px 0; }
}
