/* Profab Machine — Stainless Steel Propellers product page. Built 2026-09-22
   from the existing live Elementor page's own copy (already close to the
   12-section structure) after a content review — see
   pages/rebuild/stainless-steel-propellers-review.md for the fact-conflict
   fixes folded in here. Page-specific layout/content only; shared tokens
   and cross-page-reusable patterns (section bg rhythm, buttons, modal, tag
   pill, carousel, steps, cta-card, feature block, spec list) come from
   product-base.css. Reuses the same sb-* shared class names already used
   identically on Shelf Brackets/Boat Cleats (why-item, grade-card, table,
   faq, quote form, related-card) rather than inventing new ones. */

/* Plain-text links (FAQ note email, etc.) show underlined in the local
   generate_preview.py tool because that tool only loads this plugin's own
   CSS, not the live WordPress theme's global link reset that the real
   site also serves alongside it -- Shelf Brackets/Boat Cleats look
   identical in a real browser once deployed. Set explicitly here anyway so
   the local preview matches too, rather than relying on that theme CSS
   being present. */

.profab-page-propellers .skip-link {
  background: var(--pp-blue);
  color: var(--color-white);
  left: 12px;
  padding: 8px 12px;
  position: fixed;
  top: -50px;
  z-index: 100;
}
.profab-page-propellers .skip-link:focus { top: 12px; }

/* ---------- Hero ---------- */

.profab-page-propellers .pr-hero { padding: 56px 0 64px; }
.profab-page-propellers .pr-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.profab-page-propellers .pr-hero h1 {
  color: #000000;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 20px;
}
.profab-page-propellers .pr-hero p {
  color: #000000;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 24px;
}
.profab-page-propellers .pr-hero .btn-outline { border-color: #000000; color: #000000; }
.profab-page-propellers .pr-hero .btn-outline:hover { background: #000000; color: #FFFFFF; }
.profab-page-propellers .pr-hero__media img { width: 100%; height: auto; }

/* ---------- What Is (image left, text right -- canonical section-kicker +
   plain heading pattern, no floating card, matching Shelf Brackets/Boat
   Cleats) ---------- */

.profab-page-propellers .pr-intro__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card-lg);
}
.profab-page-propellers .pr-intro .section-kicker {
  display: block;
  margin-bottom: 10px;
}

/* ---------- Product type grid (3 propeller types, mini spec tags + button) ---------- */

.profab-page-propellers .pr-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.profab-page-propellers .pr-type-card {
  background: var(--color-white);
  border: 1px solid var(--pp-line);
  border-top: 3px solid var(--pp-blue);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profab-page-propellers .pr-type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.profab-page-propellers .pr-type-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-propellers .pr-type-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.profab-page-propellers .pr-type-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.profab-page-propellers .pr-type-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.profab-page-propellers .pr-type-card p { font-family: var(--font-heading); font-weight: 400; color: var(--pp-muted); font-size: 17px; margin: 0 0 16px; flex: 1; }
.profab-page-propellers .pr-type-card .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.85rem; }
/* .pp-tag-pill (product-base.css) is white text on a near-transparent
   overlay -- built for dark card backgrounds (grade cards on the blue
   section below). On these white type cards it was nearly invisible.
   Light-bg variant: light-blue fill, blue text, matching the badge/pill
   treatment already used elsewhere on light sections (Why Us, etc). */
.profab-page-propellers .pr-type-card__tags .pp-tag-pill {
  background: #E8ECFF;
  color: var(--pp-blue);
}

/* Real production border pattern reused from Boat Cleats: 5px solid blue
   left rule with 10px left padding, for the standalone content-block
   heading (Investment Casting). */
.profab-page-propellers .bc-accent-heading {
  border-left: 5px solid var(--pp-blue);
  padding-left: 10px;
}

/* ---------- Surface Finish (tint bg) -- two real finish tiers (mirror
   polish vs as-cast/satin), verified against real propeller-industry
   sources rather than assumed to be mirror-polish-only. Owner flagged the
   first pass (two identical plain-bordered cards) as too flat / no
   light-dark contrast -- redesigned so the standard tier (Mirror Polish)
   reads as the highlighted option (dark navy fill, white text) against
   the budget tier (As-Cast/Satin, plain light card), matching the same
   premium-vs-alternative contrast used for material tags elsewhere on
   this page rather than just varying a border color. */
.profab-page-propellers .pr-finish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.profab-page-propellers .pr-finish-card {
  border-radius: var(--radius-card-lg);
  padding: 32px;
}
.profab-page-propellers .pr-finish-card h3 { margin: 14px 0 10px; }
.profab-page-propellers .pr-finish-card .pp-tag-pill { margin-top: 0; }
.profab-page-propellers .pr-finish-card--dark {
  background: var(--pp-navy);
}
.profab-page-propellers .pr-finish-card--dark h3 { color: #FFFFFF; }
.profab-page-propellers .pr-finish-card--dark p { color: rgba(255, 255, 255, 0.82); }
.profab-page-propellers .pr-finish-card--light {
  background: var(--color-white);
  border: 1px solid var(--pp-line);
}
.profab-page-propellers .pr-finish-card--light h3 { color: var(--pp-ink); }
.profab-page-propellers .pr-finish-card--light p { color: var(--pp-muted); }
.profab-page-propellers .pr-finish-card--light .pp-tag-pill {
  background: #E8ECFF;
  color: var(--pp-blue);
}

/* ---------- Selection-guide table (matches Technical Reference's sb-table
   style exactly, per owner request -- was a loose pp-spec-list before,
   which read as too spread out compared to the table treatment). ---------- */

.profab-page-propellers .pr-select h3 { margin: 32px 0 12px; }

/* ---------- Grade / material comparison (BLUE block) -- 316L vs the two
   real bronze alternatives (nickel-aluminum bronze, manganese bronze),
   addressing the "why stainless over bronze" search-intent gap directly
   in the same card format buyers expect from a grade-comparison section,
   rather than a single oversized card or a generic marketing paragraph.
   Was a 3-card grid mixing grade + construction method + surface finish
   under one "grade" heading; split out 2026-09-22 so construction gets
   its own content block and finish gets its own section below. */

.profab-page-propellers .sb-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 8px;
}
.profab-page-propellers .pr-material-note {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
}
.profab-page-propellers .pr-material-note a { color: #FFFFFF; }
.profab-page-propellers .sb-grade-card {
  border: 1px solid rgba(209, 200, 200, 0.5);
  background-color: rgba(226, 223, 223, 0.19);
  padding: 46px 40px;
}
.profab-page-propellers .sb-grade-card h3 { color: #FFFFFF; font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.profab-page-propellers .sb-grade-card p { color: #FFFFFF; font-size: 0.95rem; margin-bottom: 12px; }

/* ---------- Solutions By Industries carousel (white bg, bg-image cta
   cards) -- centered text, 3-up, fixed 22px/17px sizing, matching the
   pattern already established on Shelf Brackets/Boat Cleats. Card copy
   trimmed to 1-2 sentences per card during the content review specifically
   to fit this centered treatment cleanly. ---------- */

.profab-page-propellers #pr-industry-carousel .pp-cta-card { aspect-ratio: 4 / 3; align-items: center; }
.profab-page-propellers #pr-industry-carousel .pp-cta-card__body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.profab-page-propellers #pr-industry-carousel .pp-cta-card__body p { font-family: var(--font-body); font-size: 17px; }
.profab-page-propellers #pr-industry-carousel .pp-carousel__track > * { flex-basis: calc(33.333% - 14.67px); }

/* ---------- Why Profab --
   Per the site-wide rule (see boat-cleats.css): defaults to dark navy;
   switches to the light Product-Range gray only when an adjacent section
   is also dark. Section order was reworked 2026-09-22 (How to Order moved
   to sit directly above Knowledge Base, matching the Boat Cleats canonical
   order) -- Why Profab's neighbors are now Industries (white) and FAQ
   (tint), neither dark, so it reverts to the navy default. */

.profab-page-propellers .sb-why-row {
  display: flex;
  gap: 41px;
  margin-bottom: 48px;
}
.profab-page-propellers .sb-why-item { flex: 1; }
.profab-page-propellers .sb-why-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 16px;
}
.profab-page-propellers .sb-why-item h3 { font-family: var(--font-heading); color: #F1ECEC; font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.profab-page-propellers .sb-why-item p { font-family: var(--font-heading); font-weight: 400; color: #D6D3D3; font-size: 17px; margin: 0; }
.profab-page-propellers #pr-trust-carousel .pp-carousel__track img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* ---------- FAQ (tint bg, ~35%/65% aside/list split) ---------- */

.profab-page-propellers .sb-faq-layout { display: flex; gap: 48px; align-items: flex-start; }
.profab-page-propellers .sb-faq-aside { flex: 0 0 35%; }
.profab-page-propellers .sb-faq-list { flex: 1; display: grid; gap: 0; }

/* ---------- Often Ordered Together carousel ---------- */

.profab-page-propellers .sb-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.profab-page-propellers .sb-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.profab-page-propellers .sb-related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-propellers .sb-related-card h3 { margin: 14px 16px 16px; }

/* ---------- Knowledge Base -- 3 real propeller articles exist (found via
   post/_audit/sitemap-ssprofab.xlsx's post sheet after the initial WP REST
   search missed them). Fixed 3-column grid matching Boat Cleats' bc-kb-grid
   pattern -- auto-fit with a capped minmax() left leftover container width
   unfilled, bunching the row to the left instead of spanning the section. */
.profab-page-propellers .pr-kb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.profab-page-propellers .pr-kb-grid .pp-card { text-decoration: none; color: inherit; }
.profab-page-propellers .bc-read-more {
  color: var(--pp-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  align-self: flex-start;
}

/* ---------- Final CTA + RFQ form (solid BLUE, ghost "Profab" watermark) ---------- */

.profab-page-propellers .sb-quote { position: relative; overflow: hidden; }
.profab-page-propellers .sb-quote::before {
  content: "Profab";
  position: absolute;
  right: -0.05em;
  bottom: -0.28em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(6rem, 14vw, 9.4rem);
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}
.profab-page-propellers .sb-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
  position: relative;
}
.profab-page-propellers .sb-quote h2 { color: #FFFFFF; }
.profab-page-propellers .sb-quote p { color: #E3E3E3; }
.profab-page-propellers .sb-quote-email { color: #FFFFFF; font-family: var(--font-heading); font-weight: 700; text-decoration: underline; }
.profab-page-propellers .sb-quote-form {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 0 10px rgba(243,243,243,0.37);
  padding: 32px;
  color: var(--pp-ink);
}
.profab-page-propellers .sb-quote-form__heading { color: var(--pp-blue); font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.profab-page-propellers .sb-quote-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.profab-page-propellers .sb-quote-form__full { grid-column: 1 / -1; }
.profab-page-propellers .sb-quote-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; }
.profab-page-propellers .sb-quote-form input,
.profab-page-propellers .sb-quote-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--pp-line);
  border-radius: 4px;
  padding: 10px 12px;
}
.profab-page-propellers .sb-quote-form__note { font-size: 0.82rem; color: var(--pp-muted); margin: 14px 0 0; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .profab-page-propellers .pr-hero__grid,
  .profab-page-propellers .sb-quote-layout { grid-template-columns: 1fr; }
  .profab-page-propellers .sb-faq-layout { flex-direction: column; }
  .profab-page-propellers .sb-faq-aside { flex-basis: auto; }
  .profab-page-propellers .sb-why-row { flex-direction: column; gap: 26px; }
  .profab-page-propellers .pr-type-grid,
  .profab-page-propellers .sb-grade-grid,
  .profab-page-propellers .pr-kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-propellers #pr-industry-carousel .pp-carousel__track > * { flex-basis: calc(50% - 11px); }
}

@media (max-width: 620px) {
  .profab-page-propellers .pr-type-grid,
  .profab-page-propellers .sb-grade-grid,
  .profab-page-propellers .pr-finish-grid,
  .profab-page-propellers .pr-kb-grid { grid-template-columns: 1fr; }
  .profab-page-propellers .sb-quote-form__grid { grid-template-columns: 1fr; }
  .profab-page-propellers #pr-industry-carousel .pp-carousel__track > * { flex-basis: 82%; }
}
