/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #F8F9FA;
  --bg-white: #FFFFFF;
  --bg-light-blue: #EEF2F7;
  --bg-navy: #003399;

  --black: #0D0D0D;
  --dark-gray: #1A1A1A;
  --mid-gray: #E0E4EA;
  --red-primary: #E31837;
  --red-dark: #B01229;
  --red-glow: rgba(227, 24, 55, 0.12);
  --off-white: #FFFFFF;
  --text-main: #1A1A2E;
  --text-sub: #6B7280;
  --gray-text: #6B7280;
  --green-wa: #25D366;

  --gradient-red: linear-gradient(135deg, #E31837, #B01229);
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1200px;
  --section-padding: 80px 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== MATERIAL ICONS ===== */
.material-icons-round {
  font-size: inherit;
  vertical-align: middle;
  line-height: 1;
}

.highlight-icon .material-icons-round,
.why-icon .material-icons-round,
.solution-icon .material-icons-round {
  font-size: 32px;
  color: var(--red-primary);
}

.contact-icon .material-icons-round {
  font-size: 24px;
  color: var(--red-primary);
}

.btn-view-product .material-icons-round {
  font-size: 16px;
  vertical-align: -3px;
}

.btn-whatsapp .material-icons-round {
  font-size: 20px;
  vertical-align: -4px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title span {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-text);
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gradient-red);
  color: var(--off-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid var(--mid-gray);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: translateY(-2px);
}

/* ===== SITE HEADER ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}

/* Logo area — kiri, diagonal / (forward-slash) */
.header-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 72px 0 32px;
  background: #fff;
  position: relative;
  z-index: 2;
  /* forward-slash /: top goes full-width, bottom cuts back 52px */
  clip-path: polygon(0 0, 100% 0, calc(100% - 52px) 100%, 0 100%);
  filter: none;
}

.header-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Diagonal gray separator line */
.header-sep {
  flex-shrink: 0;
  width: 0;
  position: relative;
  z-index: 3;
  align-self: stretch;
}

.header-sep::before {
  content: '';
  position: absolute;
  top: 0;
  left: -52px;        /* aligns with clip-path bottom-right offset */
  width: 2px;
  height: 100%;
  background: #C0C4CC;
  transform-origin: bottom left;
  /* atan(52px / 80px header height) ≈ 33° */
  transform: skewX(-33deg);
}

@media (max-width: 768px) {
  .header-sep { display: none; }
}

/* Right area — pull left 52px agar overlap dengan diagonal logo */
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 1;
  margin-left: -52px;
}

/* Info row (atas) */
.header-info {
  background: #111111;
  padding: 6px 24px 6px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.header-contacts {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-contacts span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  opacity: 0.9;
}

.header-contacts .material-icons-round {
  font-size: 14px !important;
}

/* Nav row (bawah) */
.header-nav-row {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px 0 64px;
  gap: 4px;
}

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  flex: 1;
}

.nav-links li {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  padding: 8px 10px;
  display: block;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-primary);
}

.nav-link.active {
  border-bottom: 2px solid var(--red-primary);
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 2px;
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid var(--red-primary);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 240px;
  z-index: 100;
  padding: 8px 0;
}

.nav-item-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #333;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: #888;
  margin-top: 1px;
}

.dropdown-menu li a:hover {
  background: #f8f8f8;
  color: var(--red-primary);
}

.nav-cta {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 13px;
  margin-left: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-link { font-size: 12px; padding: 8px 7px; }
}

@media (max-width: 768px) {
  .header-logo-wrap {
    clip-path: none;
    filter: none;
    padding: 8px 16px;
    z-index: 2;
  }

  .header-right {
    margin-left: 0;
  }

  .header-logo-img { height: 52px; }

  .header-info { display: none; }

  .header-nav-row {
    padding: 6px 12px;
    justify-content: flex-end;
    position: relative;
  }

  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    flex-direction: column;
    background: #fff;
    padding: 12px 0;
    gap: 0;
    border-top: 3px solid var(--red-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  .nav-link {
    font-size: 14px;
    color: #333;
    padding: 11px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

  .dropdown-menu {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    background: #f8f9fa;
    padding: 0;
  }

  .dropdown-menu li a { padding: 9px 32px; }
  .nav-item-dropdown .nav-link-dropdown { pointer-events: none; }
}

/* ===== HERO ===== */
/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.circuit-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
}

.hero-glow {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(227,24,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 20px;
}

.hero-content {
  max-width: 580px;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 540px;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(227, 24, 55, 0.08);
  border: 1px solid rgba(227, 24, 55, 0.25);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--red-primary);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-badge .material-icons-round {
  font-size: 15px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-direction: row;
  flex-wrap: wrap;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--red-primary);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--red-primary);
  margin-right: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-sub);
  width: 100%;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #D1D5DB;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
    right: -50px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-photo {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-desc {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight-card {
  background: var(--bg-primary);
  border: 1px solid var(--mid-gray);
  border-top: 3px solid var(--red-primary);
  border-radius: 8px;
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.highlight-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.highlight-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.highlight-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== PRODUCTS ===== */
.products {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-subtitle {
  margin-bottom: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* Card container */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Image area */
.product-card-image {
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-primary);
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

/* Content */
.product-card-body {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.product-card-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
  display: block;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin: 0;
}

.product-fullname {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
  flex: 1;
}

/* View Product button */
.btn-view-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--red-primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 12px;
  padding: 8px 0 6px;
  border-top: 1px solid var(--mid-gray);
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .product-card {
    flex-direction: column;
  }

  .product-card-image {
    width: 100%;
    height: 180px;
  }
}

/* ===== WHY CHOOSE US ===== */
.why {
  padding: var(--section-padding);
  background: var(--bg-light-blue);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-white);
  border-top: 3px solid var(--red-primary);
  border-radius: 0 0 8px 8px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: rgba(227, 24, 55, 0.08);
  position: absolute;
  top: 16px;
  right: 16px;
  line-height: 1;
}

.why-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--mid-gray);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red-primary);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 6px;
  min-height: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  letter-spacing: 1px;
}

.contact-info {
  padding-top: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #E5E7EB;
}

.contact-item:last-of-type {
  border-bottom: none;
  margin-bottom: 32px;
}

.contact-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 16px;
  color: var(--text-main);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green-wa);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
}

.btn-whatsapp:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ===== FOOTER ===== */
#site-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-main {
  padding: 60px 20px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--red-primary); }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.55;
}

.footer-contact-list .material-icons-round {
  font-size: 16px;
  color: var(--red-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-list a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list a:hover { color: var(--red-primary); }

.footer-cta-box {
  background: var(--red-primary);
  border-radius: 8px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-wa-circle {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.footer-wa-circle .material-icons-round {
  font-size: 22px;
  color: #fff;
}

.footer-cta-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.footer-cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 2px solid rgba(255,255,255,0.75);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.footer-cta-btn:hover { background: rgba(255,255,255,0.15); }

.footer-cta-btn .material-icons-round { font-size: 15px; }

.footer-bottom {
  background: #0D0D0D;
  padding: 15px 20px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.65); }

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta-box { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
  .footer-wa-circle { margin-bottom: 0; flex-shrink: 0; }
  .footer-cta-sub { margin-bottom: 0; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta-box { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; }
  .footer-main { padding: 40px 20px 36px; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

/* ===== GLOBAL RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .btn-primary,
  .btn-outline {
    padding: 12px 24px;
    font-size: 15px;
  }
}


/* ===== TRUST BADGES ===== */
.trust-badges-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F3F5;
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  padding: 28px 0;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  padding: 0 24px;
}

.trust-divider {
  width: 1px;
  height: 64px;
  background: #D1D5DB;
  flex-shrink: 0;
}

.trust-icon {
  font-size: 36px !important;
  flex-shrink: 0;
  color: var(--red-primary);
}

.trust-text h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.trust-text p {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .trust-badges-inner {
    flex-wrap: wrap;
    gap: 24px;
  }

  .trust-item {
    flex: 0 0 calc(50% - 12px);
    padding: 0;
  }

  .trust-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-item {
    flex: 0 0 100%;
  }
}

/* ===== SOLUTIONS ===== */
.solutions {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg-primary);
  border: 1px solid var(--mid-gray);
  border-top: 3px solid var(--red-primary);
  border-radius: 0 0 8px 8px;
  padding: 32px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.solution-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== NEWS ===== */
.news {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

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

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--mid-gray);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  border-color: var(--red-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.news-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.news-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.news-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  flex: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
  margin-top: auto;
}

.news-date {
  font-size: 12px;
  color: var(--text-sub);
}

.news-read {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--red-primary);
  transition: opacity 0.2s;
}

.news-read:hover {
  opacity: 0.75;
}

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

/* ===== PRODUCTS DETAIL PAGE ===== */
.page-banner {
  background: #F1F3F5;
  border-bottom: 1px solid var(--mid-gray);
  padding: 140px 20px 48px;
  color: var(--text-main);
}

.page-banner-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.page-banner h1 span {
  color: var(--red-primary);
}

.page-banner p {
  font-size: 16px;
  color: var(--text-sub);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.page-breadcrumb a {
  color: var(--text-sub);
}

.page-breadcrumb a:hover {
  color: var(--red-primary);
}

/* ===== PRODUCTS PAGE: sidebar layout ===== */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 112px);
  align-items: start;
}

/* Sidebar */
.products-sidebar {
  position: sticky;
  top: 112px;
  height: calc(100vh - 112px);
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--mid-gray);
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

.sidebar-header {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-sub);
  padding: 24px 20px 12px;
}

.sidebar-nav {
  flex: 1;
}

.sidebar-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 13px 20px;
  border-left: 3px solid transparent;
  transition: background 0.18s, border-color 0.18s;
}

.sidebar-link:hover {
  background: var(--bg-primary);
}

.sidebar-link.active {
  background: rgba(227,24,55,0.06);
  border-left-color: var(--red-primary);
}

.slink-abbr {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  width: 48px;
  flex-shrink: 0;
}

.sidebar-link.active .slink-abbr {
  color: var(--red-primary);
}

.slink-full {
  font-size: 11px;
  color: var(--text-sub);
  flex: 1;
  line-height: 1.4;
}

.slink-count {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-primary);
  border: 1px solid var(--mid-gray);
  border-radius: 10px;
  padding: 1px 7px;
}

.sidebar-cta {
  margin: 20px 16px 0;
  padding: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--mid-gray);
  border-radius: 8px;
}

.sidebar-cta p {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Main content area */
.products-main {
  background: var(--bg-primary);
}

/* Category section */
.pcat-section {
  padding: 36px 32px 40px;
  border-bottom: 1px solid var(--mid-gray);
}

.pcat-section:nth-child(even) {
  background: var(--bg-white);
}

.pcat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--mid-gray);
}

.pcat-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pcat-abbr {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pcat-full {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pcat-count {
  font-size: 12px;
  color: var(--text-sub);
}

/* Compact 2-column product grid */
.compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Compact card */
.cc {
  background: var(--bg-white);
  border: 1px solid var(--mid-gray);
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.pcat-section:nth-child(even) .cc {
  background: var(--bg-primary);
}

.cc:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.cc-img {
  width: 84px;
  flex-shrink: 0;
  background: var(--bg-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.pcat-section:nth-child(even) .cc-img {
  background: var(--bg-white);
}

.cc-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
}

.cc:hover .cc-img img {
  transform: scale(1.07);
}

.cc-body {
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
  border-left: 1px solid var(--mid-gray);
}

.cc-code {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin: 0;
}

.cc-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.spec-tag {
  padding: 2px 7px;
  background: var(--bg-primary);
  border: 1px solid var(--mid-gray);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-sub);
}

.pcat-section:nth-child(even) .spec-tag {
  background: var(--bg-white);
}

.cc-desc {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.6;
  flex: 1;
}

.cc-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--mid-gray);
}

/* Small action buttons */
.btn-inquire-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--gradient-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-inquire-sm:hover { opacity: 0.88; }

.btn-inquire-sm .material-icons-round,
.btn-ds-sm .material-icons-round { font-size: 12px; }

.btn-ds-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--mid-gray);
  color: var(--text-sub);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-ds-sm:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

/* btn-inquire (used in sidebar-cta) */
.btn-inquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--gradient-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.btn-inquire:hover { opacity: 0.9; }
.btn-inquire .material-icons-round { font-size: 16px; }

@media (max-width: 960px) {
  .products-layout {
    grid-template-columns: 200px 1fr;
  }
  .compact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
  .products-sidebar {
    display: none;
  }
  .pcat-section { padding: 24px 16px; }
}
