/*
Theme Name: Balacchi Modern
Description: Custom Balacchi homepage with video, industrial solutions and application sectors.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: balacchi-modern
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0c2335;--red:#e4473d;--ink:#122b3e;--muted:#65717b;--paper:#f5f6f4;--line:#dce1df}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);font-family:'DM Sans',Arial,sans-serif;background:#fff}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #e4473d;outline-offset:6px}.skip{position:absolute;top:-100px;z-index:20;background:white;padding:15px}.skip:focus{top:0}.header{height:96px;padding:0 5%;display:flex;align-items:center;gap:40px;background:white}.brand{display:flex;align-items:center;gap:15px}.brand img{width:52px;height:58px;object-fit:contain}.brand>span{font-family:Manrope,Arial,sans-serif;font-size:23px;font-weight:800;letter-spacing:1.5px}.brand small{display:block;font-size:8px;letter-spacing:1.6px;font-weight:600;margin-top:3px}.header nav{display:flex;gap:30px;margin-left:auto;font-size:13px;font-weight:600}.header nav a:hover{color:var(--red)}.header-cta{border:1px solid #cbd0d2;padding:15px 19px;font-size:12px;font-weight:700}.header-cta span{margin-left:20px}.menu-toggle{display:none}.hero{position:relative;background:var(--navy);color:white;min-height:710px;overflow:hidden}.hero-image{position:absolute;inset:0;background:url('assets/cutting.webp') center 48%/cover;transform:scale(1.015)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,24,40,.97) 0%,rgba(4,24,40,.87) 26%,rgba(4,24,40,.32) 70%,rgba(4,24,40,.08)),linear-gradient(0deg,rgba(4,24,40,.6),transparent 40%)}.hero-copy{position:relative;padding:66px 8% 115px;max-width:880px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.4px;margin:0 0 25px;line-height:1.8}.eyebrow i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--red);margin-right:8px;vertical-align:middle}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,Arial,sans-serif}h1{font-weight:500;font-size:90px;line-height:1.04;letter-spacing:-5px;margin-bottom:25px}h1 em{font-style:normal;color:#ff7a6c}h2{font-size:46px;line-height:1.16;letter-spacing:-2px;font-weight:600;margin-bottom:0}h2 span{color:#8b969c}h2 em{font-style:normal;color:#97aaae}.hero-desc{font-size:16px;line-height:1.8;color:#d5dfe3;margin-bottom:28px}.hero-actions{display:flex;align-items:center;gap:27px}.button{display:inline-flex;gap:38px;align-items:center;padding:17px 21px;font-size:12px;font-weight:700}.button span{font-size:18px}.red{background:var(--red);color:white}.red:hover{background:#ca362d}.watch{background:none;border:0;color:white;font-size:11px;padding:0;display:flex;align-items:center;gap:10px}.play{width:32px;height:32px;border:1px solid #8c9ba5;border-radius:50%;display:grid;place-items:center;font-size:9px;padding-left:2px}.hero-bottom{position:absolute;left:8%;right:8%;bottom:25px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.5px;color:#c2cfd6;border-top:1px solid #ffffff30;padding-top:22px}.hero-bottom b{padding:0 12px;font-weight:400}.hero-bottom a span{margin-left:15px}.hero-caption{position:absolute;right:8%;bottom:105px;border-left:2px solid var(--red);padding:3px 0 3px 16px}.hero-caption span{display:block;font-size:8px;letter-spacing:1.7px;color:#c9d5dc;margin-bottom:7px}.hero-caption strong{font-size:15px;font-weight:500}.proof{display:grid;grid-template-columns:1fr 1fr 1.3fr 1fr;padding:30px 8%;border-bottom:1px solid var(--line);gap:30px;align-items:center}.proof>div{border-right:1px solid var(--line)}.proof strong{font-size:27px;font-family:Manrope,sans-serif;font-weight:700;display:block;letter-spacing:-1px}.proof span{font-size:10px;color:var(--muted);display:block;margin-top:3px}.proof a{font-size:11px;display:flex;align-items:center;justify-content:flex-end;gap:20px}.proof a span{font-size:22px;color:var(--ink)}.section{padding:90px 8%}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:50px;margin-bottom:38px}.section-heading .eyebrow{color:#7b868b;margin-bottom:18px}.section-heading>p,.section-heading>div>p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:4px}.solution-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.solution-card{position:relative;min-height:460px;background:#122b3e;overflow:hidden;color:white}.solution-card>img{width:100%;height:100%;position:absolute;object-fit:cover;transition:transform .7s}.solution-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,23,36,.97),rgba(4,23,36,.05) 85%)}.solution-card:hover>img{transform:scale(1.035)}.card-top{position:relative;z-index:1;display:flex;justify-content:space-between;margin:27px;font-size:10px;letter-spacing:1.6px}.card-top span:last-child{font-size:24px;line-height:15px}.card-copy{position:absolute;bottom:32px;left:32px;right:32px;z-index:1}.card-copy h3{font-size:34px;font-weight:500;line-height:1.15;letter-spacing:-1px;margin-bottom:15px}.card-copy p{color:#d2dbe0;font-size:12px;line-height:1.7;max-width:320px;margin-bottom:22px}.text-link{display:flex;justify-content:space-between;width:100%;background:none;border:0;border-top:1px solid #ffffff50;padding:17px 0 0;color:white;text-align:left;font-size:11px}.text-link span{font-size:19px}.materials{padding-top:27px;display:flex;justify-content:space-between;align-items:center;gap:20px}.materials>span{font-size:8px;letter-spacing:1.4px;color:#859195}.materials p{font-size:11px;margin:0;color:#607079}.materials b{font-weight:400;color:#c3caca;margin:0 12px}.industries{background:var(--paper)}.subtle-link{border:0;border-bottom:1px solid #89969d;padding:10px 0 7px;background:none;font-size:11px;color:var(--ink);margin-top:15px}.subtle-link span{margin-left:30px}.industry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.industry{position:relative;border:0;padding:0;background:var(--navy);text-align:left;color:white;height:330px;overflow:hidden}.industry>img{width:100%;height:100%;object-fit:cover;transition:transform .7s}.industry:hover>img{transform:scale(1.04)}.industry:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,25,39,.9),transparent 80%)}.industry>span{position:absolute;bottom:23px;left:23px;right:23px;z-index:1}.industry small{font-size:8px;letter-spacing:1.7px;display:block;margin-bottom:9px}.industry strong{font-family:Manrope,sans-serif;font-size:21px;letter-spacing:-.5px;font-weight:500}.industry i{position:absolute;right:0;bottom:2px;font-style:normal;font-size:24px}.industry-tags{padding-top:28px;display:flex;flex-wrap:wrap;gap:9px}.industry-tags[hidden]{display:none}.industry-tags button{background:white;border:1px solid #d2d9d7;color:var(--ink);font-size:12px;padding:12px 17px}.company{display:grid;grid-template-columns:1fr 1fr;min-height:520px;background:var(--navy);color:white}.company-photo{position:relative;min-height:450px}.company-photo img{width:100%;height:100%;position:absolute;object-fit:cover}.company-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0c233588,transparent 70%)}.company-photo span{position:absolute;z-index:1;bottom:35px;left:16%;font-size:9px;letter-spacing:2px;color:white}.company-copy{padding:70px 16% 70px 12%}.company-copy h2{font-size:37px;letter-spacing:-1.5px;line-height:1.25;margin-bottom:25px}.company-copy>p:not(.eyebrow){font-size:13px;line-height:1.9;color:#b8c7ce}.company-copy .eyebrow{font-size:9px;color:#b8c7ce}.light{border:1px solid #627580;margin-top:14px}.light:hover{background:#ffffff15}.support{display:grid;grid-template-columns:1fr 1.3fr;gap:65px}.support h2{font-size:38px}.support-intro .eyebrow{color:#7b868b;font-size:9px}.service-list button{display:flex;align-items:center;text-align:left;gap:22px;background:none;width:100%;border:0;border-top:1px solid var(--line);padding:24px 0;color:var(--ink)}.service-list button:last-child{border-bottom:1px solid var(--line)}.service-list button>span{align-self:flex-start;font-size:10px;color:#9ba4a8;padding-top:5px}.service-list h3{font-size:18px;font-weight:600;margin-bottom:7px;letter-spacing:-.4px}.service-list p{font-size:11px;color:var(--muted);margin-bottom:0;line-height:1.6}.service-list b{margin-left:auto;font-weight:400;font-size:24px}.contact{display:flex;justify-content:space-between;align-items:center;gap:50px;background:#e9eeeb}.contact .eyebrow{font-size:9px}.contact h2{font-size:65px;letter-spacing:-3px;margin-bottom:25px}.contact h2 em{color:#58736c}.contact p{font-size:13px;line-height:1.8;color:#647871;margin-bottom:0}.contact-right{width:42%;display:flex;flex-direction:column;align-items:flex-start}.contact-email{font-family:Manrope,sans-serif;font-size:25px;font-weight:600;letter-spacing:-.7px;border-bottom:1px solid #a5b6ae;width:100%;padding-bottom:25px;margin-bottom:25px;display:flex;justify-content:space-between}.contact-right>a:not(.contact-email){font-size:15px;line-height:2}.contact-right small{font-size:10px;color:#7a8d84;margin-top:20px}footer{padding:50px 8% 20px}.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr .7fr;gap:35px;align-items:start}.footer-top .brand img{width:48px}.footer-top .brand>span{font-size:20px}.footer-top .brand small{font-size:7px}.footer-top>div>strong{font-size:8px;letter-spacing:1.3px}.footer-top p,.footer-top>div>a{font-size:11px;line-height:1.9;color:var(--muted);display:block;margin-top:12px}.footer-top>div>a{margin-top:5px}.footer-bottom{border-top:1px solid var(--line);margin-top:38px;padding-top:20px;display:flex;justify-content:space-between;font-size:8px;color:#8b969a;letter-spacing:.4px}dialog{width:min(760px,92vw);border:0;padding:45px;color:var(--ink);box-shadow:0 20px 100px #001b3040}dialog::backdrop{background:#061b2bd9}.close-dialog{position:absolute;right:15px;top:10px;border:0;background:none;font-size:32px;color:var(--ink)}dialog h2{font-size:34px;margin-bottom:20px}dialog p{font-size:14px;line-height:1.8;color:var(--muted)}dialog ul{line-height:2;font-size:14px}dialog img{width:100%;max-height:280px;object-fit:cover;margin-bottom:25px}dialog iframe{width:100%;aspect-ratio:16/9;border:0}dialog .eyebrow{font-size:9px}body:has(dialog[open]){overflow:hidden}@media(min-width:1600px){.hero-copy{padding-top:85px}.hero{min-height:780px}h1{font-size:106px}}@media(max-width:1100px){.header{padding:0 4%;gap:22px}.header nav{gap:18px}.header-cta{padding:13px}.brand>span{font-size:19px}.brand small{font-size:6px}.hero-caption{display:none}.materials{align-items:flex-start;flex-direction:column}.company-copy{padding:55px 10%}.company-copy h2{font-size:32px}.footer-top{grid-template-columns:1.4fr 1fr 1fr}.footer-top>div:last-child{display:none}}@media(max-width:760px){html{scroll-padding-top:70px}.header{height:80px;position:relative;z-index:5;padding:0 6%;gap:15px}.brand img{width:43px;height:48px}.brand>span{font-size:19px}.brand small{font-size:6px}.header-cta{display:none}.menu-toggle{display:block;margin-left:auto;border:0;background:none;font-size:26px;color:var(--ink)}.header nav{display:none;position:absolute;top:80px;left:0;right:0;margin:0;background:white;padding:25px 6%;border-top:1px solid var(--line);box-shadow:0 10px 20px #00102015;flex-direction:column;gap:25px}.header nav.open{display:flex}.hero{min-height:695px}.hero-copy{padding:55px 7% 110px}.hero-image{background-position:61% center}.hero-shade{background:linear-gradient(90deg,#051b2be8,#051b2b70),linear-gradient(0deg,#051b2b88,transparent)}h1{font-size:75px;letter-spacing:-4px}.eyebrow{font-size:8px;letter-spacing:1.7px}.hero-desc{font-size:14px;line-height:1.8}.hero-actions{align-items:flex-start;flex-direction:column;gap:22px}.hero-bottom{left:7%;right:7%;font-size:7px;line-height:1.6;gap:25px}.hero-bottom span{max-width:170px}.hero-bottom b{padding:0 4px}.hero-bottom a{max-width:105px}.proof{grid-template-columns:1fr 1fr;padding:26px 7%;gap:24px}.proof strong{font-size:25px}.proof span{font-size:9px}.proof>div:nth-child(2){border:0}.proof>div:nth-child(3){grid-column:1/3;border:0;border-top:1px solid var(--line);padding-top:20px}.proof>div:nth-child(3) strong{font-size:20px}.proof>a{display:none}.section{padding:60px 7%}.section-heading{display:block;margin-bottom:28px}.section-heading>p,.section-heading>div>p:not(.eyebrow){margin-top:23px}h2{font-size:36px;letter-spacing:-1.5px}.solution-grid{grid-template-columns:1fr;gap:18px}.solution-card{min-height:425px}.card-copy{left:25px;right:25px;bottom:25px}.card-copy h3{font-size:31px}.materials p{line-height:2}.materials b{margin:0 6px}.industry-grid{grid-template-columns:1fr}.industry{height:300px}.company{grid-template-columns:1fr}.company-photo{min-height:330px}.company-copy{padding:50px 7%}.company-copy h2{font-size:35px}.support{grid-template-columns:1fr;gap:30px}.support h2{font-size:33px}.service-list button{gap:15px}.service-list h3{font-size:17px}.contact{display:block}.contact h2{font-size:57px}.contact-right{width:100%;margin-top:40px}.contact-email{font-size:24px}.footer-top{grid-template-columns:1fr 1fr;gap:30px}.footer-top>.brand{grid-column:1/3;margin-bottom:10px}.footer-bottom{gap:20px;line-height:1.8}.footer-bottom>span:last-child{display:none}footer{padding:45px 7% 25px}dialog{padding:45px 25px 30px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;transform:none!important}}

.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;background:#0c2335}.hero-shade{pointer-events:none}.video-toggle{position:absolute;z-index:2;right:8%;top:28px;display:flex;align-items:center;gap:9px;border:1px solid #ffffff60;background:#071d3080;color:white;padding:10px 13px;font-size:10px;letter-spacing:.4px;backdrop-filter:blur(6px)}.video-toggle:hover{background:#071d30d0}@media(max-width:760px){.video-toggle{top:auto;bottom:94px;right:7%;padding:8px 10px}.hero-video{object-position:60% center}}

body.admin-bar .header{position:relative;} .wp-page-content{max-width:1000px;margin:auto;padding:70px 7%;line-height:1.8}

.solutions-menu{position:relative}.solutions-menu summary{list-style:none;cursor:pointer;white-space:nowrap}.solutions-menu summary::-webkit-details-marker{display:none}.solutions-menu summary span{margin-left:5px}.solutions-menu>div{position:absolute;z-index:10;top:30px;left:-20px;min-width:220px;padding:10px 0;background:white;border:1px solid #dce1df;box-shadow:0 15px 35px #0c233520}.solutions-menu>div a{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;font-size:12px}.solutions-menu>div a:hover{background:#f5f6f4}.catalogue-hero{display:grid;grid-template-columns:1fr 1fr;background:#0c2335;color:white;min-height:450px}.catalogue-hero>div{padding:65px 12% 65px 16%;align-self:center}.catalogue-hero .eyebrow{font-size:9px;color:#a0b2bc}.catalogue-hero h1{font-size:54px;letter-spacing:-2.6px;line-height:1.1;margin-bottom:25px}.catalogue-hero h1 span{color:#e4473d}.catalogue-hero p:not(.eyebrow){font-size:14px;line-height:1.8;color:#bfced6;margin-bottom:28px}.catalogue-hero>img{width:100%;height:100%;min-height:450px;object-fit:cover}.catalogue-intro h2{font-size:40px}.range-notes{display:grid;grid-template-columns:1fr 1fr;gap:70px;margin-top:45px}.range-notes article{border-top:1px solid #dce1df;padding-top:25px}.range-notes article>span{font-size:9px;letter-spacing:1.7px;color:#839197}.range-notes h3{font-size:24px;margin:18px 0 12px;letter-spacing:-.7px}.range-notes p{font-size:13px;line-height:1.9;color:#65717b}.catalogue{background:#f5f6f4}.catalogue-toolbar{display:flex;gap:25px;align-items:center;justify-content:space-between}.catalogue-filters{display:flex;gap:7px;flex-wrap:wrap}.catalogue-filters button{border:1px solid #cdd5d4;background:transparent;color:#122b3e;padding:11px 17px;font-size:11px}.catalogue-filters button.selected{background:#0c2335;color:white;border-color:#0c2335}.catalogue-search input{padding:12px 16px;background:white;border:1px solid #cdd5d4;font:inherit;font-size:12px;color:#122b3e;width:220px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.catalogue-count{font-size:10px;color:#7c898f;padding-top:20px;margin-bottom:20px}.machine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.machine-card{display:flex;flex-direction:column;background:white;border:1px solid #e3e7e5}.machine-card[hidden]{display:none}.machine-image{height:235px;background:#ecf0ed;padding:20px}.machine-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.machine-no-photo{height:100%;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:18px;background:#0c2335;color:white}.machine-no-photo span{font-size:8px;letter-spacing:2px;color:#a5bdc6}.machine-no-photo strong{font-size:29px;letter-spacing:-1px}.machine-no-photo small{font-size:7px;letter-spacing:1px;color:#a5bdc6}.machine-copy{padding:24px;flex:1;display:flex;flex-direction:column}.machine-series{font-size:8px;color:#7c8b91;letter-spacing:1.6px}.machine-copy h3{font-size:22px;font-weight:600;margin:12px 0;letter-spacing:-.5px}.machine-copy p{font-size:12px;line-height:1.8;color:#65717b;margin-bottom:23px}.machine-copy button{border:0;border-top:1px solid #dce1df;background:none;color:#122b3e;margin-top:auto;width:100%;padding:16px 0 0;display:flex;justify-content:space-between;text-align:left;font-size:11px}.machine-copy button span{font-size:20px}.empty-results{padding:35px 0;color:#65717b;font-size:14px}@media(max-width:1100px){.catalogue-hero h1{font-size:43px}.machine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue-hero>div{padding:50px 12%}.range-notes{gap:35px}}@media(max-width:760px){.solutions-menu>div{position:static;box-shadow:none;border:0;border-left:2px solid #e4473d;min-width:0;margin-top:15px}.catalogue-hero{grid-template-columns:1fr}.catalogue-hero>div{padding:50px 7%}.catalogue-hero>img{min-height:0;height:280px}.catalogue-hero h1{font-size:45px;letter-spacing:-2px}.catalogue-intro h2{font-size:33px}.range-notes{grid-template-columns:1fr;gap:20px;margin-top:30px}.range-notes h3{font-size:22px}.catalogue-toolbar{align-items:stretch;flex-direction:column;gap:20px}.catalogue-search input{width:100%}.machine-grid{grid-template-columns:1fr}.machine-image{height:260px}.catalogue-filters button{padding:11px 14px}}

/* Complete application gallery */
#applications-grid .industry{height:300px}#applications-grid .industry>span{bottom:24px;left:24px;right:24px}#applications-grid .industry strong{display:block;max-width:calc(100% - 28px);font-size:20px;line-height:1.25}#applications-grid .industry:after{background:linear-gradient(0deg,rgba(5,25,39,.96),rgba(5,25,39,.12) 85%)}#applications-grid .industry img{object-fit:cover}.subtle-link{display:inline-block}@media(min-width:761px) and (max-width:1100px){#applications-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){#applications-grid .industry{height:285px}#applications-grid .industry strong{font-size:22px}}
