/* ==============================================================
   PFE Technologies — homepage styles (scoped to .pfe-themed wrapper).
   Adapted from the new design pack.
   ============================================================== */

.pfe-themed {
  --ink:        #14161a;
  --text:       #2a2e36;
  --muted:      #5b6270;
  --line:       #e3e6ec;
  --line-2:     #eef0f4;
  --bg:         #ffffff;
  --bg-2:       #f6f7f9;
  --bg-3:       #eef0f4;
  --red:        #c8102e;
  --red-deep:   #a30b24;
  --shadow-sm:  0 1px 2px rgba(20,22,26,.04), 0 1px 3px rgba(20,22,26,.06);
  --shadow-md:  0 2px 4px rgba(20,22,26,.04), 0 6px 14px rgba(20,22,26,.07);
  --radius:     8px;
  --radius-lg:  12px;
  --sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.pfe-themed a { color: inherit; text-decoration: none; }
.pfe-themed button { font: inherit; color: inherit; cursor: pointer; }
.pfe-themed ::selection { background: var(--red); color: #fff; }

/* ---------- LAYOUT ---------- */
.pfe-themed .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.pfe-themed .section { padding: 80px 0; }
.pfe-themed .section.alt { background: var(--bg-2); }
.pfe-themed .section.dark { background: var(--ink); color: #f6f7f9; }

.pfe-themed .section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.pfe-themed .section-head .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--red);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pfe-themed .section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.pfe-themed .section-head p {
  margin: 0;
  font-size: 17px; line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}
.pfe-themed .section.dark .section-head h2 { color: #fff; }
.pfe-themed .section.dark .section-head p { color: rgba(255,255,255,.7); }
.pfe-themed .section.dark .section-head .eyebrow { color: #ff8a99; }

/* ---------- BUTTONS (scoped) ---------- */
.pfe-themed .h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.pfe-themed .h-btn:hover { background: #2a2e36; color: #fff; }
.pfe-themed .h-btn:active { transform: translateY(1px); }
.pfe-themed .h-btn-red { background: var(--red); }
.pfe-themed .h-btn-red:hover { background: var(--red-deep); }
.pfe-themed .h-btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.pfe-themed .h-btn-outline:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.pfe-themed .h-btn-sm { padding: 8px 14px; font-size: 14px; }

.pfe-themed .link-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink); font-weight: 600; font-size: 15px;
  transition: color .15s, gap .15s;
}
.pfe-themed .link-arrow:hover { color: var(--red); gap: 8px; }
.pfe-themed .link-arrow::after { content: "→"; }

/* ---------- HERO ---------- */
.pfe-themed .hero { padding: 72px 0 96px; background: var(--bg); }
.pfe-themed .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pfe-themed .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  margin-bottom: 22px;
}
.pfe-themed .hero-tag .dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.pfe-themed .hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.pfe-themed .hero h1 span { color: var(--red); }
.pfe-themed .hero-lede {
  font-size: 18px; line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 56ch;
  text-wrap: pretty;
}
.pfe-themed .hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.pfe-themed .hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.pfe-themed .hero-meta div { color: var(--muted); }
.pfe-themed .hero-meta b { display: block; font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 2px; letter-spacing: -0.01em; }

.pfe-themed .hero-vis {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  aspect-ratio: 1.05/1;
}
.pfe-themed .hero-vis-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.pfe-themed .hero-vis-cell:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.pfe-themed .hero-vis-cell img { max-width: 100%; max-height: 56px; object-fit: contain; }
.pfe-themed .hero-vis-more {
  flex-direction: column; gap: 4px;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pfe-themed .hero-vis-more:hover { background: #2a2e36; box-shadow: var(--shadow-md); }
.pfe-themed .hero-vis-more .num { font-size: 26px; font-weight: 700; letter-spacing: -0.015em; line-height: 1; }
.pfe-themed .hero-vis-more .lbl { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 500; }

/* ---------- BRAND BAR ---------- */
.pfe-themed .brand-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 28px 0;
}
.pfe-themed .brand-bar-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pfe-themed .brand-bar .lbl { font-size: 17px; color: var(--ink); font-weight: 700; letter-spacing: -0.005em; }
.pfe-themed .brand-bar-jumps {
  display: flex; align-items: center;
  gap: 14px;
  font-size: 14px;
}
.pfe-themed .brand-bar-jumps a {
  color: var(--text); font-weight: 600;
  transition: color .15s;
}
.pfe-themed .brand-bar-jumps a:hover { color: var(--red); }
.pfe-themed .brand-bar-jumps .sep { color: var(--line); }
.pfe-themed .brand-bar img {
  height: 28px; width: auto; max-width: 120px;
  opacity: .65;
  filter: grayscale(1);
  transition: opacity .15s, filter .15s;
}
.pfe-themed .brand-bar img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- BRANDS GRID ---------- */
.pfe-themed .brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pfe-themed .brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  cursor: pointer;
  text-align: left;
  position: relative;
  width: 100%;
}
.pfe-themed .brand-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pfe-themed .brand-card-logo {
  height: 56px;
  display: flex; align-items: center;
  margin-bottom: 18px;
}
.pfe-themed .brand-card-logo img { max-height: 44px; max-width: 160px; object-fit: contain; }
.pfe-themed .brand-card h3 {
  margin: 0 0 6px;
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pfe-themed .brand-card p {
  margin: 0 0 16px;
  font-size: 14px; line-height: 1.5;
  color: var(--muted);
}
.pfe-themed .brand-card .tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 12px;
  align-self: flex-start;
}
.pfe-themed .brand-card .tag-red { background: #fef0f2; border-color: #fcd6dd; color: var(--red-deep); }
.pfe-themed .brand-card .tag-amber { background: #fff8e6; border-color: #f6e1a8; color: #8a5a00; }
.pfe-themed .brand-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.pfe-themed .brand-card-foot b { color: var(--ink); font-weight: 600; }
.pfe-themed .brand-card-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 14px;
  transition: background .15s, color .15s, transform .15s;
}
.pfe-themed .brand-card:hover .brand-card-arrow {
  background: var(--ink); color: #fff; transform: translate(2px, -2px);
}

/* category filter pills */
.pfe-themed .cat-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.pfe-themed .cat {
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background .12s, color .12s, border-color .12s;
}
.pfe-themed .cat:hover { border-color: var(--ink); }
.pfe-themed .cat.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pfe-themed .cat .n {
  display: inline-block; margin-left: 6px;
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.pfe-themed .cat.active .n { color: rgba(255,255,255,.6); }

/* ---------- CATALOGUE PANELS (the existing big brand+categories) ---------- */
.pfe-themed .catalogue-intro { margin-bottom: 40px; }

.pfe-themed .cat-segment { margin-bottom: 36px; }
.pfe-themed .cat-segment:last-child { margin-bottom: 0; }
.pfe-themed .cat-segment-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.pfe-themed .cat-segment-eyebrow {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}
.pfe-themed .cat-segment-rule {
  flex: 1; height: 1px;
  background: var(--line);
}
.pfe-themed .cat-segment-count {
  font-size: 12px; color: var(--muted); font-weight: 500;
  white-space: nowrap;
}
.pfe-themed .cat-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  scroll-margin-top: 100px;
}
.pfe-themed .cat-panel:last-child { margin-bottom: 0; }
.pfe-themed .cat-panel-head {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.pfe-themed .cat-panel-logo {
  height: 80px;
  display: flex; align-items: center;
}
.pfe-themed .cat-panel-logo img { max-height: 64px; max-width: 200px; object-fit: contain; }
.pfe-themed .cat-panel-head .copy h3 {
  margin: 0 0 6px;
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pfe-themed .cat-panel-head .copy p {
  margin: 0;
  font-size: 14.5px; line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.pfe-themed .cat-panel-head .meta {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; text-align: right;
}
.pfe-themed .cat-panel-head .meta .tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  align-self: flex-end;
}
.pfe-themed .cat-panel-head .meta .tag-red { background: #fef0f2; border-color: #fcd6dd; color: var(--red-deep); }

.pfe-themed .cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pfe-themed .cat-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.pfe-themed .cat-grid.cols-9 { grid-template-columns: repeat(9, 1fr); }

.pfe-themed .cat-thumb {
  display: flex; flex-direction: column;
  text-align: center;
  cursor: pointer;
}
.pfe-themed .cat-thumb-img {
  aspect-ratio: 1/1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color .15s, transform .15s;
  display: flex; align-items: center; justify-content: center;
}
.pfe-themed .cat-thumb:hover .cat-thumb-img { border-color: var(--ink); transform: translateY(-2px); }
.pfe-themed .cat-thumb-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.pfe-themed .cat-thumb:hover .cat-thumb-img img { transform: scale(1.06); }
.pfe-themed .cat-thumb-img .placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 8px, var(--bg-3) 8px, var(--bg-3) 16px);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--muted);
}
.pfe-themed .cat-thumb-label {
  font-size: 13px; line-height: 1.35;
  color: var(--text);
  font-weight: 500;
  transition: color .15s;
}
.pfe-themed .cat-thumb:hover .cat-thumb-label { color: var(--red); }

.pfe-themed .cat-panel-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.pfe-themed .cat-panel-foot .url { font-size: 13px; color: var(--muted); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }

/* Showcase brands (no WP categories): typographic range tiles */
.pfe-themed .cat-panel-showcase { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.pfe-themed .range-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pfe-themed .range-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.pfe-themed .range-tile b {
  display: block;
  font-size: 14.5px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.pfe-themed .range-tile span {
  font-size: 13px; line-height: 1.45;
  color: var(--muted);
}

/* ---------- ABOUT ---------- */
.pfe-themed .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pfe-themed .about-grid h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.pfe-themed .about-grid h2 .eyebrow {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--red);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pfe-themed .about-grid p {
  font-size: 16.5px; line-height: 1.65;
  color: var(--text);
  margin: 0 0 14px;
}
.pfe-themed .about-grid p.muted { color: var(--muted); }
.pfe-themed .about-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.pfe-themed .about-img {
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.pfe-themed .about-img-placeholder {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 14px, var(--bg-3) 14px, var(--bg-3) 28px);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); font-weight: 500;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.pfe-themed .about-img-cap {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
}
.pfe-themed .about-img-cap b { color: var(--ink); font-weight: 600; }
.pfe-themed .about-img-cap span { color: var(--muted); }

.pfe-themed .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pfe-themed .stat b {
  display: block;
  font-size: 28px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.pfe-themed .stat span { font-size: 13px; color: var(--muted); }

/* ---------- SERVICES ---------- */
.pfe-themed .svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pfe-themed .svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .15s, box-shadow .15s;
}
.pfe-themed .svc-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.pfe-themed .svc-icon {
  width: 40px; height: 40px;
  background: var(--bg-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 13px; font-weight: 700;
  color: var(--red);
  border: 1px solid var(--line);
}
.pfe-themed .svc-card h3 {
  margin: 0 0 10px;
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pfe-themed .svc-card p {
  margin: 0 0 14px;
  font-size: 14.5px; line-height: 1.55;
  color: var(--muted);
}
.pfe-themed .svc-card ul {
  list-style: none;
  padding: 0; margin: 0;
}
.pfe-themed .svc-card li {
  padding: 6px 0;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--text);
  display: flex; justify-content: space-between;
}
.pfe-themed .svc-card li:first-child { border-top: 0; }
.pfe-themed .svc-card li span { color: var(--muted); font-size: 12.5px; }

/* ---------- NEWS ---------- */
.pfe-themed .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pfe-themed .news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  cursor: pointer;
}
.pfe-themed .news-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pfe-themed .news-thumb {
  aspect-ratio: 16/9;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.pfe-themed .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pfe-themed .news-card:hover .news-thumb img { transform: scale(1.04); }
.pfe-themed .news-thumb-placeholder {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, var(--bg-2), var(--bg-2) 12px, var(--bg-3) 12px, var(--bg-3) 24px);
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; color: var(--muted);
}
.pfe-themed .news-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pfe-themed .news-meta {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 10px;
  font-size: 12.5px;
}
.pfe-themed .news-meta .pill {
  padding: 3px 8px;
  background: #fef0f2;
  color: var(--red-deep);
  border: 1px solid #fcd6dd;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 11px;
}
.pfe-themed .news-meta .date { color: var(--muted); }
.pfe-themed .news-body h3 {
  margin: 0 0 8px;
  font-size: 17px; font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pfe-themed .news-body p {
  margin: 0 0 14px;
  font-size: 14px; line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.pfe-themed .news-body .read {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  display: inline-flex; gap: 4px; align-items: center;
  transition: gap .15s, color .15s;
}
.pfe-themed .news-card:hover .read { color: var(--red); gap: 8px; }

/* ---------- CONTACT ---------- */
.pfe-themed .contact-block {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.pfe-themed .contact-block h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}
.pfe-themed .contact-block p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.7);
  font-size: 16.5px; line-height: 1.6;
  max-width: 50ch;
}
.pfe-themed .contact-block .h-btn-red:hover { background: #d61f3d; }
.pfe-themed .contact-block-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pfe-themed .contact-info { font-size: 14px; }
.pfe-themed .contact-info-row {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: baseline;
}
.pfe-themed .contact-info-row:first-child { border-top: 0; }
.pfe-themed .contact-info-row b {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pfe-themed .contact-info-row span { color: #fff; line-height: 1.5; }
.pfe-themed .contact-info-row a:hover { color: #ff8a99; }

/* ---------- DRAWER ---------- */
.pfe-themed .drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(20,22,26,.5);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.pfe-themed .drawer-overlay.open { opacity: 1; pointer-events: auto; }
.pfe-themed .drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(560px, 92vw);
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 30px rgba(20,22,26,.1);
}
.pfe-themed .drawer.open { transform: translateX(0); }
.pfe-themed .drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px; border-bottom: 1px solid var(--line);
}
.pfe-themed .drawer-head .logo img { max-height: 36px; max-width: 160px; }
.pfe-themed .drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background .12s, border-color .12s;
}
.pfe-themed .drawer-close:hover { background: var(--bg-2); border-color: var(--ink); }
.pfe-themed .drawer-body { flex: 1; overflow-y: auto; padding: 28px; }
.pfe-themed .drawer h3 {
  margin: 0 0 8px;
  font-size: 28px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.015em;
}
.pfe-themed .drawer .tagline {
  margin: 0 0 20px;
  font-size: 16px; line-height: 1.55;
  color: var(--muted);
}
.pfe-themed .drawer-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.pfe-themed .drawer-meta div b {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.pfe-themed .drawer-meta div span { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.pfe-themed .drawer h4 {
  margin: 22px 0 12px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink);
}
.pfe-themed .drawer p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--text); }
.pfe-themed .drawer-range {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.pfe-themed .drawer-range li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.pfe-themed .drawer-range b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.pfe-themed .drawer-range span { font-size: 13px; color: var(--muted); }
.pfe-themed .drawer-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.pfe-themed .drawer-stats div {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.pfe-themed .drawer-stats .v { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.pfe-themed .drawer-stats .l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pfe-themed .drawer-foot {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-2);
  gap: 16px;
}
.pfe-themed .drawer-foot .url { font-size: 13px; color: var(--muted); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }

/* ---------- BRAND PAGE HERO ---------- */
.pfe-themed .brand-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 64px;
}
.pfe-themed .brand-hero-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.pfe-themed .brand-hero-side {
  position: sticky; top: 88px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.pfe-themed .brand-hero-side .tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.pfe-themed .brand-hero-side .tag-red { background: #fef0f2; border-color: #fcd6dd; color: var(--red-deep); }
.pfe-themed .brand-hero-logo {
  height: 88px;
  display: flex; align-items: center;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.pfe-themed .brand-hero-logo img { max-height: 72px; max-width: 240px; object-fit: contain; }
.pfe-themed .brand-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pfe-themed .brand-meta div b {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.pfe-themed .brand-meta div span { font-size: 14.5px; color: var(--ink); font-weight: 500; }

.pfe-themed .brand-hero-main .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--red);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pfe-themed .brand-hero-main h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.pfe-themed .brand-hero-tagline {
  margin: 0 0 28px;
  font-size: 19px; line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}
.pfe-themed .brand-hero-desc p {
  margin: 0 0 14px;
  font-size: 16px; line-height: 1.65;
  color: var(--text);
  max-width: 68ch;
}
.pfe-themed .brand-hero-main h4 {
  margin: 32px 0 14px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink);
}
.pfe-themed .brand-range {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pfe-themed .brand-range li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.pfe-themed .brand-range b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.pfe-themed .brand-range span { font-size: 13px; color: var(--muted); }
.pfe-themed .brand-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.pfe-themed .brand-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.pfe-themed .brand-stats .v { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; line-height: 1.1; }
.pfe-themed .brand-stats .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- BRAND PAGE PRODUCTS ---------- */
.pfe-themed .brand-products { padding: 64px 0; background: #fff; }
.pfe-themed .brand-products-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
}
.pfe-themed .brand-products-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.pfe-themed .brand-products-head .count {
  font-size: 14px; color: var(--muted);
}
.pfe-themed .brand-cat-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.pfe-themed .brand-cat-pills .pill {
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background .12s, color .12s, border-color .12s;
}
.pfe-themed .brand-cat-pills .pill:hover {
  border-color: var(--ink); color: var(--ink); background: #fff;
}

/* Make WP-Tailwind product cards inherit Plus Jakarta Sans inside the wrapper */
.pfe-themed .product-grid { font-family: var(--sans); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .pfe-themed .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pfe-themed .hero-vis { aspect-ratio: 1.4/1; }
  .pfe-themed .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .pfe-themed .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .pfe-themed .about-img { aspect-ratio: 16/10; }
  .pfe-themed .svc-grid { grid-template-columns: 1fr; }
  .pfe-themed .news-grid { grid-template-columns: 1fr; }
  .pfe-themed .contact-block { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .pfe-themed .cat-panel-head { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .pfe-themed .cat-panel-head .meta { align-items: flex-start; text-align: left; }
  .pfe-themed .cat-panel-head .meta .tag { align-self: flex-start; }
  .pfe-themed .cat-grid,
  .pfe-themed .cat-grid.cols-6,
  .pfe-themed .cat-grid.cols-9 { grid-template-columns: repeat(3, 1fr); }
  .pfe-themed .range-grid { grid-template-columns: repeat(2, 1fr); }
  .pfe-themed .brand-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .pfe-themed .brand-hero-side { position: static; }
  .pfe-themed .brand-range { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pfe-themed .section { padding: 56px 0; }
  .pfe-themed .hero { padding: 48px 0 64px; }
  .pfe-themed .brand-hero { padding: 36px 0 40px; }
  .pfe-themed .brand-hero-side { padding: 22px; }
  .pfe-themed .brand-range { grid-template-columns: 1fr; }
  .pfe-themed .brand-stats { grid-template-columns: 1fr; }
  .pfe-themed .brands-grid { grid-template-columns: 1fr; }
  .pfe-themed .stats-row { grid-template-columns: 1fr 1fr; }
  .pfe-themed .hero-meta { gap: 18px; }
  .pfe-themed .contact-block { padding: 28px; }
  .pfe-themed .cat-panel { padding: 24px; }
  .pfe-themed .cat-grid,
  .pfe-themed .cat-grid.cols-6,
  .pfe-themed .cat-grid.cols-9 { grid-template-columns: repeat(2, 1fr); }
  .pfe-themed .range-grid { grid-template-columns: 1fr; }
}
