/*
Theme Name:   Portal360
Theme URI:    https://portal360.uk
Description:  Portal360 website, ported from the approved V33 design. Pair with the Portal360 Connect plugin for live forms, the pricing calculator and quotation requests.
Version:      1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Author:       Portal360
License:      Proprietary
Text Domain:  portal360
*/

/* ==========================================================================
   1. V33 design (header, hero, sections, sectors, drone gallery, footer)
   ========================================================================== */
:root{--navy:#051725;--deep:#06121e;--panel:#0b2534;--cyan:#1fd8e8;--white:#f7fcff;--muted:#aec6d0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--deep);color:var(--white);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}header{position:sticky;top:0;z-index:10;background:#051725f2;backdrop-filter:blur(14px);border-bottom:1px solid #1e4354}nav{max-width:1380px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:15px 28px;gap:18px}.brand{display:flex;align-items:center;gap:13px}.mark{width:53px;height:53px;object-fit:contain}.brandname{font-size:29px;letter-spacing:-1.3px;font-weight:850;line-height:1}.brandname span{color:var(--cyan)}.brand small{display:block;font-size:10px;letter-spacing:1.5px;margin-top:5px}.links{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:700}.links a:hover,.links a:focus{color:var(--cyan)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 23px;border-radius:7px;background:var(--cyan);color:#041823;font-size:14px;font-weight:800;border:1px solid var(--cyan);cursor:pointer}.btn:hover{background:#8af3fa}.btn.secondary{background:#061827b5;color:white;border-color:#a0c9d4}.btn.secondary:hover{border-color:var(--cyan)}.menu{display:none;background:none;color:white;border:1px solid #486575;border-radius:7px;padding:9px 12px}.hero{min-height:620px;position:relative;overflow:hidden;background:linear-gradient(90deg,#041421 0%,#041421 35%,#041421a8 53%,#04142125 85%),url(assets/img/hero-inspector.jpg) right center/auto 100% no-repeat,#071c2b}.hero:after{content:"";position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(transparent,#06121e)}.hero-inner{position:relative;z-index:1;max-width:1380px;margin:auto;padding:100px 28px 150px}.kicker{color:#9ee9f2;letter-spacing:3px;font-size:12px;font-weight:850;text-transform:uppercase}.hero h1{max-width:750px;font-size:clamp(43px,5.2vw,78px);letter-spacing:-3.5px;line-height:1.03;margin:22px 0}.hero h1 em{color:var(--cyan);font-style:normal}.lead{max-width:600px;font-size:18px;line-height:1.7;color:#d6e7ed}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-caption{margin-top:55px;font-size:12px;letter-spacing:1.8px;color:#c4e5ed}.section{max-width:1380px;margin:auto;padding:72px 28px}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section h2{font-size:clamp(30px,3.4vw,49px);letter-spacing:-1.5px;line-height:1.13;margin:13px 0}.sectionhead p{max-width:420px;color:var(--muted);line-height:1.65}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.tile{background:#0b2535;border:1px solid #245064;border-radius:12px;overflow:hidden;transition:transform .2s,border-color .2s}.tile:hover{transform:translateY(-4px);border-color:var(--cyan)}.tile img{width:100%;height:205px;object-fit:cover;display:block}.tile-body{padding:22px 23px 26px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:var(--cyan)}.tile h3{font-size:22px;margin:12px 0}.tile p{font-size:14px;line-height:1.65;color:#b8ced8;margin:0}.band{background:linear-gradient(125deg,#0c3142,#061827);border-top:1px solid #245064;border-bottom:1px solid #245064}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.step{padding:25px;border-left:2px solid var(--cyan)}.step strong{font-size:32px;color:var(--cyan)}.step h3{font-size:25px;margin:15px 0 9px}.step p{color:#bbd1d9;line-height:1.7;margin:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{background:#0b2839;border:1px solid #275368;padding:36px;border-radius:12px}.panel h3{font-size:30px;margin:13px 0}.panel p{color:#bed2dc;line-height:1.75}.notice{display:inline-block;padding:7px 11px;background:#143e4d;color:#98e9f0;font-size:11px;letter-spacing:1px;border-radius:5px;font-weight:800}.cta{text-align:center;background:radial-gradient(circle at 50% 0,#0c4051,#061725 65%);padding:90px 22px}.cta h2{font-size:clamp(34px,4vw,54px);letter-spacing:-2px;margin:10px auto;max-width:750px}.cta p{color:#bcd4dc;max-width:630px;margin:18px auto 30px;line-height:1.7}footer{border-top:1px solid #254554;padding:28px;color:#8fb2c0;font-size:13px;text-align:center}.reveal{opacity:1}@media(max-width:900px){.links{display:none;position:absolute;top:82px;left:0;right:0;background:#071b2a;padding:25px;flex-direction:column;align-items:flex-start}.links.open{display:flex}.menu{display:block}.hero{background:linear-gradient(90deg,#041421 0%,#041421e8 45%,#04142170 100%),url(assets/img/hero-inspector.jpg) center center/cover no-repeat}.hero-inner{padding:80px 25px 100px}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){nav{padding:12px 17px}.mark{width:40px;height:40px}.brandname{font-size:23px}.brand small{font-size:8px}.hero h1{letter-spacing:-2px}.hero{min-height:590px}.hero-inner{padding:74px 20px 85px}.lead{font-size:16px}.section{padding:54px 19px}.sectionhead{display:block}.grid,.steps,.split{grid-template-columns:1fr}.tile img{height:220px}.panel{padding:27px}}

/* Restored V6 navigation, refined to fit the V7 premium header */
.links{gap:clamp(10px,1.35vw,20px);font-size:12px;white-space:nowrap}
.links .btn{padding:12px 16px;font-size:12px}
.section-anchor{scroll-margin-top:100px}
html{scroll-behavior:smooth;scroll-padding-top:95px}
@media(max-width:1100px){.links{gap:10px;font-size:11px}.links .btn{padding:10px 12px}}
/* V9 expanded service explanations */
.detail-band{max-width:1220px;margin:0 auto;padding:68px 26px;color:#eaf5fc}
.detail-band .eyebrow{color:#35d8ee;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.detail-band h2{font-size:clamp(28px,4vw,46px);line-height:1.12;margin:14px 0 18px;color:#fff}
.detail-band .intro{font-size:17px;line-height:1.75;max-width:900px;color:#b8d0e2}
.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}
.detail-card{background:linear-gradient(145deg,#102d4a,#0b2038);border:1px solid #28506a;border-radius:18px;padding:26px;box-shadow:0 12px 35px #03142335}
.detail-card .num{color:#39d8ec;font-weight:800;font-size:12px;letter-spacing:.12em}
.detail-card h3{color:#fff;font-size:21px;margin:12px 0}
.detail-card p,.detail-card li{color:#c5d9e7;font-size:15px;line-height:1.7}
.detail-card ul{padding-left:19px;margin:10px 0 0}
.detail-highlight{margin-top:24px;padding:26px 30px;background:#0c4260;border-left:4px solid #39d8ec;border-radius:12px;color:#d8f4ff;line-height:1.75}
.detail-highlight strong{color:white}
.detail-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:28px}
.detail-step{padding:23px;background:#eef6fb;border-radius:14px;color:#16314b}
.detail-step strong{display:block;color:#0b527c;margin-bottom:10px;font-size:18px}
.detail-step p{line-height:1.6;margin:0;font-size:14px}
.detail-band.light{background:#f3f8fc;max-width:none;color:#142c42}
.detail-band.light>.inner{max-width:1170px;margin:auto}
.detail-band.light h2{color:#102c47}
.detail-band.light .intro{color:#476074}
.detail-band.light .eyebrow{color:#007f9e}
.detail-band .btn{display:inline-block;margin-top:25px}
@media(max-width:850px){.detail-grid{grid-template-columns:1fr}.detail-steps{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.detail-steps{grid-template-columns:1fr}.detail-band{padding:46px 20px}}
/* Portal360 V9.2 — one compact red marker, click-driven, no hover ghosting */
nav .links a{position:relative;text-decoration:none;}
nav .links a:not(.btn)::after{content:"";position:absolute;width:36%;left:32%;bottom:-7px;height:2px;border-radius:3px;background:#ed454b;opacity:0;pointer-events:none;transition:none;}
nav .links a.is-active:not(.btn)::after{opacity:1;}
nav .links a:not(.is-active):hover::after{opacity:0;}
nav .links a.is-active:not(.btn){color:#fff;}
nav .links a.btn.is-active{box-shadow:inset 0 -2px 0 #ed454b;}
nav .links a:focus-visible{outline:2px solid #ed454b;outline-offset:5px;}
@media(max-width:900px){nav .links a:not(.btn)::after{bottom:-4px;}}
.p360-why{padding:76px max(22px,calc((100vw - 1200px)/2));background:linear-gradient(135deg,#06172b,#0c2740);color:#fff}.p360-why .eyebrow{color:#43d9ee;font-weight:800;letter-spacing:.19em;text-transform:uppercase;font-size:12px}.p360-why h2{font-size:clamp(28px,4vw,49px);line-height:1.12;max-width:850px;margin:12px 0 16px;color:#fff}.p360-why .intro{color:#c6d7e8;max-width:760px;line-height:1.7;font-size:17px}.p360-why .vehicle{margin:30px 0 35px;display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 22px 55px #0008}.p360-why .benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:0 0 28px;padding:0;list-style:none}.p360-why .benefits li{border:1px solid #ffffff26;border-radius:13px;padding:20px 21px;background:#ffffff0a;line-height:1.55;color:#d9e7f3}.p360-why .benefits b{display:block;color:#fff;font-size:18px;margin-bottom:6px}.p360-why .benefits .tick{color:#45dce4;margin-right:8px}.p360-why .footnote{font-size:13px;color:#9eb5c8;margin-top:16px}.p360-why .cta-link{display:inline-block;background:#f22d43;color:white;padding:14px 22px;border-radius:9px;font-weight:700;text-decoration:none}@media(max-width:700px){.p360-why{padding:48px 20px}.p360-why .benefits{grid-template-columns:1fr}.p360-why .vehicle{margin:22px 0}}
/* Keep the header stationary, compact and readable across desktop and mobile. */
html{scroll-padding-top:92px}html,body{overflow-x:clip}
header{position:sticky!important;top:0!important;z-index:999!important;width:100%;background:#051725!important;backdrop-filter:none!important;box-shadow:0 5px 22px #0003}
header nav{max-width:1500px;width:100%;padding:11px 22px;gap:18px;justify-content:space-between;flex-wrap:nowrap}
header .brand{flex:0 0 auto}header .links{margin-left:auto;gap:clamp(9px,1.05vw,17px);display:flex;align-items:center;white-space:nowrap;font-size:clamp(11px,.85vw,13px)}
header .links .btn{padding:10px 13px;border-radius:8px}
header .links .p360-pricing-link{display:inline-flex;align-items:center;justify-content:center;padding:11px 14px;border-radius:8px;background:#45db87;color:#052a1b!important;font-size:12px;font-weight:850;box-shadow:0 2px 15px #24c67a36;transition:background .18s ease,transform .18s ease}
header .links .p360-pricing-link:hover,header .links .p360-pricing-link:focus{background:#91f2b9;color:#052a1b!important;transform:translateY(-1px)}
main section[id],main div[id]{scroll-margin-top:94px}
@media(max-width:1180px){header .brandname{font-size:25px}header .mark{width:43px;height:43px}header nav{gap:10px;padding:10px 15px}header .links{gap:9px;font-size:11px}header .links .btn,header .links .p360-pricing-link{padding:10px 10px;font-size:11px}}
@media(max-width:980px){header nav{position:relative}header .menu{display:block;margin-left:auto}header .links{display:none;position:absolute;left:0;right:0;top:100%;background:#071b2a;flex-direction:column;align-items:stretch;padding:15px 20px 20px;gap:2px;white-space:normal;max-height:calc(100dvh - 75px);overflow:auto;box-shadow:0 16px 22px #0006}header .links.open{display:flex}header .links>a{padding:12px 14px}header .links .btn,header .links .p360-pricing-link{margin-top:8px;text-align:center;justify-content:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
#service-details{scroll-margin-top:110px} .p360-sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0 16px}.p360-sector-card{overflow:hidden;background:#062b47;border:1px solid rgba(35,208,220,.25);border-radius:17px;box-shadow:0 14px 28px rgba(0,0,0,.13)}.p360-sector-card img{width:100%;height:175px;object-fit:cover;display:block}.p360-sector-copy{padding:17px 18px 21px;color:white}.p360-sector-copy h3{font-size:20px;margin:0 0 7px;color:#fff}.p360-sector-copy p{font-size:14px;line-height:1.5;margin:0;color:#d7e9f3}.p360-more{border-radius:15px;background:#dcf9d7;color:#092d3c;padding:17px 22px;margin:18px 0 28px;line-height:1.55}.p360-more strong{margin-right:9px}.p360-bespoke{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:28px;background:linear-gradient(110deg,#06243c,#08445a);border:1px solid #2c8793;border-radius:20px;color:white;margin:18px 0 28px}.p360-bespoke h3{font-size:25px;line-height:1.2;color:white;margin:10px 0}.p360-bespoke p{max-width:780px;line-height:1.6;color:#e0f0f5}.p360-pill{color:#a2ff51;letter-spacing:.08em;font-size:12px;font-weight:800}.p360-bespoke .p360-note{font-size:13px;color:#b7d6df}.p360-bespoke-button{flex-shrink:0;text-decoration:none;background:#95ed28;color:#092436!important;padding:15px 19px;border-radius:12px;font-weight:800;text-align:center}.p360-bespoke-button:hover{background:#b8ff63}@media(max-width:900px){.p360-sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p360-bespoke{flex-direction:column;align-items:stretch}}@media(max-width:570px){.p360-sector-grid{grid-template-columns:1fr}.p360-sector-card img{height:210px}}
.p360-capabilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.p360-capabilities article{border:1px solid rgba(59,215,226,.22);border-radius:18px;background:linear-gradient(145deg,rgba(10,43,69,.96),rgba(9,32,55,.9));padding:23px;color:#eaf8ff}
.p360-capabilities h3{font-size:1.16rem;margin:10px 0 8px;color:white}
.p360-capabilities p{margin:0;line-height:1.65;color:#c4d7e4}
.p360-cap-icon{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:11px;background:rgba(45,227,204,.12);color:#55f2d8;font-size:23px}
@media(max-width:750px){.p360-capabilities{grid-template-columns:1fr}}
#drone-surveys{scroll-margin-top:115px;background:radial-gradient(ellipse at 85% 0%,#123c58 0%,#071b2e 55%,#051422 100%);padding:76px max(22px,calc((100vw - 1240px)/2));color:#eaf7ff}
.p360-drone-kicker{font-size:12px;letter-spacing:.2em;color:#5be3ed;font-weight:800}.p360-drone-title{font-size:clamp(32px,4.3vw,58px);line-height:1.06;margin:12px 0 18px;color:#fff}.p360-drone-lead{font-size:17px;line-height:1.7;color:#c4dce9;max-width:840px}
.p360-drone-pills{display:flex;flex-wrap:wrap;gap:10px;margin:27px 0 34px}.p360-drone-pills span{padding:10px 15px;border:1px solid #287089;border-radius:30px;color:#dff9ff;background:#0b3045;font-weight:700;font-size:13px}
.p360-drone-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:25px 0 34px}.p360-drone-card{background:#0d3047;border:1px solid #24546b;border-radius:18px;padding:23px}.p360-drone-card h3{color:#b2fa67;font-size:21px;margin:0 0 10px}.p360-drone-card p{margin:0;color:#d0e4ec;line-height:1.6}
.p360-drone-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.p360-drone-photo{display:block;border:1px solid #28627b;border-radius:14px;overflow:hidden;background:#0b263a;cursor:pointer;padding:0;text-align:left;color:white;font:inherit}.p360-drone-photo img{width:100%;height:215px;object-fit:cover;display:block;transition:transform .25s}.p360-drone-photo:hover img{transform:scale(1.035)}.p360-drone-photo span{display:block;padding:12px 14px;font-size:13px;color:#d7f1fa}.p360-drone-note{color:#b9d1de;font-size:13px;line-height:1.65;margin:14px 0 28px}.p360-drone-cta{display:inline-block;padding:15px 22px;background:#a2ff51;border-radius:12px;color:#072438!important;font-weight:800;text-decoration:none}.p360-drone-lightbox{position:fixed;inset:0;background:rgba(0,9,20,.94);z-index:99999;display:none;align-items:center;justify-content:center;padding:54px 18px 18px}.p360-drone-lightbox.open{display:flex}.p360-drone-lightbox img{max-height:86vh;max-width:95vw;object-fit:contain}.p360-drone-close{position:absolute;right:24px;top:16px;background:#a2ff51;border:0;border-radius:50%;font-size:26px;width:42px;height:42px;cursor:pointer}
@media(max-width:800px){.p360-drone-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.p360-drone-cards{grid-template-columns:1fr}.p360-drone-photo img{height:170px}}@media(max-width:480px){.p360-drone-gallery{grid-template-columns:1fr}.p360-drone-photo img{height:220px}}

/* ==========================================================================
   2. WordPress additions
   ========================================================================== */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100000;background:var(--cyan);color:#041823;padding:10px 14px;border-radius:7px;font-weight:800}
.skip-link:focus{top:12px}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.links a.p360-login-link{border:1px solid #a0c9d4;border-radius:8px;padding:10px 13px}
.links a.p360-login-link:hover{border-color:var(--cyan)}

/* Contact call to action (front page) */
.cta .cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:26px}
.cta .cta-email{margin-top:18px;color:#c4e5ed;font-size:14px}
.cta .cta-email a{color:var(--cyan);text-decoration:underline}

/* Inner pages */
.p360-page-hero{background:radial-gradient(circle at 80% 0,#0c4051,#061725 60%);border-bottom:1px solid #1e4354}
.p360-page-hero .section{padding-top:64px;padding-bottom:48px}
.p360-page-hero h1{font-size:clamp(34px,4.4vw,60px);letter-spacing:-2px;line-height:1.06;margin:16px 0}
.p360-page-hero .lead{max-width:720px}
.p360-page-body{max-width:900px;margin:0 auto;padding:56px 28px 80px;line-height:1.75;color:#d6e7ed}
.p360-page-body h2{font-size:30px;letter-spacing:-1px;color:#fff}
.p360-page-body h3{color:#fff}
.p360-page-body a{color:var(--cyan);text-decoration:underline}
.p360-page-body img{max-width:100%;height:auto;border-radius:10px}
.p360-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:36px;align-items:start}
.p360-light-card{background:#fff;color:#152b3e;border-radius:16px;padding:28px;box-shadow:0 18px 50px #0006}
.p360-light-card h2,.p360-light-card h3{color:#0c1e31;margin-top:0}
.p360-light-card .p360-form{max-width:none}
.p360-light-card .p360-form h3{display:none}
.p360-contact-points{list-style:none;padding:0;margin:24px 0;display:grid;gap:14px}
.p360-contact-points li{background:#0b2535;border:1px solid #245064;border-radius:12px;padding:16px 18px;color:#d6e7ed}
.p360-contact-points strong{display:block;color:#fff}
.p360-contact-points a{color:var(--cyan)}
.p360-pricing-band{background:#061827;padding:40px 12px 70px}
.p360-pricing-band .p360-specialist{max-width:1160px;margin:0 auto 18px;color:#dcecf2;line-height:1.6;background:#0b3047;padding:18px 22px;border-radius:14px}
.p360-pricing-band .p360-specialist strong,.p360-pricing-band .p360-specialist a{color:#a2ff51}
.p360-pricing-band .p360-specialist a{font-weight:700}
.p360-404{text-align:center;padding:120px 24px}
.p360-404 h1{font-size:clamp(34px,5vw,60px);margin:10px 0 18px}
.site-footer .footer-inner{max-width:1380px;margin:auto;display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:space-between;align-items:center;text-align:left}
.site-footer nav a{color:#c4e5ed;margin-right:18px}
.site-footer nav a:hover{color:var(--cyan)}
.site-footer .footer-legal{flex-basis:100%;font-size:12px;color:#7f9faf;line-height:1.6}
@media(max-width:860px){.p360-split{grid-template-columns:1fr}}

/* ==========================================================================
   3. Client portal preview page (V33 client.html, scoped)
   ========================================================================== */
.p360-cp button,.p360-cp input,.p360-cp select{font:inherit}.p360-cp button{cursor:pointer}
.p360-cp{--bg:#071727;--panel:#10283e;--panel2:#14334b;--line:#25465a;--cyan:#35d9e7;--green:#a4f54c;--muted:#a6becb;--white:#f4fbff}.p360-cp *{box-sizing:border-box}.p360-cp{scroll-behavior:smooth}.p360-cp{background:linear-gradient(135deg,#071727,#0c2537 65%,#081c30);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--white)}.p360-cp .shell{max-width:1250px;margin:auto;padding:26px 25px 65px}.p360-cp .top{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:23px}.p360-cp .eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--cyan);font-weight:800}.p360-cp .top h1{font-size:clamp(28px,4vw,44px);letter-spacing:-1px;margin:5px 0}.p360-cp .sub{color:var(--muted);margin:0}.p360-cp .pill{background:#193a40;color:#caff8a;border:1px solid #4b7960;border-radius:100px;padding:9px 15px;font-size:12px;font-weight:800}.p360-cp .demo{background:#17334b;border:1px solid #37637b;border-radius:14px;padding:13px 17px;margin:0 0 23px;color:#d8eaf1}.p360-cp .demo strong{color:#a8f35a}.p360-cp .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:20px 0}.p360-cp .stat,.p360-cp .panel{background:linear-gradient(150deg,#122d44,#0c2337);border:1px solid var(--line);border-radius:17px}.p360-cp .stat{padding:21px}.p360-cp .stat span{font-size:12px;color:var(--muted)}.p360-cp .stat b{display:block;font-size:32px;margin:5px 0}.p360-cp .stat small{color:#b7d1dc}.p360-cp .stat .alert{color:#ffbd8a}.p360-cp .tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:25px 0 18px;padding-bottom:13px}.p360-cp .tab{border:1px solid transparent;border-radius:10px;background:transparent;color:#b9cbd6;padding:11px 17px;font-weight:750}.p360-cp .tab.active{color:#082137;background:var(--green)}.p360-cp .section{display:none}.p360-cp .section.active{display:block}.p360-cp .row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}.p360-cp .row h2{font-size:23px;margin:0}.p360-cp .row p{margin:4px 0 0;color:var(--muted)}.p360-cp .search{border:1px solid #3b6378;background:#0b2235;color:white;padding:11px 13px;border-radius:10px;min-width:220px}.p360-cp .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.p360-cp .property{padding:20px;text-align:left;color:inherit;transition:transform .18s,border-color .18s}.p360-cp .property:hover{transform:translateY(-3px);border-color:var(--cyan)}.p360-cp .property .icon{display:inline-flex;background:#173c51;color:var(--cyan);border-radius:12px;width:43px;height:43px;align-items:center;justify-content:center;font-size:22px}.p360-cp .property h3{margin:15px 0 4px;font-size:19px}.p360-cp .property p{margin:0 0 17px;color:var(--muted);font-size:13px}.p360-cp .property .meta{border-top:1px solid var(--line);padding-top:14px;display:flex;justify-content:space-between;align-items:center;color:#dcecf4;font-size:12px}.p360-cp .badge{display:inline-block;border-radius:100px;padding:5px 9px;background:#193b42;color:#b7f9c2;font-size:11px;font-weight:750}.p360-cp .badge.amber{background:#473725;color:#ffcf87}.p360-cp .badge.red{background:#4c2831;color:#ff9b9b}.p360-cp .tablewrap{overflow:auto;border:1px solid var(--line);border-radius:15px}.p360-cp .table{width:100%;border-collapse:collapse;min-width:710px}.p360-cp .table th{text-align:left;background:#17354a;color:#b9d5e1;font-size:12px;letter-spacing:.5px}.p360-cp .table th,.p360-cp .table td{padding:15px;border-bottom:1px solid var(--line)}.p360-cp .table tr:last-child td{border-bottom:0}.p360-cp .table td{font-size:13px}.p360-cp .table tr:hover td{background:#133048}.p360-cp .action{background:#123e4b;border:1px solid #3b7884;border-radius:9px;padding:8px 12px;color:#9ef6f7;font-weight:700}.p360-cp .muted{color:var(--muted)}.p360-cp .intro{padding:24px;margin-top:22px}.p360-cp .intro h3{margin:0 0 9px}.p360-cp .intro p{color:var(--muted);margin:0}.p360-cp .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:14px}.p360-cp .step{padding:17px;background:#0d293d;border:1px solid var(--line);border-radius:13px}.p360-cp .step b{display:block;margin-bottom:5px}.p360-cp .step p{font-size:13px}.p360-cp .cta{display:inline-block;background:var(--green);color:#0c2635;text-decoration:none;border-radius:10px;padding:11px 17px;font-weight:800}.p360-cp .modal{position:fixed;inset:0;background:#020c16d9;z-index:10;display:none;align-items:center;justify-content:center;padding:20px}.p360-cp .modal.open{display:flex}.p360-cp .dialog{background:#112b40;border:1px solid #3d6879;border-radius:18px;padding:26px;max-width:570px;width:100%;box-shadow:0 22px 80px #0009}.p360-cp .dialog h2{margin:0 0 12px}.p360-cp .dialog p{color:#c0d4df}.p360-cp .dialog .close{float:right;background:none;border:0;color:white;font-size:27px}.p360-cp .detail{background:#0a2033;padding:14px;border-radius:10px;border:1px solid var(--line);margin:13px 0}.p360-cp .footer{margin-top:25px;font-size:12px;color:#91aab8}@media(max-width:820px){.p360-cp .stats{grid-template-columns:repeat(2,1fr)}.p360-cp .cards,.p360-cp .steps{grid-template-columns:1fr 1fr}}@media(max-width:560px){.p360-cp .shell{padding:20px 13px 40px}.p360-cp .cards,.p360-cp .steps{grid-template-columns:1fr}.p360-cp .stat{padding:14px}.p360-cp .stat b{font-size:25px}.p360-cp .tabs{gap:4px}.p360-cp .tab{padding:9px 11px;font-size:12px}}

/* ==========================================================================
   4. Contractors page (V33 contractors.html, scoped)
   ========================================================================== */
.p360-ct *{box-sizing:border-box}.p360-ct{scroll-behavior:smooth}.p360-ct{margin:0;background:#071627;color:#e9f5fb;font-family:Arial,Helvetica,sans-serif}.p360-ct .p360-ct-main{max-width:1130px;margin:auto;padding:68px 25px 95px}.p360-ct .eyebrow{color:#58d8e6;letter-spacing:2px;font-weight:700;font-size:12px;text-transform:uppercase}.p360-ct h1{font-size:clamp(35px,5vw,62px);letter-spacing:-1.6px;line-height:1.1;margin:18px 0}.p360-ct h2{font-size:25px;margin-top:0}.p360-ct p{line-height:1.75;color:#b8d0df}.p360-ct .intro{max-width:760px;font-size:18px}.p360-ct .buttons{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 48px}.p360-ct .btn{display:inline-block;padding:13px 20px;background:#23bfd2;color:#061b2b;text-decoration:none;font-weight:800;border-radius:7px}.p360-ct .btn.secondary{background:transparent;border:1px solid #53788c;color:white}.p360-ct .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.p360-ct .card{background:#102a42;border:1px solid #274a62;border-radius:13px;padding:25px;min-height:200px}.p360-ct .card h3{margin:0 0 9px;font-size:19px}.p360-ct .card p{margin:0}.p360-ct .tag{color:#62d8e4;font-weight:700;font-size:12px;letter-spacing:1px}.p360-ct .note{margin-top:28px;background:#132c40;border-left:3px solid #f45158;padding:18px 22px;color:#c8dbe5;line-height:1.7}.p360-ct .steps{margin-top:45px}@media(max-width:960px){.p360-ct .grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.p360-ct .grid{grid-template-columns:1fr}.p360-ct .p360-ct-main{padding-top:42px}}
.p360-ct .p360-ct-form{margin-top:40px}

/* ==========================================================================
   5. Fixes where V33 page styles meet each other or the plugin forms
   ========================================================================== */
.p360-ct .steps{display:block}
.p360-cp .section{max-width:none;margin:0;padding:0}
.p360-light-card p,.p360-light-card label,.p360-ct .p360-light-card p,.p360-ct .p360-light-card label{color:#152b3e}
.p360-light-card a,.p360-ct .p360-light-card a{color:#0b6e8a;text-decoration:underline}
.p360-light-card .p360-error{color:#a32020}
/* V33 styles every <nav> as the header bar; reset the two other navs */
.p360-cp nav.tabs{max-width:none;margin:25px 0 18px;padding:0 0 13px;justify-content:flex-start;gap:8px;flex-wrap:wrap}
.site-footer nav{max-width:none;margin:0;padding:0;display:block}
