/*
Theme Name: Secure-Server Modern
Theme URI: https://secure-server.ca/
Author: Secure-Server.ca
Description: Staging-first responsive theme with WooCommerce compatibility. Custom operational functions remain in legacy theme until migrated.
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: ssca-modern
*/
:root{--navy:#101d34;--blue:#1671d9;--sky:#eaf4ff;--ink:#18243a;--muted:#637087;--border:#dfe7f0;--bg:#f7f9fc;--white:#fff;--width:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue)}a:hover{text-decoration:none}img{max-width:100%;height:auto}.container{width:min(calc(100% - 40px),var(--width));margin-inline:auto}.skip-link{position:absolute;left:-9999px;top:5px;z-index:9999;background:white;padding:10px}.skip-link:focus{left:10px}.site-header{position:relative;background:white;border-bottom:1px solid var(--border);z-index:10}.header-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:800;font-size:1.28rem;letter-spacing:-.03em;color:var(--navy);text-decoration:none;display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;background:var(--navy);color:white;border-radius:12px;width:41px;height:41px;font-size:.78rem;letter-spacing:0}.custom-logo-link img{max-height:58px;width:auto}.site-nav ul{padding:0;margin:0;list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:20px}.site-nav a{display:inline-block;color:var(--ink);text-decoration:none;font-weight:600;font-size:.94rem}.site-nav a:hover,.site-nav .current-menu-item>a{color:var(--blue)}.header-actions{display:flex;gap:10px;align-items:center}.btn,.wp-block-button__link,button[type=submit],input[type=submit]{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;line-height:1.3;padding:12px 19px;border-radius:10px;border:1px solid transparent;cursor:pointer}.btn-primary{background:var(--blue);color:white}.btn-light{background:white;color:var(--navy);border-color:var(--border)}.btn:hover{filter:brightness(.94)}.menu-toggle{display:none;border:1px solid var(--border);border-radius:8px;background:white;padding:10px;color:var(--navy)}.hero{background:linear-gradient(125deg,#101d34 0%,#173c71 65%,#155ea6 100%);color:#fff;padding:96px 0 106px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}.eyebrow{text-transform:uppercase;font-weight:800;letter-spacing:.17em;color:#9ed2ff;font-size:.77rem}.hero h1{font-size:clamp(2.4rem,5vw,4.4rem);line-height:1.1;letter-spacing:-.055em;margin:20px 0}.hero p{color:#d6e4f6;font-size:1.15rem;max-width:620px}.hero .btn-primary{background:white;color:var(--navy)}.hero .btn-light{background:transparent;border-color:#7796b6;color:white}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.hero-panel{border:1px solid #6383a9;border-radius:24px;background:rgba(255,255,255,.09);padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.17)}.hero-panel h2{color:white;font-size:1.25rem}.hero-panel ul{padding-left:20px;color:#e3effe}.hero-panel li{padding:7px 0}.section{padding:78px 0}.section-muted{background:var(--bg)}.section-head{max-width:760px;margin-bottom:35px}.section-head h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2;letter-spacing:-.035em;margin:8px 0 14px}.section-head p{color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.service-card{background:white;border:1px solid var(--border);border-radius:18px;padding:28px;box-shadow:0 10px 32px rgba(10,33,66,.03)}.service-card h3{margin:10px 0;font-size:1.22rem;line-height:1.3}.service-card p{color:var(--muted);margin:0 0 18px}.service-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:var(--sky);color:var(--blue);font-weight:900}.cta-panel{background:var(--navy);color:white;border-radius:22px;padding:45px;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta-panel h2{margin:0 0 9px;font-size:2rem}.cta-panel p{margin:0;color:#c4d5ee}.content-wrap{padding:54px 0 84px;min-height:50vh}.content-wrap h1{font-size:clamp(2rem,4vw,3.3rem);line-height:1.15;letter-spacing:-.04em;color:var(--navy)}.entry-content{overflow-wrap:anywhere}.entry-content>*>:first-child{margin-top:0}.site-footer{background:var(--navy);color:#dbe7f8;padding:56px 0 26px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer a{color:#dbe7f8}.site-footer h3{color:#fff;margin-top:0}.footer-bottom{border-top:1px solid #39506c;padding-top:20px;margin-top:30px;font-size:.86rem;color:#a9bcd4}.woocommerce .button,.woocommerce button.button,.woocommerce a.button{border-radius:9px}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce .woocommerce-MyAccount-navigation li{padding:10px;border-bottom:1px solid var(--border)}@media(max-width:1000px){.header-actions .btn-light{display:none}.site-nav ul{gap:12px}.hero-grid{gap:26px}}@media(max-width:780px){.header-inner{min-height:72px;flex-wrap:wrap}.menu-toggle{display:block}.site-nav{display:none;flex-basis:100%;order:3;padding-bottom:16px}.site-nav.is-open{display:block}.site-nav ul{display:block}.site-nav li{padding:9px 0}.header-actions .btn-primary{display:none}.hero{padding:65px 0}.hero-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.cta-panel{display:block}.cta-panel .btn{margin-top:22px}}@media(min-width:781px) and (max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Version 0.2.0: service archives and account navigation */
.ssca-services-intro{max-width:780px;margin-bottom:30px}.ssca-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.ssca-service-list-card{border:1px solid var(--border);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(12,39,75,.045)}.ssca-service-list-card img{display:block;width:100%;height:230px;object-fit:cover}.ssca-service-list-card-body{padding:24px}.ssca-service-list-card h2{margin:0 0 12px;font-size:1.45rem;line-height:1.3}.ssca-service-list-card h2 a{color:var(--navy);text-decoration:none}.ssca-service-list-card p{color:var(--muted);margin:0 0 16px}.ssca-service-placeholder{height:160px;background:linear-gradient(135deg,#eaf4ff,#cfdeed);display:flex;align-items:center;justify-content:center;color:#173d6a;font-size:1.4rem;font-weight:800}.ssca-service-detail{max-width:980px;margin:auto}.ssca-service-featured{border-radius:18px;overflow:hidden;margin:12px 0 30px}.ssca-service-featured img{display:block;width:100%;max-height:420px;object-fit:cover}.ssca-service-cta{margin-top:32px;padding:28px;border-radius:18px;background:#f1f7fd;display:flex;align-items:center;justify-content:space-between;gap:18px}
/* WooCommerce product/signup presentation: retains native WooCommerce fields */
.single-product .woocommerce div.product,.single-product .product{max-width:1110px;margin-inline:auto}.single-product .woocommerce div.product .summary{line-height:1.65}.single-product .woocommerce form.cart,.single-product .woocommerce .variations_form,.single-product .woocommerce .wc-pao-addons-container{background:#f8fbfe;border:1px solid #dfe7f0;border-radius:16px;padding:20px}.single-product .woocommerce input,.single-product .woocommerce select,.single-product .woocommerce textarea{max-width:100%}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #d7e2ec;border-radius:9px;padding:12px}
/* Make WooCommerce navigation a persistent left-hand portal sidebar on wide screens. */
body.woocommerce-account .woocommerce{display:flow-root;max-width:1200px;margin-inline:auto}
body.woocommerce-account .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;max-width:none!important;margin:0 0 22px!important}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0!important;margin:0!important;list-style:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none!important;border:0!important;margin:0!important;padding:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;min-height:48px;padding:12px 14px;border:1px solid #dce6f1;border-radius:11px;background:#f4f8fc;color:#163b5c;text-decoration:none;font-weight:650;font-size:.91rem;line-height:1.35;overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#163e66;color:#fff;border-color:#163e66}
body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;min-width:0;clear:none!important}
@media(min-width:960px){body.woocommerce-account .woocommerce{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);gap:28px;align-items:start}body.woocommerce-account .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}body.woocommerce-account .woocommerce-MyAccount-navigation{position:sticky;top:24px;margin:0!important}body.woocommerce-account.admin-bar .woocommerce-MyAccount-navigation{top:56px}body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr}body.woocommerce-account .woocommerce-MyAccount-content{grid-column:2}body.woocommerce-account .woocommerce-MyAccount-navigation li a{min-height:52px}}
@media(max-width:600px){body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}.ssca-services-grid{grid-template-columns:1fr}.ssca-service-cta{display:block}.ssca-service-cta .btn{margin-top:16px}}
@media(min-width:601px) and (max-width:900px){.ssca-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
