/*
Theme Name: Websites For The Trades
Description: Block theme for the Websites For The Trades marketing site. Navy and safety-orange, mobile-first, built to generate calls and enquiries.
Author: Websites For The Trades
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wftt
*/

/* Bundled fonts (Barlow and Barlow Condensed, SIL Open Font License) */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/barlow-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/barlow-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/barlow-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/barlow-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url('assets/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2')}

:root{
  --navy:#0F2540; --navy-d:#0A1A2F; --navy-m:#1B3A63;
  --orange:#FF7A1A; --orange-d:#C2410C; --orange-l:#FF944D;
  --grey:#F3F5F8; --line:#DDE3EC; --muted:#4A5668; --pale:#D5DEEA; --soft:#B8C4D6;
  --cond:'Barlow Condensed','Barlow',sans-serif;
  --body:'Barlow',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--body);color:var(--navy);-webkit-font-smoothing:antialiased}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0;margin-block-end:0}

/* Resets (low specificity so component classes win) */
:where(.wftt) :is(p,ul,ol,h1,h2,h3,figure,blockquote){margin:0}
:where(.wftt) :is(h1,h2,h3){font-family:var(--cond);text-transform:uppercase;font-weight:800;line-height:1;letter-spacing:.01em;color:inherit}
:where(.wftt) :is(ul,ol){padding:0;list-style:none}
.wftt h2{font-size:clamp(36px,4.6vw,56px)}
.wftt h3{font-size:28px;font-weight:700}
.wftt a{color:inherit}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

/* Layout helpers */
.wftt-inner{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.wftt-sec{padding-top:88px;padding-bottom:88px}
.wftt-bg-white{background:#fff}
.wftt-bg-grey{background:var(--grey)}
.wftt-bg-navy{background:var(--navy);color:#fff}
.wftt-bg-orange{background:var(--orange);color:var(--navy)}
.wftt .wp-block-columns{margin:0;gap:24px}
.wftt .wp-block-column{min-width:0;margin:0}
.wftt-row{margin-top:44px !important}
.wftt-head{max-width:760px}
.wftt-eyebrow{font-weight:700;font-size:15px;letter-spacing:.16em;text-transform:uppercase;color:var(--orange-d);margin-bottom:12px}
.wftt-bg-navy .wftt-eyebrow,.wftt-hero .wftt-eyebrow{color:var(--orange)}
.wftt-sub{font-size:20px;line-height:1.55;color:var(--muted);margin-top:18px}
.wftt-bg-navy h2,.wftt-bg-navy h3,.wftt-hero h1{color:#fff}

/* Top bar */
.wftt-topbar{background:var(--navy-d);color:var(--pale);font-size:14px}
.wftt-topbar-in{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 24px;padding-top:8px;padding-bottom:8px}
.wftt-topbar-call a{color:#fff;text-decoration:none;font-weight:600}

/* Header */
.wftt-sticky{position:sticky;top:0;z-index:20}
.admin-bar .wftt-sticky{top:32px}
.wftt-header{background:#fff;border-bottom:1px solid var(--line)}
.wftt-header-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-top:12px;padding-bottom:12px}
.wftt-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy)}
.wftt-logo-mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--navy);border-radius:8px}
.wftt-logo-text{font-family:var(--cond);font-weight:800;font-size:26px;line-height:1;letter-spacing:.02em;text-transform:uppercase}
.wftt-logo-text span{color:var(--orange-d)}
.wftt-nav .wp-block-navigation-item__content{font-weight:600;font-size:17px;color:var(--navy);padding:10px 14px;border-radius:6px;text-decoration:none}
.wftt-nav .wp-block-navigation-item__content:hover{color:var(--orange-d);background:var(--grey)}
.wftt-header .wp-block-buttons{margin:0}

/* Buttons */
.wftt-btns{display:flex;flex-wrap:wrap;gap:14px}
.wftt-btns .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 32px;border-radius:8px;font-weight:700;font-size:19px;line-height:1.2;text-decoration:none;font-family:var(--body);border:2px solid transparent}
.wftt-btn-primary .wp-block-button__link{background:var(--orange);color:var(--navy)}
.wftt-btn-primary .wp-block-button__link:hover{background:var(--orange-l);color:var(--navy)}
.wftt-btn-ghost .wp-block-button__link{background:transparent;color:#fff;border-color:#fff}
.wftt-btn-ghost .wp-block-button__link:hover{background:rgba(255,255,255,.12);color:#fff}
.wftt-btn-navy .wp-block-button__link{background:var(--navy);color:#fff}
.wftt-btn-navy .wp-block-button__link:hover{background:var(--navy-m);color:#fff}
.wftt-btn-sm .wp-block-button__link{min-height:48px;padding:0 22px;font-size:17px}

/* Hero */
.wftt-hero{background:var(--navy);color:#fff}
.wftt-hero-top{padding-top:72px;padding-bottom:56px}
.wftt-hero-cols{align-items:center;gap:48px !important}
.wftt-hero h1{font-size:clamp(46px,6.4vw,84px);line-height:.96}
.wftt-lead{margin-top:24px;font-size:20px;line-height:1.55;color:var(--pale);max-width:560px}
.wftt-hero .wftt-btns{margin-top:32px}
.wftt-hero-note{margin-top:18px;font-size:16px;color:var(--soft)}
.wftt-trust-wrap{border-top:1px solid rgba(255,255,255,.16)}
.wftt-trust{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 28px;padding-top:22px !important;padding-bottom:22px !important}
.wftt-trust li{display:flex;align-items:center;gap:10px;font-weight:600;font-size:17px;color:#fff}
.wftt-trust li::before{content:"";flex:none;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A1A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.wftt-stripe{height:10px;background:repeating-linear-gradient(-45deg,var(--orange) 0,var(--orange) 14px,var(--navy) 14px,var(--navy) 28px)}
.wftt-stripe-d{background:repeating-linear-gradient(-45deg,var(--orange) 0,var(--orange) 14px,var(--navy-d) 14px,var(--navy-d) 28px)}

/* Cards */
.wftt-card{background:var(--grey);border-radius:12px;padding:32px;height:100%}
.wftt-ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:10px;background:var(--navy)}
.wftt-card h3{margin-top:20px}
.wftt-card p{margin-top:10px;font-size:18px;line-height:1.55;color:var(--muted)}
.wftt-obj{border:2px solid var(--line);border-radius:12px;padding:30px;height:100%}
.wftt-obj h3{color:var(--orange-d)}
.wftt-obj p{margin-top:12px;font-size:18px;line-height:1.55;color:var(--muted)}

/* Checklists */
.wftt-checks{display:flex;flex-direction:column;gap:13px;margin-top:26px !important}
.wftt-checks li{display:flex;align-items:flex-start;gap:12px;font-size:18px}
.wftt-checks li::before{content:"";flex:none;width:22px;height:22px;margin-top:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.wftt-checks-b li{font-weight:600}
.wftt-split .wp-block-columns{align-items:center;gap:48px}
.wftt-split p + p{margin-top:14px}

/* Steps */
.wftt-step{border-top:4px solid var(--orange);padding-top:22px}
.wftt-step-n{font-family:var(--cond);font-weight:800;font-size:64px;line-height:1;color:var(--orange)}
.wftt-step h3{margin-top:10px}
.wftt-step p{margin-top:10px;font-size:18px;line-height:1.55;color:var(--pale)}

/* Pricing */
.wftt-price{background:#fff;border-radius:16px;padding:40px;border:3px solid var(--navy);height:100%}
.wftt-label{font-weight:700;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.wftt-amt-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-top:8px}
.wftt-amt{font-family:var(--cond);font-weight:800;font-size:92px;line-height:1}
.wftt-amt-note{font-size:20px;font-weight:600;color:var(--muted)}
.wftt-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.wftt-pills span{background:#E8EDF4;color:var(--navy);font-weight:700;font-size:15px;padding:6px 14px;border-radius:99px}
.wftt-pills span.hot{background:var(--orange)}
.wftt-price .wftt-btns{margin-top:32px}
.wftt-fine{margin-top:20px;font-size:15px;line-height:1.5;color:var(--muted)}
.wftt-extras{background:var(--navy);color:#fff;border-radius:16px;padding:32px}
.wftt-extras .wftt-label{color:var(--orange)}
.wftt-extras-sub{margin-top:8px;font-size:16px;color:var(--pale)}
.wftt-extra{margin-top:22px;padding-top:22px;border-top:1px solid rgba(255,255,255,.2)}
.wftt-extra h3{font-size:26px;color:#fff}
.wftt-extra p{margin-top:8px;font-size:17px;line-height:1.5;color:var(--pale)}
.wftt-extra p.wftt-extra-price{margin-top:12px;font-size:20px;font-weight:700;color:var(--orange)}
.wftt-trades{background:#fff;border:2px solid var(--line);border-radius:16px;padding:28px;margin-top:20px}
.wftt-trades h3{font-size:24px}
.wftt-trades p{margin-top:10px;font-size:17px;line-height:1.6;color:var(--muted)}
.wftt-side{display:flex;flex-direction:column}

/* Portfolio */
.wftt-site{border:2px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;height:100%}
.wftt-shot{height:220px;background:#E8EDF4;display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:600;text-align:center;padding:20px}
.wftt-site-body{padding:24px}
.wftt-trade{font-weight:700;font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-d)}
.wftt-site-body h3{margin-top:8px}
.wftt-site-body p.wftt-d{margin-top:8px;font-size:17px;line-height:1.5;color:var(--muted)}
.wftt-site-body p.wftt-l{margin-top:12px;font-weight:700;font-size:17px}
.wftt-soon{border:2px dashed var(--navy);border-radius:12px;padding:32px;background:var(--grey);height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px}
.wftt-soon h3{font-size:32px;font-weight:800}
.wftt-soon p{font-size:18px;line-height:1.5;color:var(--muted)}

/* Testimonials */
.wp-block-quote.wftt-quote{margin:0;background:#fff;border:0;border-top:6px solid var(--orange);border-radius:12px;padding:30px;height:100%}
.wftt-quote p{font-size:19px;line-height:1.55}
.wftt-quote cite{display:block;margin-top:18px;font-size:16px;font-weight:600;font-style:normal;color:var(--muted)}

/* FAQ */
.wftt-faq{max-width:860px;margin:0 auto;padding:88px 24px}
.wftt-faq-list{margin-top:36px;border-bottom:2px solid var(--line)}
.wftt-faq .wp-block-details{border-top:2px solid var(--line);padding:4px 0}
.wftt-faq .wp-block-details summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;font-size:20px;font-weight:700;cursor:pointer;list-style:none}
.wftt-faq .wp-block-details summary::-webkit-details-marker{display:none}
.wftt-faq .wp-block-details summary::after{content:"+";flex:none;font-size:34px;font-weight:600;line-height:1;color:var(--orange-d)}
.wftt-faq .wp-block-details[open] summary::after{content:"\2013"}
.wftt-faq .wp-block-details p{padding:0 40px 22px 0;font-size:18px;line-height:1.6;color:var(--muted)}

/* Final CTA */
.wftt-cta{padding-top:72px;padding-bottom:72px}
.wftt-cta h2{font-size:clamp(38px,5vw,64px);line-height:.98;max-width:860px}
.wftt-cta .wftt-btns{margin-top:20px}
.wftt-cta .wftt-btns .wp-block-button__link{min-height:58px;padding:0 36px;font-size:20px}
.wftt-cta-sub{margin-top:20px;font-size:18px}
.wftt-cta-sub a{font-weight:700}

/* Contact */
.wftt-contact-cols{gap:48px !important}
.wftt-contact-list{display:flex;flex-direction:column;gap:16px;margin-top:30px !important;font-size:19px;color:#fff}
.wftt-contact-list li{display:flex;gap:14px;align-items:center}
.wftt-contact-list li::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:var(--orange)}
.wftt-bg-navy .wftt-sub{color:var(--pale)}
.wftt-form{background:#fff;color:var(--navy);border-radius:16px;padding:36px;display:flex;flex-direction:column;gap:18px}
.wftt-form .r{display:flex;flex-wrap:wrap;gap:18px}
.wftt-form .f{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:6px}
.wftt-form label{font-weight:700;font-size:16px}
.wftt-form input,.wftt-form select,.wftt-form textarea{width:100%;font-family:var(--body);font-size:17px;color:var(--navy);background:#fff;border:2px solid var(--soft);border-radius:8px;padding:0 14px;min-height:52px}
.wftt-form textarea{padding:12px 14px;resize:vertical}
.wftt-form button{min-height:58px;border:0;border-radius:8px;background:var(--orange);color:var(--navy);font-family:var(--body);font-weight:700;font-size:20px;cursor:pointer}
.wftt-form button:hover{background:var(--orange-l)}
.wftt-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wftt-form-msg{background:#E8F5EC;color:#14532D;border-radius:12px;padding:18px 22px;font-weight:600;margin-bottom:18px}
.wftt-form-msg.err{background:#FDECEC;color:#7F1D1D}

/* Footer */
.wftt-footer{background:var(--navy-d);color:var(--pale)}
.wftt-footer-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;padding-top:48px;padding-bottom:32px}
.wftt-footer-in>div{flex:1 1 160px;min-width:0}
.wftt-footer-in>div:first-child{flex-basis:280px}
.wftt-footer .wftt-logo-text{color:#fff;font-size:28px}
.wftt-footer .wftt-logo-text span{color:var(--orange)}
.wftt-footer p{margin:14px 0 0;font-size:16px;line-height:1.55;max-width:340px}
.wftt-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:17px}
.wftt-footer a{color:var(--pale);text-decoration:none}
.wftt-footer a:hover{color:#fff;text-decoration:underline}
.wftt-copy{padding-bottom:32px;font-size:14px;color:var(--soft)}
.wftt-mobilecall{display:none}

/* Plain pages (legal etc.) */
.wftt-page{padding:64px 24px;font-size:18px;line-height:1.6}
.wftt-page h1{font-size:clamp(40px,5vw,60px);margin-bottom:24px}
.wftt-page h2{font-size:32px;margin-top:40px}
.wftt-page p{margin-top:16px}
.wftt-page a{color:var(--orange-d)}
.wftt-plain{list-style:disc !important;padding-left:24px !important;margin-top:12px !important}
.wftt-plain li{margin-top:6px}

/* Extra components */
.wftt-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;color:var(--navy);padding:12px 18px;font-weight:700;border-radius:6px}
.wftt-skip:focus{left:8px}
.wftt-btn-outline .wp-block-button__link{background:transparent;color:var(--navy);border-color:var(--navy)}
.wftt-btn-outline .wp-block-button__link:hover{background:var(--navy);color:#fff}
.wftt-btns .wftt-btn-outline,.wftt-price .wftt-btns{margin-top:32px}
.wftt-price-solo{max-width:760px;margin:44px auto 0;height:auto}
.wftt-feat h3{font-size:24px}
.wftt-feat p{font-size:17px}
.wftt-form-note{font-size:14px;line-height:1.5;color:var(--muted)}
.wftt-form-note a{color:var(--orange-d);font-weight:600}
.wftt-plain-steps{margin-top:14px !important}
.wftt-contact-info h3{margin-top:32px}
.wftt-contact-info .wftt-plain{font-size:18px;color:var(--muted)}
.wftt-contact-info a{color:var(--orange-d);font-weight:700}

@media (max-width:781px){
  .wftt-sec{padding-top:64px;padding-bottom:64px}
  .wftt-hero-top{padding-top:48px}
  .wftt-card,.wftt-obj,.wftt-site,.wftt-soon,.wftt-price{height:auto}
  .wftt .wp-block-columns{gap:20px}
  .wftt-price{padding:28px}
  .wftt-form{padding:24px}
}
@media (max-width:760px){
  .wftt-topbar-call{display:none}
  .wftt-header .wp-block-buttons{display:none}
  .wftt-mobilecall{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:30;min-height:56px;align-items:center;justify-content:center;gap:10px;border-radius:10px;background:var(--orange);color:var(--navy);font-weight:700;font-size:19px;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.3)}
  .wftt-footer{padding-bottom:72px}
}
