/* Wire & More - Custom Hugo Theme Stylesheet */

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ===== CSS Variables ===== */
:root {
  --navy: #0A1628;
  --navy-light: #1a2a42;
  --primary: #00B4D8;
  --primary-dark: #0096b7;
  --primary-light: rgba(0, 180, 216, 0.1);
  --text-dark: #1a1a1a;
  --text-body: #2D3748;
  --text-muted: #4A5568;
  --text-light: #718096;
  --bg-light: #F7F9FC;
  --bg-white: #ffffff;
  --border: #E5E9F0;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}

.nav.transparent {
  background: transparent;
}

.nav.scrolled,
.nav.solid {
  background: var(--navy);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta .btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }

/* Language dropdown */
.nav-lang-dropdown {
  position: relative;
}
.nav-lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.nav-lang-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.nav-lang-toggle svg { flex-shrink: 0; }
.nav-lang-chevron {
  transition: transform 0.2s ease;
}
.nav-lang-toggle[aria-expanded="true"] .nav-lang-chevron {
  transform: rotate(180deg);
}
.nav-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 170px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  padding: 0.4rem;
  list-style: none;
  z-index: 1000;
}
.nav-lang-menu.open { display: block; }
.nav-lang-menu li { margin: 0; }
.nav-lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 7px;
  transition: background 0.15s ease;
}
.nav-lang-menu a:hover {
  background: var(--bg-light);
}
.nav-lang-menu a.active {
  color: var(--primary);
  background: rgba(0,180,216,0.08);
}
.nav-lang-label {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero > .container {
  width: 100%;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 42%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.78;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,22,40,0.98) 0%, rgba(10,22,40,0.94) 42%, rgba(10,22,40,0.5) 72%, rgba(10,22,40,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 58%;
  padding: 8rem 0 4rem;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero h1 .highlight { color: var(--primary); }

.hero-subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-description {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero (smaller) */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.15rem; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-light); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== What We Do ===== */
.what-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.what-text h2 { margin-bottom: 1.5rem; }
.what-text p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.what-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.what-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== Certifications ===== */
.cert-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.cert-item img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.cert-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Core Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: inherit;
}

.product-card-img {
  height: 200px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.25rem;
}
.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.product-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.product-badge {
  display: inline-block;
  background: #e6f9f0;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-top: 0.75rem;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.product-card-more {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.product-card-link:hover .product-card-more { transform: translateX(4px); }

/* ===== Product Detail ===== */
.page-hero-product {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}
.page-hero-product h1 { max-width: 800px; margin-left: auto; margin-right: auto; }
.page-hero-product p { max-width: 600px; margin-left: auto; margin-right: auto; opacity: 0.85; }

.product-detail { padding: 3rem 0 4rem; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.product-detail-hero-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  aspect-ratio: 16 / 9;
}
.product-detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-body {
  max-width: 720px;
}
.product-detail-body > p:first-child {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-body);
}
.product-detail-body h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
  font-family: 'Poppins', sans-serif;
}
.product-detail-body h2:first-child { margin-top: 0; }
.product-detail-body p { line-height: 1.8; margin-bottom: 1rem; color: var(--text-body); }
.product-detail-body ul { margin: 1rem 0 1.5rem; padding-left: 0; list-style: none; }
.product-detail-body li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  position: relative;
}
.product-detail-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.product-detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.product-detail-body th,
.product-detail-body td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}
.product-detail-body th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.product-detail-body td { background: var(--bg-white); }
.product-detail-body tr:nth-child(even) td { background: var(--bg-light); }
.product-detail-body tr:hover td { background: var(--primary-light); }

/* Product sidebar */
.product-detail-sidebar { position: sticky; top: 80px; }
.product-sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.product-sidebar-card h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  font-family: 'Poppins', sans-serif;
}
.product-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-specs-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-specs-list li:last-child { border-bottom: none; }
.product-specs-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}
.product-stock-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-light);
  font-weight: 600;
  font-size: 0.9rem;
  color: #059669;
}
.stock-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.stock-yes { background: #059669; }
.stock-request { background: #f59e0b; }
.product-grades-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-grades-list li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--bg-light);
}
.product-grades-list li:last-child { border-bottom: none; }
.product-sidebar-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  border-color: var(--navy);
}
.product-sidebar-cta h3 {
  color: #fff;
  border-bottom-color: rgba(0,180,216,0.4);
}
.product-sidebar-cta p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.product-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-related-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-light);
}
.product-related-list li:last-child { border-bottom: none; }
.product-related-list a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
}
.product-related-list a:hover { color: var(--primary-dark); }

/* Product video */
.product-detail-video { margin-top: 2rem; }
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 1rem;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Table responsive wrapper */
.table-responsive { overflow-x: auto; }

@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .product-sidebar-cta { grid-column: 1 / -1; }
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== Bottom CTA ===== */
.cta-section {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== About Page ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.8; }

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.about-images img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-card {
  background: var(--bg-white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--primary); }
.why-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.contact-form {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--bg-light);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.contact-form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}
.contact-form-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
}
.contact-form-consent label {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.contact-form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.contact-form-status-success {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}
.contact-form-status-error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.contact-info-item {
  margin-bottom: 1.5rem;
}
.contact-info-item h4 {
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.contact-info-item p { color: rgba(255,255,255,0.85); }
.contact-info-item a { color: var(--primary); }

.contact-faq { margin-top: 2rem; }
.contact-faq h3 { color: var(--white); margin-bottom: 1rem; }
.faq-item { margin-bottom: 1rem; }
.faq-item h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.3rem; font-weight: 600; }
.faq-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== Privacy Policy ===== */
.content-page {
  padding: 2rem 0 4rem;
}
.content-page h2 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.5rem; }
.content-page p { margin-bottom: 1rem; color: var(--text-muted); }
.content-page ul {
  margin: 0 0 1rem 1.5rem;
  color: var(--text-muted);
}
.content-page li { margin-bottom: 0.3rem; }

/* ===== Products Page Specific ===== */
.grades-section { margin-top: 3rem; }

.grades-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.grades-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
}
.grades-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-body);
}
.grades-table tr:hover td { background: var(--bg-light); }
.grades-table .stock-badge {
  background: #e6f9f0;
  color: #059669;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== Footer ===== */
footer[role="contentinfo"] {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }

footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--primary); }

.footer-certs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.footer-certs img {
  height: 40px;
  width: auto;
  background: rgba(255,255,255,0.9);
  padding: 6px 10px;
  border-radius: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--primary); }

/* ===== Knowledge / Kennis Section ===== */
.kennis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.kennis-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.kennis-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: inherit;
}

.kennis-card-img { height: 220px; overflow: hidden; }
.kennis-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.kennis-card:hover .kennis-card-img img { transform: scale(1.05); }

.kennis-card-body { padding: 1.5rem; }
.kennis-card-body h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.kennis-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.kennis-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kennis-read {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-tag {
  display: inline-block;
  background: rgba(0,180,216,0.2);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.article-content h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.5rem; }
.article-content h3 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.2rem; }
.article-content p { margin-bottom: 1rem; color: var(--text-body); line-height: 1.8; }
.article-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.article-content ul, .article-content ol {
  margin: 0 0 1rem 1.5rem;
  color: var(--text-body);
  line-height: 1.8;
}
.article-content li { margin-bottom: 0.3rem; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.article-content th {
  background: var(--navy);
  color: var(--white);
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 600;
}
.article-content td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border);
}
.article-content tr:hover td { background: var(--bg-light); }
.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.article-content em { color: var(--text-muted); }

.sidebar-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sidebar-links {
  list-style: none;
}
.sidebar-links li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .kennis-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--bg-light);
  padding: 0.75rem 0;
  margin-top: 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero + .breadcrumb,
.hero + .breadcrumb { display: none; }
.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  font-size: 0.85rem;
  gap: 0;
}
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list li:last-child span { color: var(--text-dark); font-weight: 500; }
.breadcrumb-sep { margin: 0 0.5rem; color: var(--text-light); }

/* ===== YouTube Embed ===== */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-media { inset-inline-start: 48%; }
  .hero-content { width: 62%; }
  .values-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-lang-dropdown { display: none; }
  .nav-toggle { display: flex; }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open ~ .nav-lang-dropdown {
    display: block;
    position: absolute;
    top: calc(100% + 200px);
    left: 1.5rem;
  }
  .nav-links.open ~ .nav-lang-dropdown .nav-lang-menu {
    position: static;
    display: flex;
    gap: 0.5rem;
    background: none;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    border-radius: 0;
  }
  .nav-links.open ~ .nav-lang-dropdown .nav-lang-toggle { display: none; }
  .nav-links.open ~ .nav-lang-dropdown .nav-lang-menu a {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    background: none;
  }
  .nav-links.open ~ .nav-lang-dropdown .nav-lang-menu a:hover,
  .nav-links.open ~ .nav-lang-dropdown .nav-lang-menu a.active {
    color: var(--white);
    background: rgba(255,255,255,0.15);
  }
  .nav-links.open ~ .nav-lang-dropdown .nav-lang-label { display: none; }
  
  h1 { font-size: 2rem; }
  .hero { min-height: 80vh; }
  .hero-media {
    inset: 0;
    clip-path: none;
    opacity: 0.34;
  }
  .hero-media img { object-position: center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.82) 55%, rgba(10,22,40,0.96) 100%);
  }
  .hero h1 { font-size: 2rem; }
  .hero-content {
    width: 100%;
    max-width: 680px;
    padding: 6rem 0 3rem;
  }
  
  .what-content,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid,
  .why-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .cert-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .product-detail-sidebar {
    grid-template-columns: 1fr;
  }
  .product-detail-body table { font-size: 0.8rem; }
  .product-detail-body th,
  .product-detail-body td { padding: 0.5rem 0.6rem; }
}
