/*
Theme Name: PACL Commerce
Theme URI: https://loag.co.tz/
Author: LOAG LIMITED
Description: Commerce-first WordPress demo theme for Priscus Alexander Company Limited (PACL): building materials, transport and logistics.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pacl-commerce
*/
:root{
 --ink:#07131f;--blue:#062f68;--blue2:#084c93;--cyan:#13aee7;--paper:#f5f7f8;--line:#dce3e8;--muted:#66727d;--white:#fff;
 --radius:28px;--shadow:0 18px 55px rgba(5,25,45,.12);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.45}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.wrap{width:min(1380px,92vw);margin:auto}
.site-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(10,30,50,.08)}
.header-inner{height:82px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:-.03em}.brand-mark{width:44px;height:44px;border:3px solid var(--blue);border-radius:11px;display:grid;place-items:center;color:var(--blue);font-size:14px}.brand small{display:block;font-size:9px;letter-spacing:.18em;color:var(--muted)}
nav{margin-left:auto;display:flex;gap:26px;font-size:14px;font-weight:700}nav a:hover{color:var(--blue2)}
.header-actions{display:flex;gap:9px}.btn{border:0;border-radius:999px;padding:14px 20px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}
.btn:hover{transform:translateY(-1px)}.btn-dark{background:var(--ink);color:#fff}.btn-blue{background:var(--blue);color:#fff}.btn-light{background:#fff;color:var(--ink)}.btn-outline{border:1px solid var(--line);background:#fff}
.menu-btn{display:none;background:none;border:0;font-size:26px}
.hero{min-height:720px;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(4,18,31,.91) 0%,rgba(4,18,31,.68) 46%,rgba(4,18,31,.14) 75%),url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=86') center/cover}
.hero .wrap{min-height:720px;display:flex;align-items:center}.hero-copy{width:min(800px,90%);color:#fff;padding:80px 0}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:900}.hero h1{font-size:clamp(58px,8.2vw,126px);line-height:.82;letter-spacing:-.07em;margin:20px 0 28px}
.hero p{font-size:19px;max-width:630px;color:#e9f0f4}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.commerce-dock{margin-top:-72px;position:relative;z-index:10}.dock{background:#fff;border-radius:30px;box-shadow:var(--shadow);padding:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.dock-card{padding:26px;border-radius:22px;background:var(--paper);min-height:170px;position:relative;cursor:pointer;transition:.2s}.dock-card:hover{background:#eaf5fb;transform:translateY(-3px)}
.dock-card .num{font-size:11px;color:var(--muted);font-weight:900}.dock-card h3{font-size:27px;margin:30px 0 8px;letter-spacing:-.04em}.dock-card p{margin:0;color:var(--muted);font-size:14px}.arrow{position:absolute;right:22px;top:22px;font-size:24px}
.section{padding:110px 0}.section-sm{padding:70px 0}.kicker{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:var(--blue2)}
.display{font-size:clamp(42px,6vw,86px);line-height:.96;letter-spacing:-.06em;margin:16px 0 24px}.lead{font-size:19px;color:var(--muted);max-width:720px}
.searchbar{margin-top:38px;display:flex;border:1px solid var(--line);border-radius:999px;padding:8px;background:#fff;box-shadow:0 12px 40px rgba(10,30,50,.06)}
.searchbar input{flex:1;border:0;outline:0;padding:12px 18px;font-size:17px;background:transparent}
.cat-row{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.chip{padding:10px 15px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:800;cursor:pointer;background:#fff}.chip.active,.chip:hover{background:var(--ink);color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;transition:.2s}.product:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.product-img{height:250px;background:#eef2f4 center/cover}.product-body{padding:20px}.product-meta{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:900}.product h3{margin:9px 0 5px;font-size:20px}.product p{font-size:13px;color:var(--muted);min-height:38px}.product-actions{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.price{font-size:12px;font-weight:900;color:var(--blue2)}
.dark{background:var(--blue);color:#fff}.dark .lead{color:#c7d8e9}.journey{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}
.quote-panel{background:#fff;color:var(--ink);border-radius:30px;padding:28px;box-shadow:var(--shadow)}.tabs{display:flex;gap:6px;background:#eef2f5;border-radius:999px;padding:5px;margin-bottom:24px}.tab{flex:1;border:0;border-radius:999px;padding:12px;font-weight:800;cursor:pointer}.tab.active{background:var(--ink);color:#fff}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:var(--muted)}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:14px;padding:14px;font:inherit;background:#fff}.field textarea{min-height:90px;resize:vertical}
.steps{margin-top:34px}.step{display:grid;grid-template-columns:50px 1fr;gap:16px;padding:22px 0;border-top:1px solid rgba(255,255,255,.18)}.step b{width:38px;height:38px;border:1px solid rgba(255,255,255,.4);border-radius:50%;display:grid;place-items:center}.step h4{margin:0 0 5px;font-size:20px}.step p{margin:0;color:#c7d8e9}
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.feature-img{min-height:560px;border-radius:32px;background:url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1400&q=85') center/cover}.feature-copy{border-radius:32px;background:var(--paper);padding:58px;display:flex;flex-direction:column;justify-content:center}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:35px}.stat{background:#fff;border-radius:18px;padding:18px}.stat strong{font-size:30px;display:block}.stat span{font-size:12px;color:var(--muted)}
.track{background:var(--ink);color:#fff;border-radius:32px;padding:55px;display:grid;grid-template-columns:1fr .8fr;gap:40px}.trackbox{background:#fff;border-radius:22px;padding:12px;display:flex;align-items:center}.trackbox input{border:0;outline:0;flex:1;padding:12px;font-size:16px}.status-card{background:#102333;border-radius:24px;padding:26px}.status-line{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.1);font-size:14px}.dot{width:12px;height:12px;border-radius:50%;background:var(--cyan);margin-top:4px}.dot.off{background:#50606c}
.logo-strip{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.logo-pill{border:1px solid var(--line);padding:18px 28px;border-radius:999px;font-weight:900;color:#394652}
.footer{background:#07131f;color:#fff;padding:75px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:50px}.footer h4{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#8fa1af}.footer a{display:block;margin:10px 0;color:#d7e0e6;font-size:14px}.footer-big{font-size:clamp(70px,16vw,230px);font-weight:950;letter-spacing:-.08em;line-height:.8;margin-top:80px;color:#fff}.copyright{border-top:1px solid #20313f;margin-top:45px;padding-top:20px;color:#8fa1af;font-size:12px}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:120;display:none;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modal-card{background:#fff;border-radius:28px;width:min(760px,96vw);max-height:92vh;overflow:auto;padding:30px}.modal-head{display:flex;justify-content:space-between;align-items:center}.close{border:0;background:#eef2f4;border-radius:50%;width:40px;height:40px;font-size:20px;cursor:pointer}.notice{background:#eaf8fd;border:1px solid #b9e7f7;padding:14px;border-radius:14px;font-size:13px;margin:15px 0}
@media(max-width:900px){nav,.header-actions{display:none}.menu-btn{display:block;margin-left:auto}.hero,.hero .wrap{min-height:650px}.hero h1{font-size:64px}.commerce-dock{margin-top:-40px}.dock{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr 1fr}.journey,.split,.track,.footer-grid{grid-template-columns:1fr}.feature-img{min-height:420px}.stats{grid-template-columns:1fr 1fr}.section{padding:80px 0}}
@media(max-width:560px){.header-inner{height:70px}.hero h1{font-size:52px}.hero-copy{padding:55px 0}.product-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.display{font-size:44px}.feature-copy,.track{padding:30px}.stats{grid-template-columns:1fr}.section{padding:64px 0}.dock-card{min-height:145px}.footer-big{font-size:78px}}

/* v1.1 commerce-first redesign */
.pacl-logo{width:210px;height:58px;object-fit:contain;object-position:left center}.brand .custom-logo{max-width:210px;max-height:58px;width:auto;height:auto}.header-inner{height:86px}
.hero{min-height:690px;background:linear-gradient(rgba(4,47,104,.78),rgba(4,47,104,.78)),url('assets/images/truck-fleet-dusk.jpg') center 58%/cover no-repeat}.hero .wrap{min-height:690px}.hero-wrap{justify-content:center}.hero-copy{width:min(1160px,100%);text-align:center;padding:110px 0 80px;color:#fff}.hero-journeys{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(960px,100%);margin:0 auto 34px}.journey-btn{appearance:none;border:1px solid rgba(255,255,255,.42);background:rgba(245,247,248,.78);backdrop-filter:blur(12px);color:var(--ink);border-radius:18px;padding:18px 20px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 12px 35px rgba(0,0,0,.12);transition:.2s}.journey-btn span{font-size:10px;color:#5d6a75;letter-spacing:.12em}.journey-btn b{font-size:20px}.journey-btn:hover{background:#fff;transform:translateY(-3px)}.hero h1{font-size:clamp(54px,7.6vw,112px);line-height:.92;letter-spacing:-.065em;margin:0 0 18px;white-space:nowrap}.hero p{font-size:19px;max-width:780px;margin:0 auto;color:#edf6ff}.commerce-dock{display:none}
.materials-section{padding-top:92px}.one-line{white-space:nowrap;font-size:clamp(42px,5.5vw,78px)}.searchbar{max-width:1040px}.search-icon{font-size:28px;padding-left:15px;color:#697680;line-height:44px}.product-img{height:270px;background:#f4f5f6;display:flex;align-items:center;justify-content:center;padding:18px}.product-img img{width:100%;height:100%;object-fit:contain}.product:nth-child(1) .product-img img{max-width:72%}
.transport-section{position:relative;overflow:hidden}.transport-copy{min-width:0}.transport-photo{margin-top:34px;border-radius:28px;overflow:hidden;height:280px}.transport-photo img{width:100%;height:100%;object-fit:cover}.request-panel{display:none}.request-panel.active{display:block}.map-field{display:flex;flex-direction:column;gap:7px}.map-pick{font-size:11px;font-weight:900;color:var(--blue2);text-transform:uppercase;letter-spacing:.05em}.map-pick:hover{text-decoration:underline}
.feature-img{overflow:hidden;background:none}.feature-img img{width:100%;height:100%;object-fit:cover}.company-title,.track-title{font-size:clamp(40px,5vw,70px)}.track-kicker{color:#7ed8f7}.track p{color:#aebdc8}.status-ref{font-size:12px;color:#8fa1af}.status-card h3{font-size:26px;margin:8px 0 18px}
.fleet-band{height:520px;position:relative;overflow:hidden}.fleet-band>img{width:100%;height:100%;object-fit:cover}.fleet-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,19,31,.85),rgba(7,19,31,.12));display:flex;align-items:flex-end;padding:0 0 55px;color:#fff}.fleet-overlay span,.fleet-overlay strong{display:block}.fleet-overlay span{font-size:18px}.fleet-overlay strong{font-size:clamp(42px,6vw,88px);line-height:.95;letter-spacing:-.055em;max-width:800px}
.mobile-nav{display:none}.menu-btn{width:48px;height:48px;border-radius:50%;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}.menu-btn span{display:block;width:22px;height:2px;background:var(--ink);transition:.2s}.menu-open .menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}.menu-open .menu-btn span:nth-child(2){opacity:0}.menu-open .menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:900px){.pacl-logo{width:170px;height:52px}.menu-btn{display:flex;margin-left:auto}.mobile-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 18px 35px rgba(5,25,45,.12)}.menu-open .mobile-nav{display:block}.mobile-nav .wrap{padding:16px 0 22px;display:flex;flex-direction:column}.mobile-nav a{padding:14px 4px;border-bottom:1px solid #edf0f2;font-weight:800}.mobile-nav .btn{margin-top:14px;width:100%}.hero,.hero .wrap{min-height:610px}.hero-copy{padding:78px 0 58px}.hero-journeys{gap:8px}.journey-btn{padding:15px 13px;font-size:13px}.hero h1{font-size:clamp(46px,10vw,78px)}.one-line{white-space:normal}.journey{gap:38px}.fleet-band{height:400px}}
@media(max-width:560px){.header-inner{height:72px}.pacl-logo{width:145px;height:46px}.hero,.hero .wrap{min-height:650px}.hero-copy{padding:65px 0 48px}.hero-journeys{grid-template-columns:1fr;margin-bottom:28px}.journey-btn{min-height:58px;padding:13px 15px}.hero h1{font-size:46px;white-space:normal}.hero p{font-size:16px}.materials-section{padding-top:60px}.one-line{font-size:42px}.searchbar{border-radius:20px;align-items:center}.searchbar .btn{padding:12px 15px}.search-icon{display:none}.product-img{height:260px}.transport-photo{height:220px}.quote-panel{padding:20px}.request-tabs{border-radius:18px}.tab{font-size:12px}.fleet-band{height:330px}.fleet-overlay{padding-bottom:32px}.fleet-overlay strong{font-size:44px}.track-title{font-size:42px}}

/* v1.2 performance + hero refinements */
.hero{background:linear-gradient(rgba(4,47,104,.60),rgba(4,47,104,.66)),url('assets/images/hero-transport.webp') center/cover no-repeat}
.hero-journeys{gap:16px}
.journey-btn{min-height:82px;padding:20px 22px;grid-template-columns:42px 1fr auto;gap:14px}
.journey-icon{width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.72);display:grid;place-items:center;color:var(--blue)}
.journey-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.journey-label{font-size:16px;color:var(--ink);letter-spacing:-.015em}
.footer-logo{display:block;width:220px;background:#fff;border-radius:12px;padding:8px 12px;margin-bottom:20px}.footer-logo img{width:100%;height:auto}.footer-intro{max-width:390px;color:#9fb0bd}.footer-address{max-width:470px;color:#c2ced7;font-size:13px;line-height:1.7;margin-top:18px}.footer-address strong{color:#fff}.mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.mobile-actions .btn{margin-top:0!important}
@media(max-width:900px){.hero{background-position:center}.journey-btn{min-height:76px}.footer-logo{width:200px}}
@media(max-width:560px){.hero,.hero .wrap{min-height:590px}.hero-copy{padding:48px 0 42px}.hero-journeys{grid-template-columns:repeat(3,1fr);gap:10px;width:100%;margin-bottom:24px}.journey-btn{min-width:0;min-height:124px;padding:13px 10px;grid-template-columns:1fr;grid-template-rows:38px 1fr auto;gap:7px;text-align:left;border-radius:18px;align-items:start}.journey-icon{width:38px;height:38px;border-radius:11px}.journey-icon svg{width:20px;height:20px}.journey-label{font-size:13px;line-height:1.15;align-self:center}.journey-btn b{font-size:17px;justify-self:end;line-height:1}.hero h1{font-size:clamp(34px,10.7vw,46px);line-height:.95;white-space:nowrap;margin-bottom:16px}.hero p{font-size:15px;line-height:1.5;max-width:92%}.footer-logo{width:180px}.mobile-actions{grid-template-columns:1fr 1fr}}

/* v1.3 hero sizing, mobile composition, footer and in-field location search */
.hero h1{font-size:clamp(48px,6.1vw,88px);letter-spacing:-.055em}
.journey-btn{min-height:82px;padding:20px 22px}
.footer-intro{max-width:420px}
.footer-address{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px}
.address-block{display:flex;flex-direction:column;gap:3px;padding-left:14px;border-left:2px solid rgba(255,255,255,.18)}
.address-block strong{margin-bottom:3px;font-size:13px}.address-block span{color:#c2ced7;font-size:13px;line-height:1.5}
.map-hint{font-size:11px;color:#738391;margin-top:2px}.pac-container{z-index:100000!important;border:0!important;border-radius:12px;box-shadow:0 12px 32px rgba(4,18,31,.18);font-family:inherit}.pac-item{padding:9px 12px;cursor:pointer}.pac-item:hover{background:#f3f6f8}
@media(max-width:560px){
 .hero,.hero .wrap{min-height:560px}
 .hero-copy{padding:34px 0 34px}
 .hero-journeys{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin:0 auto 22px}
 .journey-btn{width:min(330px,88vw);min-height:72px;padding:15px 18px;display:grid;grid-template-columns:44px 1fr auto;grid-template-rows:1fr;gap:12px;align-items:center;border-radius:18px}
 .journey-icon{width:42px;height:42px;border-radius:12px}.journey-icon svg{width:21px;height:21px}.journey-label{font-size:14px;line-height:1.15;align-self:center}.journey-btn b{justify-self:end;align-self:center}
 .hero h1{font-size:clamp(31px,9.3vw,40px);line-height:.96;margin:0 0 13px;white-space:nowrap}
 .hero p{font-size:14px;line-height:1.42;max-width:90%}
 .materials-section{padding-top:50px}
 .footer{padding-top:58px}.footer-address{gap:14px;margin-top:20px}
}
