/*
Theme Name: BEST Studio Editable EN-FR
Theme URI: https://bambuiyengineering.com
Author: BEST Website Studio
Description: Entirely block-editable bilingual corporate website for Bambuiy Engineering Services and Techniques, designed for the WordPress Site Editor.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: best-editable
*/
:root{--best-ox:#4A0E18;--best-ox2:#791F31;--best-black:#111111;--best-cream:#F7F5F5;--best-muted:#5E5E63;--best-max:1200px}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--best-black);font-family:Inter,Arial,sans-serif}body .wp-site-blocks{overflow-x:clip}a{color:var(--best-ox)}a:hover{color:var(--best-ox2)}img{max-width:100%;height:auto}h1,h2,h3,h4{font-family:Montserrat,Arial,sans-serif;line-height:1.16;letter-spacing:-.035em}h1{font-size:clamp(34px,4.6vw,60px)}h2{font-size:clamp(26px,3.2vw,42px)}h3{font-size:clamp(18px,2vw,23px)}p{line-height:1.65}
.best-header{position:relative;z-index:40}.best-header-wrap{background:#fff;box-shadow:0 1px 14px rgba(0,0,0,.08)}.best-header-inner{max-width:var(--best-max);min-height:92px;padding:9px 18px!important;gap:18px;align-items:center}.best-brand{gap:12px}.best-small-logo img{height:auto!important;object-fit:contain}.best-name-stack{gap:0!important}.best-brand-line{font-family:Montserrat,Arial,sans-serif;font-size:clamp(13px,1.45vw,19px);line-height:1.15!important;letter-spacing:-.02em;color:#111;margin:0!important}.best-brand-line strong{font-weight:800!important}.best-brand-tagline{font-size:clamp(10px,1.1vw,12px)!important;color:var(--best-ox);margin:3px 0 0!important;line-height:1.2!important}.best-header-info{gap:20px!important}.best-contact-details{margin:0;font-size:12px;color:#555}.best-contact-details a{color:inherit}.best-lang-pills{display:inline-flex;align-items:center;gap:0;white-space:nowrap}.best-lang-pills a{display:inline-flex;padding:9px 12px;background:#f0eeee;color:#333;text-decoration:none;font-weight:700;font-size:12px}.best-lang-pills a.is-current{background:var(--best-ox);color:white}.best-nav-band{background:#111;padding:0 18px!important}.best-nav-band>.wp-block-navigation{max-width:var(--best-max);margin:auto;min-height:45px}.best-nav-band .wp-block-navigation__container{gap:0!important}.best-nav-band .wp-block-navigation-item__content{color:#fff!important;text-decoration:none;padding:14px 13px;font-size:13px;transition:background .2s}.best-nav-band .wp-block-navigation-item__content:hover,.best-nav-band .wp-block-navigation-item__content:focus-visible{background:var(--best-ox);color:#fff!important}.best-nav-band .wp-block-navigation__responsive-container-open{color:#fff}.best-nav-band .wp-block-navigation__responsive-container.is-menu-open{background:#111;color:#fff;padding:24px}.best-nav-band .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:#fff}.best-nav-band .best-fr-nav{display:none}body.best-is-french .best-nav-band .best-en-nav{display:none}body.best-is-french .best-nav-band .best-fr-nav{display:flex}
/* Elementor optional: block-first layout doesn't require Elementor */
.best-main{margin-block-start:0!important}.best-main>.wp-block-post-content{margin-block-start:0!important}.best-main .wp-block-post-content>*{margin-top:0}.best-section{padding:72px max(22px,calc((100vw - var(--best-max))/2));margin:0!important}.best-section.best-section-light{background:#fff}.best-section.best-section-muted{background:var(--best-cream)}.best-section.best-section-dark{background:var(--best-black);color:#fff}.best-section.best-section-ox{background:linear-gradient(110deg,#28080f,#6b1727);color:#fff}.best-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--best-ox);text-transform:uppercase;margin-bottom:6px!important}.best-section-dark .best-kicker,.best-section-ox .best-kicker{color:#f0cdd4}.best-section h2,.best-section h3{margin-top:10px!important;margin-bottom:15px!important}.best-section p{max-width:760px}.best-section p:not(.best-kicker){color:#515151}.best-section-dark p,.best-section-ox p{color:#f3e5e8!important}.best-section>.wp-block-columns{margin-bottom:0}.best-section .wp-block-column{min-width:0}.best-section .wp-block-image img{width:100%;object-fit:cover;max-height:350px;border-radius:3px}.best-section .wp-block-image{margin:0}.best-section .wp-block-buttons{margin-top:25px}.best-section .wp-block-button__link{padding:13px 23px;border:0;transition:background .2s,transform .2s}.best-section .wp-block-button__link:hover{background:#861e32;color:#fff;transform:translateY(-1px)}.best-section .is-style-outline .wp-block-button__link{color:inherit;border-color:currentColor;background:transparent}.best-section .is-style-outline .wp-block-button__link:hover{color:#fff;background:#4a0e18;border-color:#4a0e18}
.best-hero{min-height:485px!important;position:relative;margin:0!important}.best-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(7,7,8,.95) 0%,rgba(15,15,15,.78) 37%,rgba(15,15,15,.18) 82%)!important;opacity:1!important}.best-hero>.wp-block-cover__inner-container{max-width:var(--best-max);width:100%;margin:auto!important;padding:65px 22px}.best-hero .best-hero-copy{max-width:620px}.best-hero h1{color:#fff;font-size:clamp(34px,4.5vw,60px);line-height:1.1;margin:10px 0 16px!important}.best-hero p{max-width:600px;color:#f6f6f6!important;line-height:1.55}.best-hero .best-kicker{color:#f8e8ea;max-width:700px;font-size:11px}.best-hero .wp-block-buttons{margin-top:25px}.best-benefits{padding:25px max(20px,calc((100vw - var(--best-max))/2));background:#fff;border-bottom:1px solid #eee;margin:0!important}.best-benefits .wp-block-columns{margin:0}.best-benefits .wp-block-column{border-right:1px solid #eee;padding:6px 16px}.best-benefits .wp-block-column:last-child{border:0}.best-benefits h3{font-size:14px;margin:0 0 4px!important;letter-spacing:-.01em}.best-benefits p{font-size:12px;color:#666;margin:0!important}.best-benefits .best-benefit-icon{font-size:28px;color:var(--best-ox);line-height:1;margin-bottom:8px!important}.best-cards{gap:18px!important}.best-card{background:#fff;border:1px solid #eee;border-radius:7px;box-shadow:0 3px 16px rgba(0,0,0,.05);overflow:hidden;transition:transform .2s,box-shadow .2s;height:100%}.best-card:hover,.best-card:focus-within{transform:translateY(-5px);box-shadow:0 15px 26px rgba(0,0,0,.11)}.best-card>figure{margin:0}.best-card figure img{width:100%;height:170px!important;max-height:none;object-fit:cover;border-radius:0}.best-card>.wp-block-group{padding:20px 18px 22px}.best-card h3{font-size:17px!important;margin:0 0 10px!important}.best-card p{font-size:13px;color:#626262!important;line-height:1.55}.best-card a{font-size:13px;font-weight:800;text-decoration:none}.best-card a:hover{text-decoration:underline}.best-lab-photo img{max-height:360px!important}.best-gallery img{height:250px;object-fit:cover}.best-callout{padding:34px;border-left:5px solid #4a0e18;background:#fbf8f9;border-radius:4px}.best-callout p{margin-bottom:0}.best-steps .wp-block-column{border-top:3px solid #4a0e18;padding:15px;background:#fff;box-shadow:0 2px 8px #0000000c}.best-content-width{max-width:850px;margin-left:auto;margin-right:auto}.best-page-hero{background:linear-gradient(105deg,#1e070c,#4a0e18);color:white;padding:75px max(22px,calc((100vw - var(--best-max))/2));margin:0!important}.best-page-hero h1{color:#fff;margin:8px 0 14px!important}.best-page-hero p{max-width:800px;color:#f1e4e7!important}.best-page-hero .best-kicker{color:#efb9c3}.best-faq details{border:1px solid #ded6d8;border-radius:5px;margin-bottom:12px;background:#fff;padding:16px 20px}.best-faq summary{font-weight:750;color:#4a0e18;cursor:pointer}.best-faq details p{margin-bottom:4px}.best-field-note{font-size:14px;color:#555!important}.best-form{max-width:800px}.best-form label{font-weight:700;display:block;margin:17px 0 6px}.best-form input,.best-form textarea,.best-form select{width:100%;border:1px solid #c9c9c9;padding:12px;border-radius:5px;font:inherit;background:#fff;color:#111}.best-form textarea{min-height:145px}.best-form button{background:var(--best-ox);color:white;border:0;border-radius:5px;padding:13px 22px;font-size:15px;font-weight:700;cursor:pointer}.best-form button:hover{background:var(--best-ox2)}.best-form-message{padding:12px 16px;border-left:4px solid var(--best-ox);background:#f5edf0}.best-honey{position:absolute!important;left:-9999px!important;height:1px!important;overflow:hidden!important}.best-footer-outer{margin-top:0!important;background:#111;color:#fff;padding:60px 22px 18px}.best-footer-outer>.wp-block-columns,.best-footer-outer>.wp-block-separator{max-width:var(--best-max);margin-left:auto;margin-right:auto}.best-footer-outer h3{font-size:16px!important;color:#fff}.best-footer-outer p{font-size:14px;color:#dbdbdb}.best-footer-outer a{color:#f6cdd5;text-decoration:none}.best-footer-outer a:hover{text-decoration:underline}.best-footer-outer hr{border-color:#444;margin-top:42px!important;margin-bottom:18px!important}.best-footer-outer .has-text-align-center{color:#bdbdbd}
@media(max-width:1050px){.best-header-info .best-contact-details{display:none}.best-nav-band .wp-block-navigation-item__content{padding:13px 8px;font-size:12px}.best-section{padding:60px 30px}.best-benefits{padding:22px 30px}.best-page-hero{padding:70px 30px}}
@media(max-width:782px){.best-header-inner{min-height:74px;padding:9px 15px!important}.best-brand-line{font-size:clamp(11px,2.55vw,16px)!important}.best-brand-tagline{font-size:10px!important}.best-small-logo img{height:auto!important}.best-brand{gap:9px}.best-header-info{gap:8px!important}.best-lang-pills a{padding:7px 9px}.best-nav-band{padding:6px 18px!important}.best-nav-band .wp-block-navigation{min-height:33px}.best-nav-band .wp-block-navigation__responsive-container-open{display:flex!important}.best-nav-band .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.best-section{padding:52px 21px}.best-page-hero{padding:65px 21px}.best-benefits{padding:22px}.best-benefits .wp-block-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.best-benefits .wp-block-column{padding:4px 8px}.best-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}.best-hero{min-height:440px!important}.best-hero>.wp-block-cover__inner-container{padding:70px 22px}.best-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(9,9,9,.9),rgba(9,9,9,.54))!important}.best-footer-cols{gap:15px}}
@media(max-width:600px){.best-header-inner{gap:8px!important}.best-brand-line{font-size:11px;letter-spacing:-.025em}.best-brand-tagline{font-size:9px!important}.best-small-logo img{height:auto!important}.best-lang-pills a{padding:6px}.best-brand{gap:7px!important}.best-cards{grid-template-columns:1fr}.best-card figure img{height:210px!important}.best-section .wp-block-columns{display:block}.best-section .wp-block-column{margin-bottom:28px}.best-section .wp-block-column:last-child{margin-bottom:0}.best-benefits .wp-block-columns{grid-template-columns:repeat(2,1fr)}.best-hero{min-height:475px!important}.best-hero h1{font-size:35px}.best-hero .best-kicker{font-size:10px}.best-page-hero h1{font-size:35px}.best-footer-outer .wp-block-columns{display:block}.best-footer-outer .wp-block-column{margin-bottom:25px}.best-header-info{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.best-card,.best-section .wp-block-button__link{transition:none!important}.best-card:hover{transform:none}}

/* BEST 2026 refined, screenshot-inspired sections */
.best-header-info {gap:16px!important}
.best-contact-details p {margin:0 0 2px!important;font-size:11px;line-height:1.45!important}
.best-social-icons {margin:0!important;gap:7px!important}
.best-social-icons .wp-social-link {background:#4a0e18!important;transition:transform .2s,background .2s}
.best-social-icons .wp-social-link:hover {transform:translateY(-2px);background:#8b2134!important}
.best-brand-line {font-weight:800!important}
.best-brand-tagline {font-weight:600}
.best-nav-band .wp-block-navigation-item__content {font-weight:650}
.best-nav-band .wp-block-navigation__submenu-container {background:#161616!important;border:1px solid #333!important;box-shadow:0 14px 24px rgba(0,0,0,.24)}
.best-nav-band .wp-block-navigation__submenu-container .wp-block-navigation-item__content {padding:12px 18px!important}
.best-nav-band .best-fr-nav {display:none!important} body.best-is-french .best-nav-band .best-fr-nav {display:flex!important} body.best-is-french .best-nav-band .best-en-nav{display:none!important}
.best-hero{min-height:420px!important}
.best-hero>.wp-block-cover__inner-container{padding-top:55px;padding-bottom:55px}
.best-benefits h3{font-weight:800}
.best-home-brief{padding-top:42px!important;padding-bottom:46px!important}
.best-home-services{padding-top:48px!important;padding-bottom:52px!important}
.best-proof-bar{padding:24px max(22px,calc((100vw - var(--best-max))/2));background:linear-gradient(100deg,#29050d,#6d1626);color:#fff;margin:0!important}
.best-proof-bar .wp-block-columns{margin:0!important}
.best-proof-bar .wp-block-column{padding:7px 12px;border-right:1px solid #ffffff60}
.best-proof-bar .wp-block-column:last-child{border:0}
.best-proof-bar h3{color:#fff!important;font-size:16px!important;margin:0 0 3px!important}
.best-proof-bar p{font-size:12px;color:#f5e6ea!important;margin:0!important}
.best-lab-feature{position:relative;min-height:330px!important;margin:0!important}
.best-lab-feature .wp-block-cover__background{background:linear-gradient(90deg,rgba(50,5,15,.98),rgba(72,10,22,.9) 35%,rgba(15,15,15,.2) 85%)!important;opacity:1!important}
.best-lab-feature>.wp-block-cover__inner-container{max-width:var(--best-max);width:100%;margin:auto;padding:52px 22px}
.best-lab-feature h2{color:#fff;font-size:clamp(28px,3vw,43px);margin-top:9px!important;max-width:540px}
.best-lab-feature p{color:#fff!important;max-width:510px}
.best-lab-feature .best-kicker{color:#f7c7d0}
.best-lab-points{max-width:280px;margin-left:auto!important;background:#4a0e18e8;padding:24px!important;border-radius:6px}
.best-lab-points p{font-size:14px;color:#fff!important;margin:0 0 10px!important}
.best-two-col .wp-block-column{min-width:0}
.best-service-detail .wp-block-column{background:#fff;padding:22px;border:1px solid #eee;border-radius:7px;box-shadow:0 5px 15px #00000008}
.best-service-detail h3{color:var(--best-ox);font-size:20px!important}
.best-services-grid{margin-top:30px!important}
.best-feature-photo img{width:100%;max-height:420px;object-fit:cover;border-radius:6px}
.best-page-hero.best-contact-banner{background:linear-gradient(95deg,#27060e,#6c1a2b)}
.best-contact-main{background:#f8f6f6}
.best-contact-main .best-contact-form-column{padding:28px;background:#fff;border:1px solid #e9e3e5;border-radius:9px;box-shadow:0 10px 35px #0000000a}
.best-contact-main .best-contact-info-column{padding:30px;background:linear-gradient(160deg,#23050b,#5c1422);border-radius:9px;color:#fff}
.best-contact-info-column p,.best-contact-info-column h2,.best-contact-info-column h3{color:#fff!important}
.best-contact-info-column a{color:#ffd9e0!important}
.best-contact-info-column .best-kicker{color:#f9cdd7}
.best-contact-main .best-contact-info-column p{margin-bottom:17px}
.best-form button{min-height:47px;transition:transform .2s,background .2s}
.best-form button:hover{transform:translateY(-2px)}
.best-form input:focus,.best-form textarea:focus,.best-form select:focus{outline:2px solid #4a0e18;outline-offset:2px}
.best-form .best-form-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.best-form .best-form-grid .best-form-field {min-width:0}
.best-form .best-form-privacy{margin:16px 0!important;display:flex;align-items:flex-start;gap:10px}
.best-form .best-form-privacy input{width:18px;height:18px;flex:none;margin-top:3px}
.best-form .best-form-privacy span{color:#585858;font-size:13px}
.best-form input[type=checkbox]{accent-color:#4a0e18}
.best-faq .wp-block-details{border:1px solid #e5dcdf;border-radius:8px;padding:15px 20px;margin:0 0 10px!important;background:#fff}
.best-faq summary{font-weight:750;color:#4a0e18;cursor:pointer}
.best-faq details[open]{box-shadow:0 8px 20px #4a0e1812}
.best-small-legal{font-size:12px;opacity:.85}
@media(max-width:1050px){.best-contact-details{display:none!important}.best-header-info{gap:9px!important}}
@media(max-width:782px){.best-header-inner{min-height:72px!important}.best-brand-line{font-size:clamp(11px,2.7vw,17px)!important}.best-social-icons{gap:4px!important}.best-proof-bar{padding:18px 20px}.best-proof-bar .wp-block-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.best-proof-bar .wp-block-column{border:0}.best-lab-feature>.wp-block-cover__inner-container{padding:45px 20px}}
@media(max-width:600px){.best-header-info{margin-left:auto;gap:4px!important}.best-social-icons .wp-social-link{width:27px;height:27px}.best-small-logo{max-width:52px!important}.best-brand-line{font-size:10px!important}.best-brand-tagline{font-size:8px!important}.best-contact-main .wp-block-columns{display:block}.best-contact-main .wp-block-column{margin-bottom:16px}.best-form .best-form-grid{grid-template-columns:1fr}.best-lab-points{margin:20px 0 0!important}.best-proof-bar .wp-block-column{padding:7px 3px}}
.best-footer-fr{display:none!important} body.best-is-french .best-footer-fr{display:block!important} body.best-is-french .best-footer-en{display:none!important}
.best-footer-outer .best-footer-fr p,.best-footer-outer .best-footer-en p{margin:0 0 7px!important}

/* Slightly calmer desktop balance */
@media(min-width:1051px){.best-header-inner{padding-left:18px!important;padding-right:18px!important}.best-nav-band>.wp-block-navigation{max-width:1200px}}
