:root {
    /* Navy base to match the GRS badge logo; warm amber accent to stay
       distinct from the (blue-accented) software site and suit a trades brand. */
    --green: #14225c;       /* navy (var name kept to limit churn) */
    --green-2: #1d3070;     /* lighter navy */
    --charcoal: #0f1830;    /* deep navy-charcoal */
    --accent: #e0922f;      /* amber */
    --accent-2: #f2ad54;
    --ink: #1c2436;
    --muted: #5e6880;
    --line: #e2e6ef;
    --bg: #ffffff;
    --bg-alt: #f4f6fb;
    --radius: 14px;
    --maxw: 1120px;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--green); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.brand-text strong { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; margin-right: 28px; }
.site-nav a { color: var(--ink); font-weight: 500; }

.header-contact { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.1; text-align: right; color: var(--green); }
.header-phone:hover { text-decoration: none; }
.header-phone-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.header-phone-num { font-size: 1.05rem; font-weight: 800; color: var(--green); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 18px; border-radius: 8px; font-weight: 700; }
.nav-cta:hover { background: var(--green); text-decoration: none; }

/* Hero: full-width, centered, logo backdrop */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--green) 0%, var(--green-2) 100%);
    color: #eaf2ec;
    padding: 96px 0;
    text-align: center;
}
.hero-bg {
    position: absolute;
    right: -60px; top: 50%; transform: translateY(-50%);
    opacity: 0.08;
    pointer-events: none;
}
.hero-bg img { width: 460px; height: 460px; max-width: none; }
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; color: var(--accent-2); margin: 0 0 16px; font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; margin: 0 0 20px; color: #fff; }
.lead { font-size: 1.18rem; color: #cfe0d4; margin: 0 auto 30px; max-width: 60ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 8px; font-weight: 700; transition: transform 0.08s ease, background 0.15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: #fff; }

/* Stats band */
.stats-band { background: var(--accent); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.stat-label { display: block; margin-top: 6px; font-size: 0.92rem; opacity: 0.95; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); margin: 0 0 12px; }
.section-intro { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0 0 40px; }

/* Services: numbered rows */
.service-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.service-row {
    display: flex; align-items: flex-start; gap: 24px;
    padding: 26px 8px;
    border-bottom: 1px solid var(--line);
}
.service-row:first-child { border-top: 1px solid var(--line); }
.service-no {
    font-size: 1.4rem; font-weight: 800; color: var(--accent);
    min-width: 48px; line-height: 1.2;
}
.service-row h3 { margin: 0 0 6px; color: var(--green); font-size: 1.3rem; }
.service-row p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* About: single column, pull-quote lead */
.about-inner { max-width: 760px; }
.about-lead {
    font-size: 1.35rem; line-height: 1.5; color: var(--green);
    font-weight: 600; font-style: italic;
    border-left: 4px solid var(--accent); padding-left: 20px; margin: 0 0 24px;
}
.about-inner p { color: var(--ink); font-size: 1.05rem; }

/* Areas */
.areas-inner { max-width: 820px; }
.areas-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.areas-list li {
    background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
    padding: 10px 20px; color: var(--green); font-weight: 600;
}

/* Quote form */
.section-dark { background: var(--charcoal); color: #e9edea; }
.section-dark .section-title { color: #fff; }
.section-dark .section-intro { color: #bcc6c0; }
.quote-inner { max-width: 760px; }
.quote-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; color: #cfd6d1; font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea {
    font: inherit; padding: 12px 14px; border-radius: 10px;
    border: 1px solid #3a4248; background: #2b3237; color: #fff;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 146, 47, 0.25);
}
.form-full { grid-column: 1 / -1; }
.quote-form .btn { justify-self: start; border: none; cursor: pointer; }
.form-note { font-size: 0.9rem; color: #bcc6c0; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 0.95rem; font-weight: 600; min-height: 1.4em; color: #cfd6d1; }
.form-status.is-success { color: #7ddc9a; }
.form-status.is-error { color: #ff9b8a; }
.quote-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-note a { color: var(--accent-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 24px; background: var(--green); color: #d7def0; }
.footer-cols {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    padding-bottom: 28px;
}
.footer-col h3 { color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.footer-col p { margin: 0 0 8px; font-size: 0.95rem; line-height: 1.5; }
.footer-col a { color: var(--accent-2); font-weight: 600; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px; font-size: 0.9rem; color: #aab4cf;
}
.footer-muted { color: #aab4cf; }

@media (max-width: 720px) {
    .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* Responsive */
@media (max-width: 860px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .site-nav { display: none; }
}
@media (max-width: 620px) {
    .header-phone-label { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .hero { padding: 64px 0; }
    .section { padding: 54px 0; }
    .service-row { gap: 16px; padding: 20px 4px; }
    .service-no { min-width: 36px; font-size: 1.2rem; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
    .header-contact { gap: 10px; }
    .header-phone-num { font-size: 0.95rem; }
}

/* "Powered by GRS Software Solutions" badge (shared cross-site component) */
.footer-bottom .gss-badge { margin: 0; }
.gss-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #cdd9e6;
    font: 500 0.9rem/1 var(--font);
    text-decoration: none;
    transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.gss-badge:hover,
.gss-badge:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(77, 163, 255, 0.6);
    transform: translateY(-1px);
    text-decoration: none;
}
.gss-badge img {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.18); /* fill the dark circle, hide the white border ring */
    flex-shrink: 0;
}
.gss-badge strong { color: #4da3ff; font-weight: 700; }
.gss-badge .gss-arrow { color: #4da3ff; font-size: 1rem; transition: transform .15s ease; }
.gss-badge:hover .gss-arrow { transform: translateX(3px); }
