/* R6 styles scoped to the PiroozBam skin; native DNN UI stays outside. */
#pb-site .hero{position:relative;background:var(--navy);color:white}
#pb-site .hero-slide{position:relative;isolation:isolate;min-height:clamp(440px,31.4vw,650px);display:grid;align-items:start}
#pb-site .hero-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}
#pb-site .hero-slide:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 0%,#1b146437 26%,#1b1464d9 59%,#1b1464 92%)}
#pb-site .hero-copy{width:52%;margin-inline-end:auto;padding:53px 0 60px;text-align:right}
#pb-site .hero-copy h1,#pb-site .hero-copy h2{font-size:43px;font-weight:900;color:white;line-height:1.6}
#pb-site .hero-subtitle{color:var(--on-dark);font-size:24px;font-weight:800;margin-top:11px;line-height:1.85}
#pb-site .hero-description{font-size:14px;line-height:2.15;margin-top:13px}
#pb-site .hero-copy .button-row{margin-top:25px}
#pb-site .hero-copy .btn{border-color:var(--on-dark);color:var(--on-dark);border-radius:3px;font-size:14px;padding:9px 25px}
#pb-site .hero-copy .btn:hover{background:var(--accent);color:white}
#pb-site .hero-controls{position:absolute;bottom:19px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;z-index:2}
#pb-site .hero-dot{width:22px;height:7px;border-radius:10px;background:#ffffff50;border:0;padding:0}
#pb-site .hero-dot[aria-current=true]{background:white;box-shadow:0 2px 13px #ffffff70}
#pb-site .hero-arrow,#pb-site .hero-pause{border:1px solid #ffffff60;background:#17103c1c;color:white;border-radius:5px;display:grid;place-items:center;width:29px;height:27px;padding:0}
#pb-site .hero-arrow .icon,#pb-site .hero-pause .icon{width:16px;height:16px}
#pb-site .intro-section{padding:54px 0 58px;background:var(--wash)}
#pb-site .intro-section.is-reverse{background:white}
#pb-site .intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;min-height:470px}
#pb-site .intro-section.is-reverse .intro-visual{order:2}
#pb-site .intro-copy{padding:0 0 0 18px;text-align:right}
#pb-site .eyebrow{font-size:14px;color:#28272f;display:block;margin-bottom:14px;font-weight:400}
#pb-site .intro-copy h2{font-size:32px;color:var(--accent);font-weight:800;margin-bottom:12px}
#pb-site .intro-copy p{font-size:15px;line-height:2.15;color:#31313a}
#pb-site .intro-copy .btn{margin-top:35px}
#pb-site .about-band{padding:54px 0;background:linear-gradient(#130c50d9,#130c50ed),url('../images/factory.webp') center/cover;color:white}
#pb-site .about-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:65px;align-items:center;min-height:480px}
#pb-site .about-copy{background:#10093cdc;padding:45px 42px;min-height:405px;display:flex;flex-direction:column;justify-content:center;border:1px solid #ffffff0b}
#pb-site .about-copy h2{font-size:39px;font-weight:900;margin-bottom:12px}
#pb-site .about-subtitle{color:var(--on-dark);font-size:22px;font-weight:800;margin-bottom:21px}
#pb-site .about-copy p{font-size:14px;line-height:2.25}
#pb-site .about-copy .text-link{margin-top:34px;color:var(--on-dark);align-self:flex-start;font-size:12px}
#pb-site .about-contact{text-align:center;display:flex;flex-direction:column;align-items:center}
#pb-site .about-contact-logo{background:white;padding:14px;width:166px;margin-bottom:17px}
#pb-site .about-contact h3{font-size:24px;color:var(--on-dark);font-weight:800;margin-bottom:8px}
#pb-site .about-contact>p{font-size:12px;color:#e5dff7;margin-bottom:17px}
#pb-site .about-phone{display:flex;align-items:center;direction:ltr;gap:12px;font-size:24px;font-weight:800;margin-bottom:22px}
#pb-site .about-phone .phone-shape{width:43px;height:43px}
#pb-site .about-links{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:300px;max-width:100%}
#pb-site .about-links a{border:1px solid var(--on-dark);color:var(--on-dark);padding:8px 15px;font-size:13px;border-radius:3px}
#pb-site .about-links a:hover{background:var(--accent);color:white}
#pb-site .featured-section{padding:69px 0 38px}
#pb-site .section-heading{text-align:center;margin-bottom:40px}
#pb-site .section-heading .eyebrow{margin-bottom:12px}
#pb-site .section-heading h2{font-size:32px;font-weight:800;color:var(--accent)}
#pb-site .featured-section .carousel{max-width:1050px;margin:auto}
#pb-site .cert-section{padding:35px 0 42px;background:#fafafa}
#pb-site .cert-section .section-heading{margin-bottom:24px}
#pb-site .cert-section .section-heading h2{font-size:25px}
#pb-site .section-note{text-align:center;font-size:11px;color:#8a8e9a;margin-top:16px}
#pb-site .articles-section{padding:46px 0 55px}
#pb-site .articles-section .section-heading{margin-bottom:25px}
#pb-site .articles-section .section-heading h2{font-size:27px}
#pb-site .category-main{padding-bottom:70px}
#pb-site .category-intro{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:54px;align-items:center;padding:40px 44px;background:#f8f8f8;border-radius:28px;box-shadow:0 0 35px #160d4602;min-height:465px;margin-bottom:32px}
#pb-site .category-intro h1{font-size:46px;color:var(--deep);font-weight:900;line-height:1.5;margin-bottom:18px}
#pb-site .category-intro h1 em{color:var(--accent);font-style:normal}
#pb-site .category-intro p{color:var(--muted);font-size:16px;line-height:2.15;text-align:justify}
#pb-site .category-intro .product-stage{height:385px}
#pb-site .category-benefits{display:flex;gap:11px;margin-top:24px}
#pb-site .category-benefits span{display:flex;align-items:center;justify-content:center;gap:10px;background:white;border:1px solid #eeebf3;border-radius:14px;padding:12px 13px;flex:1;font-size:12px;font-weight:700;white-space:nowrap}
#pb-site .category-benefits .icon{width:25px;height:25px;border-radius:50%;padding:4px;color:var(--accent);background:var(--soft)}
#pb-site .category-products{padding:26px 29px 0}
#pb-site .detail-main{padding-bottom:80px}
#pb-site .detail-main .breadcrumb{min-height:80px}
#pb-site .product-lead{display:grid;grid-template-columns:1fr 1fr;gap:66px;align-items:stretch}
#pb-site .detail-image{border:0;background:transparent;padding:0;text-align:inherit;cursor:zoom-in;width:100%}
#pb-site .detail-copy{display:flex;flex-direction:column;min-width:0;padding:15px 0 12px}
#pb-site .detail-copy h1{font-size:34px;color:var(--navy);font-weight:800;line-height:1.65}
#pb-site .detail-subtitle{color:var(--accent);font-size:23px;line-height:1.8;margin-top:12px}
#pb-site .detail-actions{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:50px;flex-wrap:wrap}
#pb-site .detail-consult{font-size:14px;line-height:1.9;color:#9399a4;text-align:right}
#pb-site .detail-consult a{font-size:23px;font-weight:800;color:var(--navy);display:block;direction:ltr}
#pb-site .detail-tabs{margin-top:100px}
#pb-site .detail-demo{font-size:11px;color:#8b909a;margin-top:10px}
#pb-site .about-page-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:35px;align-items:start}
#pb-site .about-page-grid>img{width:100%;border-radius:12px;aspect-ratio:1.25;object-fit:cover}
#pb-site .contact-page-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:35px}
#pb-site .agency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#pb-site .agency-card{border:1px solid var(--line);border-radius:17px;padding:23px;background:white;min-width:0}
#pb-site .agency-card h2{font-size:20px;color:var(--navy);margin:10px 0}
#pb-site .agency-card .demo-label{padding:4px 9px;background:var(--wash);border-radius:6px}
#pb-site .agency-card dl{display:grid;gap:8px;font-size:13px;margin-top:17px}
#pb-site .agency-card dl div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px}
#pb-site .agency-card dt{color:var(--muted)}
#pb-site .agency-card dd{margin:0;overflow-wrap:anywhere}
#pb-site .licenses-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-block:30px}
#pb-site .sample-certificate{aspect-ratio:.74;background:white;border:1px solid #c8bfdb;outline:5px solid #f6f5f8;outline-offset:-11px;padding:42px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;color:var(--navy);gap:13px}
#pb-site .sample-certificate>.icon{width:66px;height:66px}
#pb-site .sample-certificate b{font:700 27px/1.4 Arial,sans-serif}
#pb-site .sample-certificate h2{font-size:20px}
#pb-site .sample-certificate:after{content:"نمونه پیش‌نمایش";font-size:24px;position:absolute;top:60%;left:50%;transform:translate(-50%,-50%) rotate(-26deg);color:#ee1c2425;white-space:nowrap}
#pb-site .sample-certificate p{font-size:12px;color:var(--muted)}
#pb-site .sample-certificate small{font-size:10px;color:var(--accent)}
#pb-site .faq{background:white;border-bottom:1px solid var(--line);padding:18px}
#pb-site .faq summary{cursor:pointer;color:var(--navy);font-weight:700}
#pb-site .faq p{padding-top:15px;color:var(--muted);font-size:14px}
#pb-site .article-body{max-width:920px;margin:auto}
#pb-site .article-body>img{width:100%;aspect-ratio:2;object-fit:cover;border-radius:12px;margin:25px 0}
#pb-site .article-body p{line-height:2.2;font-size:16px;margin-bottom:20px}
@media(min-width:1700px){#pb-site .hero-copy{padding-top:59px}
#pb-site .hero-copy h1,#pb-site .hero-copy h2{font-size:48px}
#pb-site .hero-description{font-size:15px}
#pb-site .hero-subtitle{font-size:26px}
#pb-site .intro-section{padding-block:58px}
}
@media(max-width:1199px){#pb-site .category-intro{padding:30px;gap:30px}
#pb-site .category-intro h1{font-size:36px}
#pb-site .category-benefits{flex-wrap:wrap}
#pb-site .category-benefits span{font-size:11px;padding:9px}
#pb-site .hero-copy h1,#pb-site .hero-copy h2{font-size:36px}
#pb-site .hero-subtitle{font-size:21px}
#pb-site .about-copy h2{font-size:32px}
#pb-site .about-grid{gap:35px}
#pb-site .about-copy{padding:32px}
#pb-site .product-lead{gap:38px}
#pb-site .detail-copy h1{font-size:30px}
}
@media(max-width:991px){#pb-site .hero-copy{padding-top:40px;width:57%}
#pb-site .hero-copy h1,#pb-site .hero-copy h2{font-size:29px}
#pb-site .hero-subtitle{font-size:20px}
#pb-site .hero-description{font-size:13px}
#pb-site .hero-copy .btn{font-size:12px;padding:9px 14px}
#pb-site .intro-grid{gap:26px;min-height:410px}
#pb-site .intro-copy h2{font-size:26px}
#pb-site .intro-copy p{font-size:14px}
#pb-site .about-copy h2{font-size:27px}
#pb-site .about-subtitle{font-size:18px}
#pb-site .about-grid{gap:28px}
#pb-site .about-copy{padding:30px 25px}
#pb-site .about-contact h3,#pb-site .about-phone{font-size:21px}
#pb-site .category-intro{grid-template-columns:1fr 1.1fr;padding:25px 20px;gap:22px}
#pb-site .category-intro h1{font-size:29px}
#pb-site .category-intro p{font-size:14px}
#pb-site .category-intro .product-stage{height:315px}
#pb-site .category-benefits span{white-space:normal}
#pb-site .category-products{padding-inline:0}
#pb-site .detail-copy h1{font-size:26px}
#pb-site .detail-subtitle,#pb-site .detail-consult a{font-size:19px}
#pb-site .detail-actions .btn{font-size:14px;padding-inline:20px}
#pb-site .detail-tabs{margin-top:65px}
#pb-site .agency-grid,#pb-site .licenses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#pb-site .contact-page-grid,#pb-site .about-page-grid{grid-template-columns:1fr}
}
@media(max-width:767px){#pb-site .hero-slide{display:flex;flex-direction:column;min-height:0}
#pb-site .hero-photo{position:relative;inset:auto;width:100%;height:245px;object-position:left center;z-index:0}
#pb-site .hero-slide:before{inset:100px 0 auto;height:146px;background:linear-gradient(0deg,var(--navy),transparent);z-index:1;pointer-events:none}
#pb-site .hero-slide>.container{width:calc(100% - 30px)}
#pb-site .hero-copy{width:100%;padding:16px 0 55px;text-align:center}
#pb-site .hero-copy h1,#pb-site .hero-copy h2{font-size:30px;line-height:1.55}
#pb-site .hero-subtitle{font-size:21px;margin-top:15px}
#pb-site .hero-description{font-size:13px;line-height:2.1;margin:14px auto 0;max-width:460px;text-align:justify}
#pb-site .hero-copy .button-row{justify-content:center;margin-top:19px}
#pb-site .hero-copy .btn{font-size:12px;padding:8px 16px}
#pb-site .intro-section{padding:43px 0 46px}
#pb-site .intro-grid{display:flex;flex-direction:column;gap:28px}
#pb-site .intro-visual{width:100%}
#pb-site .intro-section.is-reverse .intro-visual{order:0}
#pb-site .intro-copy{padding:0;text-align:center}
#pb-site .intro-copy h2{font-size:27px;margin-bottom:13px}
#pb-site .intro-copy p{font-size:14px;text-align:justify;line-height:2.1;max-width:500px;margin:auto}
#pb-site .intro-copy .btn{margin-top:30px}
#pb-site .eyebrow{font-size:12px;margin-bottom:12px}
#pb-site .about-band{padding:0}
#pb-site .about-grid{display:flex;flex-direction:column;gap:0;min-height:0;width:100%}
#pb-site .about-copy{padding:38px 22px;background:#10093ce6;width:100%;min-height:0;text-align:right;border:0}
#pb-site .about-copy h2{text-align:center;font-size:29px}
#pb-site .about-subtitle{text-align:center;font-size:18px}
#pb-site .about-copy p{font-size:13px;line-height:2.15;text-align:justify}
#pb-site .about-copy .text-link{font-size:12px}
#pb-site .about-contact{padding:34px 20px 40px;width:100%;background:#130c5055}
#pb-site .about-contact-logo{width:142px}
#pb-site .about-contact h3,#pb-site .about-phone{font-size:23px}
#pb-site .about-links{width:280px}
#pb-site .featured-section{padding:49px 0 30px}
#pb-site .section-heading{margin-bottom:26px}
#pb-site .section-heading h2{font-size:27px}
#pb-site .category-intro{display:flex;flex-direction:column;gap:30px;padding:25px 20px;border-radius:22px;min-height:0}
#pb-site .category-intro>.category-visual{width:100%}
#pb-site .category-intro h1{text-align:center;font-size:33px}
#pb-site .category-intro p{font-size:14px}
#pb-site .category-benefits{flex-wrap:wrap;gap:7px}
#pb-site .category-benefits span{flex-basis:30%;font-size:11px;padding:9px 7px;gap:5px}
#pb-site .category-benefits .icon{width:22px}
#pb-site .product-lead{display:flex;flex-direction:column;gap:26px}
#pb-site .detail-copy{padding:0}
#pb-site .detail-copy h1{font-size:27px}
#pb-site .detail-subtitle{font-size:20px}
#pb-site .detail-image{max-width:520px;margin:auto}
#pb-site .detail-actions{padding-top:33px}
#pb-site .detail-tabs{margin-top:40px}
#pb-site .detail-main{padding-bottom:50px}
#pb-site .category-intro .product-stage{max-width:370px;height:345px}
#pb-site .cert-section{padding:30px 0}
#pb-site .articles-section{padding:37px 0 42px}
#pb-site .licenses-grid,#pb-site .agency-grid{grid-template-columns:1fr}
#pb-site .plain-main{padding-bottom:45px}
#pb-site .contact-page-grid{gap:25px}
}
@media(max-width:380px){#pb-site .hero-photo{height:218px}
#pb-site .hero-slide:before{top:73px}
#pb-site .hero-copy h1,#pb-site .hero-copy h2{font-size:27px}
#pb-site .hero-subtitle{font-size:19px}
#pb-site .intro-copy h2{font-size:25px}
#pb-site .product-stage{height:320px}
#pb-site .category-benefits span{flex-basis:100%}
#pb-site .category-intro .product-stage{height:300px}
#pb-site .category-intro h1{font-size:29px}
#pb-site .about-copy h2{font-size:26px}
#pb-site .detail-copy h1{font-size:24px}
#pb-site .detail-subtitle{font-size:18px}
#pb-site .detail-actions{gap:10px}
#pb-site .detail-actions .btn{padding-inline:21px}
#pb-site .detail-consult a{font-size:18px}
}
