/* DS Electrical — Maintenance Contracts (matches dselectricalsw.co.uk brand) */
*{margin:0;padding:0;box-sizing:border-box}
:root{
 --dark:#0a0908;--dark2:#131110;--dark3:#1c1915;
 --light:#f8f5f0;--light2:#eee9e0;--light3:#e2dbd0;
 --brass:#b8944f;--gold:#d4a44a;--brass-text:#7a5e28;
 --text-dark:#1a1714;--text-muted:#5e5852;
 --text-light:#f0e8da;--text-light-muted:#a8997f;
}
html{scroll-behavior:smooth;background:var(--dark)}
body{font-family:'Outfit',sans-serif;background:var(--dark);color:var(--text-dark);overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;transition:.2s}
img{display:block;max-width:100%}

.skip-link{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--dark);padding:.7rem 1.2rem;font-weight:700;z-index:200;border-radius:0 0 8px 0}
.skip-link:focus{left:0}

/* Nav */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(1.5rem,5vw,4rem);background:rgba(10,9,8,.92);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.04)}
.nav-logo{flex-shrink:0;display:flex;align-items:center}.nav-logo img{height:46px;width:auto;max-width:none}
.nav-links{display:flex;align-items:center;gap:1.35rem;list-style:none}
.nav-links a{font-size:.78rem;font-weight:600;color:rgba(240,232,218,.72);letter-spacing:.08em;text-transform:uppercase}
.nav-links a:hover{color:#fff}
.nav-links a.active{color:var(--gold)}
.nav-cta{background:var(--gold);color:var(--dark);padding:.5rem 1.2rem;border-radius:6px;font-weight:700;font-size:.78rem;white-space:nowrap;flex-shrink:0}
.nav-links a.nav-cta{color:var(--dark)}
.nav-cta:hover{background:var(--brass)}
.nav-menu{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:.4rem .6rem;border-radius:6px}

/* Buttons */
.btn{padding:.85rem 2rem;border-radius:6px;font-weight:700;font-size:.85rem;letter-spacing:.02em;border:none;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;transition:.25s;font-family:inherit}
.btn-gold{background:var(--gold);color:var(--dark)}
.btn-gold:hover{background:var(--brass);transform:translateY(-2px);box-shadow:0 8px 30px rgba(212,164,74,.3)}
.btn-white{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.14)}
.btn-white:hover{background:rgba(255,255,255,.16)}

/* Section primitives */
.section-tag{font-size:.65rem;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--brass-text);margin-bottom:1rem}
.section-heading{font-size:clamp(2rem,4.2vw,3.2rem);font-weight:900;line-height:1.05;letter-spacing:-.02em;margin-bottom:.9rem}
.section-desc{color:var(--text-muted);font-size:1.02rem;line-height:1.7;max-width:560px}

/* Hero */
.hero{min-height:92vh;display:grid;grid-template-columns:1.1fr 1fr;background:var(--dark)}
.hero-text{display:flex;flex-direction:column;justify-content:center;padding:clamp(7rem,9vw,9rem) clamp(2rem,5vw,5rem) clamp(4rem,6vw,6rem)}
.hero-tag{font-size:.65rem;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--gold);margin-bottom:1.8rem}
.hero-tag span{display:inline-flex;align-items:center;gap:.55rem}
.hero-tag span::before{content:'';width:8px;height:8px;background:#5a9e6f;border-radius:50%}
.hero h1{font-size:clamp(2.7rem,5.6vw,4.6rem);font-weight:900;line-height:.95;color:#fff;letter-spacing:-.03em;margin-bottom:1.8rem}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero-desc{font-size:1.08rem;color:rgba(240,232,218,.78);line-height:1.7;max-width:480px;margin-bottom:2.2rem}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}
.hero-phone{font-family:'JetBrains Mono',monospace;font-size:.95rem;color:rgba(240,232,218,.78);margin-top:1.6rem;display:block}
.hero-phone:hover{color:var(--gold)}
.hero-img{position:relative;overflow:hidden}
.hero-img img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
.hero-img::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,var(--dark) 0%,transparent 32%)}
.hero-img::after{content:'';position:absolute;bottom:0;left:0;right:0;height:25%;z-index:1;background:linear-gradient(to top,var(--dark),transparent)}

/* Accreditation strip */
.accred{background:var(--dark2);border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.05);padding:1.4rem clamp(1.5rem,5vw,4rem)}
.accred-inner{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;gap:1rem 2.6rem}
.accred-inner span{font-size:.7rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:rgba(240,232,218,.75);display:inline-flex;align-items:center;gap:.55rem}
.accred-inner span::before{content:'';width:6px;height:6px;background:var(--gold);border-radius:50%;flex-shrink:0}

/* Who it's for */
.audience{background:var(--light);padding:clamp(4rem,8vw,6.5rem) clamp(1.5rem,5vw,4rem)}
.audience-inner{max-width:1200px;margin:0 auto}
.audience-head{text-align:center;max-width:680px;margin:0 auto 3rem}
.audience-head .section-desc{margin:0 auto}
.aud-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.aud-card{background:#fff;border:1px solid var(--light3);border-radius:12px;padding:1.6rem;transition:.25s}
.aud-card:hover{transform:translateY(-3px);box-shadow:0 14px 36px -16px rgba(10,9,8,.25);border-color:var(--gold)}
.aud-card h3{font-size:1.02rem;font-weight:800;margin-bottom:.45rem}
.aud-card p{font-size:.86rem;color:var(--text-muted);line-height:1.6}

/* Packages */
.packages{background:var(--dark);padding:clamp(4.5rem,8vw,7rem) clamp(1.5rem,5vw,4rem);color:#fff}
.packages-inner{max-width:1200px;margin:0 auto}
.packages-head{text-align:center;max-width:720px;margin:0 auto 3.2rem}
.packages .section-tag{color:var(--gold)}
.packages .section-heading{color:#fff}
.packages .section-desc{color:rgba(240,232,218,.78);margin:0 auto}
.pkg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;align-items:stretch}
.pkg{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:2.1rem 1.8rem;display:flex;flex-direction:column;transition:.25s}
.pkg:hover{transform:translateY(-4px);border-color:rgba(212,164,74,.45)}
.pkg-featured{background:rgba(212,164,74,.07);border-color:rgba(212,164,74,.5);position:relative}
.pkg-flag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--gold);color:var(--dark);font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;padding:.35rem .9rem;border-radius:100px;white-space:nowrap}
.pkg h3{font-size:1.35rem;font-weight:900;letter-spacing:-.01em;margin-bottom:.35rem}
.pkg-sub{font-size:.85rem;color:rgba(240,232,218,.72);line-height:1.55;margin-bottom:1.4rem}
.pkg-price{font-family:'JetBrains Mono',monospace;margin-bottom:.25rem}
.pkg-price strong{font-size:1.7rem;font-weight:700;color:var(--gold)}
.pkg-price span{font-size:.78rem;color:rgba(240,232,218,.65)}
.pkg-price-note{font-size:.72rem;color:rgba(240,232,218,.6);margin-bottom:1.5rem}
.pkg ul{list-style:none;margin-bottom:1.8rem;flex:1}
.pkg li{font-size:.875rem;color:rgba(240,232,218,.85);line-height:1.55;padding:.42rem 0 .42rem 1.5rem;position:relative}
.pkg li::before{content:'✓';position:absolute;left:0;top:.42rem;color:var(--gold);font-weight:700}
.pkg .btn{justify-content:center}
.pkg-smallprint{max-width:760px;margin:2.4rem auto 0;text-align:center;font-size:.78rem;color:rgba(240,232,218,.6);line-height:1.7}

/* Compliance */
.compliance{background:var(--light2);padding:clamp(4rem,8vw,6.5rem) clamp(1.5rem,5vw,4rem)}
.compliance-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.comp-photo{border-radius:14px;overflow:hidden;box-shadow:0 24px 60px -24px rgba(10,9,8,.5)}
.comp-photo img{width:100%;aspect-ratio:4/5;object-fit:cover}
.comp-list{list-style:none;margin-top:1.6rem}
.comp-list li{padding:1rem 0;border-bottom:1px solid var(--light3)}
.comp-list li:last-child{border-bottom:0}
.comp-list h3{font-size:.98rem;font-weight:800;margin-bottom:.25rem}
.comp-list p{font-size:.86rem;color:var(--text-muted);line-height:1.6}

/* Why Dan */
.why{background:var(--dark);color:#fff;padding:clamp(4.5rem,8vw,7rem) clamp(1.5rem,5vw,4rem)}
.why-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.why .section-tag{color:var(--gold)}
.why .section-heading{color:#fff}
.why .section-desc{color:rgba(240,232,218,.78)}
.why-points{list-style:none;margin-top:1.8rem;display:grid;gap:1.1rem}
.why-points li{display:flex;gap:.9rem;align-items:flex-start}
.why-points .n{font-family:'JetBrains Mono',monospace;font-weight:700;color:var(--gold);font-size:.9rem;border:1px solid rgba(212,164,74,.4);border-radius:8px;width:2.1rem;height:2.1rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.why-points h3{font-size:.98rem;font-weight:800;margin-bottom:.2rem}
.why-points p{font-size:.86rem;color:rgba(240,232,218,.72);line-height:1.6}
.why-photo{border-radius:14px;overflow:hidden;box-shadow:0 24px 60px -24px rgba(0,0,0,.7)}
.why-photo img{width:100%;aspect-ratio:4/5;object-fit:cover}

/* How it works */
.how{background:var(--light);padding:clamp(4rem,8vw,6.5rem) clamp(1.5rem,5vw,4rem)}
.how-inner{max-width:1200px;margin:0 auto}
.how-head{text-align:center;max-width:640px;margin:0 auto 3rem}
.how-head .section-desc{margin:0 auto}
.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.how-step{background:#fff;border:1px solid var(--light3);border-radius:12px;padding:1.6rem}
.how-step .n{font-family:'JetBrains Mono',monospace;font-weight:700;color:var(--brass-text);font-size:.85rem;display:block;margin-bottom:.8rem}
.how-step h3{font-size:1rem;font-weight:800;margin-bottom:.4rem}
.how-step p{font-size:.85rem;color:var(--text-muted);line-height:1.6}

/* Coverage */
.coverage{background:var(--light2);border-top:1px solid var(--light3);padding:clamp(3rem,6vw,4.5rem) clamp(1.5rem,5vw,4rem);text-align:center}
.coverage-inner{max-width:760px;margin:0 auto}
.coverage h2{font-size:clamp(1.5rem,2.8vw,2rem);font-weight:900;margin-bottom:.7rem}
.coverage p{color:var(--text-muted);line-height:1.7;font-size:.95rem}

/* Enquiry */
.enquiry{background:var(--dark);color:#fff;padding:clamp(4.5rem,8vw,7rem) clamp(1.5rem,5vw,4rem)}
.enquiry-inner{max-width:1150px;margin:0 auto;display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(2.5rem,5vw,4.5rem)}
.enquiry .section-tag{color:var(--gold)}
.enquiry .section-heading{color:#fff}
.enquiry .section-desc{color:rgba(240,232,218,.78)}
.enq-direct{margin-top:2rem;border-top:1px solid rgba(255,255,255,.08);padding-top:1.8rem}
.enq-direct p{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:rgba(240,232,218,.65);margin-bottom:.8rem}
.enq-direct a{display:block;font-family:'JetBrains Mono',monospace;font-size:1.05rem;color:var(--text-light);padding:.3rem 0}
.enq-direct a:hover{color:var(--gold)}
.enq-direct a.wa-link{color:#3fd970}
.form-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:clamp(1.5rem,3vw,2.3rem)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-field{display:flex;flex-direction:column;gap:.4rem}
.form-field.full{grid-column:1/-1}
.form-field label{font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(240,232,218,.78)}
.form-field input,.form-field select,.form-field textarea{background:rgba(10,9,8,.6);border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:.8rem .9rem;color:#fff;font-family:inherit;font-size:.95rem;width:100%}
.form-field select{appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23d4a44a'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}
.form-field textarea{min-height:110px;resize:vertical}
.form-field input::placeholder,.form-field textarea::placeholder{color:rgba(240,232,218,.45)}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--gold);outline:none}
.pc-msg{font-size:.78rem;font-weight:600;min-height:1.1em}
.hp-field{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.form-submit{margin-top:1.3rem;display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.form-note{font-size:.76rem;color:rgba(240,232,218,.6);line-height:1.5}
.form-status{margin-top:1rem;font-size:.9rem;line-height:1.6;display:none}
.form-status.ok{display:block;color:#7ed99a}
.form-status.err{display:block;color:#f0a3a3}
.form-status a{color:var(--gold);font-weight:700;text-decoration:underline}

/* FAQ */
.faq{background:var(--light);padding:clamp(4rem,8vw,6rem) clamp(1.5rem,5vw,4rem)}
.faq-inner{max-width:820px;margin:0 auto}
.faq-head{text-align:center;margin-bottom:2.5rem}
.faq details{background:#fff;border:1px solid var(--light3);border-radius:12px;margin-bottom:.8rem;overflow:hidden}
.faq summary{cursor:pointer;padding:1.1rem 1.4rem;font-weight:800;font-size:.97rem;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--brass-text);font-size:1.3rem;font-weight:400;flex-shrink:0}
.faq details[open] summary::after{content:'−'}
.faq .faq-a{padding:0 1.4rem 1.2rem;font-size:.9rem;color:var(--text-muted);line-height:1.7}

/* CTA */
.cta{background:var(--dark);padding:clamp(5rem,9vw,7rem) clamp(1.5rem,5vw,4rem) clamp(2.5rem,4vw,3.5rem);text-align:center}
.cta .section-heading{color:#fff}
.cta .section-desc{color:rgba(240,232,218,.7);margin:0 auto 1.6rem;text-align:center}
.cta-phone{font-family:'JetBrains Mono',monospace;font-size:clamp(1.4rem,3vw,2.2rem);font-weight:700;color:rgba(240,232,218,.85);display:block;margin-bottom:1.6rem}
.cta-phone:hover{color:var(--gold)}
.cta-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* Footer */
.footer{background:var(--dark);padding:3rem clamp(1.5rem,5vw,4rem) 1.5rem;border-top:1px solid rgba(255,255,255,.05)}
.footer-grid{max-width:1200px;margin:0 auto 2.5rem;display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem}
.footer h2{font-size:.68rem;text-transform:uppercase;letter-spacing:.2em;color:var(--gold);margin-bottom:1rem;font-weight:700}
.footer p,.footer a{font-size:.8rem;color:rgba(240,232,218,.62);line-height:2}
.footer a:hover{color:var(--gold)}
.footer-logo{height:54px;width:auto;margin-bottom:1rem}
.footer-bottom{max-width:1200px;margin:0 auto;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.04);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.68rem;color:rgba(240,232,218,.45)}

/* WhatsApp + mobile call bar */
.wa{position:fixed;bottom:1.5rem;left:1.5rem;width:56px;height:56px;background:#25d366;border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:99;box-shadow:0 4px 24px rgba(37,211,102,.3);transition:.2s}
.wa:hover{transform:scale(1.1)}
.wa svg{width:28px;height:28px;fill:#fff}
.mcb{display:none;position:fixed;bottom:0;left:0;right:0;z-index:98;background:#0a0908;border-top:1px solid rgba(212,164,74,.3);padding:.6rem .6rem calc(.6rem + env(safe-area-inset-bottom))}
.mcb-grid{display:grid;grid-template-columns:2fr 1fr;gap:.5rem}
.mcb a{display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.85rem .4rem;border-radius:8px;font-weight:700;font-size:.8rem}
.mcb .mcb-call{background:var(--gold);color:var(--dark)}
.mcb .mcb-wa{background:#25d366;color:#fff}

/* Focus */
:focus-visible{outline:2px solid rgba(212,164,74,.85);outline-offset:3px}

/* Responsive */
@media(max-width:1024px){
 .pkg-grid{grid-template-columns:1fr;max-width:560px;margin:0 auto}
 .aud-grid{grid-template-columns:repeat(2,1fr)}
 .how-grid{grid-template-columns:repeat(2,1fr)}
 .enquiry-inner,.compliance-inner,.why-inner{grid-template-columns:1fr}
 .comp-photo img,.why-photo img{aspect-ratio:16/10}
 .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
 .nav-links{display:none;position:fixed;top:72px;left:0;right:0;background:rgba(10,9,8,.98);backdrop-filter:blur(20px);flex-direction:column;align-items:flex-start;padding:2rem;gap:1.5rem;border-bottom:1px solid rgba(255,255,255,.06)}
 .nav-links.open{display:flex}
 .nav-menu{display:block}
 .hero{grid-template-columns:1fr;min-height:auto}
 .hero-text{padding:6.5rem 1.6rem 2.5rem;order:2}
 .hero-img{height:42vh;max-height:420px;order:1}
 .hero-img::before{background:linear-gradient(to top,var(--dark) 0%,transparent 40%)}
 .form-grid{grid-template-columns:1fr}
 .aud-grid{grid-template-columns:1fr}
 .how-grid{grid-template-columns:1fr}
 .mcb{display:block}
 .wa{display:none}
 body{padding-bottom:76px}
 .footer-bottom{flex-direction:column}
}
