/* PALMA Factory & Quality showcase. */
.palma-factory-showcase-root,
.palma-factory-showcase-root > .e-con-inner,
.palma-factory-showcase-root .elementor-widget-shortcode {
    max-width: 100%;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.palma-factory-showcase {
    --pfs-ink: #26221f;
    --pfs-muted: #6a625b;
    --pfs-paper: #f7f4ef;
    --pfs-soft: #fbfaf7;
    --pfs-white: #fff;
    --pfs-line: #e4dfd7;
    --pfs-red: #9c1319;
    --pfs-red-dark: #72090e;
    --pfs-dark: #25222c;
    color: var(--pfs-ink);
    background: var(--pfs-paper);
    font-family: "Reddit Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    line-height: 1.65;
}
.palma-factory-showcase *,
.palma-factory-showcase *::before,
.palma-factory-showcase *::after { box-sizing: border-box; }
.palma-factory-showcase img { display: block; max-width: 100%; }
.pfs-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.pfs-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.pfs-reveal.is-visible { opacity: 1; transform: none; }
.pfs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--pfs-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.3;
    text-transform: uppercase;
}
.pfs-kicker--light {
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 999px;
    color: #ffded9;
    background: rgba(156,19,25,.22);
    letter-spacing: .16em;
}
.pfs-section { padding: 110px 0; }
.pfs-section--paper { background: var(--pfs-paper); }
.pfs-section--white { background: var(--pfs-white); }
.pfs-section--soft { background: var(--pfs-soft); }
.pfs-section-head { max-width: 1000px; margin: 0 0 58px; }
.pfs-section-head h2,
.pfs-quality h2,
.pfs-benefit h2,
.pfs-cta h2 {
    margin: 0;
    font-size: clamp(35px, 4.2vw, 55px);
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 800;
}
.pfs-section-head p { max-width: 780px; margin: 20px 0 0; color: var(--pfs-muted); font-size: 18px; }

/* Hero */
.pfs-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--pfs-red);
    isolation: isolate;
}
.pfs-hero__background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .54;
    filter: saturate(.72);
}
.pfs-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(156,19,25,.96) 0%, rgba(114,9,14,.86) 48%, rgba(156,19,25,.68) 100%),
        linear-gradient(0deg, rgba(97,6,10,.78), rgba(97,6,10,0) 58%);
}
.pfs-hero__inner { padding: 120px 0 105px; max-width: 790px; }
.pfs-hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.03;
    letter-spacing: -.055em;
    font-weight: 800;
}
.pfs-hero > .pfs-wrap > .pfs-hero__inner > p:not(.pfs-kicker) {
    max-width: 640px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.85);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.8;
}
.pfs-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.pfs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
    transition: .25s;
}
.pfs-button--primary { background: #fff; color: var(--pfs-red); box-shadow: 0 18px 44px rgba(48,47,52,.18); }
.pfs-button--primary:hover { background: #f8eeee; color: var(--pfs-red-dark); transform: translateY(-2px); }
.pfs-button--ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.04); }
.pfs-button--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.pfs-button--on-red { background: #fff; color: var(--pfs-red); }
.pfs-button--on-red:hover { background: #f4e5e3; color: var(--pfs-red); }

/* Overview */
.pfs-overview { display: grid; grid-template-columns: 1.04fr .96fr; gap: 66px; align-items: center; }
.pfs-route { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--pfs-line); }
.pfs-route li { position: relative; padding: 18px 0 18px 36px; }
.pfs-route li + li { border-top: 1px solid var(--pfs-line); }
.pfs-route b { display: block; font-size: 18px; }
.pfs-route span { display: block; margin-top: 4px; color: var(--pfs-muted); font-size: 15px; }
.pfs-route li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 29px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--pfs-red);
}
.pfs-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 180px; gap: 14px; }
.pfs-mosaic__item { margin: 0; overflow: hidden; border-radius: 6px; box-shadow: 0 20px 48px rgba(38,34,31,.12); }
.pfs-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.pfs-mosaic__item:hover img { transform: scale(1.045); }
.pfs-mosaic__item--tall { grid-row: span 2; height: 100%; }

/* Capability zones */
.pfs-zone-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.pfs-zone {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pfs-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(38,34,31,.07);
    transition: .35s;
}
.pfs-zone:hover { transform: translateY(-6px); box-shadow: 0 28px 62px rgba(38,34,31,.13); }
.pfs-zone__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eae6df; }
.pfs-zone__media img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.pfs-zone:hover .pfs-zone__media img { transform: scale(1.05); }
.pfs-zone__body { padding: 22px 22px 26px; }
.pfs-zone__body h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.pfs-zone__body p { margin: 10px 0 0; color: var(--pfs-muted); font-size: 14px; line-height: 1.65; }
.pfs-material-strip { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; height: 100%; background: #fff; }
.pfs-material-strip img { height: 100%; width: 100%; object-fit: cover; }

/* Quality carousel */
.pfs-quality { position: relative; overflow: hidden; background: var(--pfs-dark); color: #fff; }
.pfs-quality::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(156,19,25,.32), transparent 65%);
}
.pfs-quality .pfs-wrap { position: relative; z-index: 2; }
.pfs-quality__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; max-width: 1180px; margin: 0 auto 52px; }
.pfs-quality__head .pfs-section-head { margin: 0; }
.pfs-quality__head p { color: rgba(255,255,255,.76); }
.pfs-quality__nav { display: flex; gap: 10px; }
.pfs-round-button {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: .2s;
}
.pfs-round-button:hover { background: rgba(255,255,255,.12); }
.pfs-quality__viewport {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
}
.pfs-quality__track { display: flex; width: 300%; transition: transform .65s cubic-bezier(.45,0,.15,1); }
.pfs-quality__slide { display: grid; grid-template-columns: .9fr 1.1fr; min-width: 33.333%; min-height: 455px; }
.pfs-quality__copy { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.pfs-quality__copy h3 { margin: 0; font-size: clamp(27px,3vw,40px); line-height: 1.15; letter-spacing: -.03em; }
.pfs-quality__copy > p { margin: 16px 0 0; color: rgba(255,255,255,.76); font-size: 16px; }
.pfs-quality__copy ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pfs-quality__copy li { position: relative; padding-left: 27px; color: rgba(255,255,255,.78); font-size: 15px; }
.pfs-quality__copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background: var(--pfs-red);
    box-shadow: 0 0 0 4px rgba(156,19,25,.22);
}
.pfs-quality__media { position: relative; overflow: hidden; }
.pfs-quality__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pfs-quality__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(37,34,44,.5), rgba(37,34,44,.05)); }
.pfs-quality__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.pfs-quality__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; }
.pfs-quality__dot.is-active { background: #fff; transform: scale(1.25); }

/* Benefits + CTA */
.pfs-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.pfs-benefit { padding: 34px 30px; border: 1px solid var(--pfs-line); border-top: 4px solid var(--pfs-red); background: #fff; border-radius: 5px; }
.pfs-benefit > span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #f5e8e6;
    color: var(--pfs-red);
    font-size: 20px;
    font-weight: 800;
}
.pfs-benefit h3 { margin: 0; font-size: 22px; }
.pfs-benefit p { margin: 12px 0 0; color: var(--pfs-muted); font-size: 15px; }
.pfs-cta { padding: 96px 0; background: var(--pfs-red); color: #fff; }
.pfs-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.pfs-cta h2 { max-width: 650px; }
.pfs-cta p { margin: 18px 0 0; max-width: 610px; color: rgba(255,255,255,.82); font-size: 17px; }
.pfs-cta__actions { display: flex; gap: 13px; flex: 0 0 auto; }

@media (max-width: 1100px) {
    .pfs-zone-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .pfs-overview { grid-template-columns: 1fr; gap: 48px; }
    .pfs-mosaic { grid-template-rows: 220px 170px; }
}
/* Keep the three long factory section headings on one line on desktop.
   Smaller screens resume normal wrapping so the titles cannot overflow. */
@media (min-width: 901px) {
    .pfs-section-head h2,
    .pfs-quality h2 {
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .pfs-section { padding: 82px 0; }
    .pfs-quality__slide { grid-template-columns: 1fr; min-height: 0; }
    .pfs-quality__media { min-height: 270px; order: -1; }
    .pfs-quality__copy { padding: 32px; }
    .pfs-quality__head { display: block; }
    .pfs-quality__nav { margin-top: 22px; }
    .pfs-cta__inner { display: block; }
    .pfs-cta__actions { margin-top: 28px; }
}
@media (max-width: 680px) {
    .pfs-wrap { width: min(100% - 32px, 1180px); }
    .pfs-hero { min-height: 88vh; }
    .pfs-hero__inner { padding: 100px 0 82px; }
    .pfs-zone-grid,
    .pfs-benefit-grid,
    .pfs-mosaic { grid-template-columns: 1fr; }
    .pfs-mosaic { grid-template-rows: auto; }
    .pfs-mosaic__item--tall { grid-row: auto; }
    .pfs-hero__actions .pfs-button { width: 100%; }
    .pfs-round-button { width: 42px; height: 42px; }
}

/* ========================================================================
   FACTORY HERO V2 — compact Products-style landing Hero; evidence moves
   from the oversized visual Hero into a light snapshot strip below it.
   ======================================================================== */
.pfs-hero--catalog {
  display: grid;
  grid-template-columns: minmax(0, 1280px);
  justify-content: center;
  align-content: center;
  min-height: 0;
  background: #9c1319;
  overflow: hidden;
}
.pfs-hero--catalog::before,
.pfs-hero--catalog::after {
  display: none;
}
.pfs-hero--catalog .pfs-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}
.pfs-hero--catalog .pfs-hero__inner {
  max-width: none;
  padding: 54px 24px 42px;
  box-sizing: border-box;
}
.pfs-hero--catalog h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.pfs-hero--catalog h1 span {
  color: #f2c4c6;
}
.pfs-hero--catalog > .pfs-wrap > p:not(.pfs-kicker) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 15.5px;
  line-height: 1.65;
}
.pfs-hero--catalog .pfs-hero__actions {
  margin-top: 28px;
}
.pfs-hero--catalog .pfs-button {
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 5px;
  font-size: 15px;
}
.pfs-hero-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}
.pfs-hero-breadcrumb a {
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
}
.pfs-hero-breadcrumb [aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
}
@media (max-width: 767px) {
  .pfs-hero--catalog {
    grid-template-columns: minmax(0, 100%);
  }
  .pfs-hero--catalog .pfs-hero__inner {
    padding: 36px 20px 32px;
  }
  .pfs-hero--catalog h1 {
    font-size: 29px;
    line-height: 1.18;
  }
  .pfs-hero--catalog > .pfs-wrap > p:not(.pfs-kicker) {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.58;
  }
  .pfs-hero--catalog .pfs-hero__actions {
    display: grid;
    gap: 10px;
  }
  .pfs-hero--catalog .pfs-button {
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
  }
  .pfs-hero-breadcrumb {
    margin-top: 26px;
  }
}
