/*
Theme Name: Service Franchise Hub
Theme URI: https://servicefranchisehub.com
Author: Morris Shamouni
Author URI: https://servicefranchisehub.com
Description: The approved Service Franchise Hub design packaged as a self-contained WordPress theme: the homepage with seven service categories, the category overview, six category pages, About Morris, and a consultation request form with up to three ranked interests. No plugins, page builders, or external services required.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: service-franchise-hub
Tags: business, custom-menu, custom-logo, one-column, white, blue
*/


:root{--navy:#092c50;--ink:#17334b;--gold:#f4c65c;--cream:#f7f6f1}*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;color:var(--ink);background:var(--cream)}header{padding:22px 6%;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e2e6e7}.brand{font-weight:900;letter-spacing:-1px;font-size:23px}.brand small{display:block;font-size:10px;letter-spacing:2.3px;margin-top:5px;font-weight:500}.mark{color:#b88621}button{cursor:pointer;font:inherit}nav{display:flex;gap:6px}nav button{border:0;background:transparent;padding:10px;color:#627482;font-size:12px}nav button.active{color:var(--navy);border-bottom:2px solid #bb8b2c}main{min-height:75vh}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(40px,5.4vw,72px);line-height:1.06;letter-spacing:-2px}h2{font-family:Georgia,serif;font-size:clamp(30px,3.5vw,45px);font-weight:500;letter-spacing:-1px}p{line-height:1.65;color:#607180}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:bold;text-transform:uppercase;color:#b18a37;margin-bottom:22px}.btn{border:0;border-radius:5px;background:var(--gold);color:#092c50;font-weight:bold;padding:17px 24px;display:inline-block}.btn.dark{background:var(--navy);color:white}.entry{display:grid;grid-template-columns:1.08fr .92fr;max-width:1250px;margin:auto;padding:72px 6%;gap:65px;align-items:center}.entry p{max-width:500px}.entry-form{background:white;padding:27px;border-radius:10px;border:1px solid #e1e4e1;margin-top:26px;max-width:470px}.entry-form .btn{width:100%;margin-top:12px}label{display:block;font-size:12px;font-weight:bold;margin:12px 0 7px}input,select,textarea{font:inherit;width:100%;padding:13px;border:1px solid #ccd5d9;border-radius:4px;background:white;color:var(--ink)}.hint{font-size:11px;line-height:1.5;color:#75818a;margin-top:12px}.art{background:var(--navy);border-radius:150px 150px 12px 12px;padding:45px 25px 30px;color:white;position:relative}.art h2{font-size:36px;text-align:center;margin-bottom:25px}.art p{color:#c3d2de;text-align:center;font-size:13px}.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tile{padding:20px 12px;border:1px solid #ffffff25;border-radius:7px;background:#ffffff08;font-size:12px;display:flex;align-items:center;gap:11px}.tile span{font-size:23px;color:var(--gold)}.tile:last-child{grid-column:1/-1}.hero{background:var(--navy);padding:64px 8%;color:white;display:grid;grid-template-columns:1.5fr 1fr;gap:70px;align-items:center}.hero h1{font-size:clamp(39px,5vw,65px)}.hero p{color:#c4d2df;max-width:620px}.note{border-left:2px solid var(--gold);padding:10px 0 10px 25px}.note b{display:block;font-family:Georgia,serif;font-size:31px;font-weight:400;margin:12px 0}.section{padding:62px 8%;max-width:1450px;margin:auto}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}.section-head p{max-width:380px;font-size:14px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid #e0e5e4;border-radius:9px;overflow:hidden}.card-top{height:95px;background:#e6eeed;padding:22px;display:flex;align-items:center;justify-content:space-between}.icon{font-size:37px;color:#1d5765}.num{font-size:11px;color:#6c8589;letter-spacing:2px}.card-body{padding:24px}.card h3{font-size:19px;margin-bottom:12px}.card p{font-size:14px;margin-bottom:12px}.card .consider{font-size:12px;border-top:1px solid #e7ecec;padding-top:12px}.card.special{grid-column:span 2}.badge{display:inline-block;background:#fff1ce;color:#83601e;font-size:10px;letter-spacing:1px;padding:5px 8px;border-radius:3px;margin-bottom:12px}.inline-cta{font-size:13px;border:0;background:none;color:#134f6b;font-weight:bold;padding:5px 0}.adviser{background:#e9eeeb;display:grid;grid-template-columns:1fr 1.5fr;gap:50px;padding:45px;border-radius:10px}.monogram{background:var(--navy);color:var(--gold);font-family:Georgia,serif;display:grid;place-content:center;text-align:center;border-radius:8px;min-height:230px;font-size:75px}.monogram small{font:11px Arial;color:#c6d3dc;margin-top:15px}.adviser p{font-size:14px}.banner{background:var(--navy);color:white;text-align:center;padding:50px 25px;border-radius:10px}.banner p{color:#c4d2df}.faq{max-width:820px;margin:auto}details{border-bottom:1px solid #d9e0df;padding:20px 0}summary{cursor:pointer;font-weight:bold;font-size:15px}details p{font-size:14px;margin:15px 0 0}.booking{max-width:1000px;padding:55px 6%;margin:auto}.booking-head{text-align:center;max-width:650px;margin:auto auto 35px}.booking h1{font-size:48px}.formbox{background:white;border:1px solid #e0e5e4;border-radius:10px;padding:35px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.option{border:1px solid #d9e0e3;border-radius:4px;padding:13px;display:flex;gap:9px;align-items:center;font-size:13px;font-weight:400;margin:0}.option input{width:auto;accent-color:var(--navy)}fieldset{border:0;padding:0;margin:30px 0}legend{font-size:17px;font-weight:bold}.step{font-size:10px;color:#8c7341;letter-spacing:2px;margin-bottom:12px}.preview{font-size:11px;background:#fff1ce;padding:10px;text-align:center;color:#735a21}footer{padding:30px 8%;border-top:1px solid #dce2e1;font-size:11px;color:#78838a;line-height:1.7}footer strong{color:var(--navy)}.hidden{display:none!important}.success{padding:45px;text-align:center}.mobile-cta{display:none}@media(max-width:750px){header{padding:15px 5%;flex-wrap:wrap;gap:15px}.brand{font-size:20px}nav{width:100%;justify-content:space-between}.entry{grid-template-columns:1fr;padding:35px 6%;gap:30px}.art{border-radius:40px 40px 9px 9px}.hero{grid-template-columns:1fr;padding:40px 6%;gap:20px}.note{display:none}.section{padding:38px 6%}.section-head{display:block}.grid{grid-template-columns:1fr}.card.special{grid-column:auto}.adviser{grid-template-columns:1fr;padding:25px;gap:25px}.monogram{min-height:150px}.fields,.options{grid-template-columns:1fr}.formbox{padding:22px}.booking h1{font-size:37px}.booking{padding:35px 5%}h1{letter-spacing:-1px}}

:root{--gold:#ed252c;--cream:#edf4fa;--navy:#052b62}header{background:#04244f;color:white;border:0}nav button{color:#d4e2f4}nav button.active{color:white;border-color:#ffd453}.btn{color:white;background:linear-gradient(135deg,#fa363c,#d90010);box-shadow:0 6px 14px #021c3920}.eyebrow{color:#af7d07}.hero .eyebrow{color:#ffd453}.capture-head{padding:48px 6% 20px;text-align:center;background:linear-gradient(135deg,#052b62,#0959a6);color:white}.capture-head h1{font-family:Arial,sans-serif;font-weight:800;letter-spacing:-2px;font-size:clamp(38px,5vw,65px);margin-bottom:18px}.capture-head p{color:#dfeeff;font-size:19px;max-width:780px;margin:0 auto 12px}.capture-head .eyebrow{color:#ffd453}.capture-grid{background:linear-gradient(135deg,#052b62,#0959a6);display:grid;grid-template-columns:1fr 1.18fr 1fr;gap:22px;padding:20px 6% 55px;align-items:start}.capture-side{display:grid;gap:17px}.capture-tile{background:#062957;border-radius:10px;overflow:hidden;color:white;border:1px solid #ffffff35;box-shadow:0 8px 20px #00142c33}.capture-tile strong{display:block;padding:12px 14px 5px;font-size:15px}.capture-tile small{display:block;color:#ffdc69;font-size:10px;padding:0 14px 14px;line-height:1.5}.capture-tile .service-photo{height:135px}.entry-form{margin:0;max-width:none;padding:28px;box-shadow:0 15px 40px #00112644;border:0}.entry-form h2{font-size:36px;color:#052b62}.entry-form p{font-size:14px}.capture-seventh{margin-top:20px}.capture-seventh .service-photo{height:160px}.hero-photo{height:330px;border-radius:14px;overflow:hidden}.hero{grid-template-columns:1.2fr 1fr;gap:35px}.hero h1{font-family:Arial,sans-serif;font-weight:800;letter-spacing:-2px}.grid{grid-template-columns:1fr 1fr;gap:28px}.card.special{grid-column:1/-1}.service-photo{height:235px;overflow:hidden;background:#d5e7ef}.service-photo svg,.hero-photo svg{display:block}.card.special .service-photo{height:290px}.card{box-shadow:0 8px 25px #052b620b;border-radius:12px}.card h3{font-size:23px}.card-body{padding:27px}.category-details{border-top:1px solid #d9e5ed;border-bottom:0;padding:16px 0 0}.category-details summary{color:#094b8e}.category-details .btn{font-size:13px;margin-top:10px;padding:14px}.section-head h2{max-width:650px;font-family:Arial,sans-serif;font-weight:800;font-size:36px}.banner{background:linear-gradient(120deg,#052b62,#0959a6)}.banner .eyebrow{color:#ffd453}.adviser{background:#dcebf6}.calendar-placeholder{border:1px dashed #8caac7;border-radius:10px;padding:30px;margin:25px 0;background:#edf4fa}.chosen-note{background:#e7f2ff;border-left:3px solid #0d5fb6;padding:13px;font-size:13px;margin:15px 0}.booking h1{font-family:Arial,sans-serif;font-weight:800}footer{background:#04244f;color:#b5cbe1}footer strong{color:white}@media(max-width:850px){.capture-grid{grid-template-columns:1fr 1fr;padding:20px 5% 35px}.capture-center{grid-column:1/-1;grid-row:1}.capture-side{grid-row:2}.capture-tile .service-photo{height:120px}.capture-seventh .service-photo{height:155px}.grid{grid-template-columns:1fr}.card.special{grid-column:auto}.hero{grid-template-columns:1fr}.hero-photo{height:230px}.service-photo{height:220px}.capture-head h1{letter-spacing:-1px}.card.special .service-photo{height:220px}nav button{font-size:10px;padding:8px 4px}}
:root{--photos:url("<?php echo esc_url( sfh_img( 'sprite-services.webp' ) ); ?>")}
.top-photos{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;background:#04244f;padding:7px 0 0}.top-photos .capture-tile{border:0;border-radius:0;box-shadow:none;position:relative;overflow:hidden}.top-photos .service-photo{height:170px}.top-photos strong{font-size:12px;text-align:center;padding:12px 5px;min-height:54px;display:flex;align-items:center;justify-content:center;line-height:1.4}.top-capture{text-align:center;background:radial-gradient(ellipse at top,#1065b5,#052b62 75%);color:white;padding:36px 6% 50px}.top-capture .eyebrow{color:#ffda63;margin-bottom:15px}.top-capture h1{font-family:Arial,sans-serif;font-weight:800;font-size:clamp(36px,4.7vw,61px);letter-spacing:-1.5px;margin-bottom:15px}.top-subtitle{max-width:700px;margin:0 auto 24px;font-size:18px;color:#e2edfa}.top-form{max-width:480px;margin:auto;text-align:left}.top-form .entry-form{padding:22px 27px}.top-form label{color:#17334b}.top-form label:first-child{margin-top:0}.top-form .hint{text-align:center}.top-form .btn{font-size:18px}@media(max-width:750px){.top-photos{grid-template-columns:repeat(4,1fr);gap:3px}.top-photos .service-photo{height:82px}.top-photos strong{font-size:9px;min-height:38px;padding:6px 3px}.top-photos .capture-tile:last-child{grid-column:span 2}.top-capture{padding:27px 5% 35px}.top-capture .eyebrow{font-size:9px;line-height:1.5;letter-spacing:1px}.top-subtitle{font-size:15px}.top-form .entry-form{padding:22px}.top-capture h1{letter-spacing:-1px}}

.surround-hero{background:linear-gradient(120deg,#04244f,#075ca9);text-align:center;padding:40px 6% 28px;color:white}.surround-hero .eyebrow{color:#ffda63;margin-bottom:14px}.surround-hero h1{font-family:Arial,sans-serif;font-size:clamp(36px,4.3vw,59px);font-weight:800;letter-spacing:-1.5px;margin-bottom:16px}.surround-hero p{color:#e2edfa;font-size:19px;max-width:850px;margin:0 auto}.surround-layout{background:linear-gradient(125deg,#04244f,#075ca9);display:grid;grid-template-columns:1fr 1.22fr 1fr;gap:24px;padding:12px 5% 50px;max-width:none;align-items:start}.surround-left,.surround-right{display:grid;gap:18px}.surround-layout .capture-tile{border-radius:10px;border:1px solid #ffffff45;box-shadow:0 8px 20px #00142c33}.surround-layout .capture-tile .service-photo{height:155px}.surround-layout .capture-tile strong{text-align:center;padding:12px;font-size:16px;line-height:1.35}.surround-form{background:white;border-radius:12px;padding:30px 27px 15px;box-shadow:0 12px 35px #00142c33;text-align:center}.surround-form .eyebrow{font-size:10px;margin-bottom:16px}.surround-form h2{font-family:Arial,sans-serif;font-size:35px;font-weight:800;color:#052b62;letter-spacing:-1px;margin-bottom:15px}.surround-form p{font-size:14px;margin-bottom:9px}.surround-form .entry-form{box-shadow:none;border:0;padding:12px 0;text-align:left;background:transparent}.surround-form label{color:#17334b}.surround-form .btn{font-size:18px}.surround-form .hint{text-align:center}.surround-shipping{margin-top:22px}.surround-shipping .service-photo{height:205px!important}.surround-shipping strong:before{content:'NO ROYALTY';display:block;margin:0 auto 8px;background:#ed252c;color:white;border-radius:4px;padding:5px 10px;width:fit-content;font-size:13px;letter-spacing:1px}@media(min-width:1400px){.surround-layout{padding-left:10%;padding-right:10%}}@media(max-width:750px){.surround-layout{grid-template-columns:1fr 1fr;gap:12px;padding:15px 5% 35px}.surround-center{grid-column:1/-1;grid-row:1;display:contents}.surround-form{grid-column:1/-1;grid-row:1;padding:25px 22px 12px}.surround-left{grid-column:1;grid-row:2}.surround-right{grid-column:2;grid-row:2}.surround-shipping{grid-column:1/-1;grid-row:3;margin-top:5px}.surround-layout .capture-tile .service-photo{height:115px}.surround-layout .capture-tile strong{font-size:11px;padding:10px 5px}.surround-shipping .service-photo{height:180px!important}.surround-hero{padding:30px 5% 20px}.surround-hero h1{font-size:37px;letter-spacing:-1px}.surround-hero p{font-size:16px}.surround-hero .eyebrow{font-size:10px;line-height:1.6}.surround-form h2{font-size:30px}}

.category-hero{background:linear-gradient(130deg,#04244f,#075ca9);color:white;padding:45px 8%;display:grid;grid-template-columns:1.1fr 1fr;gap:45px;align-items:center}.category-hero h1{font:800 clamp(36px,4.8vw,62px)/1.08 Arial,sans-serif;letter-spacing:-1.5px;margin:18px 0}.category-hero p{color:#dcecff;font-size:19px}.category-hero .eyebrow{color:#ffda63;margin:24px 0 10px}.category-hero .service-photo{height:330px;border-radius:12px}.back-link{background:none;border:0;padding:0;color:#e6effa;font-size:12px;cursor:pointer}.sub-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.sub-card{background:white;border:1px solid #dbe6ee;border-radius:10px;padding:27px}.sub-card h3{color:#074b87;font-size:21px}.sub-card p{font-size:15px;margin-bottom:0}.category-consider{display:grid;grid-template-columns:1fr 1fr;gap:50px;background:#dcebf6;max-width:none}.category-consider ul{padding-left:22px;line-height:1.7}.category-consider li{padding:10px;border-bottom:1px solid #bccfdf}.inline-cta{text-decoration:none;display:inline-block}@media(max-width:750px){.category-hero{grid-template-columns:1fr;padding:30px 6%;gap:25px}.category-hero .service-photo{height:220px}.category-hero .btn{font-size:13px}.sub-grid,.category-consider{grid-template-columns:1fr}.category-consider{gap:15px}.category-hero h1{letter-spacing:-1px}}

/* ---------------------------------------------------------------------------
   Service Franchise Hub - build patches
   Added on top of the approved stylesheet: real navigation links instead of
   preview buttons, guaranteed category CTAs, and the ranked interest controls.
   --------------------------------------------------------------------------- */

/* Header navigation is made of links, not preview buttons. */
header nav a{display:inline-block;padding:10px;color:#d4e2f4;font-size:12px;text-decoration:none;border-bottom:2px solid transparent}
header nav a:hover,header nav a:focus{color:#fff}
header nav a.active{color:#fff;border-bottom-color:#ffd453}
a.brand-link{display:block;color:inherit;text-decoration:none}

@media(max-width:850px){
  /* Matches the height the approved preview had for its nav items,
     so the mobile layout below the header does not shift by a pixel. */
  header nav a{font-size:10px;padding:7px 4px;line-height:11px}
}

/* Anchors that replaced preview buttons must not look like body links. */
a.btn,a.inline-cta,a.category-link,a.category-book{text-decoration:none}
a.btn{display:inline-block}

/* Both category CTAs stay visible, aligned and tappable at every width. */
.category-actions .category-link,.category-actions .category-book{min-height:48px;line-height:1.3;box-sizing:border-box}
.category-actions a.category-link,.category-actions a.category-book{display:flex;align-items:center;justify-content:center}
@media(max-width:850px){
  .category-actions{flex-direction:column;align-items:stretch}
  .category-actions .category-link,.category-actions .category-book{flex:0 0 auto;width:100%}
}

/* Keyboard focus. */
:where(.btn,.category-link,.category-book,.inline-cta,select,input,summary):focus-visible{outline:3px solid #ffd453;outline-offset:2px}

/* Ranked interest selects on the consultation form. */
.sfh-ranked{display:grid;gap:16px;margin:16px 0 6px}
.sfh-rank{display:grid;gap:7px}
.sfh-rank .rank-head{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:bold}
.sfh-rank .rank-num{display:inline-grid;place-content:center;width:22px;height:22px;border-radius:50%;background:#052b62;color:#fff;font-size:11px;line-height:1}
.sfh-rank select{width:100%}
.sfh-rank select:disabled{background:#eef2f5;color:#8b98a3}

/* Skip link, only visible when focused. */
.sfh-skip{position:absolute;left:-9999px;top:0;z-index:999;background:#052b62;color:#fff;padding:12px 18px;text-decoration:none}
.sfh-skip:focus{left:8px;top:8px}
