/*
=========================================================
ARCHER IT SERVICES
Shared stylesheet
=========================================================

COLOR PALETTE
Primary / Midnight Navy: #172033
Accent / Copper:          #C47A3D
Warm Background / Sand:   #F4EFE7
Secondary / Slate Green:  #49665A
White:                    #FFFFFF

To change the site's colors, edit the variables below.
=========================================================
*/

:root {
    --navy: #172033;
    --navy-light: #253047;
    --copper: #C47A3D;
    --copper-dark: #9F5E2B;
    --sand: #F4EFE7;
    --green: #49665A;
    --white: #FFFFFF;
    --text: #26303A;
    --muted: #66717C;
    --border: #DDE1E4;
    --shadow: 0 12px 35px rgba(23, 32, 51, 0.08);
    --radius: 14px;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green);
    font-weight: 600;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--copper-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--navy);
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin-top: 0;
}

.container {
    width: min(calc(100% - 2rem), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 5rem 0;
}

.alt {
    background: var(--sand);
}

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

header {
    position: relative;
    z-index: 10;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 62px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
}

.nav-links > a:not(.btn) {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-links > a:not(.btn):hover,
.nav-links > a[aria-current="page"] {
    color: var(--copper-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--copper);
    border-radius: 999px;
    background: var(--copper);
    color: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
    color: var(--white);
    background: var(--copper-dark);
    border-color: var(--copper-dark);
    transform: translateY(-1px);
}

.btn-small {
    min-height: 42px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
}

.btn-light {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
}

.btn-light:hover {
    color: var(--navy);
    background: var(--sand);
    border-color: var(--sand);
}

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

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 20%, rgba(196, 122, 61, 0.22), transparent 27%),
        linear-gradient(135deg, var(--navy) 0%, #202B40 65%, var(--green) 100%);
    color: var(--white);
}

.hero {
    min-height: 560px;
    display: flex;
    align-items: center;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -180px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 1px;
    right: -80px;
    top: 35%;
    background: rgba(255,255,255,0.12);
    transform: rotate(-28deg);
    box-shadow: 0 80px rgba(255,255,255,0.08), 0 160px rgba(255,255,255,0.06);
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero h1,
.hero h2,
.page-hero h1 {
    color: var(--white);
}

.hero h1 {
    max-width: 850px;
    margin-bottom: 0.25rem;
}

.hero h2 {
    color: var(--copper);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
}

.hero p {
    max-width: 680px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
}

.page-hero {
    padding: 5rem 0;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
}

.eyebrow {
    margin-bottom: 0.7rem;
    color: var(--copper-dark);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.remote-callout .eyebrow {
    color: #F2B17A;
}

/* =========================
   GRID / CARDS
   ========================= */

.grid {
    display: grid;
    gap: 1.5rem;
}

.card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card h2,
.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--muted);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-number {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--copper);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.featured-card {
    border-color: rgba(196, 122, 61, 0.45);
}

.check-list {
    padding: 0;
    margin: 1.5rem 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.5rem;
    border-top: 1px solid var(--border);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.split > :last-child {
    max-width: 650px;
}

/* =========================
   REMOTE SUPPORT CALLOUT
   ========================= */

.remote-callout {
    padding: 4.5rem 0;
    background: var(--green);
    color: var(--white);
    text-align: center;
}

.remote-callout h2 {
    color: var(--white);
}

.remote-callout p:not(.eyebrow) {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.9);
}

/* =========================
   PRICING
   ========================= */

.pricing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pricing-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: var(--white);
}

.pricing-table caption {
    padding: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: left;
}

.pricing-table th,
.pricing-table td {
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.pricing-table th {
    background: var(--navy);
    color: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
}

.pricing-table td:nth-child(2) {
    color: var(--copper-dark);
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-table td span {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.policy-box {
    max-width: 850px;
    padding: 2rem;
    border-left: 5px solid var(--copper);
    background: var(--sand);
    border-radius: 0 var(--radius) var(--radius) 0;
}

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

.contact-layout {
    display: grid;
    gap: 3rem;
}

.contact-details {
    max-width: 650px;
}

.contact-item {
    margin: 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.contact-item h3 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
}

.form-card {
    padding: 2rem;
    background: var(--sand);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--navy);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #C8CED3;
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
}

.form-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

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

footer {
    padding: 3.5rem 0 1.5rem;
    background: var(--navy);
    color: rgba(255,255,255,0.78);
}

footer h2,
footer h3 {
    color: var(--white);
}

footer h2 {
    margin-bottom: 0.3rem;
}

footer p {
    margin-bottom: 0.6rem;
}

footer a {
    color: rgba(255,255,255,0.9);
}

footer a:hover {
    color: #F2B17A;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    font-size: 0.82rem;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

@media (min-width: 650px) {
    .container {
        width: min(calc(100% - 3rem), var(--max-width));
    }

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

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .three {
        grid-template-columns: repeat(3, 1fr);
    }

    .split {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .contact-layout {
        grid-template-columns: 1fr 0.9fr;
        align-items: start;
    }

    .form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 820px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .remote-btn {
        margin-top: 0.2rem;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(calc(100% - 1.5rem), var(--max-width));
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero {
        min-height: auto;
    }

    .hero .container,
    .page-hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .nav-links {
        gap: 0.65rem 0.9rem;
    }

    .nav-links > a:not(.btn) {
        font-size: 0.88rem;
    }

    .remote-btn {
        width: 100%;
    }

    .card,
    .form-card {
        padding: 1.5rem;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom p + p {
        margin-top: 1rem;
    }
}

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}

/* =========================
   ABOUT PAGE
   ========================= */

.about-intro {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-photo {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed rgba(73, 102, 90, 0.45);
    border-radius: var(--radius);
    background: var(--sand);
    box-shadow: var(--shadow);
}

.about-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.image-placeholder-note {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(23, 32, 51, 0.85);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (min-width: 900px) {
    .about-intro {
        grid-template-columns: 0.9fr 1.1fr;
    }
}


/* Managed services pricing note */
.pricing-note {
    margin: 1.25rem 0 2rem;
    color: var(--muted);
    font-size: 0.92rem;
}

/* Give the backup add-on some breathing room */
.policy-box {
    margin-top: 2rem;
}

.policy-box .btn {
    margin-top: 0.5rem;
}


/* Services page: four-card layout */
@media (min-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Spacing between managed service tiers */
.service-card h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Keep service card buttons separated from lists */
.service-card .btn {
    margin-top: 1.5rem;
}

