/*
Theme Name: FZ PPC
Theme URI: https://fahadzahid.com/
Author: Fahad Zahid
Description: Black and white professional theme for a Google Ads & PPC specialist. Includes a home page template, blog with featured-image cards, child-page grid, full-width template, contact form, and a fallback SEO layer that switches off when an SEO plugin is active.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: fz-ppc
*/

:root{--black:#000;--white:#fff;--g50:#f6f6f6;--g100:#ececec;--g300:#cfcfcf;--g500:#6b6b6b;--g700:#2b2b2b;--w:1200px;--r:6px;--font:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:17px;line-height:1.65;color:var(--black);background:var(--white);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
h1,h2,h3,h4{font-weight:800;line-height:1.12;letter-spacing:-.02em;margin:0 0 .5em}
h1{font-size:clamp(2.3rem,5vw,4rem)}
h2{font-size:clamp(1.8rem,3.4vw,2.6rem)}
h3{font-size:1.2rem;letter-spacing:-.01em}
p{margin:0 0 1.1em}
:focus-visible{outline:3px solid var(--black);outline-offset:3px}
.fz-dark :focus-visible,.fz-footer :focus-visible,.fz-topbar :focus-visible{outline-color:var(--white)}
.screen-reader-text,.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:12px;top:12px;z-index:999;background:var(--black);color:var(--white);padding:10px 16px}
.fz-wrap{width:100%;max-width:var(--w);margin:0 auto;padding:0 24px}
.fz-narrow{max-width:780px}
.fz-section{padding:96px 0}
.fz-section--grey{background:var(--g50)}
.fz-dark{background:var(--black);color:var(--white)}
.fz-head{max-width:680px;margin-bottom:48px}
.fz-head p{color:var(--g500);font-size:1.1rem;margin:0}
.fz-dark .fz-head p{color:var(--g300)}
.fz-kicker{font-size:.9rem;font-weight:700;color:var(--g500);margin:0 0 14px}
.fz-dark .fz-kicker{color:var(--g300)}

/* buttons */
.btn{display:inline-block;font:700 .98rem/1 var(--font);padding:16px 26px;border:2px solid var(--black);background:var(--black);color:var(--white);text-decoration:none;border-radius:var(--r);cursor:pointer;transition:background .15s,color .15s}
.btn:hover{background:var(--white);color:var(--black)}
.btn--ghost{background:transparent;color:var(--black)}
.btn--ghost:hover{background:var(--black);color:var(--white)}
.btn--inv{background:var(--white);color:var(--black);border-color:var(--white)}
.btn--inv:hover{background:transparent;color:var(--white)}
.btn--ghost-inv{background:transparent;color:var(--white);border-color:var(--white)}
.btn--ghost-inv:hover{background:var(--white);color:var(--black)}
.btn--sm{padding:12px 20px;font-size:.9rem}
.fz-btns{display:flex;flex-wrap:wrap;gap:12px}

/* top bar + header */
.fz-topbar{background:var(--black);color:var(--white);font-size:.85rem}
.fz-topbar .fz-wrap{display:flex;justify-content:flex-end;gap:20px;padding-top:8px;padding-bottom:8px}
.fz-topbar a{text-decoration:none;font-weight:700}
.fz-header{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--g100)}
.fz-header .fz-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.fz-brand{display:flex;flex-direction:column;text-decoration:none;line-height:1.15}
.fz-brand strong{font-size:1.35rem;font-weight:800;letter-spacing:-.02em}
.fz-brand span{font-size:.78rem;color:var(--g500);font-weight:600}
.custom-logo{max-height:52px;width:auto}
.fz-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:26px;align-items:center}
.fz-nav a{text-decoration:none;font-weight:600;font-size:.95rem;padding:6px 0;border-bottom:2px solid transparent}
.fz-nav a:hover,.fz-nav .current-menu-item>a,.fz-nav .current_page_item>a,.fz-nav .current-menu-ancestor>a{border-bottom-color:var(--black)}
.fz-toggle{display:none;background:none;border:2px solid var(--black);border-radius:var(--r);padding:9px 12px;font:700 .9rem var(--font);cursor:pointer}

/* hero */
.fz-hero{padding:80px 0 96px}
.fz-hero .fz-wrap{display:grid;grid-template-columns:1.3fr .7fr;gap:64px;align-items:center}
.fz-hero h1{margin-bottom:24px}
.fz-hero .lede{font-size:1.2rem;color:var(--g700);max-width:600px;margin-bottom:32px}
.fz-markets{margin-top:36px;font-weight:700;font-size:.95rem;color:var(--g500)}
.fz-panel{background:var(--black);color:var(--white);padding:12px 36px;border-radius:var(--r)}
.fz-panel div{padding:24px 0;border-bottom:1px solid #333}
.fz-panel div:last-child{border:0}
.fz-panel strong{display:block;font-size:2.6rem;font-weight:800;letter-spacing:-.03em;line-height:1}
.fz-panel span{display:block;margin-top:6px;color:var(--g300);font-size:.92rem}

/* services */
.fz-grid{display:grid;gap:1px;background:var(--g100);border:1px solid var(--g100)}
.fz-grid--4{grid-template-columns:repeat(4,1fr)}
.fz-grid--3{grid-template-columns:repeat(3,1fr)}
.fz-item{background:var(--white);padding:30px 26px;display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:background .15s,color .15s}
.fz-item h3{margin-bottom:10px}
.fz-item p{color:var(--g500);font-size:.95rem;flex:1}
.fz-item .more{font-weight:700;font-size:.92rem;text-decoration:underline;text-underline-offset:4px}
a.fz-item:hover{background:var(--black);color:var(--white)}
a.fz-item:hover p{color:var(--g300)}

/* industries */
.fz-ind{display:grid;grid-template-columns:repeat(4,1fr);gap:0 36px}
.fz-ind div{border-top:1px solid #3a3a3a;padding:26px 0 34px}
.fz-ind p{color:var(--g300);font-size:.95rem;margin:0}

/* process */
.fz-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;counter-reset:s}
.fz-steps div{border-top:3px solid var(--black);padding-top:18px;counter-increment:s}
.fz-steps h3::before{content:counter(s) ". ";color:var(--g500)}
.fz-steps p{color:var(--g500);font-size:.95rem;margin:0}

/* pricing */
.fz-price{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch}
.fz-plan{border:2px solid var(--black);border-radius:var(--r);padding:36px 30px;display:flex;flex-direction:column;background:var(--white)}
.fz-plan--dark{background:var(--black);color:var(--white)}
.fz-plan .cost{font-size:1.5rem;font-weight:800;letter-spacing:-.02em;margin-bottom:8px}
.fz-plan .cost small{display:block;font-size:.85rem;font-weight:600;color:var(--g500)}
.fz-plan--dark .cost small,.fz-plan--dark>p{color:var(--g300)}
.fz-plan ul{list-style:none;margin:20px 0 28px;padding:0;flex:1}
.fz-plan li{padding:9px 0;border-top:1px solid var(--g100);font-size:.95rem}
.fz-plan--dark li{border-color:#333}

/* testimonials */
.fz-quotes{display:grid;grid-template-columns:repeat(2,1fr);gap:48px 56px}
.fz-quote{border-left:3px solid var(--black);padding-left:26px}
.fz-quote blockquote{margin:0 0 18px;font-size:1.08rem;line-height:1.6}
.fz-quote cite{font-style:normal;font-weight:800;display:block}
.fz-quote small{color:var(--g500);font-size:.88rem}

/* CTA / form */
.fz-cta .fz-wrap{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.fz-cta p{color:var(--g300);font-size:1.1rem}
.fz-cta--band .fz-wrap{grid-template-columns:1fr auto;align-items:center}
.fz-form{background:var(--white);color:var(--black);padding:34px;border-radius:var(--r)}
.fz-form h3{margin-bottom:18px}
.fz-form label{display:block;font-weight:700;font-size:.88rem;margin-bottom:6px}
.fz-form input,.fz-form textarea{width:100%;font:inherit;padding:13px 14px;border:1.5px solid var(--g300);border-radius:var(--r);margin-bottom:16px;background:var(--white);color:var(--black)}
.fz-form input:focus,.fz-form textarea:focus{border-color:var(--black);outline:none}
.fz-form .hp{position:absolute;left:-9999px}
.fz-notice{padding:14px 16px;border-radius:var(--r);margin-bottom:16px;font-weight:600;background:var(--g50);border:1.5px solid var(--black)}

/* page header + prose */
.fz-pagehead{padding:72px 0 48px;border-bottom:1px solid var(--g100)}
.fz-pagehead h1{margin:0;font-size:clamp(2.1rem,4.4vw,3.4rem)}
.fz-pagehead p{color:var(--g500);font-size:1.15rem;margin:16px 0 0;max-width:680px}
.fz-crumbs{font-size:.85rem;color:var(--g500);margin-bottom:18px;font-weight:600}
.fz-crumbs a{text-decoration:none}
.fz-prose{padding:56px 0 80px;font-size:1.08rem;line-height:1.8}
.fz-prose h2{margin-top:2em;font-size:1.8rem}
.fz-prose h3{margin-top:1.6em;font-size:1.35rem}
.fz-prose img{border-radius:var(--r);margin:1.6em 0}
.fz-prose ul,.fz-prose ol{padding-left:1.3em;margin:0 0 1.2em}
.fz-prose li{margin-bottom:.4em}
.fz-prose a{font-weight:700}
.fz-prose blockquote{margin:1.8em 0;padding:4px 0 4px 24px;border-left:4px solid var(--black);font-size:1.2rem;font-weight:600}
.fz-prose table{width:100%;border-collapse:collapse;margin:1.6em 0;font-size:.97rem}
.fz-prose th,.fz-prose td{border:1px solid var(--g300);padding:10px 14px;text-align:left}
.fz-prose th{background:var(--black);color:var(--white)}
.fz-prose pre{background:var(--g50);padding:18px;overflow:auto;border-radius:var(--r);font-size:.9rem}
.fz-fullbleed{padding:0}

/* blog */
.fz-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 44px}
.fz-chips a{padding:9px 18px;border:1.5px solid var(--black);border-radius:99px;text-decoration:none;font-weight:700;font-size:.9rem}
.fz-chips a:hover,.fz-chips a.on{background:var(--black);color:var(--white)}
.fz-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 32px}
.fz-card{display:flex;flex-direction:column}
.fz-card .img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--g100);border-radius:var(--r);margin-bottom:18px}
.fz-card .img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.fz-card:hover .img img{transform:scale(1.03)}
.fz-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--black);color:var(--white);font-weight:800;font-size:2.4rem;letter-spacing:-.03em}
.fz-meta{font-size:.85rem;color:var(--g500);font-weight:600;margin-bottom:10px}
.fz-meta a{color:var(--black);text-decoration:none;font-weight:800}
.fz-card h2{font-size:1.3rem;line-height:1.25;margin-bottom:10px}
.fz-card h2 a{text-decoration:none}
.fz-card h2 a:hover{text-decoration:underline}
.fz-card p{color:var(--g700);font-size:.96rem;margin-bottom:14px}
.fz-card .more{font-weight:800;font-size:.9rem;margin-top:auto}
.fz-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;margin-bottom:64px;padding-bottom:64px;border-bottom:1px solid var(--g100)}
.fz-feature .img{aspect-ratio:16/10;margin:0}
.fz-feature h2{font-size:clamp(1.7rem,3vw,2.4rem)}
.fz-feature p{font-size:1.05rem}
.navigation.pagination{margin-top:64px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.page-numbers{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1.5px solid var(--black);border-radius:var(--r);text-decoration:none;font-weight:700}
.page-numbers.current,a.page-numbers:hover{background:var(--black);color:var(--white)}

/* single */
.fz-article-head{padding:72px 0 32px}
.fz-article-head h1{font-size:clamp(2rem,4.4vw,3.3rem);margin-bottom:20px}
.fz-article-head .lede{font-size:1.2rem;color:var(--g700)}
.fz-article-img{max-width:1100px;margin:0 auto 8px;padding:0 24px}
.fz-article-img img{width:100%;border-radius:var(--r);aspect-ratio:2/1;object-fit:cover}
.fz-author{display:flex;gap:18px;align-items:center;border-top:1px solid var(--g100);border-bottom:1px solid var(--g100);padding:26px 0;margin:48px 0 0}
.fz-author .av{flex:none;width:60px;height:60px;border-radius:50%;background:var(--black);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:800}
.fz-author p{margin:0;font-size:.97rem;color:var(--g700)}
.fz-tags{margin-top:32px;display:flex;flex-wrap:wrap;gap:8px}
.fz-tags a{font-size:.85rem;border:1px solid var(--g300);padding:5px 12px;border-radius:99px;text-decoration:none;font-weight:600}
.fz-related{padding:72px 0;background:var(--g50)}

/* footer */
.fz-footer{background:var(--black);color:var(--white);padding:72px 0 28px;font-size:.95rem}
.fz-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:48px}
.fz-footer h4{font-size:1rem;margin-bottom:16px}
.fz-footer ul{list-style:none;margin:0;padding:0}
.fz-footer li{margin-bottom:9px}
.fz-footer a{text-decoration:none;color:var(--g300)}
.fz-footer a:hover{color:var(--white);text-decoration:underline}
.fz-footer p{color:var(--g300)}
.fz-footer .copy{border-top:1px solid #2a2a2a;margin-top:48px;padding-top:24px;font-size:.85rem;color:var(--g500)}
.fz-wa{position:fixed;right:20px;bottom:20px;z-index:60;background:var(--black);color:var(--white);border:2px solid var(--white);padding:13px 20px;border-radius:99px;font-weight:800;font-size:.9rem;text-decoration:none;box-shadow:0 4px 18px rgba(0,0,0,.25)}

/* responsive */
@media(max-width:1000px){
 .fz-grid--4,.fz-ind{grid-template-columns:repeat(2,1fr)}
 .fz-grid--3,.fz-posts{grid-template-columns:repeat(2,1fr)}
 .fz-steps{grid-template-columns:repeat(2,1fr)}
 .fz-hero .fz-wrap,.fz-cta .fz-wrap,.fz-feature{grid-template-columns:1fr;gap:40px}
 .fz-price{grid-template-columns:1fr}
 .fz-footer .cols{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
 .fz-toggle{display:block}
 .fz-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--white);border-bottom:1px solid var(--g100);padding:12px 24px 24px}
 .fz-nav.open{display:block}
 .fz-nav ul{flex-direction:column;align-items:flex-start;gap:4px}
 .fz-nav a{display:block;padding:10px 0}
 .fz-header .btn{display:none}
 .fz-header .fz-wrap{position:relative}
}
@media(max-width:640px){
 body{font-size:16px}
 .fz-section{padding:64px 0}
 .fz-hero{padding:48px 0 64px}
 .fz-grid--4,.fz-grid--3,.fz-ind,.fz-posts,.fz-quotes,.fz-steps,.fz-footer .cols,.fz-cta--band .fz-wrap{grid-template-columns:1fr}
 .fz-topbar .fz-wrap{justify-content:center}
 .fz-topbar .hrs{display:none}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- v1.1: service pages, certifications, contact ---------- */
.fz-intro{font-size:1.2rem;line-height:1.7;color:var(--g700)}
.fz-narrow .fz-intro{max-width:720px}
.fz-svc{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:64px;align-items:start}
.fz-svc-main h2{font-size:1.7rem;margin:2.2em 0 .7em}
.fz-svc-main .fz-intro{margin-top:0}
.fz-svc-main>h2:first-of-type{margin-top:1.6em}
.fz-checks{list-style:none;margin:0 0 1.4em;padding:0}
.fz-checks li{position:relative;padding:11px 0 11px 34px;border-top:1px solid var(--g100)}
.fz-checks li:last-child{border-bottom:1px solid var(--g100)}
.fz-checks li::before{content:"";position:absolute;left:4px;top:19px;width:14px;height:8px;border-left:3px solid var(--black);border-bottom:3px solid var(--black);transform:rotate(-45deg)}
.fz-how{list-style:none;margin:0;padding:0;counter-reset:h;display:grid;gap:0}
.fz-how li{counter-increment:h;position:relative;padding:20px 0 20px 64px;border-top:1px solid var(--g100)}
.fz-how li:last-child{border-bottom:1px solid var(--g100)}
.fz-how li::before{content:counter(h);position:absolute;left:0;top:20px;width:40px;height:40px;border-radius:50%;background:var(--black);color:var(--white);font-weight:800;display:flex;align-items:center;justify-content:center}
.fz-how h3{margin:0 0 4px;font-size:1.1rem}
.fz-how p{margin:0;color:var(--g700);font-size:.98rem}
.fz-faq details{border-top:1px solid var(--g300);padding:16px 0}
.fz-faq details:last-child{border-bottom:1px solid var(--g300)}
.fz-faq summary{font-weight:800;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.fz-faq summary::-webkit-details-marker{display:none}
.fz-faq summary::after{content:"+";font-size:1.4rem;line-height:1}
.fz-faq details[open] summary::after{content:"–"}
.fz-faq p{margin:12px 0 0;color:var(--g700)}
.fz-side{position:sticky;top:110px;display:grid;gap:24px}
.fz-box{border:2px solid var(--black);border-radius:var(--r);padding:26px}
.fz-box h4{font-size:1.05rem;margin-bottom:14px}
.fz-box ul{list-style:none;margin:0;padding:0}
.fz-box li{border-top:1px solid var(--g100)}
.fz-box li a{display:block;padding:9px 0;text-decoration:none;font-size:.93rem;font-weight:600;color:var(--g700)}
.fz-box li a:hover{color:var(--black);text-decoration:underline}
.fz-box li a.on{color:var(--black);font-weight:800}
.fz-box li a.on::before{content:"";display:inline-block;width:8px;height:8px;background:var(--black);border-radius:50%;margin-right:10px}
.fz-box--dark{background:var(--black);color:var(--white)}
.fz-box--dark p{color:var(--g300);font-size:.95rem}
.fz-two{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.fz-three{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.fz-three p{color:var(--g700)}
.fz-certs{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.fz-cert{display:flex;gap:16px;align-items:center;border:2px solid var(--black);border-radius:var(--r);padding:22px}
.fz-cert .badge{flex:none;min-width:52px;height:52px;padding:0 8px;border-radius:var(--r);background:var(--black);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.95rem}
.fz-cert h4{font-size:1rem;margin:0 0 2px;line-height:1.25}
.fz-cert small{color:var(--g500);font-weight:600}
.fz-details{list-style:none;margin:32px 0 0;padding:0}
.fz-details li{padding:16px 0;border-top:1px solid var(--g100)}
.fz-details strong{display:block;font-size:.85rem;color:var(--g500);margin-bottom:2px}
.fz-details small{color:var(--g500);margin-left:8px}
.fz-contact .fz-form{border:2px solid var(--black)}
@media(max-width:1000px){
 .fz-svc{grid-template-columns:1fr;gap:40px}
 .fz-side{position:static}
 .fz-two{grid-template-columns:1fr;gap:40px}
 .fz-three,.fz-certs{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){.fz-three,.fz-certs{grid-template-columns:1fr}}
