/* ============================================================
   PARKESINE MATERIALS TECHNOLOGIES - Design System (Multi-Page)
   Aesthetic: Clean, formal, institutional. Content-forward.
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --brand-blue: #0072BA;
  --brand-blue-dark: #004d80;
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-tertiary: #444444;
  --text-muted: #858585;
  --text-subdued: #666666;
  --text-disabled: #999999;
  --surface-white: #FFFFFF;
  --surface-nav: #373737;
  --surface-breadcrumb: #9E9E9E;
  --surface-active-nav: #EEEEEE;
  --surface-tag: #CECECE;
  --surface-button-icon: #EFEFEF;
  --surface-back-to-top: #999999;
  --footer-nav-bg: #373737;
  --footer-heading: #CCCCCC;
  --footer-link: #8B8B8B;
  --border-light: #BEBEBE;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --container-max: 1120px;
  --font: "Helvetica Neue", Helvetica, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- TYPOGRAPHY ---------- */
.section-eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.section-title {
  font-size: 31.2px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 34.2px;
  max-width: 700px;
  margin-bottom: 40px;
}
.lead-text {
  font-size: 18px;
  line-height: 34.2px;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.body-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ---------- SECTIONS (multi-page spacing) ---------- */
.section--spaced { padding: 80px 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn--small { padding: 8px 20px; font-size: 14px; }
.btn--large { padding: 12px 32px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--primary {
  background: var(--brand-blue);
  color: var(--surface-white);
  border: 2px solid var(--brand-blue);
}
.btn--primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}
.btn--outline:hover {
  background: var(--surface-active-nav);
  border-color: var(--text-primary);
}
.btn--nav {
  background: var(--brand-blue);
  color: var(--surface-white);
  padding: 0 24px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
}
.btn--hero-primary {
  background: var(--brand-blue);
  color: var(--surface-white);
  border: 2px solid var(--brand-blue);
}
.btn--hero-primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}
.btn--hero-outline {
  background: transparent;
  color: var(--surface-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--surface-white);
}

/* "See more" CTA */
.link-arrow {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.link-arrow::before {
  content: ">";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-tertiary);
  color: var(--surface-white);
  font-size: 12px;
  font-weight: 700;
}
.link-arrow:hover { color: var(--brand-blue); }
.link-arrow:hover::before { background: var(--brand-blue); }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--surface-white);
}
.header__logo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  padding: 0 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-img { width: 44px; height: 44px; object-fit: contain; }
.logo-img--footer { width: 32px; height: 32px; }
.logo-text { font-weight: 700; font-size: 18px; color: var(--text-primary); }
.logo-tagline { font-size: 12px; color: var(--text-muted); margin-left: 8px; }

.header__nav-bar { background: var(--surface-nav); height: 50px; }
.header__nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
}
.header__nav { display: flex; align-items: center; height: 100%; flex: 1; }
.header__nav a {
  text-decoration: none;
  color: var(--surface-white);
  font-size: 16px;
  font-weight: 400;
  padding: 0 38px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.header__nav a:hover,
.header__nav a.active {
  background: var(--surface-active-nav);
  color: var(--surface-nav);
}
.header__nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
}
.header__hamburger span { width: 24px; height: 2px; background: var(--surface-nav); transition: all 0.3s; }

/* Breadcrumb */
.breadcrumb-bar { background: var(--surface-breadcrumb); padding: 7px 0; }
.breadcrumb-bar .container { font-size: 13px; color: var(--surface-white); }
.breadcrumb-bar a { color: var(--surface-white); text-decoration: none; }
.breadcrumb-bar .sep { margin: 0 6px; }

/* ---------- HOME HERO ---------- */
.hero {
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 520px;
  display: flex;
  align-items: stretch;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.65) 40%,
    rgba(0,0,0,0.15) 100%
  );
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-top: 125px;
  padding-bottom: 60px;
}
.hero__content-block {
  max-width: 520px;
}
.hero__eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 16px;
}
.hero__title {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--surface-white);
  margin-bottom: 16px;
}
.hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--surface-nav);
  padding: 0;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-bar__item {
  padding: 24px 24px 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
}
.trust-bar__item:last-child { border-right: none; }
.trust-bar__number {
  font-size: 28px;
  font-weight: 600;
  color: var(--surface-white);
  line-height: 1.1;
  margin-bottom: 4px;
}
.trust-bar__label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 60px;
  background-size: cover;
  background-position: center;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 680px; }
.page-hero--dark {
  background: var(--surface-nav);
}
.page-hero--dark .hero__eyebrow { color: var(--brand-blue); }
.page-hero--dark .hero__title { color: var(--surface-white); }
.page-hero--dark .hero__subtitle { color: rgba(255,255,255,0.7); }
.page-hero--compact { padding: 160px 0 40px; min-height: 260px; background: var(--surface-nav); }
.page-hero--compact .hero__title { font-size: 36px; color: var(--surface-white); }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--surface-nav);
  padding: 60px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { font-size: 26px; font-weight: 400; color: var(--surface-white); margin-bottom: 4px; }
.cta-band p { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ---------- INDUSTRIES (home) ---------- */
.industries {
  padding: 80px 0 0;
  background: var(--surface-white);
  border-top: 1px solid var(--border-light);
}
.industries__header { padding: 0 0 24px; }
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-cell {
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 24px 24px 40px;
  transition: background 0.2s;
}
.grid-cell:hover { background: var(--surface-active-nav); }
.grid-cell--wide { grid-column: span 2; }
.grid-cell__lead { font-size: 18px; line-height: 34.2px; color: var(--text-primary); }
.grid-cell__label { font-size: 26px; font-weight: 400; color: var(--text-muted); margin-bottom: 8px; }
.grid-cell__sublabel { font-size: 20px; font-weight: 400; color: var(--text-muted); margin-bottom: 6px; }
.grid-cell__stat { display: block; font-size: 36px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 12px; line-height: 1.1; }
.grid-cell__body { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; }
.grid-cell:nth-child(2), .grid-cell:nth-child(6), .grid-cell:nth-child(10) { border-right: none; }

/* ---------- PRODUCTS ---------- */
.products {
  padding: 80px 0;
  background: var(--surface-white);
}
.products__tabs { display: flex; gap: 0; margin-bottom: 40px; }
.tab-btn {
  padding: 10px 28px;
  border: none;
  background: var(--surface-tag);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover { background: var(--surface-nav); color: var(--surface-white); }
.tab-btn.active { background: var(--brand-blue); color: var(--surface-white); }
.products__panel { display: none; }
.products__panel.active { display: block; }

.product-intro { margin-bottom: 32px; }
.product-intro h2 { font-size: 26px; font-weight: 400; color: var(--text-muted); margin-bottom: 12px; }
.product-intro p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; max-width: 700px; }

/* ---------- ACCORDION ---------- */
.accordion { border-top: 1px solid var(--border-light); }
.accordion__item { border-bottom: 1px solid var(--border-light); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px 20px 40px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-primary);
  text-align: left;
  transition: background 0.2s;
}
.accordion__trigger:hover { background: var(--surface-active-nav); }
.accordion__trigger[aria-expanded="true"] { background: var(--surface-active-nav); }
.accordion__title { flex: 1; }
.accordion__icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--brand-blue);
  width: 28px;
  text-align: center;
  transition: transform 0.2s;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__content {
  display: none;
  padding: 0 24px 24px 40px;
}
.accordion__content.open { display: block; }
.accordion__content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Spec table inside accordion */
.spec-table { display: flex; flex-direction: column; }
.spec-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.spec-row span:first-child { width: 180px; font-weight: 600; color: var(--text-primary); flex-shrink: 0; }
.spec-row span:last-child { color: var(--text-secondary); }

/* ---------- ABOUT: Stats Row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-card--prominent {
  padding: 32px 24px 32px 40px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.stat-card--prominent:last-child { border-right: none; }
.stat-number { font-size: 36px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* About: Two Column Content */
.content-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

/* About: Process Grid */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.process-cell {
  padding: 32px 24px 32px 40px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.process-cell:nth-child(3n) { border-right: none; }
.process-number { display: block; font-size: 36px; font-weight: 600; color: var(--brand-blue); margin-bottom: 8px; }
.process-cell h3 { font-size: 20px; font-weight: 400; color: var(--text-muted); margin-bottom: 8px; }
.process-cell p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ---------- SUSTAINABILITY ---------- */
.compliance-badge {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 40px;
  background: #f0f7fb;
  border-left: 4px solid var(--brand-blue);
}
.compliance-badge__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: var(--surface-white);
  font-size: 24px;
  font-weight: 700;
}
.compliance-badge strong { display: block; font-size: 18px; color: var(--text-primary); margin-bottom: 4px; }
.compliance-badge p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin: 0; }

.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.pillar-card {
  padding: 40px 24px 40px 40px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.pillar-card:nth-child(2n) { border-right: none; }
.pillar-number { display: block; font-size: 36px; font-weight: 600; color: var(--brand-blue); margin-bottom: 12px; }
.pillar-card h3 { font-size: 26px; font-weight: 400; color: var(--text-muted); margin-bottom: 12px; }
.pillar-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* Circular Flow */
.circular-flow { display: flex; align-items: flex-start; gap: 0; }
.flow-step {
  flex: 1;
  padding: 24px 24px 24px 32px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.flow-step:last-child { border-right: none; }
.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand-blue);
  color: var(--surface-white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.flow-step h4 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.flow-arrow { display: none; }

/* ---------- CONTACT ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__value-props { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.value-prop {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-prop__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: var(--surface-white);
  font-size: 14px;
  font-weight: 700;
}
.value-prop strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.value-prop p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.contact__form {
  border: 1px solid var(--border-light);
  padding: 32px 32px 32px 40px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  font-family: var(--font);
  font-size: 16px;
  color: #000;
  border: 1px solid var(--border-light);
  background: var(--surface-white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(0,114,186,0.1);
}
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--footer-nav-bg);
  color: var(--footer-link);
  padding: 60px 0 24px;
}
.footer__inner { display: flex; flex-direction: column; gap: 32px; }
.footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__brand .logo-img--footer { margin-bottom: 4px; }
.footer__brand .logo-text { color: var(--surface-white); font-size: 16px; }
.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__links h4 {
  color: var(--footer-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__links a {
  display: block;
  color: var(--footer-link);
  text-decoration: none;
  font-size: 13px;
  padding: 3px 0;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--surface-white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.footer__tagline { color: var(--footer-link); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background: var(--surface-back-to-top);
  color: var(--surface-white);
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--text-tertiary); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero { min-height: 440px; }
  .hero__inner { padding-top: 130px; padding-bottom: 48px; }
  .hero__title { font-size: 36px; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__item:nth-child(2) { border-right: none; }
  .page-hero { padding: 150px 0 40px; min-height: 300px; }
  .page-hero .hero__title { font-size: 32px; }
  .industries__grid { grid-template-columns: 1fr 1fr; }
  .grid-cell--wide { grid-column: span 2; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-card--prominent:nth-child(2n) { border-right: none; }
  .content-two-col { grid-template-columns: 1fr; gap: 24px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-cell:nth-child(2n) { border-right: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card { border-right: none; }
  .circular-flow { flex-direction: column; }
  .flow-step { border-right: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 4px; }
  .section--spaced { padding: 60px 0; }
}

@media (max-width: 640px) {
  .header__nav-bar { display: none; }
  .header__nav-bar.open { display: block; height: auto; }
  .header__nav-bar.open .header__nav-inner { flex-direction: column; height: auto; padding: 12px 20px; }
  .header__nav-bar.open .header__nav { flex-direction: column; height: auto; }
  .header__nav-bar.open .header__nav a { padding: 12px 0; height: auto; }
  .header__nav-bar.open .header__nav-actions { margin: 12px 0 0; width: 100%; }
  .header__hamburger { display: flex; }
  .hero { min-height: 400px; }
  .hero__inner { padding-top: 110px; padding-bottom: 40px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 14px; }
  .hero__content-block { max-width: 100%; }
  .hero__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.3) 100%); }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__item:nth-child(2) { border-right: none; }
  .trust-bar__number { font-size: 24px; }
  .trust-bar__item { padding: 16px 20px; }
  .industries__grid { grid-template-columns: 1fr; }
  .grid-cell--wide { grid-column: span 1; }
  .grid-cell { border-right: none; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-card--prominent { border-right: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-cell { border-right: none; }
  .footer__links { grid-template-columns: 1fr; }
  .products__tabs { flex-wrap: wrap; gap: 4px; }
  .section--spaced { padding: 48px 0; }
}
