/*
Theme Name: BREWDETS Corporate Construction
Description: Classic corporate construction theme with live Customizer and Business Portal.
Version: 5.3.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: brewdets
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font,system-ui),sans-serif;color:var(--ink,#101010);background:var(--paper,#fff);line-height:1.65}a{color:inherit}button,a{touch-action:manipulation}:focus-visible{outline:3px solid #957500;outline-offset:4px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 6vw;border-bottom:1px solid #ddd;background:var(--paper);flex-wrap:wrap}.brand{font-weight:900;font-size:25px;text-decoration:none}.brand:empty{display:none}.custom-logo{max-width:200px;max-height:65px;width:auto;height:auto}.site-header nav,.site-header ul{display:flex;gap:22px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.site-header nav a{text-decoration:none;font-weight:600}.site-header nav a:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 24px;border:1px solid transparent;border-radius:6px;background:var(--accent);color:#101010;font-weight:750;text-decoration:none;min-height:46px}.btn:hover{filter:brightness(.93)}.outline{background:transparent;border-color:currentColor;color:var(--ink)}.disabled{opacity:.55;cursor:not-allowed}.bd-hero{position:relative;isolation:isolate;overflow:hidden;background:#e8edf0}.bd-slides{position:absolute;inset:0;z-index:-2}.bd-slides figure{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1s}.bd-slides figure:first-child,.bd-slides figure.is-active{opacity:1}.bd-slides.is-ready figure:not(.is-active){opacity:0}.bd-slides img{width:100%;height:100%;object-fit:cover}.bd-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:rgba(255,255,255,var(--overlay,.65));pointer-events:none}.bd-hero-content{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:70px 60px 95px;gap:20px}.bd-hero-content h1{line-height:1.12;letter-spacing:-.045em;margin:0;max-width:1200px}.bd-hero-content p{max-width:850px;margin:0}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);border-left:3px solid var(--accent);padding-left:12px;display:inline-block}.actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}.bd-controls{position:absolute;inset:0;pointer-events:none}.bd-controls button{pointer-events:auto;cursor:pointer;background:#fff;border:0;box-shadow:0 2px 12px #0002;color:#111}.bd-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;font-size:30px}.bd-prev{left:14px}.bd-next{right:14px}.bd-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center}.bd-dot{width:12px;height:12px;border-radius:50%;background:#aaa!important;padding:0}.bd-dot[aria-current=true]{background:var(--accent)!important}.bd-pause{padding:6px 12px;border-radius:20px}.section{padding:76px 5vw;scroll-margin-top:20px}.container{max-width:1320px;margin:auto}.section h2{font-size:clamp(28px,4vw,48px);line-height:1.2;letter-spacing:-.035em;margin:10px 0 24px}.section-heading{text-align:center;margin-bottom:38px}.section-portal,.section-projects{background:#f3f5f7}.section-contact{background:var(--accent);color:#101010}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px}.item{border:1px solid #e0e3e6;border-radius:10px;background:var(--paper);overflow:hidden;box-shadow:0 8px 30px #00000008}.item img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.item-body,.app{padding:26px}.app{display:flex;align-items:flex-start;flex-direction:column;gap:12px;min-height:230px}.app h3{margin:0 0 12px;line-height:1.3}.app .btn{margin-top:auto}.app-icon{background:var(--accent);color:#101010;border-radius:6px;padding:10px;font-size:14px;font-weight:800}.site-footer{background:#151515;color:white;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:35px 6vw}.section img{max-width:100%;height:auto}@media(max-width:800px){.cards{grid-template-columns:1fr}.site-header{gap:12px}.site-header nav{order:3;width:100%;gap:12px}.bd-hero-content{padding:55px 48px 85px}.bd-arrow{width:32px;height:32px;font-size:23px}.bd-prev{left:5px}.bd-next{right:5px}.section{padding:50px 5vw}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bd-slides figure{transition:none}}

/* Business portal refresh */
.section-portal{background:radial-gradient(ellipse at 0 0,#fccc0818,transparent 35%),linear-gradient(135deg,#f9fafb,#eef2f5);position:relative}.section-portal .section-heading{max-width:850px;margin:0 auto 42px}.section-portal .eyebrow{border:0;padding:0;color:#806500}.section-portal .eyebrow:before,.section-portal .eyebrow:after{content:'';display:inline-block;width:32px;height:2px;background:var(--accent);vertical-align:middle;margin:0 12px}.portal-cards{gap:20px}.portal-cards .app{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:22px;min-height:190px;padding:26px;border-radius:18px;background:#fff;border:1px solid #dce2e8;box-shadow:0 7px 20px #182b4210;transition:transform .22s,box-shadow .22s,border-color .22s}.portal-cards .app:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(140deg,transparent 88%,#fccc081a 88%)}.portal-cards .app:hover,.portal-cards .app:focus-within{transform:translateY(-4px);border-color:var(--accent);box-shadow:0 14px 30px #182b421c}.app-head{display:flex;align-items:flex-start;gap:18px;width:100%}.portal-cards .app-icon{flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;padding:13px;border-radius:14px;background:linear-gradient(145deg,#fff0a5,var(--accent));color:#101010}.app-icon svg{width:100%;height:100%}.app-copy{border-left:1px solid #e1e5eb;padding-left:17px;min-width:0}.portal-cards .app h3{font-size:clamp(15px,1.3vw,20px);margin:0 0 6px;overflow-wrap:anywhere}.app-copy p{color:#48515c;font-size:14px;line-height:1.45;margin:0}.app-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto}.portal-cards .app .btn{margin:0;gap:10px;border-radius:9px;padding:10px 22px;min-height:44px}.app-actions small{color:#56616e;font-size:12px}.portal-cards .disabled{background:#fff0b0;color:#6c6550;opacity:1}.portal-cards .disabled:hover{filter:none}@media(max-width:1050px){.portal-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.portal-cards{grid-template-columns:1fr}.portal-cards .app{min-height:165px;padding:20px}.portal-cards .app-icon{flex-basis:50px;width:50px;height:50px}.section-portal .eyebrow:before,.section-portal .eyebrow:after{display:none}}@media(prefers-reduced-motion:reduce){.portal-cards .app{transition:none}.portal-cards .app:hover{transform:none}}

.site-header .brand,.site-header .custom-logo-link{display:flex;align-items:center;flex-shrink:0}.bd-brand-logo{display:block;width:200px;max-width:100%;height:auto}@media(max-width:600px){.bd-brand-logo{width:160px}}

/* Responsive header */
.bd-header-menu{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:1;min-width:0}.bd-header-menu nav{margin-inline:auto}.bd-menu-toggle{display:none}.site-header nav li{position:relative}.site-header nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;background:var(--paper);padding:12px;z-index:20;box-shadow:0 8px 24px #0002}.site-header nav li:hover>.sub-menu,.site-header nav li:focus-within>.sub-menu{display:flex;flex-direction:column}
@media(max-width:1000px){.site-header{padding:12px 5vw;gap:10px;position:relative;z-index:30;flex-wrap:wrap}.site-header .brand,.site-header .custom-logo-link{max-width:calc(100% - 60px)}.site-header .bd-brand-logo,.site-header .custom-logo{width:160px;max-width:100%;height:auto;max-height:48px;object-fit:contain}.bd-header-menu{flex:0 0 100%;width:100%;flex-direction:column;align-items:stretch;gap:12px;padding:8px 0 4px;border-top:1px solid #e5e7eb}.bd-header-menu nav,.bd-header-menu nav ul{display:flex;flex-direction:column;gap:0;width:100%;margin:0;order:0}.bd-header-menu nav a{display:block;padding:10px 8px;border-bottom:1px solid #eee}.bd-header-menu nav .sub-menu{display:flex;position:static;box-shadow:none;padding:0 0 0 16px;min-width:0}.bd-header-menu>.btn{width:100%}.bd-menu-ready .bd-menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;border:1px solid #e0e3e6;border-radius:8px;background:var(--paper);color:var(--ink);cursor:pointer;margin-left:auto}.bd-menu-toggle span{width:22px;height:2px;background:currentColor;border-radius:2px;transition:transform .2s,opacity .2s}.bd-menu-ready .bd-header-menu{display:none}.bd-menu-ready .bd-header-menu.is-open{display:flex}.bd-menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.bd-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}.bd-menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}}
@media(prefers-reduced-motion:reduce){.bd-menu-toggle span{transition:none}}
