/* =============================================================
   Waweis — Inner pages styles | pages.css
   Used by: products / category / oem-odm / about / certificates / news / contact
   Breakpoints aligned with home.css: 992 / 768 / 576
   ============================================================= */

/* ---------- Page hero (shared) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 60%, #123a6b 100%);
  color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(45,127,249,.3), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #9FC0FF; background: rgba(45,127,249,.14); border: 1px solid rgba(45,127,249,.35); border-radius: 999px; padding: 6px 13px; margin-bottom: 16px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-bottom: 12px; }
.page-hero p.lead { color: #C7D5EA; font-size: 16px; max-width: 680px; margin-bottom: 18px; }
.breadcrumb { font-size: 13px; color: #8FA6C8; }
.breadcrumb a { color: #9FC0FF; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; color: #5E77A0; }
.breadcrumb .cur { color: #DDE7F5; }

/* ---------- Section blocks (shared) ---------- */
.page-section { padding: 72px 0; }
.page-section.alt { background: var(--color-bg); }
.page-section .section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.page-section .section-head .section-eyebrow { color: var(--color-accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.page-section .section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.page-section .section-head p { color: var(--color-muted); }

/* ---------- Category cards (products overview) ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.category-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s ease; }
.category-card:hover .thumb img { transform: scale(1.05); }
.category-card .body { padding: 20px 22px 24px; }
.category-card .body h3 { font-size: 18px; margin-bottom: 6px; }
.category-card .body h3 a { color: var(--color-primary); }
.category-card .body h3 a:hover { color: var(--color-accent); text-decoration: none; }
.category-card .body p { color: var(--color-muted); font-size: 14px; margin-bottom: 12px; }
.category-card .body .link { font-size: 14px; font-weight: 700; color: var(--color-accent); }
.category-card .body .link:hover { text-decoration: underline; }

/* ---------- Product list (category pages) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.prod-card .thumb { aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.prod-card .body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-card .body .cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.prod-card .body h3 { font-size: 16px; margin: 6px 0 8px; line-height: 1.35; }
.prod-card .body h3 a { color: var(--color-primary); }
.prod-card .body h3 a:hover { color: var(--color-accent); text-decoration: none; }
.prod-card .body .spec { font-size: 13px; color: var(--color-muted); margin-bottom: 12px; }
.prod-card .body .more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--color-accent); }

/* ---------- Feature list (category pages) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-item { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: 22px; }
.feat-item .icon { font-size: 26px; margin-bottom: 10px; }
.feat-item h3 { font-size: 16px; margin-bottom: 6px; }
.feat-item p { font-size: 13.5px; color: var(--color-muted); }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.spec-table th, .spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--color-line); text-align: left; font-size: 14px; }
.spec-table th { background: var(--color-primary); color: #fff; font-weight: 600; width: 34%; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--color-text); }

/* ---------- OEM steps ---------- */
.oem-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.oem-list .oem-step { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: 26px 24px; position: relative; }
.oem-list .oem-step .num { font-family: var(--font-mono); font-size: 13px; color: var(--color-accent); font-weight: 600; letter-spacing: 1px; }
.oem-list .oem-step h3 { font-size: 18px; margin: 10px 0 8px; }
.oem-list .oem-step p { font-size: 14px; color: var(--color-muted); }

/* ---------- Check list (OEM/about) ---------- */
.check-list { list-style: none; margin: 16px 0 22px; display: grid; gap: 10px; max-width: 560px; }
.check-list li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--color-text); line-height: 1.5; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(240,172,51,.16); color: var(--color-accent); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-split img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; }
.about-split .copy h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 14px; }
.about-split .copy p { color: var(--color-muted); margin-bottom: 12px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: 24px; text-align: center; }
.value-card .icon { font-size: 30px; margin-bottom: 10px; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--color-muted); }

/* ---------- Certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: 26px 20px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cert-card .badge { font-family: var(--font-mono); font-weight: 700; font-size: 22px; letter-spacing: 1px; color: var(--color-accent); margin-bottom: 8px; }
.cert-card h3 { font-size: 16px; margin-bottom: 6px; }
.cert-card p { font-size: 12.5px; color: var(--color-muted); }

/* ---------- News ---------- */
.news-list { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
.news-row { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: 22px 26px; transition: box-shadow .2s ease; }
.news-row:hover { box-shadow: var(--shadow-hover); }
.news-row .date { font-family: var(--font-mono); font-size: 12px; color: var(--color-accent); letter-spacing: .5px; }
.news-row h3 { font-size: 17px; margin: 8px 0 6px; }
.news-row h3 a { color: var(--color-primary); }
.news-row h3 a:hover { color: var(--color-accent); text-decoration: none; }
.news-row p { font-size: 14px; color: var(--color-muted); margin-bottom: 8px; }
.news-row .more { font-size: 13px; font-weight: 700; color: var(--color-accent); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card .ico { font-size: 22px; line-height: 1; }
.contact-card h3 { font-size: 15px; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--color-muted); }
.contact-card a { color: var(--color-accent); }

/* ---------- Section eyebrow used standalone inside .copy (about / oem-odm) ---------- */
.about-split .copy .section-eyebrow {
  display: inline-block; color: var(--color-accent); font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px;
}

/* ---------- RFQ form (contact) ---------- */
.rfq-form {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-card); padding: 30px 32px; box-shadow: var(--shadow-card);
  display: grid; gap: 16px;
}
.rfq-form h2 { font-size: 22px; margin-bottom: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--color-text); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-line); border-radius: 10px;
  font-family: var(--font-body); font-size: 14px; background: #fff; color: var(--color-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-muted); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(240,172,51,.15); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-actions .btn { min-width: 168px; }
.form-note { font-size: 13px; color: var(--color-muted); }

/* ---------- CTA band (reuse) ---------- */
.cta-band-inner { background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary)); border-radius: var(--radius-card); color: #fff; padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band-inner h2 { color: #fff; font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 6px; }
.cta-band-inner p { color: #C7D5EA; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .category-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-list { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-section { padding: 52px 0; }
  .category-grid, .prod-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .feat-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .cta-band-inner { padding: 32px 24px; }
}
