/* ===== NOVIMAT Subpage Styles =====
   Extends style.css — page heroes, product lines, forms, FAQ */

/* ===== Page Hero (subpages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  padding: 64px;
}
.page-hero-inner { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { color: var(--white); font-size: 44px; line-height: 1.15; font-weight: 700; max-width: 820px; }
.page-hero .page-sub { color: var(--hero-light); font-size: 17px; line-height: 1.6; max-width: 720px; }

.breadcrumb { display: flex; gap: 8px; font-size: 12px; color: var(--hero-dim); }
.breadcrumb a { color: var(--hero-mid); }
.breadcrumb a:hover { color: var(--white); }

.anchor-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.anchor-chips a {
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  color: var(--white); font-size: 13px; font-weight: 500;
  padding: 8px 18px; transition: all .15s;
}
.anchor-chips a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

/* ===== Product Line Sections ===== */
.line-section { padding: 72px 64px; }
.line-section.alt { background: var(--bg); }
.line-inner { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.line-head { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.line-head h2 { font-size: 32px; font-weight: 700; }
.line-head .line-sub { font-size: 15px; color: var(--gray-600); }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.line-section.alt .cat-card { border-color: #EEF0F3; }
.cat-card h3 { font-size: 19px; font-weight: 700; }
.cat-desc { font-size: 13.5px; color: var(--gray-600); line-height: 1.6; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips span {
  font-family: var(--font-mono); font-size: 11px; color: var(--blue-700);
  background: var(--blue-50); border-radius: 999px; padding: 4px 12px;
}
.cat-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cat-table th {
  text-align: left; font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--gray-400);
  padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.cat-table td { padding: 9px 10px; border-bottom: 1px solid #F1F3F6; color: var(--ink); vertical-align: top; }
.cat-table td.mono { font-size: 12px; color: var(--gray-600); white-space: nowrap; }
.cat-table tr:last-child td { border-bottom: none; }
.cat-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--blue-700); margin-top: auto;
}
.cat-cta:hover { text-decoration: underline; }

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  padding: 56px 64px;
}
.cta-band-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 30px; font-weight: 700; }
.cta-band p { color: var(--hero-light); font-size: 15px; margin-top: 8px; max-width: 560px; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Custom Standards page ===== */
.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.option-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.option-card h3 { font-size: 16px; font-weight: 700; }
.option-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.process-num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--blue-700); letter-spacing: 1.5px; }
.process-card h3 { font-size: 18px; font-weight: 700; }
.process-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }

.request-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; font-size: 14px; color: var(--ink); line-height: 1.55; }
.checklist .check-ic { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.checklist .check-ic svg { width: 12px; height: 12px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 24px; box-shadow: var(--shadow-card);
}
.faq-list summary {
  font-size: 15px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 20px; color: var(--blue-700); font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-top: 12px; }

/* ===== About page ===== */
.about-story { padding: 72px 64px; }
.about-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.about-inner p { font-size: 16px; color: var(--gray); line-height: 1.75; }
.about-inner p strong { color: var(--ink); }
.about-inner .lede { font-size: 19px; color: var(--ink); font-weight: 500; line-height: 1.6; }

.facts-band { background: var(--bg); padding: 48px 64px; }
.facts-inner { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact strong { font-family: var(--font-mono); font-size: 28px; font-weight: 500; color: var(--blue-700); }
.fact span { font-size: 12.5px; color: var(--gray-600); }

/* ===== Contact page extras ===== */
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1440px; margin: 0 auto; width: 100%; }
.meta-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.meta-card h3 { font-size: 15px; font-weight: 700; }
.meta-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.6; }
.meta-card a { color: var(--blue-700); font-weight: 600; font-size: 14px; }
.meta-card a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .request-panel { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .page-hero { padding: 48px 24px; }
  .page-hero h1 { font-size: 32px; }
  .line-section { padding: 56px 24px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .about-story { padding: 56px 24px; }
  .facts-band { padding: 40px 24px; }
  .option-grid { grid-template-columns: 1fr; }
  .cat-table td.mono { white-space: normal; }
}

/* ===== Mobile table scroll ===== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap .cat-table { min-width: 540px; }

@media (max-width: 560px) {
  .page-hero { padding: 40px 20px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero .page-sub { font-size: 15px; }
  .line-section, .about-story, .cta-band { padding: 44px 20px; }
  .line-head h2 { font-size: 24px; }
  .cat-grid { gap: 16px; }
  .cat-card { padding: 20px 16px; }
  .cat-card h3 { font-size: 17px; }
  .spec-chips { gap: 6px; }
  .spec-chips span { font-size: 11px; padding: 4px 10px; }
  .cta-band h2 { font-size: 22px; }
  .option-grid { gap: 14px; }
  .breadcrumb { flex-wrap: wrap; }
  /* iOS: prevent auto-zoom on input focus */
  .form-field input, .form-field textarea,
  .request-panel input, .request-panel textarea,
  .request-panel select { font-size: 16px; }
}


/* ===== Catalog search page ===== */
.catalog-controls { max-width: 1200px; margin: 0 auto; padding: 8px 24px 0; }
.catalog-search {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid #D9E2F0; border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 2px 12px rgba(1, 40, 100, .06);
}
.catalog-search svg { flex: none; color: #014DB2; }
.catalog-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 16px/1.4 'Inter', sans-serif; color: #0A1628;
}
.catalog-search input::placeholder { color: #93A3BC; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }
.cat-tabs button, .cat-chips button {
  border: 1.5px solid #D9E2F0; background: #fff; color: #33445F;
  font: 600 13.5px/1 'Inter', sans-serif; padding: 10px 16px; border-radius: 999px;
  cursor: pointer; transition: all .15s ease;
}
.cat-tabs button span, .cat-chips button span { color: #7A8AA5; font-weight: 500; }
.cat-tabs button.on { background: #014DB2; border-color: #014DB2; color: #fff; }
.cat-tabs button.on span { color: #BBD2F5; }
.cat-chips button { font-weight: 500; font-size: 12.5px; padding: 8px 13px; color: #4A5B78; }
.cat-chips button.on { border-color: #014DB2; color: #014DB2; background: #EEF4FD; }
.catalog-results { max-width: 1200px; margin: 0 auto; padding: 18px 24px 64px; }
.catalog-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; padding: 10px 2px;
}
.cat-count { font-size: 14px; color: #5A6B87; margin: 0; }
.cat-count strong { color: #0A1628; }
.catalog-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid #E3E9F4; border-radius: 12px; overflow: hidden;
}
.catalog-table th {
  position: sticky; top: 0; z-index: 2;
  background: #0A1628; color: #C8D6EE; text-align: left;
  font: 600 12px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 14px;
}
.catalog-table td { padding: 11px 14px; border-top: 1px solid #EDF1F8; font-size: 14px; color: #23324D; vertical-align: top; }
.catalog-table td.td-clip { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-table tbody tr:hover { background: #F5F8FD; }
.catalog-table td.mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; white-space: nowrap; color: #014DB2; font-weight: 500; }
.catalog-table td:nth-child(3), .catalog-table td:nth-child(4), .catalog-table td:nth-child(5) { font-size: 13px; color: #5A6B87; }
.row-ask {
  display: inline-block; border: 1.5px solid #014DB2; color: #014DB2;
  font: 600 12.5px/1 'Inter', sans-serif; padding: 7px 12px; border-radius: 8px;
  white-space: nowrap; transition: all .15s ease;
}
.row-ask:hover { background: #014DB2; color: #fff; }
.cat-pager { display: flex; align-items: center; gap: 10px; }
.pg-btn {
  border: 1.5px solid #D9E2F0; background: #fff; color: #33445F;
  font: 600 13px/1 'Inter', sans-serif; padding: 9px 14px; border-radius: 8px; cursor: pointer;
}
.pg-btn:disabled { opacity: .4; cursor: default; }
.pg-info { font: 500 13px/1 'Inter', sans-serif; color: #7A8AA5; }
.cat-empty { text-align: center; padding: 34px 20px 10px; color: #5A6B87; }
.cat-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.cat-noscript { padding: 20px 4px; color: #5A6B87; }

@media (max-width: 720px) {
  .catalog-table th:nth-child(4), .catalog-table td:nth-child(4) { display: none; }
  .catalog-table th:nth-child(5), .catalog-table td:nth-child(5) { display: none; }
  .catalog-table { min-width: 460px; }
  .cat-tabs button, .cat-chips button { padding: 9px 12px; font-size: 12.5px; }
}

/* ===== FAQ block ===== */
.faq-block { max-width: 860px; margin: 0 auto; }
.faq-title { font-size: 24px; font-weight: 700; color: #101E36; text-align: center; margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #FFFFFF; border: 1px solid #E3EAF5; border-radius: 12px;
  padding: 0 20px; transition: border-color .15s ease;
}
.faq-item[open] { border-color: #014DB2; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer;
  font: 600 15.5px/1.4 'Inter', sans-serif; color: #101E36; padding: 16px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-arrow { font: 600 20px/1 'Inter', sans-serif; color: #014DB2; transition: transform .15s ease; }
.faq-item[open] .faq-arrow { transform: rotate(45deg); }
.faq-item p { font: 400 14.5px/1.65 'Inter', sans-serif; color: #5A6B87; padding: 0 0 16px; margin: 0; }
.faq-item p a { color: #014DB2; font-weight: 500; }
