/* Baoyuan Automation OCTG Website — scoped to prevent interference with existing Astra/Elementor pages */
body.by-site{--by-navy:#071b2d;--by-dark:#0d263e;--by-ink:#13263a;--by-muted:#647587;--by-blue:#216ef1;--by-blue2:#4c9dff;--by-pale:#f0f5fa;--by-line:#d8e2e9;--by-max:1220px;margin:0;background:#fff;color:var(--by-ink);font-family:Inter,"Segoe UI",Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
.by-site *{box-sizing:border-box}.by-site a{text-decoration:none;color:inherit}.by-site button,.by-site input,.by-site textarea,.by-site select{font:inherit}.by-site img{display:block;max-width:100%}.by-site h1,.by-site h2,.by-site h3,.by-site p,.by-site figure{margin-top:0}.by-site a:focus-visible,.by-site button:focus-visible,.by-site input:focus-visible,.by-site textarea:focus-visible,.by-site select:focus-visible{outline:3px solid #5fb4ff;outline-offset:3px}.by-container{width:min(var(--by-max),calc(100% - 64px));margin-inline:auto}.by-skip{position:absolute!important;top:-80px;left:10px;z-index:500;background:white;padding:8px 14px}.by-skip:focus{top:10px}
.by-topline{background:#061420;color:#a1b8ca;font-size:10px;font-weight:750;letter-spacing:.14em}.by-topline .by-container{min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:15px}.by-header{background:var(--by-navy);color:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid rgba(255,255,255,.11);box-shadow:0 8px 30px rgba(3,20,34,.12)}body.by-site.admin-bar .by-header{top:32px}.by-header-inner{min-height:88px;display:flex;align-items:center;gap:36px}.by-logo{width:202px;min-width:202px;display:flex;align-items:center}.by-logo img{width:100%;height:auto}.by-nav{display:flex;align-items:center;gap:28px;margin-left:auto}.by-nav-group{position:relative;display:flex;align-items:center}
.by-nav-parent{display:inline-flex;align-items:center;gap:7px}
.by-nav-caret{font-size:10px;color:#8ca4bb;transition:transform .18s}
.by-nav-group:hover .by-nav-caret,.by-nav-group:focus-within .by-nav-caret{transform:rotate(180deg)}
.by-nav-submenu{display:none;position:absolute;top:calc(100% + 18px);left:-14px;min-width:195px;padding:10px;background:#0c2945;border:1px solid rgba(255,255,255,.1);box-shadow:0 16px 35px rgba(0,0,0,.24);flex-direction:column;gap:0;z-index:200}
.by-nav-group:hover .by-nav-submenu,.by-nav-group:focus-within .by-nav-submenu{display:flex}
.by-nav-submenu a{display:block;padding:10px 12px;font-size:12px;border-bottom:1px solid rgba(255,255,255,.1)}
.by-nav-submenu a:last-child{border-bottom:0}
.by-nav a{font-weight:650;font-size:13px;white-space:nowrap;color:#c1d0dd;transition:color .15s}.by-nav a:hover,.by-nav a[aria-current=page]{color:#fff}.by-nav a[aria-current=page]::after{content:"";display:block;height:2px;background:#5a9eff;margin-top:6px}.by-header-actions{display:flex;align-items:center;gap:14px}.by-menu-toggle{display:none;background:none;border:0;padding:10px;color:#fff;cursor:pointer}.by-menu-toggle span{display:block;background:currentColor;width:24px;height:2px;margin:5px 0;border-radius:2px}.by-preview-bar{padding:11px 20px;text-align:center;background:#fff0c2;color:#5d4412;font-size:12px;font-weight:650}.by-preview-bar a{text-decoration:underline}
.by-btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;line-height:1.15;padding:18px 26px;font-size:14px;letter-spacing:.01em;font-weight:750;border:1px solid transparent;cursor:pointer;transition:transform .2s,background .2s,border-color .2s;min-height:52px}.by-btn:hover{transform:translateY(-2px)}.by-btn-blue{background:var(--by-blue);color:#fff!important}.by-btn-blue:hover{background:#165cd3}.by-btn-small{min-height:42px;padding:12px 19px;font-size:12px;gap:12px;white-space:nowrap}.by-btn-outline{background:transparent;border-color:rgba(255,255,255,.55);color:#fff!important}.by-btn-outline:hover{border-color:white;background:rgba(255,255,255,.1)}.by-btn-dark{background:var(--by-navy);color:#fff!important}.by-btn-white{background:#fff;color:#0b2743!important}.by-eyebrow{display:flex;align-items:center;gap:13px;color:var(--by-blue);font-size:11px;letter-spacing:.18em;font-weight:800;text-transform:uppercase;margin:0 0 19px}.by-eyebrow.by-light{color:#9ac7ff}.by-eyebrow span{display:inline-block;width:23px;height:1px;background:currentColor}
.by-hero{min-height:670px;position:relative;background-image:linear-gradient(90deg,rgba(2,16,30,.93) 0%,rgba(2,17,30,.84) 42%,rgba(2,16,30,.36) 100%),var(--by-hero);background-size:cover;background-position:center;overflow:hidden;color:#fff}.by-hero:after{content:"";position:absolute;bottom:0;right:23%;height:100%;width:1px;background:rgba(255,255,255,.15);pointer-events:none}.by-hero-grid{min-height:670px;display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:45px;align-items:center;position:relative;z-index:1}.by-hero-copy{padding:82px 0 38px}.by-hero h1,.by-pagehead h1{font-size:clamp(52px,6.1vw,91px);line-height:1.035;letter-spacing:-.055em;font-weight:850;max-width:800px;margin:0 0 27px;text-transform:uppercase}.by-hero h1 em,.by-pagehead h1 em,.by-contact-cta h2 em{font-style:normal;color:#71b5ff}.by-hero-copy>p{max-width:575px;color:#d4e1eb;font-size:17px;line-height:1.75;margin-bottom:28px}.by-buttons{display:flex;gap:12px;flex-wrap:wrap}.by-hero-foot{margin-top:72px;display:flex;gap:25px;flex-wrap:wrap;color:#aebecb;font-size:10px;letter-spacing:.11em;font-weight:750}.by-hero-foot span:before{content:"/";color:#5da6ff;margin-right:11px}.by-hero-side{align-self:end;margin-bottom:65px;padding:30px 0 20px 24px;border-left:2px solid #338cff;background:linear-gradient(90deg,rgba(3,25,46,.65),transparent)}.by-side-num{font-size:47px;font-weight:750;line-height:1.1;color:#fff}.by-side-num span{font-size:16px;color:#7da5c8}.by-hero-side>span{font-size:10px;letter-spacing:.13em;color:#a9b9c9;font-weight:700}.by-hero-side h2{font-size:22px;line-height:1.25;margin:12px 0}.by-hero-side p{font-size:13px;line-height:1.6;color:#d8e7f1;margin:0 0 20px}.by-hero-side>a{font-size:13px;font-weight:750;color:#95caff}
.by-trustline{border-bottom:1px solid var(--by-line);background:#fff}.by-trustline>.by-container{display:grid;grid-template-columns:repeat(4,1fr)}.by-trustline .by-container>div{display:flex;flex-direction:column;justify-content:center;min-height:132px;padding:22px 30px;border-right:1px solid var(--by-line)}.by-trustline .by-container>div:first-child{padding-left:0}.by-trustline .by-container>div:last-child{border:0}.by-trustline strong{font-weight:800;font-size:32px;line-height:1.1;letter-spacing:-.04em;color:#0f2639}.by-trustline span{margin-top:10px;font-size:12px;color:var(--by-muted)}
.by-section{padding:102px 0}.by-heading{display:flex;gap:60px;align-items:end;justify-content:space-between;margin-bottom:39px}.by-heading>p{max-width:310px;color:var(--by-muted);font-size:14px;line-height:1.7;margin:0 0 8px}.by-heading h2,.by-feature h2,.by-gallery-section h2,.by-process h2,.by-contact-info h2,.by-about-photo+h2,.by-two-split h2{font-size:clamp(33px,3.6vw,55px);font-weight:850;letter-spacing:-.045em;line-height:1.09;margin-bottom:0}.by-heading h2 span,.by-feature h2 span,.by-gallery-section h2 span,.by-two-split h2 span{color:#75899a}.by-feature{background:#f5f8fb}.by-feature-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:0;min-height:430px;background:#fff;box-shadow:0 18px 55px rgba(15,48,74,.07)}.by-feature-photo{position:relative;overflow:hidden;background:#ccd9e0}.by-feature-photo img{width:100%;height:100%;max-height:550px;min-height:445px;object-fit:cover}.by-photo-credit{position:absolute;bottom:0;left:0;right:0;padding:15px 20px;background:rgba(1,20,39,.87);color:#c9dbed;font-size:10px;font-weight:700;letter-spacing:.14em}.by-feature-copy{padding:53px 59px;display:flex;flex-direction:column;align-items:flex-start}.by-category{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--by-blue);margin-bottom:14px}.by-feature-copy h3{font-size:clamp(29px,3vw,44px);letter-spacing:-.045em;line-height:1.12;margin-bottom:18px}.by-feature-copy>p{font-size:15px;color:var(--by-muted);line-height:1.75;margin:0 0 17px}.by-mini-data{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:17px 0;border-top:1px solid var(--by-line);border-bottom:1px solid var(--by-line);width:100%;padding:23px 0}.by-mini-data>div{display:flex;flex-direction:column;gap:5px}.by-mini-data strong{font-size:16px;white-space:nowrap;letter-spacing:-.03em}.by-mini-data small,.by-footnote{font-size:12px!important;color:#81909d!important}.by-feature-copy .by-btn{margin-top:auto}.by-products-section{background:#fff}.by-text-link{font-size:13px;font-weight:800;color:var(--by-blue)!important;white-space:normal}.by-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.by-card{border:1px solid var(--by-line);background:#fff;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.by-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(7,29,49,.11)}.by-card-media{position:relative;height:225px;background:#0f2b44;overflow:hidden;display:block}.by-card-media>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.by-card:hover .by-card-media>img{transform:scale(1.055)}.by-card-number{position:absolute;bottom:14px;left:17px;background:#fff;color:#16304a;padding:8px 12px;font-weight:800;letter-spacing:.02em;font-size:12px}.by-card-body{padding:29px 27px 30px;display:flex;flex-direction:column;flex:1}.by-card-body h3{font-size:22px;letter-spacing:-.035em;line-height:1.24;margin-bottom:12px}.by-card-body p{font-size:14px;line-height:1.65;color:var(--by-muted);flex:1;margin-bottom:25px}.by-photo-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;position:relative;text-align:center;gap:20px;color:#b7cad8;background:radial-gradient(circle at 65% 22%,#244e73 0%,transparent 40%),repeating-linear-gradient(152deg,rgba(151,187,209,.055) 0 1px,transparent 1px 16px),#09223a;font-size:12px;letter-spacing:.045em;padding:15px}.by-graphic{display:block;width:100px;height:68px;border:2px solid rgba(137,189,226,.25);border-radius:50%;transform:skew(-18deg);box-shadow:inset 0 0 0 10px rgba(137,189,226,.04),0 0 0 18px rgba(137,189,226,.03)}.by-photo-placeholder:before{content:"";width:140px;height:30px;background:rgba(84,155,204,.12);transform:skew(-20deg);position:absolute;top:27%;left:14%}
.by-band{background:var(--by-navy);color:#fff;overflow:hidden}.by-band-inner{display:grid;grid-template-columns:1fr 1.08fr;gap:65px;align-items:stretch;min-height:450px}.by-band-inner>div{padding:72px 0;align-self:center}.by-band-inner h2{font-size:clamp(30px,3.3vw,47px);line-height:1.14;letter-spacing:-.04em;margin-bottom:20px}.by-band-inner p{max-width:500px;color:#bbcedb;font-size:15px;line-height:1.75;margin-bottom:25px}.by-band-inner>img{height:100%;width:100%;object-fit:cover;min-height:430px;opacity:.87}.by-step-grid,.by-solution-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.by-step-grid>div,.by-solution-grid>div{border-top:2px solid #2d76bf;padding:26px 0 20px}.by-step-grid>div>span,.by-solution-grid>div>span{font-size:15px;letter-spacing:.08em;color:#2378d8;font-weight:800}.by-step-grid h3,.by-solution-grid h3{font-size:20px;line-height:1.25;margin:22px 0 12px}.by-step-grid p,.by-solution-grid p{font-size:14px;color:var(--by-muted);line-height:1.75}
.by-pagehead{background:radial-gradient(circle at 83% 19%,rgba(48,119,190,.23),transparent 26%),linear-gradient(120deg,#071b2d,#103657);color:#fff;padding:99px 0 96px}.by-pagehead .by-container{position:relative}.by-pagehead h1{font-size:clamp(43px,5.2vw,76px);max-width:1050px;margin:0 0 25px}.by-pagehead p{max-width:730px;font-size:17px;color:#b9d0e4;line-height:1.8;margin:0}.by-breadcrumb{background:#f5f8fb;border-bottom:1px solid #dde7ee;padding:13px 0;color:#718297;font-size:12px}.by-breadcrumb .by-container{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.by-breadcrumb a{color:#2867ac}.by-product-hero{padding:75px 0 90px}.by-product-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);gap:62px}.by-product-image{background:#f5f8fa;align-self:start;position:relative}.by-product-image>img{width:100%;height:525px;object-fit:contain;background:#e5edf2}.by-image-label{background:#0a233d;color:#cce1ef;letter-spacing:.09em;padding:13px 19px;font-size:10px;font-weight:800}.by-product-copy h1{font-size:clamp(34px,3.4vw,51px);line-height:1.12;letter-spacing:-.05em;margin:0 0 25px}.by-product-copy h2{font-size:19px;letter-spacing:-.02em;margin:24px 0 9px}.by-product-copy p{color:var(--by-muted);font-size:15px;line-height:1.72}.by-product-copy .by-lead{color:#31495f;font-size:17px;font-weight:500;margin-bottom:24px}.by-checks{list-style:none;padding:0;margin:13px 0 29px}.by-checks li{border-bottom:1px solid #e5edf2;padding:9px 0 9px 27px;color:#4d6273;position:relative;font-size:14px}.by-checks li:before{content:'✓';position:absolute;left:0;color:#2b80df;font-weight:900}.by-detail-placeholder{min-height:525px}.by-specs{background:#f1f5f9}.by-table-scroll{border:1px solid var(--by-line);background:white;overflow:auto;box-shadow:0 12px 30px rgba(10,34,54,.035)}.by-spec-table{min-width:780px;width:100%;border-collapse:collapse;text-align:left;font-size:14px}.by-spec-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.by-spec-table th,.by-spec-table td{padding:15px 17px;border-bottom:1px solid #e5ebf0;white-space:nowrap}.by-spec-table tr:first-child{background:#082844;color:white}.by-spec-table tr:first-child th{font-weight:750}.by-spec-table tr:not(:first-child) th{font-weight:750;color:#1d374d}.by-spec-table tr:nth-child(odd):not(:first-child){background:#f8fbfd}.by-specs .by-footnote{margin-top:15px}.by-gallery-section h2{font-size:clamp(33px,3.6vw,53px);letter-spacing:-.04em;margin-bottom:33px;line-height:1.08}.by-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.by-gallery figure{border:1px solid #dce4ec;margin:0;background:#fff}.by-gallery img{width:100%;height:190px;object-fit:cover;background:#e0e6eb}.by-gallery figcaption{padding:12px 15px;color:#52697b;font-size:12px;font-weight:650}.by-working{background:#fff}.by-two-split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.by-two-split h2{margin-bottom:25px}.by-two-split p{color:#627789;line-height:1.8}.by-video-placeholder{background:radial-gradient(circle at center,rgba(53,120,188,.4),transparent 65%),linear-gradient(145deg,#0b2a46,#041725);color:white;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:350px;text-align:center;padding:35px}.by-play-icon{border:1px solid #90bce6;border-radius:50%;height:64px;width:64px;display:grid;place-items:center;color:#b3daff;font-size:18px;margin-bottom:20px}.by-video-placeholder h3{font-size:28px;margin-bottom:8px}.by-video-placeholder p{max-width:270px;color:#bacbdd;font-size:14px}.by-video-placeholder>a{font-size:13px;color:#87c3ff;font-weight:750}.by-info-panel{border:1px solid var(--by-line);padding:34px;background:#fff}.by-info-panel h3{font-size:23px}.by-contact-cta{background:#0b2945;color:#fff;padding:83px 0}.by-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.by-contact-cta h2{font-size:clamp(34px,4vw,54px);line-height:1.1;letter-spacing:-.04em;margin-bottom:14px}.by-contact-cta p{max-width:600px;color:#bdd0de;margin:0}.by-solution-grid{grid-template-columns:repeat(2,1fr);gap:30px 50px}.by-solution-grid>div{border-top-width:1px;min-height:180px}.by-about-photo>img{width:100%;height:395px;object-fit:cover}.by-project-card{display:grid;grid-template-columns:1.2fr 1fr;border:1px solid var(--by-line);margin-bottom:26px}.by-project-card>img{width:100%;height:390px;object-fit:cover}.by-project-card>div{padding:55px 48px;display:flex;align-items:flex-start;flex-direction:column;justify-content:center}.by-project-card h2{font-size:30px;line-height:1.15;letter-spacing:-.04em}.by-project-card p{color:var(--by-muted);font-size:15px;line-height:1.75}.by-contact-head{padding-bottom:93px}.by-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;align-items:start}.by-contact-info h2{font-size:48px;letter-spacing:-.04em;line-height:1.1;margin-bottom:24px}.by-contact-info p{color:#607588;line-height:1.7}.by-contact-company{margin:30px 0;padding-top:25px;border-top:1px solid var(--by-line);display:flex;flex-direction:column;gap:8px}.by-contact-company span{font-size:11px;color:#2778d0;letter-spacing:.11em;font-weight:850}.by-contact-company strong{font-size:15px;margin-bottom:12px}.by-form-card{border:1px solid var(--by-line);box-shadow:0 17px 55px rgba(5,35,61,.09);padding:45px;background:#fff}.by-form-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}.by-inquiry-form label{display:block;font-weight:650;font-size:13px;margin-bottom:21px;color:#284257}.by-inquiry-form input:not([type=checkbox]),.by-inquiry-form textarea,.by-inquiry-form select{display:block;width:100%;margin-top:8px;border:1px solid #ccdae4;background:#f9fbfd;padding:13px 14px;border-radius:0;color:#152d45;min-height:48px}.by-inquiry-form textarea{resize:vertical}.by-consent{display:flex!important;gap:12px;align-items:flex-start;font-weight:450!important;font-size:12px!important}.by-consent input{margin-top:4px}.by-consent a{color:#2669bf;text-decoration:underline}.by-honeypot{position:absolute!important;left:-9999px;height:0;overflow:hidden}.by-alert{padding:15px 18px;margin-bottom:22px;background:#e5f4e9;border-left:4px solid #20864d;color:#155b32;font-size:14px}.by-prose{max-width:850px}.by-prose h2{font-size:27px;margin:20px 0 13px}.by-prose p{color:var(--by-muted)}
.by-footer{background:#041727;color:#fff}.by-footer-top{display:grid;grid-template-columns:1.4fr .65fr .65fr 1fr;gap:47px;padding:74px 0 70px}.by-footer-brand img{width:185px;height:auto;margin-bottom:20px}.by-footer-brand p{max-width:275px;color:#a9bfce;font-size:14px;line-height:1.7}.by-footer h3{font-size:15px;margin-bottom:19px}.by-footer-links{display:flex;flex-direction:column;align-items:flex-start}.by-footer-links a{display:block;font-size:13px;color:#a9bfce;margin-bottom:12px}.by-footer-links a:hover{color:#fff}.by-footer-contact p{font-size:13px;color:#9bb6c7;line-height:1.7;margin-bottom:20px}.by-footer-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid rgba(255,255,255,.12);padding:26px 0;font-size:11px;color:#7796aa;letter-spacing:.045em}
@media(max-width:1100px){.by-header-inner{gap:22px}.by-logo{min-width:164px;width:164px}.by-nav{gap:18px}.by-nav a{font-size:12px}.by-header-actions .by-btn-small{padding:10px}.by-card-grid{grid-template-columns:repeat(2,1fr)}.by-product-grid{gap:35px}.by-gallery{grid-template-columns:repeat(2,1fr)}.by-footer-top{gap:25px}.by-feature-copy{padding:40px}.by-hero h1{font-size:clamp(50px,7vw,85px)}}
@media(max-width:840px){.by-container{width:min(var(--by-max),calc(100% - 36px))}.by-header-inner{min-height:76px}.by-logo{min-width:164px}.by-menu-toggle{display:block}.by-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0c2945;padding:24px 24px 31px;box-shadow:0 16px 35px rgba(0,0,0,.24);flex-direction:column;align-items:stretch;margin:0;gap:0}.by-nav.by-open{display:flex}.by-nav-group{display:flex;flex-direction:column;align-items:stretch}
.by-nav-submenu{display:flex;position:static;min-width:0;padding:0 0 5px 15px;background:transparent;border:0;box-shadow:none}
.by-nav-submenu a{font-size:14px;padding:9px 4px;border:0;color:#9eb2c5}
.by-nav-caret{display:none}
.by-nav a{font-size:16px;padding:12px 4px}.by-header-actions{margin-left:auto}.by-hero-grid{grid-template-columns:1fr;gap:0}.by-hero-copy{padding:92px 0 20px}.by-hero-side{margin-bottom:43px;max-width:490px}.by-hero:after{display:none}.by-trustline>.by-container{grid-template-columns:repeat(2,1fr)}.by-trustline .by-container>div:nth-child(2){border-right:0}.by-trustline .by-container>div:nth-child(3),.by-trustline .by-container>div:nth-child(4){border-top:1px solid var(--by-line)}.by-feature-grid,.by-band-inner,.by-two-split,.by-contact-grid,.by-project-card{grid-template-columns:1fr}.by-feature-photo img{max-height:520px}.by-band-inner{gap:0}.by-band-inner>img{max-height:390px;min-height:300px}.by-step-grid{grid-template-columns:repeat(2,1fr)}.by-product-grid{grid-template-columns:1fr;gap:32px}.by-product-image>img{height:420px}.by-contact-grid{gap:33px}.by-footer-top{grid-template-columns:1.2fr 1fr 1fr;gap:30px}.by-footer-contact{grid-column:1/-1}.by-project-card>img{height:320px}}
@media(max-width:570px){.by-topline .by-container span:last-child{display:none}.by-topline{font-size:9px}.by-header-actions .by-btn-small{display:none}.by-logo{width:149px;min-width:149px}.by-header-inner{min-height:65px}.by-hero{min-height:auto;background-position:65% center}.by-hero-grid{min-height:auto}.by-hero-copy{padding:71px 0 18px}.by-hero h1{font-size:46px;letter-spacing:-.05em}.by-hero-copy>p{font-size:15px}.by-hero-foot{margin-top:39px;gap:10px 17px}.by-hero-foot span{font-size:9px}.by-hero-side{margin-bottom:30px}.by-trustline .by-container>div{min-height:105px;padding:15px}.by-trustline strong{font-size:26px}.by-trustline span{font-size:11px}.by-section{padding:65px 0}.by-heading{display:block}.by-heading>p{margin-top:18px}.by-heading h2,.by-gallery-section h2,.by-two-split h2{font-size:34px}.by-feature-copy{padding:27px}.by-feature-photo img{min-height:260px;max-height:370px}.by-mini-data{gap:15px}.by-mini-data strong{white-space:normal;font-size:14px}.by-card-grid,.by-step-grid,.by-solution-grid{grid-template-columns:1fr}.by-card-media{height:230px}.by-pagehead{padding:68px 0 73px}.by-pagehead h1{font-size:43px}.by-pagehead p{font-size:15px}.by-product-hero{padding-top:40px}.by-product-copy h1{font-size:34px}.by-product-image>img{height:auto;min-height:270px;max-height:470px}.by-gallery{grid-template-columns:1fr 1fr;gap:9px}.by-gallery img{height:145px}.by-gallery figcaption{font-size:11px;padding:9px}.by-cta-inner{display:block}.by-cta-inner .by-btn{margin-top:25px}.by-contact-cta h2{font-size:35px}.by-form-card{padding:25px 18px}.by-form-row{grid-template-columns:1fr;gap:0}.by-contact-info h2{font-size:37px}.by-footer-top{grid-template-columns:1fr 1fr;padding-top:50px}.by-footer-brand,.by-footer-contact{grid-column:1/-1}.by-footer-bottom{flex-direction:column;gap:5px}.by-btn{padding:15px 18px;font-size:13px}.by-buttons{gap:9px}.by-band-inner h2{font-size:34px}.by-project-card>div{padding:28px}}
@media(prefers-reduced-motion:reduce){.by-site *{scroll-behavior:auto!important;transition:none!important}}html{scroll-behavior:smooth}

/* Factory tour — all content scoped to Baoyuan pages */
.by-home-factory{background:#f3f7fb}.by-factory-teaser{gap:70px;align-items:center}.by-home-factory-image{position:relative;min-width:0}.by-home-factory-image img{width:100%;height:410px;object-fit:cover}.by-factory-teaser-copy h2{font-size:clamp(34px,3.3vw,52px);line-height:1.08;letter-spacing:-.045em}.by-factory-teaser-copy h2 span{color:#748a9c}.by-factory-teaser-copy>p{color:var(--by-muted);max-width:530px;line-height:1.85}.by-small-note{font-size:11px!important;color:#788c9d!important;margin-top:18px!important}.by-factory-head{background:linear-gradient(100deg,rgba(3,24,43,.96),rgba(6,36,61,.88)),url('../img/swaging-sk340.webp') center/cover}.by-factory-intro{background:#fff}.by-factory-intro .by-two-split{align-items:center;gap:65px}.by-factory-intro p{color:var(--by-muted);line-height:1.85;max-width:610px}.by-factory-lead-photo{margin:0;background:#e1eaf1}.by-factory-lead-photo img{width:100%;height:485px;object-fit:cover}.by-factory-lead-photo figcaption{padding:14px 20px;font-size:11px;color:#586d7d;background:#edf4f8}.by-factory-workflow{background:#f2f6fa}.by-factory-process{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.by-factory-process article{padding:29px 26px;background:#fff;border-top:3px solid #216ef1;min-height:240px}.by-factory-process span{font-size:10px;font-weight:800;color:#2673d7;letter-spacing:.1em}.by-factory-process h3{font-size:21px;line-height:1.24;margin:21px 0 13px;letter-spacing:-.02em}.by-factory-process p{font-size:13px;color:var(--by-muted);line-height:1.8}.by-factory-gallery-section{background:#fff}.by-factory-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.by-factory-gallery-card{border:1px solid var(--by-line);margin:0;background:white}.by-factory-gallery-media{height:240px;background:#102f4a}.by-factory-gallery-media img{width:100%;height:100%;object-fit:cover}.by-factory-photo-awaiting{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:17px;background:linear-gradient(145deg,#12314d,#071b31);color:#9eb8cb;font-size:10px;letter-spacing:.14em;font-weight:750;padding:20px}.by-awaiting-icon{height:59px;width:59px;border:1px solid #5f86a3;display:grid;place-items:center;border-radius:50%;color:#7aa5c1;font-size:34px;font-weight:250}.by-factory-gallery-card figcaption{padding:20px 22px;display:flex;flex-direction:column}.by-factory-gallery-card figcaption span{font-size:10px;letter-spacing:.12em;color:#2673d7;font-weight:800;margin-bottom:8px}.by-factory-gallery-card figcaption strong{font-size:18px}.by-factory-gallery-note{margin-top:20px;font-size:12px;color:#7e8b9b}.by-factory-equipment{background:#f2f6fa}.by-factory-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.by-factory-reference-grid figure{margin:0;background:#fff;border:1px solid var(--by-line)}.by-factory-reference-grid img{width:100%;height:265px;object-fit:cover}.by-factory-reference-grid figcaption{font-weight:750;padding:18px 22px;font-size:14px}
@media(max-width:1100px){.by-header-inner{gap:16px}.by-nav{gap:14px}.by-nav a{font-size:11px}.by-factory-process{grid-template-columns:repeat(2,1fr)}.by-factory-teaser{gap:35px}}
@media(max-width:840px){.by-factory-teaser,.by-factory-intro .by-two-split{gap:30px}.by-factory-gallery-grid{grid-template-columns:repeat(2,1fr)}.by-factory-reference-grid{grid-template-columns:repeat(2,1fr)}.by-home-factory-image img{height:365px}}
@media(max-width:570px){.by-home-factory-image img{height:290px}.by-factory-process,.by-factory-gallery-grid,.by-factory-reference-grid{grid-template-columns:1fr}.by-factory-process article{min-height:0}.by-factory-gallery-media{height:245px}.by-factory-reference-grid img{height:235px}.by-factory-lead-photo img{height:350px}}

/* Key specification summary retained from the approved product-detail layout. */
.by-spec-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0 28px}
.by-spec-summary-item{background:#fff;border:1px solid var(--by-line);padding:17px 18px;min-height:88px}
.by-spec-summary-item span{display:block;color:var(--by-muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:750;margin-bottom:7px}
.by-spec-summary-item strong{display:block;color:var(--by-ink);font-size:15px;line-height:1.45}
@media(max-width:840px){.by-spec-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.by-spec-summary{grid-template-columns:1fr}}

/* Multilingual header and Arabic RTL support — V1.3 */
.by-header-actions{gap:12px}
.by-language-switcher{display:flex;align-items:center;gap:3px;white-space:nowrap;padding:4px;border:1px solid rgba(255,255,255,.18);border-radius:3px}
.by-language-switcher a{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:3px 7px;color:#c6d5e1;font-size:10px;font-weight:800;letter-spacing:.02em;border-radius:2px}
.by-language-switcher a:hover,.by-language-switcher a[aria-current="true"]{background:#245f9b;color:#fff}
.by-language-switcher a[lang="ar"]{font-size:12px}
html[dir="rtl"] body.by-site{direction:rtl;font-family:Tahoma,Arial,sans-serif}
html[dir="rtl"] .by-topline .by-container,
html[dir="rtl"] .by-header-inner{direction:rtl}
html[dir="rtl"] .by-nav{margin-left:0;margin-right:auto;direction:rtl}
html[dir="rtl"] .by-nav-submenu{left:auto;right:-14px;text-align:right}
html[dir="rtl"] .by-nav-submenu a{text-align:right}
html[dir="rtl"] .by-hero{background-image:linear-gradient(270deg,rgba(2,16,30,.93) 0%,rgba(2,17,30,.84) 42%,rgba(2,16,30,.36) 100%),var(--by-hero)}
html[dir="rtl"] .by-hero:after{right:auto;left:23%}
html[dir="rtl"] .by-hero-side{border-left:0;border-right:2px solid #338cff;padding:30px 24px 20px 0;background:linear-gradient(270deg,rgba(3,25,46,.65),transparent)}
html[dir="rtl"] .by-photo-credit{text-align:right}
html[dir="rtl"] .by-card-number{left:auto;right:17px}
html[dir="rtl"] .by-trustline .by-container>div{border-right:0;border-left:1px solid var(--by-line)}
html[dir="rtl"] .by-trustline .by-container>div:first-child{padding-left:30px;padding-right:0}
html[dir="rtl"] .by-trustline .by-container>div:last-child{border-left:0}
html[dir="rtl"] .by-step-grid>div,html[dir="rtl"] .by-solution-grid>div,html[dir="rtl"] .by-prose,html[dir="rtl"] .by-contact-info{text-align:right}
html[dir="rtl"] .by-checks{padding-right:20px;padding-left:0}
html[dir="rtl"] .by-consent{flex-direction:row-reverse;text-align:right}
html[dir="rtl"] .by-form-card label{text-align:right}
html[dir="rtl"] .by-footer-links{align-items:flex-start}
html[dir="rtl"] .by-footer-bottom{direction:rtl}
html[dir="rtl"] .by-breadcrumb .by-container{direction:rtl}
html[dir="rtl"] .by-language-switcher{direction:ltr}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"]{direction:ltr;text-align:left}
@media(max-width:1100px){.by-language-switcher a{padding:3px 5px}.by-header-actions{gap:7px}}
@media(max-width:840px){.by-header-actions{margin-left:auto}.by-language-switcher{margin-left:0}.by-nav{margin:0!important}}
@media(max-width:840px){html[dir="rtl"] .by-header-actions{margin-left:0;margin-right:auto}}

/* V1.4 — Factory campus overview */
.by-about-campus{background:#f2f6fa}
.by-campus-copy p{max-width:540px;color:var(--by-muted);line-height:1.85}
.by-campus-image{margin:0;background:#e8eef3;border:1px solid var(--by-line);box-shadow:0 18px 45px rgba(7,27,47,.10)}
.by-campus-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#e8eef3}
.by-campus-image figcaption{padding:14px 18px;background:#fff;color:#52697d;font-size:10px;font-weight:800;letter-spacing:.12em}
.by-factory-lead-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#e8eef3}
@media(max-width:760px){.by-about-campus .by-two-split{gap:28px}.by-campus-image img{aspect-ratio:3/2}}


/* V1.4.1 preview refinement: approved Our Factory hero treatment */
body.by-factory-page .by-header{
  background:#fff;color:#17283a;border-bottom:1px solid #e8edf2;
  box-shadow:0 5px 24px rgba(10,27,43,.07)
}
body.by-factory-page .by-logo img{filter:brightness(0) saturate(100%)}
body.by-factory-page .by-nav a{color:#48586b}
body.by-factory-page .by-nav a:hover,
body.by-factory-page .by-nav a[aria-current=page]{color:#2f65e8}
body.by-factory-page .by-nav a[aria-current=page]::after{background:#2f65e8}
body.by-factory-page .by-language-switcher{border-color:#dce3eb}
body.by-factory-page .by-language-switcher a{color:#566579}
body.by-factory-page .by-language-switcher a:hover,
body.by-factory-page .by-language-switcher a[aria-current="true"]{
  background:#edf3ff;color:#2f65e8
}
body.by-factory-page .by-menu-toggle{color:#17283a}
body.by-factory-page .by-menu-toggle span{background:currentColor}

.by-factory-head{
  min-height:620px;padding:0;display:flex;align-items:center;
  background:
    linear-gradient(90deg,rgba(4,17,30,.87),rgba(4,17,30,.48) 48%,rgba(4,17,30,.08)),
    url('../img/factory-campus-aerial.jpg') center/cover no-repeat
}
.by-factory-head .by-container{position:relative;padding-top:78px;padding-bottom:68px}
.by-factory-head .by-eyebrow{color:#a9caff;letter-spacing:.23em}
.by-factory-head h1{
  max-width:660px;font-size:clamp(58px,6.4vw,94px);line-height:.98;
  letter-spacing:-.045em;font-weight:850;margin:27px 0 28px;color:#fff
}
.by-factory-head h1 em{color:#fff;font-style:normal}
.by-factory-head p{
  max-width:760px;color:#e6edf6;font-size:18px;line-height:1.72;
  margin:0 0 30px
}
.by-factory-head .by-factory-breadcrumb{
  color:#d5dfeb;font-size:13px;margin-top:54px;letter-spacing:.01em
}
@media(max-width:760px){
  .by-factory-head{min-height:570px;background-position:56% center}
  .by-factory-head .by-container{padding-top:65px;padding-bottom:52px}
  .by-factory-head h1{font-size:clamp(52px,12vw,72px);margin:22px 0}
  .by-factory-head p{font-size:16px;max-width:560px}
  .by-factory-head .by-factory-breadcrumb{margin-top:38px}
}
