/* Styles carried over from the old page <style> blocks, cleaned up, plus small additions */
#owl-carousel {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  margin-top: 0;
  min-width: 100%;
  background: #000;
}
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: cover;
  background: #000;
}
.site-logo { display: block; width: 260px; max-width: 60vw; height: auto; margin: .6em 0 .6em 2em; }
@media (max-width: 991px) { .site-logo { margin-left: .5em; width: 200px; } }

hr.style-eight { overflow: visible; padding: 0; border: none; border-top: medium double #1e3799; color: #1e3799; text-align: center; }
footer li { padding-top: 1em; }
footer li span { margin-right: 1em; color: #1e3799; }
footer h2 { color: #1e3799; font-size: 1.25rem; }
.site-footer a { color: #000; }
.site-footer a:hover { color: #1e3799; }
.container-fluid.card { border-color: #1e3799; text-align: center; }
.name a { color: #34495e !important; text-align: center; font-weight: bold; }
.mobileDrop { position: absolute !important; }

/* sidebar trees (were inline styles) */
.tree-card h2 { color: #17457e; font-size: large; font-weight: bold; margin: 0; }
.tree-card h2 a { color: #17457e; }
.tree-group { display: block; color: #17457e; font-size: medium; font-weight: bold; padding: .35rem .5rem; border-bottom: 3px solid #17457e; margin-top: .9rem; }
.tree-group.active, .tree-item.active { background: #eef2f8; }
.tree-item { display: block; color: #000; font-size: 14px; padding: .45rem .5rem .45rem 1.6rem; border-bottom: 1px solid #dee2e6; }
.tree-item:hover, .tree-group:hover { text-decoration: none; background: #f4f6fa; }

.page-head { padding: 2rem 0 1rem; }
.page-head h1 { font-size: 1.9rem; text-transform: uppercase; color: #17457e; margin-bottom: .5rem; }
.breadcrumb { background: transparent; padding: 0; margin-bottom: .5rem; font-size: 13px; }
.lead-text { font-size: 1.05rem; color: #333; }
.btn-quote { background-color: #f4b214; border-color: #f4b214; color: #000; font-weight: 700; }
.btn-quote:hover { background-color: #d99d0c; border-color: #d99d0c; color: #000; }
.product-body img { max-width: 100%; height: auto; }
.product-body table { width: 100%; max-width: 720px; border-collapse: collapse; margin: 1rem 0; font-size: 14px; }
.product-body td, .product-body th { border: 1px solid #ccc; padding: .35rem .6rem; vertical-align: top; }
.product-body tr.section-row td { background: #17457e; color: #fff; font-weight: 700; text-align: center; }
.product-body h2 { font-size: 1.3rem; color: #17457e; margin-top: 1.5rem; }
.card-img { height: 250px; width: 100%; object-fit: contain; }
.fact-list li { margin-bottom: .4rem; }
.map-frame { width: 100%; height: 360px; border: 0; }
.sr-only-focusable:focus { position: static; width: auto; height: auto; }
select.form-control { height: auto; padding: .55rem .75rem; }
@media (min-width: 992px) { .navbar .btn-quote { margin-top: .25rem; } }
.factory-ph{aspect-ratio:4/3;overflow:hidden;background:#fff;border:1px solid #e3e7ee;border-radius:.25rem}
.factory-ph img{width:100%;height:100%;object-fit:cover}
.calc-index{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem}
.calc-index a{display:inline-block;border:1px solid #17457e;color:#17457e;padding:.3rem .75rem;border-radius:2rem;font-size:14px}
.calc-index a:hover{background:#17457e;color:#fff;text-decoration:none}
.calc-card{scroll-margin-top:1rem}

/* ===== Calculators ===== */
.calc-section{padding-top:2rem}
.calc-h1{font-size:2rem;font-weight:800;color:#17457e;margin:.3rem 0 .6rem}
.calc-h2{font-size:1.4rem;font-weight:700;color:#17457e;margin:.6rem 0 1rem}
.calc-intro{max-width:760px;margin-bottom:1.6rem}
.calc-sub{font-size:1rem;font-weight:700;color:#000;margin:1.2rem 0 .8rem}
.calc-tool{display:flex;flex-wrap:wrap;gap:2rem;align-items:flex-start}
.calc-tool>*{flex:1 1 380px;min-width:0}
.calc-fig-wrap{background:#fff;border:1px solid #e3e7ee;border-radius:14px;padding:1rem}
.calc-fig,.perf-fig,.shape-fig{width:100%;height:auto;display:block}
.calc-form{background:#fff;border:1px solid #e3e7ee;border-radius:14px;padding:1.2rem 1.4rem}
.calc-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.7rem}
.calc-row>label{flex:0 0 38%;margin:0;color:#222;font-size:15px}
.calc-in{flex:1;display:flex;align-items:center;gap:.5rem;min-width:0}
.calc-in input,.calc-in select{flex:1;min-width:0;height:44px;border:1px solid #c9d1db;border-radius:8px;padding:0 .75rem;font-size:16px;background:#fff;color:#222}
.calc-in input:focus,.calc-in select:focus{outline:none;border-color:#17457e;box-shadow:0 0 0 3px rgba(23,69,126,.15)}
.calc-unit{flex:0 0 52px;color:#555;font-size:14px}
.calc-in input.calc-calc{background:#fff8e6;border-color:#f4b214;font-weight:700;color:#17457e}
.calc-pair{display:block}
.calc-label{font-size:15px;color:#222;margin:.4rem 0 .5rem}
.calc-err{color:#c0392b;font-size:14px;min-height:1.2em;margin:.4rem 0}
.calc-btns{display:flex;gap:1rem;justify-content:center;margin-top:.6rem}
.btn-calc{background:#17457e;color:#fff;min-width:150px;height:46px;border-radius:8px;font-weight:600}
.btn-calc:hover{background:#0f3360;color:#fff}
.btn-reset{background:#eef1f5;color:#333;min-width:150px;height:46px;border-radius:8px}
.seg{display:flex;background:#f4f6fa;border:1px solid #e3e7ee;border-radius:12px;padding:4px;margin-bottom:1rem}
.seg button{flex:1;border:0;background:transparent;border-radius:9px;height:42px;font-size:16px;color:#333}
.seg button.on{background:#f4b214;color:#000;font-weight:700}
.calc-big{display:flex;gap:2.5rem;flex-wrap:wrap;margin-top:1rem}
.big-num{font-size:2.4rem;font-weight:300;color:#17457e;line-height:1.1;display:flex;align-items:baseline;gap:.3rem}
.big-num select{border:0;background:transparent;font-size:1.2rem;color:#17457e;padding:0}
.big-num .p-u{font-size:1.2rem}
.calc-results{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin-top:1.4rem}
.calc-results>div{background:#f4f6fa;border-radius:12px;padding:.9rem 1rem}
.calc-results span{display:block;font-size:13px;color:#666}
.calc-results b{display:block;font-size:1.35rem;color:#17457e;font-weight:700;margin-top:.15rem}
.calc-results-sm{grid-template-columns:1fr 1fr 1fr}
.calc-results-sm b{font-size:1.1rem}
/* perforation tiles */
.perf-tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:.7rem}
.perf-tile{border:2px solid #e3e7ee;background:#fff;border-radius:12px;padding:.5rem;text-align:center;font-size:13px;color:#333;line-height:1.25}
.perf-tile .perf-ico{width:100%;height:auto;display:block;margin-bottom:.4rem}
.perf-tile.on{border-color:#f4b214;box-shadow:0 0 0 2px #f4b214 inset}
/* weight shape tiles */
.shape-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.shape-tile{display:block;text-align:center;color:#333;padding:.6rem .3rem .5rem;border-bottom:4px solid transparent;border-radius:6px}
.shape-tile:hover{text-decoration:none;background:#f4f6fa;color:#17457e}
.shape-tile.on{background:#f4f6fa;border-bottom-color:#f4b214}
.shape-tile .shape-ico{width:96px;max-width:100%;height:auto;display:block;margin:0 auto .35rem}
.shape-tile span{font-size:15px}
.shape-tiles-sm{grid-template-columns:repeat(8,1fr);gap:.4rem}
.shape-tiles-sm .shape-ico{width:56px}.shape-tiles-sm span{font-size:12px}
.calc-back{display:inline-block;margin-bottom:.3rem;color:#17457e;font-weight:600}
.w-fields{display:flex;flex-direction:column}
/* hub cards */
.calc-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #d8dfe8;border-radius:16px;overflow:hidden;color:#222;transition:box-shadow .2s,transform .2s}
.calc-card:hover{text-decoration:none;box-shadow:0 10px 28px rgba(23,69,126,.15);transform:translateY(-2px);color:#222}
.calc-card-img{background:#f4f6fa;padding:1.2rem 1.5rem;display:flex;align-items:center;justify-content:center;height:230px}
.calc-thumb{width:100%;max-height:190px;height:auto}
.calc-card-body{padding:1.1rem 1.4rem 1.3rem;border-top:4px solid #f4b214}
.calc-card-body h2{font-size:1.25rem;color:#17457e;font-weight:700;margin-bottom:.35rem}
.calc-card-body p{margin-bottom:.6rem;color:#555}
.calc-open{color:#17457e;font-weight:700}
.calc-mini{display:block;background:#f4f6fa;border-radius:12px;padding:.8rem;text-align:center;color:#17457e;font-weight:600;font-size:14px;height:100%}
.calc-mini .calc-thumb{max-height:90px;margin-bottom:.4rem}
.calc-mini:hover{text-decoration:none;background:#e8eef6}
.calc-banner{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1rem;background:#17457e;color:#fff;border-radius:12px;padding:1rem 1.3rem;margin:.5rem 0 1.5rem}
.calc-banner:hover{color:#fff;text-decoration:none;background:#0f3360}
.calc-banner b{font-size:1.15rem}.calc-banner span{opacity:.85;flex:1}.calc-banner i{font-style:normal;color:#f4b214;font-weight:700}
@media (max-width:991px){.perf-tiles{grid-template-columns:repeat(3,1fr)}.shape-tiles{grid-template-columns:repeat(3,1fr)}.shape-tiles-sm{grid-template-columns:repeat(5,1fr)}}
@media (max-width:575px){
 .calc-h1{font-size:1.6rem}
 .calc-tool{gap:1rem}.calc-tool>*{flex-basis:100%}
 .calc-form{padding:1rem}
 .calc-row{flex-direction:column;align-items:stretch;gap:.3rem}
 .calc-row>label{flex:none;font-size:14px;color:#444}
 .calc-results{grid-template-columns:1fr 1fr}.calc-results-sm{grid-template-columns:1fr}
 .calc-results b{font-size:1.15rem}
 .perf-tiles{grid-template-columns:repeat(2,1fr)}
 .shape-tiles{grid-template-columns:repeat(3,1fr);gap:.4rem}.shape-tile span{font-size:13px}
 .shape-tiles-sm{grid-template-columns:repeat(4,1fr)}
 .big-num{font-size:2rem}.calc-big{gap:1.5rem}
 .btn-calc,.btn-reset{min-width:0;flex:1}
 .calc-card-img{height:180px}
}
.calc-results-main{grid-template-columns:repeat(4,1fr)}
.calc-results-main .hl{grid-column:span 2;background:#17457e;color:#fff}
.calc-results-main .hl span{color:#c9d8ea}.calc-results-main .hl b{color:#fff;font-size:1.8rem}
.calc-results small{display:block;font-size:12.5px;color:#666;margin-top:.15rem}
.calc-results-main .hl small{color:#f4d58a}
.perf-check{margin-top:1rem;border-radius:12px;padding:0}
.perf-check:empty{display:none}
.perf-check.ok,.perf-check.warn,.perf-check.bad{padding:1rem 1.2rem;border-left:6px solid}
.perf-check.ok{background:#eaf6ee;border-color:#2e8b57}.perf-check.warn{background:#fff6e0;border-color:#f4b214}.perf-check.bad{background:#fdecea;border-color:#c0392b}
.perf-check b{display:block;font-size:1.1rem;margin-bottom:.3rem}
.perf-check.ok b{color:#1e6b40}.perf-check.warn b{color:#8a5a00}.perf-check.bad b{color:#a52a1e}
.perf-check ul{margin:.2rem 0 .5rem 1.1rem;padding:0}.perf-check li{margin-bottom:.25rem}
.perf-check a{font-weight:700;color:#17457e}
@media (max-width:575px){.calc-results-main{grid-template-columns:1fr 1fr}.calc-results-main .hl b{font-size:1.4rem}}
/* world map footer */
.site-footer li,.site-footer li a,.site-footer p{text-shadow:0 0 3px #eef2f7,0 0 6px #eef2f7}
.site-footer li[style*="color"],.site-footer .text-muted{color:#4a5563!important}
@media (max-width:767px){.site-footer{background-size:760px auto!important;background-position:56% 2.5rem!important}}
.site-footer li{color:#333}
@media (min-width:768px){.site-footer{background-size:100% auto!important;background-position:center calc(124px - 11.99vw)!important}}

/* ---- product tree v7: model tables, glance list, drawings ---- */
.model-table{font-size:.9rem;border:1px solid #dfe5ee;background:#fff}
.model-table thead th{background:#17457e;color:#fff;border:0;font-weight:600;white-space:nowrap}
.model-table th[scope=row]{font-weight:600;white-space:nowrap;color:#17457e}
.model-table th[scope=row] a{color:#17457e}
.model-table td,.model-table th{vertical-align:top;border-top:1px solid #e6ebf2}
.model-table tbody tr:nth-child(even){background:#f6f8fb}
.mcode{font-family:Consolas,Menlo,monospace;font-size:.85rem;background:#eef2f7;color:#17457e;padding:.1rem .35rem;border-radius:3px;white-space:nowrap}
.glance{list-style:none;padding:0;margin:0 0 1.5rem;display:flex;flex-wrap:wrap;gap:.4rem}
.glance li{background:#f4b2141f;border-left:3px solid #f4b214;padding:.25rem .6rem;font-size:.9rem;color:#34495e}
.prod-fig{margin:0}
.prod-fig.drawing{background:#fff;border:1px solid #e6ebf2;padding:.5rem}
.prod-fig figcaption{font-size:.8rem;color:#6c7a89;margin-top:.3rem}
.card-img[src$=".svg"]{background:#fff;object-fit:contain}
.rec-line{background:#eef2f7;padding:.75rem 1rem;border-left:3px solid #17457e}
.tree-card .tree-item{padding-left:1.4rem}
@media (max-width:575px){.model-table{font-size:.82rem}.model-table th[scope=row]{white-space:normal}}
@media (max-width:575px){.product-body ~ *,h1.heading{word-break:normal}h1.heading{font-size:1.35rem!important}.btn-quote.float-right{float:none!important}}

/* ---- completed projects ---- */
.proj-card{display:block;height:100%;background:#fff;border:1px solid #dfe5ee;color:#34495e;text-decoration:none;transition:box-shadow .2s}
.proj-card:hover{box-shadow:0 6px 18px rgba(23,69,126,.15);text-decoration:none;color:#34495e}
.proj-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.proj-meta{display:block;padding:.6rem .9rem 0;font-size:.8rem;color:#f4b214;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.proj-title{display:block;padding:.2rem .9rem;font-weight:600;color:#17457e;text-transform:uppercase;font-size:.95rem}
.proj-sum{display:block;padding:0 .9rem .9rem;font-size:.88rem}

/* ---- solution pages: machine list ---- */
.machine-list{counter-reset:m;list-style:none;padding-left:0}
.machine-list>li{counter-increment:m;position:relative;padding:.6rem .8rem .6rem 3rem;border-bottom:1px solid #e6ebf2}
.machine-list>li::before{content:counter(m);position:absolute;left:.6rem;top:.55rem;width:1.7rem;height:1.7rem;border-radius:50%;background:#17457e;color:#fff;font-weight:700;font-size:.85rem;display:flex;align-items:center;justify-content:center}
.machine-list>li>strong{color:#17457e;text-transform:uppercase;font-size:.92rem}
.machine-list ul{margin:.3rem 0 0;padding-left:1.1rem;font-size:.92rem}
.spec-table th[scope=row]{width:35%;white-space:normal}
.line-gallery img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border:1px solid #e6ebf2}
.loc-card .map-frame { height: 220px; border-radius: 4px; }
.yt-facade{position:relative;display:block;width:100%;aspect-ratio:16/9;background:#000 center/cover no-repeat;border-radius:4px;cursor:pointer;overflow:hidden}
.yt-facade img{width:100%;height:100%;object-fit:cover;opacity:.9}
.yt-facade .yt-play{position:absolute;left:50%;top:50%;width:72px;height:50px;margin:-25px 0 0 -36px;background:#17457e;border-radius:12px;opacity:.92}
.yt-facade .yt-play:after{content:"";position:absolute;left:29px;top:15px;border-style:solid;border-width:10px 0 10px 18px;border-color:transparent transparent transparent #fff}
.yt-facade:hover .yt-play{background:#f4b214}
.yt-facade iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
