/* ==========================================================================
   style-v2.css — Site V2 supplement
   Used together with style.css. Adds:
   - Mega menu (Products)
   - Family landing cards
   - Three-line product cards (Best for / Also suitable for / Processes)
   - Family page styles, quick-facts grid, breadcrumb refinements
   ========================================================================== */

/* ---------- Mega Menu ---------- */
.main-nav .has-mega { position: relative; }
.mega-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 880px;
  max-width: 92vw;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 3px solid #c19a3b;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(20,24,42,.14);
  padding: 26px 30px 22px;
  z-index: 300;
  text-align: left;
}
.main-nav li.has-mega:hover .mega-menu,
.main-nav li.has-mega:focus-within .mega-menu { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.mega-col h4 {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c19a3b;
  margin: 0 0 12px;
  font-weight: 700;
}
.mega-col a {
  display: block;
  color: #2a2f45;
  font-size: .9rem;
  font-weight: 600;
  padding: 4px 0;
  text-decoration: none;
}
.mega-col a:hover { color: #c19a3b; }
.mega-col a small {
  display: block;
  font-weight: 400;
  color: #7a8196;
  font-size: .78rem;
}
.mega-all { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eceef3; text-align: center; }
.mega-all a { color: #c19a3b; font-weight: 600; text-decoration: none; font-size: .9rem; }

@media (max-width: 1024px) {
  .mega-menu { position: static; transform: none; width: 100%; border: none; box-shadow: none; display: none; }
  .main-nav li.has-mega.open .mega-menu { display: block; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Family landing cards ---------- */
.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.family-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.family-card:hover { box-shadow: 0 14px 34px rgba(20,24,42,.10); transform: translateY(-3px); }
.family-card__body { padding: 26px 26px 22px; flex: 1; }
.family-card .kicker { color: #c19a3b; font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.family-card h3 { margin: 8px 0 10px; font-size: 1.35rem; color: #14182a; }
.family-card p { color: #4a5266; font-size: .92rem; line-height: 1.65; margin: 0 0 12px; }
.family-card ul { list-style: none; margin: 0 0 14px; padding: 0; }
.family-card li { padding: 4px 0 4px 22px; position: relative; color: #3a4054; font-size: .88rem; font-weight: 600; }
.family-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #c19a3b; }
.family-card .btn { margin-top: auto; }
.family-count { color: #8b93a8; font-size: .78rem; }

/* ---------- Three-line product cards ---------- */
.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { box-shadow: 0 14px 34px rgba(20,24,42,.10); transform: translateY(-3px); }
.product-card__body { padding: 20px 20px 18px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { margin: 6px 0 4px; font-size: 1.12rem; }
.product-card h3 a { color: #14182a; text-decoration: none; }
.product-card h3 a:hover { color: #c19a3b; }
.product-card .pc-family { color: #c19a3b; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-card .pc-meta { color: #6a7287; font-size: .8rem; margin: 6px 0 10px; }
.product-card .pc-meta strong { color: #3a4054; }
.pc-lines { margin: 8px 0 12px; }
.pc-line { display: flex; font-size: .82rem; line-height: 1.55; color: #4a5266; }
.pc-line b { color: #2a2f45; min-width: 122px; font-weight: 600; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.tag {
  background: #f4f1e8;
  color: #8a6a1f;
  border: 1px solid #e4d7b4;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 600;
}
.product-card .btn { margin-top: auto; text-align: center; }

/* ---------- Quick facts & spec refinements ---------- */
.quick-facts { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .quick-facts { grid-template-columns: repeat(4, 1fr); }
}
.qf-item { background: #f7f8fb; border: 1px solid #eceef3; border-radius: 10px; padding: 14px 16px; }
.qf-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8b93a8; margin-bottom: 4px; }
.qf-value { font-size: .96rem; font-weight: 700; color: #14182a; }

/* ---------- Page hero (family / product) ---------- */
.page-hero { background: linear-gradient(135deg, #14182a 0%, #232a44 70%, #2c3454 100%); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: 2.2rem; line-height: 1.25; margin: 10px 0 12px; }
.page-hero .sub { color: #c9cede; max-width: 760px; }
.page-hero .breadcrumb a { color: #c19a3b; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .8rem; color: #8b93a8; margin-bottom: 14px; }
.breadcrumb a { color: #6a7287; text-decoration: none; }
.breadcrumb a:hover { color: #c19a3b; }
.breadcrumb .sep { margin: 0 6px; color: #c3c8d4; }

/* ---------- Related / link blocks ---------- */
.link-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .link-tiles { grid-template-columns: repeat(4, 1fr); } }
.link-tile {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  transition: border-color .2s ease;
}
.link-tile:hover { border-color: #c19a3b; }
.link-tile a { text-decoration: none; color: #14182a; font-weight: 600; font-size: .9rem; display: block; }
.link-tile small { display: block; color: #8b93a8; margin-top: 4px; font-size: .76rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; border: 1px solid #eceef3; border-radius: 10px; overflow: hidden; background: #f7f8fb; }
.gallery figcaption { padding: 8px 10px; font-size: .76rem; color: #6a7287; }
.gallery .ph {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef0f6, #dfe3ee);
  color: #aab0c2;
  font-size: .78rem;
  letter-spacing: .06em;
}

/* ---------- Process / Market tiles ---------- */
.process-tile { border-left: 3px solid #c19a3b; background: #fff; border-radius: 0 10px 10px 0; padding: 16px 20px; box-shadow: 0 2px 10px rgba(20,24,42,.05); }
.process-tile h3 { margin: 0 0 6px; font-size: 1.02rem; }
.process-tile p { margin: 0; color: #5a6275; font-size: .88rem; }
.market-card { text-align: center; padding: 28px 20px; }

/* ---------- Placeholder note (staging only) ---------- */
.placeholder-note { background: #fff8e6; border: 1px dashed #d9b45c; color: #7a5c12; border-radius: 8px; padding: 10px 14px; font-size: .8rem; margin: 12px 0; }
