/* ═══════════════════════════════════════════════════════════
   KENVERA — Sub-Pages Shared Stylesheet
   Used by all pages in /pages/
   ═══════════════════════════════════════════════════════════ */

/* ── Page Hero Banner ── */
.page-hero {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.22) 0%, transparent 60%);
}
.page-hero-con {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.page-hero h1,
.page-hero h1 span,
.page-hero h1 * {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: var(--weight-black);
  color: var(--white) !important;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.page-hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.92);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
}
.page-hero-breadcrumb a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.page-hero-breadcrumb a:hover { opacity: 0.85; }
.page-hero-breadcrumb i { font-size: 0.6rem; opacity: 0.85; }
.page-hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

/* ── Section Padding ── */
.sec { padding: var(--space-20) 0; }
.sec-sm { padding: var(--space-14) 0; }
.sec-dark { background: var(--navy-dark); }
.sec-navy { background: var(--navy); }
.sec-orange { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); }
.sec-warm { background: var(--bg-primary); }
.sec-white { background: var(--white); }

/* ── Content Cards ── */
.info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--tr);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.info-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.info-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.info-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Two-column grid ── */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  align-items: center;
}
.two-col.cards-grid {
  align-items: stretch;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── Three-column grid ── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-items: stretch;
}

/* ── Four-column grid ── */
.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  align-items: stretch;
}

/* ── Step flow ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-7);
  counter-reset: steps;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-7);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--tr);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-card::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: -10px; right: 12px;
  font-size: 6rem;
  font-weight: var(--weight-black);
  color: rgba(245,130,32,0.06);
  line-height: 1;
  font-family: var(--font-heading);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: var(--weight-black);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.step-card h3 { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--navy); margin-bottom: 8px; }
.step-card p { color: var(--text-muted); line-height: 1.7; font-size: var(--text-sm); }

/* ── Stats strip ── */
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  padding: var(--space-8);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: var(--weight-black);
  color: var(--orange);
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ── Team Card ── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--tr);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.team-avatar {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--orange) 100%);
}
.team-avatar-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.4);
}
.team-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-info { padding: var(--space-5) var(--space-6); }
.team-name { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--navy); }
.team-title { font-size: var(--text-sm); color: var(--orange); font-weight: var(--weight-semibold); margin-top: 4px; }
.team-bio { font-size: var(--text-sm); color: var(--text-muted); margin-top: 10px; line-height: 1.6; }

/* ── Blog Card ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--tr);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.blog-body { padding: var(--space-6); }
.blog-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-meta i { color: var(--orange); }
.blog-title { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--navy); line-height: 1.4; margin-bottom: 10px; }
.blog-title a { color: inherit; text-decoration: none; }
.blog-title a:hover { color: var(--orange); }
.blog-excerpt { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }
.blog-read { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: var(--weight-semibold); font-size: var(--text-sm); margin-top: 16px; text-decoration: none; transition: gap 0.2s; }
.blog-read:hover { gap: 10px; }

/* ── Job Card ── */
.job-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  transition: var(--tr);
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--orange); }
.job-dept-ico {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: var(--orange-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--orange);
}
.job-body { flex: 1; }
.job-title { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--navy); margin-bottom: 6px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.job-tag {
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  background: var(--orange-bg); color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.job-tag.blue { background: var(--navy-50); color: var(--navy); }
.job-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }
.job-apply {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white; font-weight: 600; font-size: var(--text-sm);
  padding: 10px 22px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--tr);
}
.job-apply:hover { transform: scale(1.04); box-shadow: 0 4px 20px rgba(245,130,32,0.4); }

/* ── Contact Cards ── */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--tr);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.contact-ico {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-bg) 0%, var(--orange-bg-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--orange);
  margin: 0 auto var(--space-5);
}
.contact-info-card h3 { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--navy); margin-bottom: 8px; }
.contact-info-card p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }
.contact-info-card a { color: var(--orange); font-weight: 600; text-decoration: none; display: block; margin-top: 10px; }

/* ── Map Placeholder ── */
.map-placeholder {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-50) 0%, var(--navy-100) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--navy);
  border: 2px dashed var(--navy-100);
  font-size: 1.1rem;
  font-weight: 600;
}
.map-placeholder i { font-size: 3rem; color: var(--orange); }

/* ── Product Full Card & Grid Alignment ── */
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-8);
  align-items: stretch;
}
@media (max-width: 992px) {
  .products-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .products-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.prod-full-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 26, 58, 0.08);
  border: 1px solid rgba(7, 26, 58, 0.1);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.prod-full-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(245, 130, 32, 0.18);
  border-color: var(--orange-light);
}
.prod-full-thumb {
  background: linear-gradient(145deg, var(--navy-50) 0%, var(--orange-bg) 100%);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  min-height: 180px;
  position: relative;
  box-sizing: border-box;
}
.prod-full-vol {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--orange);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}
.prod-full-thumb i { font-size: 4.2rem; color: var(--navy); opacity: 0.25; }
.prod-full-thumb img { max-height: 150px; width: auto; object-fit: contain; }
.prod-full-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.prod-full-name { font-size: var(--text-xl); font-weight: var(--weight-black); color: var(--navy); margin-bottom: 6px; }
.prod-full-desc { color: var(--text-muted); line-height: 1.6; font-size: var(--text-sm); margin-bottom: 12px; min-height: auto; }
.prod-spec-list { margin-top: auto; list-style: none; display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--gray-200); }
.prod-spec-list li { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--text-muted); }
.prod-spec-list li i { color: var(--orange); width: 16px; flex-shrink: 0; }
.prod-full-btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.prod-full-btns .btn { flex: 1; min-width: 110px; text-align: center; justify-content: center; }

/* ── Certification Card ── */
.cert-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
  transition: var(--tr);
}
.cert-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.cert-ico { font-size: 3rem; color: var(--orange); margin-bottom: var(--space-4); }
.cert-name { font-size: var(--text-xl); font-weight: var(--weight-black); color: var(--navy); margin-bottom: 6px; }
.cert-sub { font-size: var(--text-sm); color: var(--text-muted); }

/* ── Mineral Table ── */
.mineral-table { width: 100%; border-collapse: collapse; }
.mineral-table th {
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.mineral-table th:first-child { border-radius: 10px 0 0 0; }
.mineral-table th:last-child { border-radius: 0 10px 0 0; }
.mineral-table td {
  padding: 13px 20px;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}
.mineral-table tr:hover td { background: var(--orange-bg); }
.mineral-table td:last-child { font-weight: 600; color: var(--orange); }

/* ── FAQ Accordion ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--orange-bg); }
.faq-q i { transition: transform 0.3s; color: var(--orange); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
  background: var(--white);
}
.faq-item.open .faq-a { max-height: 500px; padding: 16px 24px 24px; }

/* ── Sustainability pillars ── */
.sustain-card {
  background: linear-gradient(145deg, var(--white) 0%, var(--orange-bg) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid rgba(245,130,32,0.15);
  transition: var(--tr);
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.sustain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 130, 32, 0.35);
}
.sustain-ico { font-size: 2.8rem; color: var(--orange); margin-bottom: var(--space-4); }
.sustain-card h3 { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--navy); margin-bottom: 10px; }
.sustain-card p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-14) var(--space-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.2) 0%, transparent 60%);
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: var(--weight-black);
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner h2 span {
  color: var(--navy);
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: var(--space-10); }
  .two-col.reverse { direction: ltr; }
  .three-col { grid-template-columns: repeat(2, 1fr); }
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); min-width: 50%; }
}
@media (max-width: 600px) {
  .page-hero { padding: 90px 0 44px; }
  .page-hero h1,
  .page-hero h1 * { font-size: 2.2rem; color: var(--white) !important; }
  .page-hero-sub { font-size: var(--text-base); }
  .three-col { grid-template-columns: 1fr; }
  .four-col { grid-template-columns: 1fr; }
  .stat-item { min-width: 50%; padding: var(--space-5) var(--space-3); }
  .stat-num { font-size: 2rem; }
  .job-card { flex-direction: column; }
  .job-apply { width: 100%; justify-content: center; margin-top: 10px; }
  .prod-full-btns { flex-direction: column; align-items: center; gap: 10px; }
  .prod-full-btns .btn { width: auto !important; max-width: 280px !important; min-width: 200px !important; justify-content: center; }
  .cta-banner { padding: var(--space-8) var(--space-5); }
  .cta-banner-btns { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
  .cta-banner-btns .btn { width: auto !important; max-width: 280px !important; min-width: 200px !important; justify-content: center; }
  
  /* Mobile Timeline on About Page */
  .tl-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
    padding-left: 28px;
  }
  .tl-grid > div[style*="text-align:right"] {
    text-align: left !important;
  }
  .tl-grid > div[style*="justify-content"] {
    display: none !important;
  }
}

/* ── Universal Reveal Guarantee & Responsive Container Bounds ── */
.rv.vis, .rv.on,
.rl.vis, .rl.on,
.rr.vis, .rr.on,
.rs.vis, .rs.on,
.rrot.vis, .rrot.on {
  opacity: 1 !important;
  transform: none !important;
}

/* Fallback: Never leave content hidden on small screens */
@media (max-width: 900px) {
  .rv, .rl, .rr, .rs, .rrot {
    opacity: 1 !important;
    transform: none !important;
  }
  .con {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


