/*
Theme Name: HostQ
Theme URI: https://hostq.co.za/
Author: HostQ
Author URI: https://hostq.co.za/
Description: Custom HostQ business website theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hostq-theme
*/

/* =========================================================
   HOSTQ GLOBAL
========================================================= */

:root {
    --hq-dark: #080d14;
    --hq-dark-2: #0e1621;
    --hq-dark-3: #15202c;
    --hq-yellow: #ffc928;
    --hq-green: #25d366;
    --hq-blue: #25a7ff;
    --hq-white: #ffffff;
    --hq-light: #f4f1e8;
    --hq-grey: #9aa6b2;
    --hq-border: rgba(255,255,255,.12);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--hq-dark);
    color: var(--hq-white);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

.hq-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.hq-header {
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    z-index: 100;
}

body.admin-bar .hq-header {
    top: 64px;
}

.hq-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hq-logo {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.hq-logo span {
    color: var(--hq-yellow);
}

.hq-menu {
    display: flex;
    gap: 32px;
}

.hq-menu a {
    color: #d6dde5;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.hq-menu a:hover {
    color: var(--hq-yellow);
}

.hq-nav-whatsapp {
    background: var(--hq-green);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
}


/* =========================================================
   HERO
========================================================= */

.hq-hero {
    position: relative;
    overflow: hidden;
    min-height: 820px;
    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 78% 25%,
        rgba(37,167,255,.20),
        transparent 25%),

        radial-gradient(circle at 82% 75%,
        rgba(255,201,40,.12),
        transparent 25%),

        linear-gradient(
        120deg,
        #05080d 0%,
        #0b1119 52%,
        #101c28 100%
        );
}

.hq-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);

    background-size: 48px 48px;
}

.hq-hero::after {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    right: -180px;
    top: 100px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.hq-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .3;
}

.hq-glow-one {
    width: 350px;
    height: 350px;
    background: var(--hq-blue);
    right: 5%;
    top: 18%;
}

.hq-glow-two {
    width: 250px;
    height: 250px;
    background: var(--hq-yellow);
    right: 25%;
    bottom: 8%;
    opacity: .12;
}

.hq-hero-grid {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: center;

    padding-top: 130px;
    padding-bottom: 90px;
}

.hq-eyebrow,
.hq-section-label {
    color: var(--hq-yellow);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hq-hero h1 {
    max-width: 760px;
    margin: 18px 0 24px;

    font-size: clamp(52px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -3.5px;
}

.hq-hero h1 span {
    display: block;
    color: var(--hq-yellow);
}

.hq-hero-text {
    max-width: 680px;
    color: #bec7d1;
    font-size: 20px;
    line-height: 1.7;
    margin: 0 0 32px;
}

.hq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 900;
    transition: transform .2s ease;
}

.hq-button:hover {
    transform: translateY(-2px);
}

.hq-button-whatsapp {
    background: var(--hq-green);
    color: #fff;
}

.hq-button-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.hq-location {
    margin-top: 28px;
    color: #84909c;
    font-size: 13px;
}

.hq-location span {
    color: var(--hq-yellow);
    padding: 0 8px;
}


/* =========================================================
   HERO TECHNOLOGY DISPLAY
========================================================= */

.hq-tech-display {
    position: relative;
    transform: rotate(2deg);

    background:
        linear-gradient(145deg,
        rgba(27,39,52,.95),
        rgba(8,13,20,.98));

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    box-shadow:
        0 40px 80px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.06);

    overflow: hidden;
}

.hq-display-top {
    padding: 18px 22px;
    border-bottom: 1px solid var(--hq-border);

    font-size: 11px;
    letter-spacing: 1px;
    color: #9ba8b5;

    display: flex;
    align-items: center;
}

.hq-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hq-green);
    margin-right: 9px;
    box-shadow: 0 0 12px rgba(37,211,102,.8);
}

.hq-online {
    margin-left: auto;
    color: var(--hq-green);
}

.hq-display-body {
    padding: 32px;
}

.hq-display-heading {
    font-size: 39px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.hq-system-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 0;
    border-top: 1px solid var(--hq-border);
}

.hq-system-row strong {
    display: block;
    font-size: 14px;
}

.hq-system-row small {
    display: block;
    margin-top: 4px;
    color: #7f8b98;
}

.hq-system-row > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    background: rgba(37,211,102,.13);
    color: var(--hq-green);
    border-radius: 50%;
    font-weight: 900;
}


/* =========================================================
   INTRO
========================================================= */

.hq-intro {
    background: var(--hq-light);
    color: #121820;
    padding: 100px 0;
}

.hq-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.hq-intro h2,
.hq-section-heading h2,
.hq-why-copy h2 {
    margin: 14px 0 0;
    font-size: clamp(38px, 4vw, 55px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hq-intro-copy {
    color: #59616b;
    font-size: 18px;
    line-height: 1.7;
}

.hq-intro-copy p:first-child {
    margin-top: 0;
}


/* =========================================================
   SERVICES
========================================================= */

.hq-services {
    background: #eef0f2;
    color: #111820;
    padding: 105px 0;
}

.hq-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 50px;
}

.hq-section-heading p {
    max-width: 390px;
    color: #68717c;
    font-size: 17px;
    line-height: 1.65;
}

.hq-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hq-service-card {
    position: relative;
    min-height: 285px;
    padding: 30px;

    background: #fff;
    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(22,31,41,.07);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.hq-service-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 24px 50px rgba(22,31,41,.12);
}

.hq-service-number {
    position: absolute;
    top: 24px;
    right: 26px;

    color: #adb4bc;
    font-size: 12px;
    font-weight: 800;
}

.hq-service-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111820;
    color: var(--hq-yellow);

    border-radius: 50%;
    font-size: 21px;
    font-weight: 900;

    margin-bottom: 40px;
}

.hq-service-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.hq-service-card p {
    margin: 0;
    color: #69727d;
    line-height: 1.65;
    font-size: 15px;
}

.hq-service-featured {
    background: var(--hq-yellow);
}

.hq-service-featured .hq-service-number {
    color: rgba(17,24,32,.45);
}

.hq-service-featured .hq-service-icon {
    background: #111820;
    color: #fff;
}

.hq-service-featured p {
    color: #333a42;
}


/* =========================================================
   WHY HOSTQ
========================================================= */

.hq-why {
    background: #0d151f;
    padding: 110px 0;
}

.hq-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.hq-why-panel {
    min-height: 520px;
    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background:
        radial-gradient(circle at 70% 15%,
        rgba(37,167,255,.22),
        transparent 28%),

        radial-gradient(circle at 25% 80%,
        rgba(255,201,40,.18),
        transparent 28%),

        linear-gradient(145deg,#182432,#080d14);

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;

    box-shadow: 0 30px 70px rgba(0,0,0,.3);
}

.hq-panel-label {
    color: var(--hq-yellow);
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 18px;
}

.hq-panel-message {
    font-size: 43px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -2px;
}

.hq-panel-message span {
    display: block;
    color: var(--hq-yellow);
}

.hq-panel-line {
    width: 90px;
    height: 5px;
    background: var(--hq-yellow);
    margin-top: 28px;
}

.hq-why-copy h2 {
    color: #fff;
}

.hq-why-copy > p {
    color: #9da8b3;
    font-size: 18px;
    line-height: 1.7;
}

.hq-why-copy ul {
    list-style: none;
    padding: 10px 0 0;
    margin: 0;
}

.hq-why-copy li {
    position: relative;
    padding: 13px 0 13px 32px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #d4dae0;
}

.hq-why-copy li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--hq-green);
    font-weight: 900;
}


/* =========================================================
   STATEMENT
========================================================= */

.hq-statement {
    padding: 125px 0;
    text-align: center;
    color: #111820;
    background: var(--hq-yellow);
}

.hq-statement-small {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hq-statement h2 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -3px;
}

.hq-statement h2 span {
    display: block;
    color: #fff;
}

.hq-statement p {
    margin: 25px auto 0;
    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   CONTACT
========================================================= */

.hq-contact {
    background: #f3f4f5;
    color: #111820;
    padding: 105px 0;
}

.hq-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.hq-contact h2 {
    margin: 15px 0;
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -2px;
}

.hq-contact p {
    color: #66707a;
    font-size: 18px;
}

.hq-big-whatsapp {
    position: relative;

    display: block;
    padding: 35px 75px 35px 35px;

    background: var(--hq-green);
    color: #fff;
    border-radius: 12px;

    box-shadow: 0 20px 45px rgba(37,211,102,.2);

    transition: transform .2s ease;
}

.hq-big-whatsapp:hover {
    transform: translateY(-4px);
}

.hq-big-whatsapp small {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
}

.hq-big-whatsapp strong {
    display: block;
    font-size: 28px;
}

.hq-big-whatsapp > span {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
}


/* =========================================================
   FOOTER
========================================================= */

.hq-footer {
    background: #05080c;
    padding: 50px 0 30px;
}

.hq-footer-top,
.hq-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hq-social {
    display: flex;
    gap: 22px;
}

.hq-social a,
.hq-social span {
    color: #a3adb8;
    font-size: 14px;
}

.hq-social a:hover {
    color: var(--hq-yellow);
}

.hq-footer-bottom {
    margin-top: 38px;
    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.09);

    color: #65717d;
    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 950px) {

    .hq-hero-grid,
    .hq-intro-grid,
    .hq-why-grid,
    .hq-contact-grid {
        grid-template-columns: 1fr;
    }

    .hq-hero-grid {
        gap: 50px;
    }

    .hq-tech-display {
        max-width: 600px;
        transform: none;
    }

    .hq-service-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hq-section-heading {
        display: block;
    }

    .hq-section-heading p {
        max-width: 600px;
    }
}


@media (max-width: 700px) {

    .hq-container {
        width: min(100% - 30px, 1180px);
    }

    .hq-header {
        top: 20px;
    }

    body.admin-bar .hq-header {
        top: 66px;
    }

    .hq-menu {
        display: none;
    }

    .hq-nav-whatsapp {
        padding: 10px 13px;
        font-size: 12px;
    }

    .hq-hero {
        min-height: auto;
    }

    .hq-hero-grid {
        padding-top: 130px;
        padding-bottom: 65px;
    }

    .hq-hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hq-hero-text {
        font-size: 17px;
    }

    .hq-tech-display {
        border-radius: 14px;
    }

    .hq-display-body {
        padding: 24px;
    }

    .hq-display-heading {
        font-size: 32px;
    }

    .hq-intro,
    .hq-services,
    .hq-why,
    .hq-contact {
        padding: 70px 0;
    }

    .hq-service-grid {
        grid-template-columns: 1fr;
    }

    .hq-why-grid {
        gap: 45px;
    }

    .hq-why-panel {
        min-height: 390px;
        padding: 30px;
    }

    .hq-panel-message {
        font-size: 34px;
    }

    .hq-statement {
        padding: 85px 0;
    }

    .hq-statement h2 {
        font-size: 48px;
    }

    .hq-footer-top,
    .hq-footer-bottom {
        display: block;
    }

    .hq-social {
        margin-top: 25px;
        flex-wrap: wrap;
    }

    .hq-footer-bottom span {
        display: block;
        margin-top: 8px;
    }
}