:root {
    --navy: #082d58;
    --blue: #1266c3;
    --yellow: #ffc62a;
    --text: #2f3946;
    --muted: #637080;
    --red: #fa004b;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    color: inherit;
}


/* Header */

.site-header {
    max-width: var(--max);
    margin: auto;
    padding: 26px 28px 10px;
}

.logo img {
    display: block;
    width: min(405px, 70vw);
    height: auto;
}


/* Hero */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0 0 0 44%;
    background: url("images/hero-tech.jpg") center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #fff 36%,
        rgba(255,255,255,.93) 48%,
        rgba(255,255,255,.55) 68%,
        rgba(255,255,255,.25) 100%
    );
}

.hero-inner {
    max-width: var(--max);
    margin: auto;
    padding: 58px 28px 54px;
    min-height: 500px;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.intro {
    max-width: 610px;
    margin: 0 0 30px;
    font-size: 21px;
    line-height: 1.48;
}


/* Hero Action Buttons */

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

.actions a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    min-height: 58px;
    padding: 15px 22px;
    border-radius: 7px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color .15s ease,
        border-color .15s ease,
        transform .15s ease;
}

.actions a.button:hover {
    transform: translateY(-1px);
}

.actions a.button.call-button {
    background-color: var(--yellow);
    border: 2px solid var(--yellow);
    color: var(--navy);
}

.actions a.button.call-button:hover {
    background-color: #ffd75e;
    border-color: #ffd75e;
    color: var(--navy);
}
.actions a.button.remote-button {
    background-color: var(--red);
    border: 2px solid var(--red);
    color: var(--navy);
}

.actions a.button.remote-button:hover {
    background-color: #ff5e5e;
    border-color: #ff5e5e;
    color: var(--navy);
}

.actions a.button.directions-button {
    background-color: var(--navy);
    border: 2px solid var(--navy);
    color: #fff;
}

.actions a.button.directions-button:hover {
    background-color: var(--blue);
    border-color: var(--blue);
    color: #fff;
}


/* Phone Number */

.contact-line {
    margin-top: 20px;
    color: var(--blue);
    font-size: 21px;
    font-weight: 700;
}

.contact-line a {
    text-decoration: none;
}


/* Services / Main Navigation */

.services {
    max-width: var(--max);
    margin: auto;
    padding: 34px 28px 48px;
    text-align: center;
}

.services h2,
.about h2,
.location h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 34px;
}

.services > p {
    max-width: 760px;
    margin: 0 auto 34px;
    line-height: 1.5;
}

.service-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.service-links a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.service-links img {
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
}

.service-links small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.3;
}


/* About & Location */

.about,
.location {
    max-width: var(--max);
    margin: auto;
    padding: 36px 28px;
    text-align: center;
}

.about {
    border-top: 1px solid #e7edf4;
}

.about p,
.location {
    line-height: 1.55;
}

.business-info {
    display: grid;
    gap: 10px;
    justify-content: center;
    font-style: normal;
}

.business-info a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}


/* Footer */

footer {
    margin-top: 20px;
    background: var(--navy);
    color: #fff;
}

.footer-content {
    display: flex;
    max-width: var(--max);
    margin: auto;
    padding: 28px;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-business,
.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
}


/* Tablet */

@media (max-width: 900px) {

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

    .hero::before {
        inset: 0;
        opacity: .32;
    }

    .hero::after {
        background: rgba(255,255,255,.82);
    }
    .actions a.button.remote-button {
    display: none;
}
}


/* Mobile */

@media (max-width: 600px) {

    .site-header {
        padding-top: 20px;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 36px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .intro {
        font-size: 18px;
    }

    .actions {
        gap: 10px;
    }

    .actions a.button {
        width: 100%;
    }

    .service-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 18px;
    }
}