/*
Theme Name: Technic MSP
Author: Technic Consulting
Description: Custom MSP-focused WordPress theme for Technic Consulting.
Version: 1.0
*/
:root{--bg:#07111f;--bg2:#0e2238;--panel:#ffffff;--ink:#102033;--muted:#617086;--blue:#246bfe;--cyan:#21c4d7;--green:#20c997;--line:#dce6f2;--soft:#f4f8fc;--shadow:0 22px 70px rgba(7,17,31,.16);--radius:22px;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#fff;color:var(--ink);line-height:1.6}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}.container{max-width:var(--max);margin:0 auto;padding:0 22px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(220,230,242,.9)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:24px}.brand img{width:230px;max-width:48vw;height:auto;display:block}.nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.nav a{font-weight:700;color:#1d2b3d;padding:10px 12px;border-radius:999px}.nav a:hover{background:#edf4ff;text-decoration:none}.nav .btn{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;box-shadow:0 12px 24px rgba(36,107,254,.24)}.trustbar{background:#0c1b2d;color:#dcecff;font-size:14px}.trustbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 22px}.trust-points{display:flex;gap:20px;margin:0;padding:0;list-style:none;flex-wrap:wrap}.trust-cta{display:flex;gap:14px;align-items:center}.trust-link{color:#fff;font-weight:800}.btn,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 20px;font-weight:800;border:0;text-decoration:none}.btn:hover{text-decoration:none;transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;box-shadow:0 18px 38px rgba(36,107,254,.26)}.btn-ghost{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.35);color:#fff}.btn-light{background:#fff;color:var(--blue)}.btn-sm{padding:8px 13px;font-size:13px}.hero{background:radial-gradient(circle at 80% 15%,rgba(33,196,215,.28),transparent 30%),linear-gradient(135deg,#07111f 0%,#0d2944 60%,#113b61 100%);color:#fff;overflow:hidden}.hero-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:44px;align-items:center;padding:72px 22px}.hero h1{font-size:clamp(38px,6vw,66px);line-height:1.02;margin:0 0 20px;letter-spacing:-.045em}.hero p{font-size:20px;color:#d9e8f5;max-width:720px}.hero-visual{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:34px;padding:20px;box-shadow:0 28px 90px rgba(0,0,0,.28)}.hero-visual img{width:100%;border-radius:24px;display:block}.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.small{font-size:14px!important}.section{padding:76px 0}.section.alt{background:var(--soft)}.section.dark{background:var(--bg);color:#fff}.section h2{font-size:clamp(30px,4vw,46px);line-height:1.1;margin:0 0 16px;letter-spacing:-.025em}.section .lead{font-size:19px;color:var(--muted);max-width:820px}.dark .lead{color:#c6d6e7}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.card h3{margin-top:0;font-size:23px}.card ul{padding-left:20px}.dark .card{background:#10233a;border-color:#1f3b5b;color:#fff;box-shadow:none}.kicker{font-weight:900;color:var(--cyan);text-transform:uppercase;letter-spacing:.13em;font-size:13px}.process{counter-reset:step}.process .card{position:relative;padding-left:70px}.process .card:before{counter-increment:step;content:counter(step);position:absolute;left:24px;top:26px;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;display:grid;place-items:center;font-weight:900}.split{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}.notice{background:#eaf7ff;border-left:5px solid var(--blue);padding:18px 20px;border-radius:16px}.footer{background:#06101d;color:#c6d6e7;padding:52px 0}.footer a{color:#fff}.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .8fr;gap:28px}.footer img{width:210px;background:#fff;border-radius:14px;padding:8px}.contact-form{display:grid;gap:14px}.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:13px 14px;border:1px solid #cbd8e7;border-radius:14px;font:inherit}.contact-form label{font-weight:800}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.badge-list{display:flex;gap:10px;flex-wrap:wrap}.badge{display:inline-flex;padding:8px 12px;background:#eaf2ff;color:#174987;border-radius:999px;font-weight:800;font-size:13px}.wp-site-blocks{padding:0}.entry-content{margin:0}.page-title-wrap{background:linear-gradient(135deg,#07111f,#123a5e);color:#fff;padding:64px 0}.page-title-wrap h1{font-size:clamp(36px,5vw,58px);line-height:1.05;margin:0 0 12px}.page-title-wrap p{font-size:20px;color:#d7e7f5;max-width:850px}@media(max-width:860px){.hero-inner,.split,.grid-2,.grid-3,.footer-grid{grid-template-columns:1fr}.trustbar-inner{align-items:flex-start;flex-direction:column}.nav-wrap{align-items:flex-start;flex-direction:column;padding:15px 22px}.nav{width:100%}.hero-inner{padding-top:46px}.form-row{grid-template-columns:1fr}} 

/* Final content and visual polish pass */
.site-header{box-shadow:0 6px 24px rgba(7,17,31,.06)}
.nav-wrap{min-height:74px}.brand img{width:218px}.nav{gap:4px}.nav a{font-size:15px;padding:9px 10px}.nav .current-menu-item>a{background:#edf4ff;color:#174987}.trustbar{font-size:13px}.trust-points li{white-space:nowrap}.hero h1,.page-title-wrap h1{text-wrap:balance}.hero p,.page-title-wrap p,.section .lead{text-wrap:pretty}.hero-visual{transform:translateY(4px)}.card{transition:transform .16s ease,box-shadow .16s ease}.card:hover{transform:translateY(-2px);box-shadow:0 26px 76px rgba(7,17,31,.19)}.card ul li{margin:.35rem 0}.notice strong{color:#0b365d}.footer{padding-top:46px}.footer h3{margin-top:0;color:#fff}.footer .small{border-top:1px solid rgba(255,255,255,.12);padding-top:18px;margin-top:24px}.contact-form .form-note{margin:0;color:var(--muted);font-size:14px}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:3px solid rgba(33,196,215,.24);border-color:var(--cyan)}
@media(max-width:1100px){.brand img{width:190px}.nav a{font-size:14px;padding:8px 8px}.trust-points{gap:12px}.hero-inner{gap:28px}}
@media(max-width:860px){.nav-wrap{gap:12px}.brand img{width:210px}.nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nav a{display:block;text-align:center;background:#f5f8fc}.trust-points{display:grid;grid-template-columns:1fr;gap:8px}.trust-cta{width:100%;justify-content:space-between}.section{padding:56px 0}.hero h1{font-size:40px}}
@media(max-width:520px){.container{padding:0 18px}.nav{grid-template-columns:1fr}.trust-cta{align-items:flex-start;flex-direction:column}.hero-inner{padding:40px 18px}.btn,.wp-block-button__link{width:100%}.footer img{width:180px}}
/* Header nav: remove default list bullets/dots from menu items. */
.nav li{list-style:none;margin:0;padding:0}
.nav ul{list-style:none;margin:0;padding:0}

/* Front-page hero enlargement and engagement pass — 2026-06-11 */
body.home .hero{
    position:relative;
    isolation:isolate;
    min-height:650px;
    background:
        radial-gradient(circle at 76% 22%,rgba(33,196,215,.42),transparent 30%),
        radial-gradient(circle at 34% 86%,rgba(36,107,254,.28),transparent 34%),
        linear-gradient(135deg,#06101d 0%,#0b2440 54%,#0f4971 100%);
}
body.home .hero:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:.16;
    background-image:
        linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);
    background-size:46px 46px;
    mask-image:linear-gradient(90deg,transparent,black 18%,black 82%,transparent);
}
body.home .hero-inner{
    grid-template-columns:minmax(0,.95fr) minmax(500px,1.05fr);
    gap:50px;
    padding:74px 22px 82px;
}
body.home .hero-copy{
    position:relative;
    z-index:2;
}
body.home .hero h1{
    max-width:700px;
    text-shadow:0 16px 48px rgba(0,0,0,.24);
}
body.home .hero p{
    max-width:650px;
}
body.home .hero-visual{
    position:relative;
    align-self:center;
    min-height:470px;
    padding:16px;
    border-radius:38px;
    background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.08));
    border:1px solid rgba(255,255,255,.26);
    box-shadow:0 34px 110px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.24);
    transform:none;
}
body.home .hero-visual img{
    width:100%;
    height:100%;
    min-height:440px;
    object-fit:cover;
    object-position:54% 50%;
    border-radius:28px;
    box-shadow:0 20px 48px rgba(0,0,0,.22);
}
body.home .hero-visual:before,
body.home .hero-visual:after{
    position:absolute;
    z-index:3;
    display:inline-flex;
    align-items:center;
    gap:10px;
    border-radius:18px;
    padding:13px 16px;
    font-weight:900;
    line-height:1.2;
    letter-spacing:-.01em;
    color:#102033;
    background:rgba(255,255,255,.95);
    border:1px solid rgba(255,255,255,.75);
    box-shadow:0 18px 42px rgba(0,0,0,.24);
    backdrop-filter:blur(12px);
}
body.home .hero-visual:before{
    content:"✓ Proactive monitoring";
    left:-18px;
    top:34px;
}
body.home .hero-visual:after{
    content:"Cybersecurity • M365 • Backups";
    right:-18px;
    bottom:32px;
    color:#0b4f7a;
}
body.home .cta-row{
    margin-top:30px;
}
body.home .hero .small{
    margin-top:16px;
    padding:12px 15px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:16px;
    background:rgba(255,255,255,.07);
}
@media(max-width:1100px){
    body.home .hero{min-height:0}
    body.home .hero-inner{grid-template-columns:1fr;gap:34px;padding:68px 22px 76px}
    body.home .hero-visual{min-height:440px;max-width:760px;width:100%}
    body.home .hero-visual img{min-height:410px}
}
@media(max-width:640px){
    body.home .hero-inner{padding:46px 18px 56px}
    body.home .hero-visual{min-height:330px;padding:10px;border-radius:28px}
    body.home .hero-visual img{min-height:310px;border-radius:22px}
    body.home .hero-visual:before,
    body.home .hero-visual:after{position:static;margin-top:10px;width:100%;justify-content:center;text-align:center;font-size:14px}
}

/* Front-page hero adjustment — move image up and remove callout bubbles — 2026-06-11 */
body.home .hero-visual{
    align-self:start;
    margin-top:0;
}
body.home .hero-visual:before,
body.home .hero-visual:after{
    content:none !important;
    display:none !important;
}

/* Front-page hero transparent background image experiment — checkpoint created before this change — 2026-06-11 */
body.home .hero{
    min-height:650px;
    background:
        linear-gradient(90deg,rgba(6,16,29,.96) 0%,rgba(8,25,46,.90) 42%,rgba(9,43,68,.78) 100%),
        linear-gradient(180deg,rgba(6,16,29,.10),rgba(6,16,29,.34)),
        url('/wp-content/themes/technic-msp/assets/images/hero-illustration.png') right center / min(58vw, 860px) auto no-repeat,
        radial-gradient(circle at 76% 22%,rgba(33,196,215,.42),transparent 30%),
        radial-gradient(circle at 34% 86%,rgba(36,107,254,.28),transparent 34%),
        linear-gradient(135deg,#06101d 0%,#0b2440 54%,#0f4971 100%);
}
body.home .hero:before{
    opacity:.12;
}
body.home .hero-inner{
    grid-template-columns:minmax(0,760px);
    justify-content:start;
    padding:82px 22px 86px;
}
body.home .hero-copy{
    max-width:760px;
}
body.home .hero h1{
    max-width:760px;
}
body.home .hero p{
    max-width:690px;
}
body.home .hero-visual{
    display:none !important;
}
@media(max-width:1100px){
    body.home .hero{
        background:
            linear-gradient(90deg,rgba(6,16,29,.97) 0%,rgba(8,25,46,.92) 54%,rgba(9,43,68,.80) 100%),
            linear-gradient(180deg,rgba(6,16,29,.18),rgba(6,16,29,.48)),
            url('/wp-content/themes/technic-msp/assets/images/hero-illustration.png') right top / 860px auto no-repeat,
            radial-gradient(circle at 76% 22%,rgba(33,196,215,.36),transparent 30%),
            radial-gradient(circle at 34% 86%,rgba(36,107,254,.24),transparent 34%),
            linear-gradient(135deg,#06101d 0%,#0b2440 54%,#0f4971 100%);
    }
    body.home .hero-inner{grid-template-columns:1fr;padding:66px 22px 72px}
}
@media(max-width:640px){
    body.home .hero{
        background:
            linear-gradient(180deg,rgba(6,16,29,.94) 0%,rgba(7,22,40,.91) 48%,rgba(8,36,57,.90) 100%),
            url('/wp-content/themes/technic-msp/assets/images/hero-illustration.png') center top / 780px auto no-repeat,
            linear-gradient(135deg,#06101d 0%,#0b2440 54%,#0f4971 100%);
    }
    body.home .hero-inner{padding:50px 18px 58px}
}

/* Mobile vertical layout repair — 2026-06-11 */
@media(max-width:640px){
    .site-header{
        position:relative;
    }
    .nav-wrap{
        min-height:0;
        padding:10px 18px 12px;
        gap:10px;
        align-items:center;
    }
    .brand{
        display:flex;
        justify-content:center;
        width:100%;
    }
    .brand img{
        width:190px;
        max-width:86vw;
    }
    .nav{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
        gap:7px;
    }
    .nav a{
        display:flex;
        align-items:center;
        justify-content:center;
        min-height:40px;
        padding:8px 10px;
        font-size:14px;
        line-height:1.15;
        text-align:center;
        background:#f2f6fb;
        border-radius:16px;
    }
    .nav li:last-child:nth-child(odd){
        grid-column:1 / -1;
    }
    .trustbar{
        font-size:13px;
    }
    .trustbar-inner{
        gap:12px;
        padding:12px 18px 14px;
    }
    .trust-points{
        display:grid;
        grid-template-columns:1fr;
        gap:5px;
        width:100%;
    }
    .trust-cta{
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
        width:100%;
    }
    .trust-link{
        font-size:15px;
    }
    .trustbar .btn{
        width:100%;
        min-height:44px;
    }
    body.home .hero{
        min-height:0;
        background:
            linear-gradient(180deg,rgba(6,16,29,.95) 0%,rgba(7,22,40,.93) 50%,rgba(8,36,57,.92) 100%),
            url('/wp-content/themes/technic-msp/assets/images/hero-illustration.png') center 8px / 760px auto no-repeat,
            linear-gradient(135deg,#06101d 0%,#0b2440 54%,#0f4971 100%);
    }
    body.home .hero-inner{
        padding:42px 18px 48px;
    }
    body.home .hero .kicker{
        font-size:12px;
        letter-spacing:.11em;
        margin-bottom:14px;
    }
    body.home .hero h1{
        font-size:clamp(34px,10.4vw,43px);
        line-height:1.07;
        letter-spacing:-.04em;
        margin-bottom:20px;
    }
    body.home .hero p{
        font-size:19px;
        line-height:1.48;
    }
    body.home .cta-row{
        display:grid;
        grid-template-columns:1fr;
        gap:12px;
        margin-top:24px;
    }
    body.home .cta-row .btn{
        width:100%;
        min-height:50px;
    }
    body.home .hero .small{
        font-size:14px!important;
        line-height:1.45;
        margin-top:14px;
    }
    .section{padding:46px 0;}
    .section h2{font-size:clamp(28px,8vw,36px);}
    .section .lead{font-size:18px;}
    .card{padding:22px;}
    .footer{padding:40px 0;}
}
@media(max-width:380px){
    .brand img{width:170px;}
    .nav{grid-template-columns:1fr;}
    .nav a{min-height:38px;}
    body.home .hero h1{font-size:33px;}
}


/* Modern hamburger dropdown navigation — 2026-06-11 */
.site-header{
    position:sticky;
    top:0;
    z-index:1000;
}
.nav-wrap{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-direction:row;
    min-height:76px;
    padding-top:0;
    padding-bottom:0;
}
.brand{
    width:auto;
    display:flex;
    align-items:center;
}
.menu-toggle{
    appearance:none;
    border:1px solid rgba(36,107,254,.16);
    background:linear-gradient(135deg,#ffffff,#f4f8ff);
    color:#102033;
    border-radius:999px;
    min-height:46px;
    padding:10px 15px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    font:inherit;
    font-weight:900;
    box-shadow:0 14px 34px rgba(7,17,31,.11);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible{
    transform:translateY(-1px);
    border-color:rgba(33,196,215,.42);
    box-shadow:0 18px 42px rgba(7,17,31,.15);
    outline:none;
}
.menu-toggle-lines{
    width:22px;
    display:grid;
    gap:4px;
}
.menu-toggle-lines span{
    display:block;
    height:2px;
    width:22px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--blue),var(--cyan));
    transition:transform .18s ease, opacity .18s ease;
}
.menu-toggle.is-active .menu-toggle-lines span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.menu-toggle.is-active .menu-toggle-lines span:nth-child(2){opacity:0;}
.menu-toggle.is-active .menu-toggle-lines span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
.nav{
    position:absolute;
    top:calc(100% + 12px);
    right:22px;
    z-index:1001;
    width:min(380px,calc(100vw - 44px));
    display:none;
    grid-template-columns:1fr;
    gap:8px;
    padding:12px;
    background:rgba(255,255,255,.97);
    border:1px solid rgba(220,230,242,.95);
    border-radius:24px;
    box-shadow:0 28px 80px rgba(7,17,31,.22);
    backdrop-filter:blur(16px);
}
.nav.is-open{
    display:grid;
    animation:technic-menu-drop .16s ease-out;
}
.nav li{
    display:block;
    list-style:none;
    margin:0;
    padding:0;
}
.nav a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:46px;
    padding:11px 14px;
    border-radius:16px;
    background:#f5f8fc;
    color:#14243a;
    font-weight:800;
    text-align:left;
}
.nav a:hover,
.nav .current-menu-item>a{
    background:linear-gradient(135deg,#edf4ff,#e7fbff);
    color:#174987;
    text-decoration:none;
}
.nav a:after{
    content:'›';
    color:var(--cyan);
    font-size:22px;
    line-height:1;
}
@keyframes technic-menu-drop{
    from{opacity:0;transform:translateY(-8px) scale(.98);}
    to{opacity:1;transform:translateY(0) scale(1);}
}
@media(max-width:860px){
    .nav-wrap{
        align-items:center;
        flex-direction:row;
        gap:16px;
        padding:10px 18px;
    }
    .brand{width:auto;justify-content:flex-start;}
    .brand img{width:190px;max-width:58vw;}
    .nav{
        right:18px;
        width:calc(100vw - 36px);
    }
}
@media(max-width:520px){
    .menu-toggle-text{display:none;}
    .menu-toggle{width:46px;justify-content:center;padding:10px;}
    .brand img{width:176px;max-width:66vw;}
}
