/* =========================================================
 *   BALANCE styles2025.css
 *   Cleaned + organized
 *   ========================================================= */

/* ---------- Root + base typography ---------- */

:root {
    --balance-orange: #EF6C00;
    --balance-navy: #0b1a33;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f5f5;
    color: #111;
    font-family: "Open Sans", system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Oswald", sans-serif;
    margin: 0 0 .5rem;
}

p {
    line-height: 1.6;
}

/* Focus outlines for accessibility */
a:focus,
button:focus,
[role="button"]:focus {
    outline: 3px solid var(--balance-orange);
    outline-offset: 2px;
}

.text-shadow {
    text-shadow: 2px 2px 2px var(--balance-orange);
}

/* ---------- Simple layout helpers ---------- */

.center {
    margin: 0 auto;
    width: 90%;
    max-width: 1500px;
}

.column {
    width: 50%;
    float: left;
    padding: 25px;
}

.column h2 {
    text-align: center;
}

.column-half-page {
    width: 45%;
    float: left;
    padding: 25px;
}

.column-about {
    width: 40%;
    margin-left: 100px;
    padding: 25px 0;
    float: left;
}

/* Legacy “card” used on some older sections */
.card {
    padding: 10px;
    background-color: #fff;
    border: 1px solid var(--balance-orange);
}

.card ul {
    padding: 20px;
}

.card li {
    font-size: 1.125em;
}

/* Generic images inside .services sections */
.services img {
    border-radius: 10px;
    box-shadow: 5px 3px 5px #333;
    border: 1px solid #999;
    width: 100%;
}

/* Hero banner */

.hero {
    margin-top: 20px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.25);
    border: 1px solid var(--balance-orange);
    border-radius: 10px;
}

/* ---------- Navigation (desktop + mobile) ---------- */

.menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo left, nav right */
    list-style: none;
    padding: 0 16px 10px 16px;
    margin: 0;
    gap: clamp(8px, 2vw, 24px);
    background: transparent;
}

.menu ul,
.menu .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 24px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    list-style-type: none;
    margin: 0 10px;
    padding: 20px;
    font-size: 1.1rem;
}

.menu a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: #000;
    line-height: 1;
}

.menu a:hover,
.menu li a:hover {
    color: var(--balance-orange);
    text-shadow: 2px 2px 2px #fff;
}

.menu .nav-list li.logo {
    align-self: center;
}

.menu .nav-list img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.menu .nav-list img:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 4px var(--balance-orange));
}

/* Hamburger button (hidden on desktop) */
.nav-toggle {
    display: none; /* checkbox hidden */
}

.nav-toggle-btn {
    display: none;
    cursor: pointer;
    padding: 14px 16px;
}

.nav-toggle-btn .bars,
.nav-toggle-btn .bars::before,
.nav-toggle-btn .bars::after {
    display: block;
    width: 26px;
    height: 3px;
    background: #000;
    content: "";
    position: relative;
}

.nav-toggle-btn .bars::before {
    top: -7px;
    position: relative;
}

.nav-toggle-btn .bars::after {
    top: 7px;
    position: relative;
}

/* Mobile nav dropdown */
@media (max-width: 800px) {
    .menu {
        justify-content: space-between;
        height: 60px;
    }

    .nav-toggle-btn {
        display: inline-block;
    }

    .menu .nav-list {
        display: none;
        position: absolute;
        top: 100%; /* just below the bar */
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,.1);
        border-top: 1px solid rgba(0,0,0,.08);
    }

    .menu .nav-list li {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0,0,0,.08);
        font-size: 1.1em;
        margin: 0;
    }

    .nav-toggle:checked ~ .nav-list {
        display: flex;
    }
}

/* Desktop nav reset */
@media (min-width: 801px) {
    .menu .nav-list {
        position: static;
        display: flex;
        flex-direction: row;
        box-shadow: none;
        border: 0;
    }
}

/* ---------- Generic responsive tweaks for legacy columns ---------- */

@media screen and (max-width: 1000px) {
    body { font-size: 1rem; }
    .column { width: 100%; padding: 0; }
    .services img { width: 100%; }
    .column-about { width: 100%; margin: 1px; }
    .center { width: 100%; }
    .card { padding: 15px; margin: 10px; }
    .card ul { padding: 15px; }
    .card li { font-size: 1.125em; }
}

@media screen and (max-width: 600px) {
    .column { width: 100%; }
    .services img { width: 100%; }
    header h1 { font-size: 1em; }
    .column-about { width: 100%; padding: 0; }
    .card { padding: 15px; margin: 15px 0; }
    .card ul { padding: 15px; }
    .card li { font-size: 1.125em; }
}

/* ---------- Security “stack” section ---------- */

.security-section {
    padding: 4rem 1rem;
    /*border-top: 4px solid var(--balance-orange);*/
    font-family: 'Roboto', sans-serif;
}

.security-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.security-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.security-section .intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.security-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.security-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.security-item h3 {
    color: #222;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.security-item p {
    font-size: 0.95rem;
    color: #555;
}

.footer-note {
    margin-top: 2.5rem;
    color: #666;
    font-size: 1rem;
}

/* ---------- Footer ---------- */

.footer {
    background-color: #fff;
}

.footer li {
    list-style-type: none;
}

.footer li a:hover {
    color: var(--balance-orange);
    text-shadow: 2px 2px 2px #fff;
}

#site-footer {
background: #0f172a;
color: #fff;
margin-top: 40px;
border-top: 4px solid var(--balance-orange); /* subtle pinstripe */
}

#site-footer a {
color: #fff;
text-decoration: underline;
}

#site-footer .footer-inner {
max-width: 1100px;
margin: 0 auto;
padding: 2rem 1rem;
text-align: left;
}

/* Footer grid layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 32px);
    align-items: start;
    margin-top: clamp(16px, 2vw, 28px);
    margin-bottom: clamp(16px, 2vw, 28px);
}

.footer-grid h3 {
    margin: 0 0 .5rem;
    font-family: "Oswald", sans-serif;
    font-size: 1.75rem;
    letter-spacing: .3px;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    padding: 6px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

.footer-list li:first-child {
    border-top: 0;
}

.footer-list a {
    color: #fff;
    text-decoration: underline;
}

.footer-cta {
    display: inline-block;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 12px;
    text-align: center;
    font-size: .95rem;
}

/* Securestack micro-footer */
.securestack-footer {
    background: #222;
    color: #f1f1f1;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem 0.5rem;
    border-top: 3px solid #ff6600;
}

.securestack-footer .brand {
    color: #ff6600;
    font-weight: 600;
}

.securestack-footer a {
    color: #ff6600;
    text-decoration: none;
    font-weight: 500;
}

.securestack-footer a:hover {
    text-decoration: underline;
}

/* Footer responsiveness */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Shared layout helpers (services, rmm, etc.) ---------- */

.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 16px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col {
    flex: 1 1 320px;
}

/* “Page header” band used on services/rmm pages */
.page-header {
    background: #0f172a;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-top: 4px solid var(--balance-orange);
    border-bottom: 2px solid var(--balance-orange);
}

.page-header h1 {
    font-size: 2.4rem;
}

.page-header .lead {
    color: #e6e6e6;
}

/* Generic “card” variant used by rmm/services pages */
.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    overflow: hidden;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-body {
    padding: 18px;
}

/* Pills (rmm highlights) */
.pill {
    display: inline-block;
    background: rgba(239,108,0,.1);
    color: #B23C00;
    border: 1px solid rgba(239,108,0,.3);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .85rem;
    margin: 6px 0 12px;
}

.list {
    margin: 0;
    padding-left: 18px;
}

.list li {
    margin: 6px 0;
}

/* Features row (rmm) */
.feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
}

.feature {
    flex: 1 1 240px;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 10px;
    padding: 14px;
}

/* CTA row + buttons */
.cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #ccc;
    background: #fff;
    color: #111;
}

.btn-primary {
    background: var(--balance-orange);
    border-color: var(--balance-orange);
    color: #fff;
}

.btn:hover {
    opacity: .92;
}

/* FAQ headings */
.faq h3 {
    margin-top: 18px;
}

/* ---------- About section (used on services/about area) ---------- */

.section {
    margin: 40px 0;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.section p.lead {
    color: #333;
    margin: 6px 0 18px;
}

/* About wrapper */
.about-wrap {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 clamp(8px, 2vw, 24px);
}

.about-intro h2 {
    letter-spacing: .5px;
}

.about-intro p {
    color: #333;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.about-grid {
    --gap: clamp(12px, 2vw, 24px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    padding: clamp(14px, 2vw, 22px);
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.about-card h3 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-size: clamp(1rem, .9vw + .7rem, 1.25rem);
    letter-spacing: .3px;
}

.bullets,
.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bullets li,
.checklist li {
    padding: 6px 0;
    border-top: 1px solid rgba(0,0,0,.06);
}

.bullets li:first-child,
.checklist li:first-child {
    border-top: 0;
}

.checklist i.fa {
    margin-right: .5rem;
}

.about-cta {
    text-align: center;
    margin-top: clamp(16px, 3vw, 32px);
}

.about-cta .button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    background: #ff6a00;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.about-cta .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    opacity: .95;
}

/* Generic services-style 3-column grid (used on About page too) */
.services-grid {
    --gap: clamp(12px, 2vw, 24px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    margin: 2rem auto;
    padding: clamp(8px, 1vw, 16px);
    max-width: 1200px;
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* ---------- Contact: blotter + form ---------- */

.contact-wrap {
    max-width: 1500px;
    margin: 30px auto;
    display: block;
}

/* Paper blotter card */
.blotter {
    position: relative;
    background: #fffdf8;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    padding: clamp(16px, 2vw, 22px);
    overflow: hidden;
}

.blotter::before,
.blotter::after {
    content: "";
    position: absolute;
    top: 14px;
    width: 96px;
    height: 16px;
    background: rgba(239,108,0,.18);
    filter: saturate(.8);
    transform: rotate(-4deg);
    border-radius: 2px;
}

.blotter::after {
    right: 18px;
    transform: rotate(6deg);
}

.blotter::before {
    left: 18px;
}

.blotter h2 {
    font-size: clamp(1.2rem, 1.2vw + .8rem, 1.6rem);
    margin: 0 0 .3rem;
}

.blotter p {
    color: #333;
    margin: 0 0 .8rem;
}

.blotter .mini {
    font-size: .95rem;
    color: #555;
    margin-top: .5rem;
}

/* Contact: three-option row (Managed IT / Break/Fix / Web) */
.service-options {
    display: flex;
    flex-wrap: nowrap;           /* keep them on one row on desktop */
    justify-content: space-between;
    gap: 12px;
}

.service-option {
    flex: 1 1 0;                 /* equal width */
    min-width: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Stack them only when necessary */
@media (max-width: 900px) {
    .service-options {
        flex-wrap: wrap;           /* allow wrapping on smaller screens */
    }
    .service-option {
        flex: 1 1 100%;            /* full width when stacked */
    }
}


/* Quick select “bubbles” */
.bubbles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 16px);
    margin: 14px 0 10px;
}

@media (max-width: 700px) {
    .bubbles {
        grid-template-columns: 1fr;
    }
}

.bubble {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,.05);
    transition: transform .15s ease, box-shadow .15s ease;
}

.bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.bubble h3 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
}

.bubble p {
    margin: 0 0 .7rem;
    color: #444;
}

.bubble .bubble-cta {
    display: inline-block;
    font-size: .92rem;
    text-decoration: none;
    border: 1px solid var(--balance-orange);
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--balance-orange);
    background: rgba(239,108,0,.06);
}

/* Contact form card */
.contact-form {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    padding: clamp(16px, 2vw, 22px);
}

.contact-form h2 {
    margin: 0 0 .75rem;
    font-size: clamp(1.2rem, 1.2vw + .8rem, 1.6rem);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.field {
    margin: 10px 0;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font: inherit;
    background: #fdfdfd;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
    font-size: .95rem;
}

.radio-row label {
    font-weight: 400;
}

.form-foot {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.notice {
    margin: .5rem 0 0;
    font-weight: 600;
}

.notice.success {
    color: #1b5e20;
}

.notice.error {
    color: #b00020;
}

/* Small privacy line */
.privacy-note {
    color: #555;
    font-size: .92rem;
    margin-top: 6px;
}

/* Tiny helper link under bubbles */
.quickline {
    margin: .5rem 0 0;
    font-size: .95rem;
    color: #333;
    padding-top: 20px;
}

.quickline a {
    color: var(--balance-orange);
}

/* Desk blotter layout */

.desk-blotter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    background: #1a1d22;
    background-image: radial-gradient(circle at top left,#222C37,#0E141A);
    border-radius: 16px;
    padding: 40px;
    margin: 40px auto;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    max-width: 1100px;
    position: relative;
}

/* Optional “stitched” edge */
.desk-blotter::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    pointer-events: none;
}

/* Left/right columns inside desk blotter */
.contact-left {
    flex: 1 1 46%;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-right {
    flex: 1 1 46%;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Inputs inside right column */
.contact-right input,
.contact-right textarea {
    width: 100%;
    margin: 6px 0 16px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: "Open Sans", sans-serif;
}

/* Buttons */
.contact-right button {
    background: #f97316;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-right button:hover {
    background: #ea580c;
}

/* Desk blotter responsive */
@media (max-width: 800px) {
    .desk-blotter {
        flex-direction: column;
        padding: 20px;
    }

    .contact-left,
    .contact-right {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
}

/* Contact alerts + decorative pinstripe */
.contact-form-card {
    background: #fffdf9;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.pinstripe {
    width: 100%;
    height: 3px;
    background: white;
    box-shadow: 0 2px 0 var(--balance-orange, #ff6600);
    border-radius: 2px;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.95rem;
}

.alert-success {
    background: #e6f7ee;
    border: 1px solid #b7ebc6;
}

.alert-error {
    background: #fdecea;
    border: 1px solid #f5c6c6;
}

/* ---------- Home page: services section ---------- */

.home-services {
    padding: 3rem 1.5rem;
    max-width: 1500px;
    margin: 0 auto;
}

.home-services-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.home-services-intro h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.home-services-intro p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Grid layout for Home services */
.home-services-grid {
    display: grid;
    gap: 2rem; /* slightly more breathing room */
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* Individual cards */
.home-service-card {
    background: var(--panel-bg, rgba(255,255,255,0.03));
    border-radius: 0.9rem;
    padding: 1.5rem;
    border-top: 3px solid var(--balance-orange, #ff8a3d);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
    transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-top-color 0.16s ease-out;
    cursor: pointer; /* used with JS click handler */
}

.home-service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.home-service-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem 0;
}

.home-service-card li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-service-card li strong {
    display: block;
    margin-bottom: 0.15rem;
}

.home-service-perfect-for {
    font-size: 0.9rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.service-img {
    width: 100%;
    object-fit: cover;
    border-radius: 0.6rem;
    margin-bottom: 1rem;
    background: #eee;
    transition: transform .25s ease;
}

/* Card + image hover */
.home-service-card:hover,
.home-service-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.18);
    border-top-color: #ffb36a;
}

.home-service-card:hover .service-img,
.home-service-card:focus-within .service-img {
    transform: scale(1.03);
}

/* Tagline pill at bottom of card */
.home-service-tagline {
    padding: 1rem;
    font-weight: 500;
    color: var(--muted-text, rgba(255,255,255,0.85));
    background: var(--balance-navy);
    display: inline-block;
    border-radius: 999px;
    font-size: 0.9rem;
    margin: 0.75rem 0 1.1rem 0;
    line-height: 1.4;
}

/* Responsive behavior for home services grid */
@media (max-width: 960px) {
    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-services {
        padding: 2.5rem 1rem;
    }
}

/* ---------- Services page: sub-sections + subcards ---------- */

.services-sections {
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 2rem 1.5rem 3rem;
}

/* Section header (Business / Web / Computers) */
.service-section {
    margin-bottom: 3rem;
}

.service-section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.service-section-header p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

/* Sub-card grids */
.service-subgrid {
    display: grid;
    gap: 1.5rem;
}

/* Two- and three-column variants */
.service-subgrid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-subgrid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Individual sub-cards */
.service-subcard {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.2rem 1.3rem 1.3rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    border-top: 3px solid var(--balance-orange, #ff8a3d);
    transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-top-color 0.16s ease-out;
}

.service-subcard:hover,
.service-subcard:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
    border-top-color: #ffb36a;
}

.service-subcard h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.service-subcard p {
    font-size: 0.93rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.service-subcard ul {
    margin: 0.2rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive: stack sub-cards on smaller screens */
@media (max-width: 960px) {
    .service-subgrid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .service-subgrid--two,
    .service-subgrid--three {
        grid-template-columns: 1fr;
    }
}

/* ---------- Service “pill” links inside home cards ---------- */

.service-pill {
    display: block;
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 10px;
    background: #ffffff;
    transition: box-shadow .15s ease, transform .15s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.8rem;
}

.service-pill:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

.service-pill h4 {
    margin: 0 0 4px;
    text-decoration: underline;
    text-decoration-color: var(--balance-orange);
    text-decoration-thickness: 2px;
}

.service-pill p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

/* About page: three-column cards styled like home services */

.services-grid .service-card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.5rem;
    border-top: 3px solid var(--balance-orange, #ff8a3d);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-top-color 0.16s ease-out;
}

.services-grid .service-card h2 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

/* About cards: uniform image cropping */
.services-grid .service-card img {
    width: 100%;
    height: 180px;              /* <— Adjust this height as desired */
    object-fit: cover;          /* <— Crops without stretching */
    object-position: center;    /* <— Centers the crop */
    border-radius: 0.6rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

/*
.services-grid .service-card img {
    width: 100%;
    display: block;
    border-radius: 0.6rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
*/
.services-grid .service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Hover effect, similar to home cards */
.services-grid .service-card:hover,
.services-grid .service-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.18);
    border-top-color: #ffb36a;
}

/* Generic parallax strip */
.parallax-strip {
    min-height: 320px;              /* height of the strip */
    background-attachment: fixed;   /* parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;         /* fills the strip, may crop a bit */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* optional overlay */
    position: relative;
    color: #ffffff;
}

.parallax-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);  /* darken for readable text */
}

/* content inside */
.parallax-strip .parallax-content {
    position: relative;
    padding: 2rem;
    max-width: 800px;
}

/* RMM-specific parallax */
.parallax-rmm {
    background-image: url('../images/bradley-pisney-P_jgRnJIl4A-unsplash.jpg');  /* adjust filename */
}

/* RMM-specific parallax */
.parallax-rmm2 {
    background-image: url('../images/balance_cows.jpg');  /* adjust filename */
}

/* project-specific parallax */
.parallax-project1 {
    background-image: url('../images/derek-otway-eP2vzcEbmuU-unsplash.jpg');  /* adjust filename */
}

/* project-specific parallax */
.parallax-project2 {
    background-image: url('../images/jakub-zerdzicki-Nfuyc3J6Dm0-unsplash.jpg');  /* adjust filename */
}

/* project-specific parallax */
.parallax-black-label1 {
    background-image: url('../images/cookie-the-pom-siNDDi9RpVY-unsplash.jpg');  /* adjust filename */
}

/* project-specific parallax */
.parallax-web1 {
    background-image: url('../images/sayyam-abbasi-5dcNacdz_Fs-unsplash.png');  /* adjust filename */
}


/* =========================================================
 *  Projects / Break-Fix page polish
 * ======================================================= */

/* Main layout wrapper for this page */
.projects-main {
    max-width: 1100px;
    margin: 30px auto 60px;
    padding: 0 16px;
}

/* Slightly themed page header just for projects */
.page-header--projects {
    border-top: 4px solid var(--balance-orange);
    border-bottom: 2px solid var(--balance-orange);
}

.page-header--projects .lead {
    color: #e6e6e6;
    max-width: 42rem;
    margin: 0.5rem auto 0;
}

/* Row of pills under the header */
.pill-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Step list (moved out of inline CSS) */
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps li {
    counter-increment: step;
    margin: 10px 0;
    padding-left: 34px;
    position: relative;
}

.steps li::before {
    content: counter(step) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #B23C00;
}

/* Card hover polish – applies across newer cards site-wide */
.card {
    transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    border-color: rgba(0,0,0,0.18);
}

/* "Ready when you are" section */
.ready-section {
    text-align: center;
    margin: 40px auto 0;
    padding: 0 16px 40px;
}

.ready-section h2 {
    margin-bottom: 0.4rem;
}

.ready-section p {
    margin-bottom: 1rem;
    color: #444;
}

/* Centered CTA row helper */
.cta-row-center {
    justify-content: center;
}


/* Small orange bar under headings */
.section-heading-underline {
    width: 50px;
    height: 3px;
    border-radius: 999px;
    background-color: #f57c21;
    margin: 0.85rem 0 1.75rem;
}
