/* ── INNER PAGES SHARED CSS ── */

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ABOUT PAGE */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-story-grid p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 20px;
}
.astat {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--primary);
  padding: 18px 16px;
  text-align: center;
  border-radius: var(--radius);
}
.astat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.astat span { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

/* PROCESS STEPS */
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.ps-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 8px;
}
.ps-icon { font-size: 2rem; margin-bottom: 12px; }
.process-step h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; }
.ps-arrow {
  font-size: 1.5rem;
  color: var(--mid-gray);
  padding: 0 8px;
  flex-shrink: 0;
}

/* CLIENTS GRID */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.client-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.client-icon { font-size: 2rem; flex-shrink: 0; }
.client-card strong { display: block; font-size: 0.92rem; color: var(--text); font-weight: 700; }
.client-card span { font-size: 0.75rem; color: var(--text-light); }

/* CERT BADGES */
.cert-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cert-badge-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.cert-badge-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cbc-icon { font-size: 2.5rem; margin-bottom: 14px; }
.cert-badge-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cert-badge-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; }

/* PRODUCT DETAIL PAGE */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-detail-img {
  position: relative;
}
.product-detail-img img {
  width: 100%;
  height: 780px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.product-detail-badge {
  position: absolute;
  top: 20px; left: 20px;
}
.product-spec-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.product-spec-table tr { border-bottom: 1px solid var(--light-gray); }
.product-spec-table tr:last-child { border-bottom: none; }
.product-spec-table td { padding: 12px 16px; font-size: 0.85rem; }
.product-spec-table td:first-child { font-weight: 600; color: var(--text); width: 40%; background: var(--off-white); }
.product-spec-table td:last-child { color: var(--text-light); }

.product-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.product-use-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.product-use-card .icon { font-size: 1.5rem; margin-bottom: 8px; }
.product-use-card span { font-size: 0.8rem; font-weight: 600; color: var(--text); }

/* APPLICATIONS PAGE */
.acc-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--light-gray); border-radius: var(--radius-lg); overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--light-gray); }
.acc-item:last-child { border-bottom: none; }
.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  background: var(--white);
  transition: background 0.2s;
  gap: 16px;
}
.acc-header:hover { background: var(--off-white); }
.acc-item.open .acc-header { background: var(--primary); color: white; }
.acc-header-left { display: flex; align-items: center; gap: 16px; }
.acc-header-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--light-gray);
  flex-shrink: 0;
}
.acc-item.open .acc-header-icon { border-color: rgba(255,255,255,0.3); }
.acc-header-icon img { width: 100%; height: 100%; object-fit: cover; }
.acc-header h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.acc-item.open .acc-header h3 { color: white; }
.acc-toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--text-light); flex-shrink: 0; transition: transform 0.3s; }
.acc-item.open .acc-toggle { transform: rotate(180deg); background: rgba(255,255,255,0.2); color: white; }
.acc-body { display: none; padding: 0 28px 28px; background: var(--white); }
.acc-item.open .acc-body { display: block; }
.acc-body-inner { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding-top: 24px; }
.acc-body-img { border-radius: var(--radius); overflow: hidden; }
.acc-body-img img { width: 100%; height: 160px; object-fit: cover; }
.acc-body-text p { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }

/* CONTACT PAGE */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-detail-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cdc-header {
  background: var(--primary);
  color: white;
  padding: 28px;
}
.cdc-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.cdc-header p { font-size: 0.83rem; opacity: 0.8; }
.cdc-body { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.cdc-item { display: flex; gap: 14px; }
.cdc-icon {
  width: 42px; height: 42px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.cdc-text label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 3px; }
.cdc-text span { font-size: 0.88rem; color: var(--text); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cfc-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
  padding: 28px 32px;
}
.cfc-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.cfc-header p { font-size: 0.83rem; color: var(--text-light); margin-top: 4px; }
.cfc-body { padding: 32px; }

/* TRADE PLATFORM */
.trade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.trade-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.trade-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.trade-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-story-grid, .product-detail-grid, .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
  .cert-badges-row { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .trade-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .process-steps { flex-direction: column; }
  .ps-arrow { transform: rotate(90deg); }
  .clients-grid { grid-template-columns: 1fr; }
  .product-use-grid { grid-template-columns: 1fr 1fr; }
  .acc-body-inner { grid-template-columns: 1fr; }
  .cert-badges-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .cert-badges-row { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .product-use-grid { grid-template-columns: 1fr; }
}
