/* =========================================================
   THIRD-PARTY MANUFACTURING PAGE ONLY
   Header + Footer remain controlled by your common style.css
========================================================= */

:root{
  --tpm-green:#2f8737;
  --tpm-green-2:#4f9847;
  --tpm-green-dark:#0d5b31;
  --tpm-green-deep:#084a29;
  --tpm-soft:#ecf8e7;
  --tpm-soft-2:#f6fbf3;
  --tpm-text:#152019;
  --tpm-muted:#59675f;
  --tpm-border:rgba(59,102,61,.14);
  --tpm-shadow:0 16px 42px rgba(40,75,42,.075);
}

.tpm-page{
  width:100%;
  padding:18px 22px 70px;
  overflow:hidden;
  color:var(--tpm-text);
  background:#fff;
  font-family:"DM Sans",sans-serif;
}

/* HERO */
.tpm-hero{
  position:relative;
  width:min(1420px,100%);
  min-height:680px;
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  margin:0 auto;
  overflow:hidden;
  border-radius:28px;
  background:
    radial-gradient(circle at 12% 25%,rgba(193,231,181,.36),transparent 36%),
    linear-gradient(120deg,#f9fcf7 0%,#fff 48%,#edf8e9 100%);
}

.tpm-hero__copy{
  position:relative;
  z-index:5;
  padding:100px 44px 42px 56px;
}

.tpm-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 14px;
  border:1px solid #dce9d9;
  border-radius:999px;
  background:rgba(255,255,255,.84);
  color:#2f8137;
  font-size:12px;
  font-weight:700;
  letter-spacing:.9px;
  text-transform:uppercase;
}

.tpm-hero h1{
  max-width:560px;
  margin:29px 0 0;
  color:var(--tpm-text);
  font-size:61px;
  font-weight:700;
  line-height:.98;
  letter-spacing:-2.4px;
}

.tpm-hero h1 span{
  display:block;
  color:var(--tpm-green);
}

.tpm-rule{
  width:48px;
  height:2px;
  margin:23px 0 0;
  background:var(--tpm-green-2);
}

.tpm-hero h3{
  max-width:530px;
  margin:17px 0 0;
  color:#27422e;
  font-size:14px;
  font-weight:700;
}

.tpm-hero__copy > p{
  max-width:535px;
  margin:16px 0 0;
  color:var(--tpm-muted);
  font-size:13px;
  line-height:1.7;
}

.tpm-trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:24px;
}

.tpm-trust-grid article{
  min-height:100px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:12px 8px;
  border:1px solid var(--tpm-border);
  border-radius:15px;
  background:rgba(255,255,255,.9);
  text-align:center;
  box-shadow:0 8px 22px rgba(40,76,43,.04);
}

.tpm-trust-grid i{
  color:var(--tpm-green-dark);
  font-size:23px;
}

.tpm-trust-grid strong{
  font-size:12px;
  line-height:1.25;
}


/* HERO VISUAL */
.tpm-hero__visual{
  position:relative;
  min-height:680px;
  overflow:hidden;
}

.tpm-hero__visual::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(90deg,#f7fbf5 0%,rgba(247,251,245,.16) 15%,transparent 43%);
  pointer-events:none;
}

.tpm-hero__visual>img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  opacity: 0.7;
}

.tpm-hero__products{
  position:absolute;
  z-index:4;
  left:0;
  bottom:28px;
  width:70%;
}

.tpm-hero__products img{
  width:100%;
  height:auto;
  object-fit:contain;
}

.tpm-hero__badge{
  position:absolute;
  z-index:5;
  right:20px;
  bottom:75px;
  width:300px;
  min-height:145px;
  display:grid;
  grid-template-columns:55px 1fr;
  align-items:center;
  gap:16px;
  padding:21px;
  border-radius:18px;
  background:linear-gradient(145deg,#0e5c2f,#2d8b39);
  color:#fff;
  box-shadow:0 18px 36px rgba(9,74,31,.18);
}

.tpm-hero__badge>i{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.4);
  border-radius:15px;
  font-size:23px;
}

.tpm-hero__badge strong{
  display:block;
  font-size:15px;
  line-height:1.35;
}

.tpm-hero__badge span{
  display:block;
  margin-top:10px;
  color:rgba(255,255,255,.8);
  font-size:12px;
  line-height:1.5;
}


/* COMMON */
.tpm-section{
  width:min(1320px,calc(100% - 44px));
  margin:28px auto 0;
}

.tpm-section-heading{
  text-align:center;
}

.tpm-section-heading h2{
  margin:0;
  color:#26342c;
  font-size:26px;
  font-weight:700;
}

.tpm-section-heading h2 span{
  color:var(--tpm-green);
}

.tpm-section-heading>div{
  width:42px;
  height:2px;
  margin:10px auto 0;
  background:var(--tpm-green-2);
}


/* INTRO */
.tpm-intro{
  min-height:160px;
  display:grid;
  grid-template-columns:110px 1fr 410px;
  align-items:center;
  gap:22px;
  padding:16px 18px;
  border:1px solid var(--tpm-border);
  border-radius:22px;
  background:
    radial-gradient(circle at 9% 50%,rgba(182,229,165,.19),transparent 28%),
    #fff;
}

.tpm-intro__icon{
  width:80px;
  height:80px;
  display:grid;
  place-items:center;
  margin:auto;
  border-radius:50%;
  background:linear-gradient(145deg,#176a33,#0a4e29);
  color:#fff;
  font-size:29px;
}

.tpm-intro__text p{
  margin:0;
  color:#536159;
  font-size:12px;
  line-height:1.7;
}

.tpm-intro__text p+p{
  margin-top:9px;
}

.tpm-intro__image{
  height:125px;
  overflow:hidden;
  border-radius:14px;
}

.tpm-intro__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* BENEFITS UNIQUE */
.tpm-benefits{
  padding-top:6px;
}

.tpm-benefit-layout{
  display:grid;
  grid-template-columns:1fr 320px 1fr;
  gap:26px;
  align-items:center;
  margin-top:28px;
}

.tpm-benefit-column{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.tpm-benefit-item{
  position:relative;
  display:grid;
  grid-template-columns:62px 1fr;
  gap:13px;
  min-height:128px;
  padding:18px 20px;
  border:1px solid var(--tpm-border);
  border-radius:22px;
  background:#fff;
  box-shadow:0 8px 24px rgba(45,80,46,.045);
}

.tpm-benefit-item .tpm-num{
  position:absolute;
  left:12px;
  top:12px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#68ad51;
  color:#fff;
  font-size:12px;
  font-weight:700;
}

.tpm-benefit-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  margin-top:17px;
  border:1px solid #d4e6d0;
  border-radius:17px;
  background:#eff8eb;
  color:#2e8336;
  font-size:22px;
}

.tpm-benefit-item h3{
  margin:0;
  color:#2d5832;
  font-size:14px;
  font-weight:700;
}

.tpm-benefit-item p{
  margin:8px 0 0;
  color:#5b6962;
  font-size:12px;
  line-height:1.55;
}

.tpm-benefit-center{
  display:flex;
  align-items:center;
  justify-content:center;
}

.tpm-benefit-ring{
  width:285px;
  height:285px;
  padding:12px;
  border:2px solid #7fbd70;
  border-radius:50%;
  background:#fff;
  box-shadow:0 14px 32px rgba(37,77,40,.08);
}

.tpm-benefit-ring img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
}


/* STATS */
.tpm-stats{
  min-height:125px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
  border-radius:20px;
  background:
    radial-gradient(circle at 10% 50%,rgba(184,227,119,.18),transparent 28%),
    linear-gradient(100deg,#17672f,#2f8737);
  color:#fff;
}

.tpm-stats article{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:20px;
  border-right:1px solid rgba(255,255,255,.15);
}

.tpm-stats article:last-child{
  border-right:0;
}

.tpm-stats i{
  color:#d8efc6;
  font-size:30px;
}

.tpm-stats strong{
  display:block;
  font-size:28px;
  line-height:1;
}

.tpm-stats span{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.84);
  font-size:12px;
}


/* PROCESS */
.tpm-process{
  padding:24px 24px 26px;
  border:1px solid var(--tpm-border);
  border-radius:22px;
  background:
    radial-gradient(circle at 50% 10%,rgba(193,229,180,.20),transparent 40%),
    #fff;
}

.tpm-process__grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:15px;
  margin-top:26px;
}

.tpm-process__grid::before{
  content:"";
  position:absolute;
  left:7%;
  right:7%;
  top:42px;
  height:1px;
  background:#b9d9b3;
}

.tpm-process-step{
  position:relative;
  z-index:2;
  text-align:center;
}

.tpm-process-step>span{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  margin:0 auto;
  border:1px solid #cfe3cb;
  border-radius:50%;
  background:#fff;
  color:#2d8537;
  font-size:25px;
  box-shadow:0 8px 20px rgba(43,77,45,.06);
}

.tpm-process-step h3{
  margin:13px 0 0;
  color:#2d3d33;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
}

.tpm-process-step p{
  margin:7px 0 0;
  color:#647168;
  font-size:12px;
  line-height:1.5;
}


/* PARTNER */
.tpm-partner{
  min-height:180px;
  display:grid;
  grid-template-columns:100px 1fr 510px;
  align-items:center;
  gap:22px;
  overflow:hidden;
  padding-left:20px;
  border:1px solid var(--tpm-border);
  border-radius:22px;
  background:#fff;
}

.tpm-partner__icon{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#176a33,#0a4f29);
  color:#fff;
  font-size:27px;
}

.tpm-partner__copy h2{
  margin:0;
  color:#27342c;
  font-size:24px;
  line-height:1.05;
}

.tpm-partner__copy h2 span{
  color:var(--tpm-green);
}

.tpm-partner__copy p{
  max-width:560px;
  margin:11px 0 0;
  color:#596860;
  font-size:12px;
  line-height:1.55;
}

.tpm-partner__image{
  height:180px;
  overflow:hidden;
  clip-path:polygon(13% 0,100% 0,100% 100%,8% 100%,0 50%);
}

.tpm-partner__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* CTA */
.tpm-cta{
  min-height:155px;
  display:grid;
  grid-template-columns:90px 1fr auto;
  align-items:center;
  gap:20px;
  padding:22px 34px;
  border-radius:22px;
  background:
    radial-gradient(circle at 8% 50%,rgba(154,211,100,.16),transparent 26%),
    linear-gradient(105deg,#075b32,#0b6636);
  color:#fff;
}

.tpm-cta__leaf{
  font-size:55px;
  color:#8fc964;
}

.tpm-cta h2{
  margin:0;
  font-size:25px;
  font-weight:700;
}

.tpm-cta h2 span{
  color:#a8d36f;
}

.tpm-cta p{
  max-width:600px;
  margin:8px 0 0;
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.55;
}

.tpm-cta>a{
  min-height:54px;
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:0 24px;
  border-radius:12px;
  background:#fff;
  color:var(--tpm-green-dark);
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}


/* REVEAL */
.tpm-reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s ease,transform .65s ease;
}

.tpm-reveal.tpm-visible{
  opacity:1;
  transform:none;
}


/* RESPONSIVE */
@media(max-width:1100px){
  .tpm-hero h1{font-size:53px;}
  .tpm-benefit-layout{grid-template-columns:1fr 260px 1fr;}
  .tpm-benefit-ring{width:235px;height:235px;}
  .tpm-partner{grid-template-columns:90px 1fr 390px;}
}

@media(max-width:900px){
  .tpm-page{padding:12px 12px 55px;}

  .tpm-hero{
    grid-template-columns:1fr;
  }

  .tpm-hero__copy{
    padding:85px 26px 32px;
    text-align:center;
  }

  .tpm-kicker{margin:0 auto;}
  .tpm-rule{margin-left:auto;margin-right:auto;}
  .tpm-hero h1{margin-left:auto;margin-right:auto;}
  .tpm-hero__copy>p{margin-left:auto;margin-right:auto;}

  .tpm-hero__visual{
    min-height:520px;
  }

  .tpm-section{width:100%;}

  .tpm-intro{
    grid-template-columns:95px 1fr;
  }

  .tpm-intro__image{
    grid-column:1/-1;
    height:250px;
  }

  .tpm-benefit-layout{
    grid-template-columns:1fr;
  }

  .tpm-benefit-center{
    order:-1;
  }

  .tpm-benefit-ring{
    width:280px;
    height:280px;
  }

  .tpm-stats{
    grid-template-columns:repeat(2,1fr);
  }

  .tpm-process__grid{
    grid-template-columns:repeat(2,1fr);
  }

  .tpm-process__grid::before{
    display:none;
  }

  .tpm-partner{
    grid-template-columns:90px 1fr;
    padding:18px;
  }

  .tpm-partner__image{
    grid-column:1/-1;
    height:280px;
    clip-path:none;
    border-radius:18px;
  }

  .tpm-cta{
    grid-template-columns:70px 1fr;
  }

  .tpm-cta>a{
    grid-column:1/-1;
    justify-self:center;
  }
}

@media(max-width:620px){
  .tpm-page{padding:8px 8px 45px;}

  .tpm-hero{
    border-radius:20px;
  }

  .tpm-hero h1{
    font-size:40px;
    letter-spacing:-1.3px;
  }

  .tpm-hero h3{
    font-size:12px;
  }

  .tpm-hero__copy>p{
    font-size:12px;
  }

  .tpm-trust-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .tpm-hero__visual{
    min-height:410px;
  }

  .tpm-hero__products{
    width:82%;
  }

  .tpm-hero__badge{
    right:10px;
    bottom:25px;
    width:calc(100% - 20px);
  }

  .tpm-intro{
    grid-template-columns:1fr;
    text-align:center;
  }

  .tpm-intro__icon{
    margin:auto;
  }

  .tpm-benefit-item{
    grid-template-columns:54px 1fr;
  }

  .tpm-benefit-ring{
    width:230px;
    height:230px;
  }

  .tpm-stats{
    grid-template-columns:1fr;
  }

  .tpm-stats article{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.14);
  }

  .tpm-process__grid{
    grid-template-columns:1fr;
  }

  .tpm-partner{
    grid-template-columns:1fr;
    text-align:center;
  }

  .tpm-partner__icon{
    margin:auto;
  }

  .tpm-cta{
    grid-template-columns:1fr;
    text-align:center;
  }

  .tpm-cta__leaf{
    justify-self:center;
  }
}

@media(prefers-reduced-motion:reduce){
  .tpm-reveal{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}
