/*
 * REVNET WEBSITE STYLES
 * Edit the relevant labelled section below.
 * Desktop rules come first; tablet and mobile adjustments are at the bottom.
 * Background photo: assets/ottawa-parliament-hill-hero-concept.webp
 */

/* ================================================================
   01  BRAND COLOURS
   ================================================================ */

:root {
    --blue: #1f6d96;
    --blue2: #4f8fb4;
    --deep: #06324d;
    --ink: #10324a;
    --muted: #506777;
    --pale: #edf6fa;
    --orange: #e87728;
    --white: #fff;
}

/* ================================================================
   02  GLOBAL STYLES
   ================================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: #fff;
}

a {
    color: var(--blue);
}

a:hover {
    text-decoration: underline;
}

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

.wrap {
    width: min(1160px,calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    z-index: 100;
    background: #fff;
    padding: 10px;
}

/* ================================================================
   03  HEADER & NAVIGATION
   ================================================================ */

.site-header {
    background: #fff;
    box-shadow: 0 2px 12px #062e4a12;
    position: relative;
    z-index: 10;
}

.utility {
    background: var(--deep);
    color: #fff;
    font-size: .8rem;
    padding: 8px 0;
}

.utility a {
    color: #fff;
    text-decoration: none;
}

.utility .wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

.brand img {
    width: 204px;
    display: block;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    font-weight: 650;
    text-decoration: none;
    color: var(--ink);
    font-size: .93rem;
}

.mobile-toggle {
    display: none;
}

.brand {
    flex-shrink: 0;
}

.nav-links a:not(.btn):hover {
    color: var(--blue);
}

.nav-links .btn.orange {
    color: #fff;
}

/* ================================================================
   04  HERO & BUTTONS
   ================================================================ */

.btn {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 4px;
    background: var(--blue);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    transition: transform .15s,background .15s;
}

.btn:hover {
    background: #145676;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn.orange {
    background: var(--orange);
}

.btn.orange:hover {
    background: #cb601a;
}

.btn.outline {
    background: transparent;
    border: 1px solid #fff;
}

.hero {
    background: linear-gradient(90deg,rgba(3,31,52,.96) 0%,rgba(5,43,69,.88) 35%,rgba(5,43,69,.42) 68%,rgba(5,43,69,.13) 100%),url("ottawa-parliament-hill-hero-concept.webp") center 52%/cover no-repeat;
background-position: center calc(52% + 20px);
    color: #fff;
    padding: 94px 0 106px;
    position: relative;
    overflow: hidden;
    min-height: 570px;
    display: flex;
    align-items: center;
}

.hero:after {
    content: "";
    position: absolute;
    right: -7%;
    top: -55%;
    width: 58%;
    aspect-ratio: 1;
    border: 1px solid #ffffff26;
    border-radius: 50%;
    box-shadow: 0 0 0 90px #ffffff06,0 0 0 180px #ffffff06;
    pointer-events: none;
    display: none;
}

.eyebrow {
    font-size: .8rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--blue);
}

.hero .eyebrow,.dark .eyebrow {
    color: #8bd2f0;
}

.hero h1 {
    font-size: clamp(2.4rem, 3.5vw, 3.65rem);
    line-height: 1.12;
    max-width: 1000px;
    margin: 14px 0 22px;
    letter-spacing: -0.035em;
}

.hero p {
    max-width: 600px;
    font-size: 1.19rem;
    color: #f0f7fb;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 27px;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero .eyebrow {
    color: #b4e4fa;
}

.hero h1 span {
    color: #a9dbf2;
}

.hero .btn {
    box-shadow: 0 5px 16px #001a2a38;
}

.hero .btn.outline {
    border: 1.5px solid #ffffffb8;
    background: #082d4880;
}

.hero .btn.outline:hover {
    background: #ffffff26;
}

/* ================================================================
   05  PAGE SECTIONS & CARDS
   ================================================================ */

.section {
    padding: 75px 0;
}

.section.pale {
    background: var(--pale);
}

.section.dark {
    background: var(--deep);
    color: #fff;
}

.section h2 {
    font-size: clamp(1.8rem,3vw,2.6rem);
    line-height: 1.2;
    margin: 10px 0 16px;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 760px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
    margin-top: 32px;
}

.card {
    background: #fff;
    color: var(--ink);
    border: 1px solid #dce7ed;
    border-radius: 9px;
    padding: 26px;
    box-shadow: 0 5px 20px #052e4a0a;
}

.card h3 {
    margin: 8px 0;
}

.card p {
    color: var(--muted);
    margin: 0 0 15px;
}

.card a {
    font-weight: 700;
}

.symbol {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e3f3fa;
    color: var(--blue);
    font-size: 1.5rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature {
    background: linear-gradient(135deg,#e8f5fa,#c4e4f2);
    border-radius: 12px;
    padding: 48px;
    min-height: 270px;
    display: grid;
    place-items: center;
    text-align: center;
}

.feature strong {
    font-size: 2rem;
    line-height: 1.2;
}

.checklist {
    padding-left: 22px;
}

.checklist li {
    margin: 8px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 15px;
    margin-top: 30px;
}

.step {
    padding: 16px;
    border-top: 3px solid var(--blue);
}

.step b {
    color: var(--blue);
    font-size: 1.4rem;
}

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

.footer {
    background: #05283e;
    color: #e2eef4;
    padding: 52px 0 22px;
}

.footer a {
    color: #e2eef4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer img {
    width: 190px;
    background: #fff;
    padding: 8px;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid #ffffff30;
    margin-top: 35px;
    padding-top: 20px;
    font-size: .85rem;
}

/* ================================================================
   07  OTHER PAGE COMPONENTS
   ================================================================ */

.dark .lead {
    color: #d8e9f1;
}

.page-title {
    background: linear-gradient(100deg,#052e48,#226d92);
    color: #fff;
    padding: 72px 0;
}

.page-title h1 {
    font-size: clamp(2.2rem,4vw,3.6rem);
    line-height: 1.15;
    margin: 10px 0;
}

.page-title p {
    max-width: 760px;
    font-size: 1.12rem;
}

.wp-block-post-content {
    min-height: 30vh;
}

.contact-form {
    display: grid;
    gap: 14px;
    max-width: 600px;
}

.contact-form label {
    display: grid;
    gap: 5px;
    font-weight: 650;
}

.contact-form input,.contact-form textarea {
    width: 100%;
    border: 1px solid #adc5d2;
    border-radius: 4px;
    padding: 12px;
    font: inherit;
}

.notice {
    padding: 16px;
    background: #fff3df;
    border-left: 4px solid var(--orange);
}


/* ================================================================
   08  REVNET BENEFITS STRIP
   Compact, four-column desktop strip beneath the hero.
   Each column has the same width, icon position and text alignment.
   Icon artwork itself is defined by SVGs in index.html.
   ================================================================ */

.benefits-section {
    background: var(--white);
    padding: 20px 0;
}

/* Four equally sized columns; separators mark the boundaries. */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
}

/* Start every icon at the same offset within its column. */
.benefit-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    min-width: 0;
    padding: 0 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    text-align: left;
}

/* Separator between columns; no extra padding exceptions. */
.benefit-card + .benefit-card {
    border-left: 1px solid #d2dce3;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    background: transparent;
    border-radius: 0;
    color: var(--blue);
}

.benefit-icon svg {
    display: block;
    width: 40px;
    height: 40px;
}

.benefit-content {
    min-width: 0;
}

.benefit-card h3 {
    color: var(--deep);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px;
}

.benefit-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* Wider content area for benefits and services only */
.benefits-section .wrap,
.services-showcase .wrap {
    width: min(1500px, calc(100% - 64px));
    max-width: none;
}
/* ================================================================
   RESPONSIVE: @media (max-width:850px)
   ================================================================ */
@media (max-width:850px) {
    .cards {
        grid-template-columns: repeat(2,1fr);
    }

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

    .split {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
        border: 1px solid #ccd9df;
        background: #fff;
        padding: 9px 13px;
        border-radius: 5px;
        font-size: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 8px 20px #0002;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.open {
        display: flex;
    }

    .nav {
        position: relative;
        min-height: 76px;
    }

    .hero {
        padding: 72px 0;
        min-height: 510px;
        background-position: 59% center;
    }

    .hero h1 {
        font-size: clamp(2.55rem,7vw,3.6rem);
    }

}

/* ================================================================
   RESPONSIVE: @media (max-width:580px)
   ================================================================ */
@media (max-width:580px) {
    .cards,.steps,.footer-grid {
        grid-template-columns: 1fr;
    }

    .utility .wrap {
        flex-direction: column;
        gap: 0;
    }

    .brand img {
        width: 150px;
    }

    .section {
        padding: 52px 0;
    }

    .feature {
        padding: 24px;
        min-height: 180px;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero {
        min-height: 520px;
        background-image: linear-gradient(90deg,rgba(3,31,52,.95),rgba(5,43,69,.75)),url("ottawa-parliament-hill-hero-concept.webp");
        background-position: 60% center;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero .btn {
        width: 100%;
        text-align: center;
    }

    .hero .actions {
        max-width: 340px;
    }

}

/* ================================================================
   RESPONSIVE: @media (prefers-reduced-motion:reduce)
   ================================================================ */
@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}



/* ================================================================
   09  SERVICES SHOWCASE — APPROVED CONCEPT
   Photo on top, white information panel beneath, three columns x two rows.
   ================================================================ */
.services-showcase { background: #edf6fa; padding: 30px 0; }
.services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.95fr);
    gap: 28px;
    align-items: center;
}
.services-intro .eyebrow { color: var(--blue); }
.services-intro h2 {
    color: var(--deep);
    font-size: clamp(1.85rem, 2.2vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 10px 0 18px;
}
.services-intro .lead { font-size: 1rem; line-height: 1.52; }
.services-all-link { margin-top: 12px; }
.services-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.service-tile { min-width: 0; }
.service-tile-link {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border-radius: 7px;
    background: #fff;
    color: var(--deep);
    text-decoration: none;
    box-shadow: 0 2px 9px #062e4a0a;
    transition: box-shadow .2s ease, transform .2s ease;
}
.service-tile-link > img {
    display: block;
    width: 100%;
    height: 108px;
    object-fit: cover;
    object-position: center;
}
.service-tile-info {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 12px;
    column-gap: 8px;
    align-items: start;
    flex: 1;
    padding: 12px 9px 13px;
    min-height: 90px;
}
.service-tile-icon { color: var(--blue); display: block; padding-top: 2px; }
.service-tile-icon svg { width: 32px; height: 32px; display: block; }
.service-tile-copy { min-width: 0; display: block; }
.service-tile-copy strong {
    display: block;
    font-size: .79rem;
    line-height: 1.23;
    font-weight: 750;
    color: var(--deep);
    margin-bottom: 4px;
}
.service-tile-copy > span {
    display: block;
    font-size: .76rem;
    line-height: 1.35;
    color: var(--muted);
}
.service-tile-arrow { color: var(--blue); font-size: 1.3rem; align-self: end; line-height: 1; }
.service-tile-link:hover .service-tile-arrow {
    transform: translateX(4px);
}

.service-tile-arrow {
    transition: transform 0.2s ease;
}
.service-tile-link:hover { text-decoration: none; box-shadow: 0 7px 19px #062e4a20; transform: translateY(-2px); }
.service-tile-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 1000px) {
    .services-layout { grid-template-columns: 1fr; gap: 26px; }
    .services-intro { max-width: 720px; }
    .service-tile-link > img { height: 155px; }
}
@media (max-width: 580px) {
    .services-tiles { grid-template-columns: 1fr; gap: 14px; }
    .service-tile-link > img { height: 185px; }
    .service-tile-info { min-height: 94px; }
}

/* ================================================================
   LOCAL EXPERTISE / PROVEN RESULTS
   ================================================================ */

.revnet-proof {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 200px;
    overflow: hidden;
    background: linear-gradient(110deg, #06324d, #004568 70%, #06324d);
    color: #fff;
}

.revnet-proof-photo {
    position: absolute;
    inset: 0 auto 0 0;
    width: 37%;
    background:
        linear-gradient(90deg, transparent 50%, #06324d 100%),
        url("images/revnet-local-expertise.webp") center / cover no-repeat;
}

.revnet-proof-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(290px, 380px) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: 12px 0 12px 280px;
}

.revnet-proof-eyebrow {
    display: block;
    color: #b9e5fa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

.revnet-proof-intro h2 {
    color: #fff;
    font-size: clamp(23px, 1.7vw, 30px);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 10px;
}

.revnet-proof-intro p {
    color: #e5f0f6;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 14px;
}

.revnet-proof-button {
    display: inline-block;
    padding: 9px 19px;
    border: 1px solid #b9d6e5;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.revnet-proof-button:hover {
    background: rgba(255,255,255,.12);
}

.revnet-proof-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

.revnet-proof-stat {
    display: grid;
    grid-template-rows: 44px 34px 36px;
    justify-items: center;
    align-items: center;
    gap: 6px;
    min-height: 140px;
    padding: 8px 12px;
    border-left: 1px solid rgba(255,255,255,.13);
    text-align: center;
}

.revnet-proof-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    color: #85d0f5;
    flex-shrink: 0;
}

.revnet-proof-stat-icon svg {
    display: block;
    width: 36px;
    height: 36px;
}
.revnet-proof-stat:last-child .revnet-proof-stat-icon svg {
    width: 38px;
    height: 38px;
    transform: none;
}

.revnet-proof-stat strong {
    color: #fff;
    font-size: clamp(17px, 1.3vw, 23px);
    line-height: 1.1;
    white-space: nowrap;
}

.revnet-proof-stat > span:last-child {
    color: #e5f0f6;
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 1200px) {
    .revnet-proof-content {
        grid-template-columns: 1fr;
        padding-left: 30%;
    }
}

@media (max-width: 700px) {
    .revnet-proof-photo {
        width: 100%;
        opacity: .15;
    }

    .revnet-proof-content {
        width: calc(100% - 40px);
        padding: 35px 0;
        gap: 25px;
    }

    .revnet-proof-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 0;
    }
}

/* LOCAL EXPERTISE - TEXT READABILITY */
.revnet-proof-eyebrow {
    font-size: 13px;
}

.revnet-proof-intro p {
    font-size: 15px;
    line-height: 1.5;
}

.revnet-proof-button {
    font-size: 14px;
}

.revnet-proof-stat strong {
    font-size: clamp(20px, 1.4vw, 24px);
}

.revnet-proof-stat > span:last-child {
    font-size: 13px;
    line-height: 1.4;
}


/* =========================================
   WHY REVNET - HOMEPAGE
   ========================================= */

.revnet-why {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 320px;
    overflow: hidden;
    background: #ffffff;
}



.revnet-why::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("images/revnet-why-choose-us.webp");
    background-repeat: no-repeat;

    background-size: auto 100%;
    background-position: right center;

    pointer-events: none;
}



.revnet-why-content {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: 35px 0;
}

.revnet-why-copy {
    width: 100%;
    max-width: 445px;
}

.revnet-why-eyebrow {
    margin-bottom: 6px;
    color: #1f6d96;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.revnet-why-copy h2 {
    margin: 0 0 10px;
    color: #06324d;
    font-size: clamp(27px, 2.4vw, 35px);
    font-weight: 800;
    line-height: 1.12;
}

.revnet-why-copy p {
    margin: 0 0 12px;
    color: #365268;
    font-size: 15px;
    line-height: 1.45;
}

.revnet-why-benefits {
    list-style: none;
    margin: 0 0 17px;
    padding: 0;
}

.revnet-why-benefits li {
    position: relative;
    margin-bottom: 6px;
    padding-left: 25px;
    color: #365268;
    font-size: 14px;
    line-height: 1.35;
}

.revnet-why-benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #1f6d96;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.revnet-why-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 4px;
    background: #ff7135;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.revnet-why-button:hover {
    background: #e65e27;
    color: #ffffff;
}

.revnet-why-button:focus-visible {
    outline: 3px solid #1f6d96;
    outline-offset: 3px;
}

/* TABLET */

@media (max-width: 900px) {
    .revnet-why {
        min-height: 350px;
    }

    .revnet-why::before {
        background-position: 57% center;
    }

    .revnet-why-copy {
        max-width: 400px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .revnet-why {
        display: block;
        min-height: 0;
        padding-top: 220px;
    }

    .revnet-why::before {
        inset: 0 0 auto 0;
        height: 220px;
        background-position: 72% center;
    }

    .revnet-why-content {
        width: calc(100% - 36px);
        padding: 28px 0 34px;
    }

    .revnet-why-copy {
        max-width: none;
    }

    .revnet-why-copy h2 {
        font-size: 29px;
    }
}

/* White fade from left into photograph */
.revnet-why::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 25%,
        rgba(255, 255, 255, 0.95) 33%,
        rgba(255, 255, 255, 0.65) 42%,
        rgba(255, 255, 255, 0) 58%
    );

    pointer-events: none;
    z-index: 0;
}

/* WHY REVNET - Button arrow animation */

.revnet-why-button span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.revnet-why-button:hover span {
    transform: translateX(5px);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .revnet-why-button span {
        transition: none;
    }
}

/* =========================================
   INDUSTRIES WE SUPPORT
   ========================================= */

.revnet-industries {
    background: #eaf4f9;
    padding: 42px 0 48px;
}

.revnet-industries-container {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
}

/* Section heading */

.revnet-industries-heading {
    max-width: 850px;
    margin-bottom: 26px;
}

.revnet-industries-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #1f6d96;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.revnet-industries-heading h2 {
    margin: 0 0 10px;
    color: #06324d;
    font-size: clamp(27px, 2.4vw, 35px);
    font-weight: 800;
    line-height: 1.15;
}

.revnet-industries-heading p {
    max-width: 760px;
    margin: 0;
    color: #365268;
    font-size: 15px;
    line-height: 1.55;
}

/* Six cards across desktop */

.revnet-industries-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* Individual industry cards */

.revnet-industry-card {
    position: relative;
    height: 190px;
    margin: 0;
    overflow: hidden;
    border-radius: 7px;
    background: #06324d;
    isolation: isolate;
}

/* Card photograph */

.revnet-industry-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Dark gradient for readable labels */

.revnet-industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 20, 35, 0) 35%,
        rgba(0, 20, 35, 0.3) 60%,
        rgba(0, 20, 35, 0.9) 100%
    );
    pointer-events: none;
}

/* Industry name */

.revnet-industry-card h3 {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    left: 12px;
    right: 12px;

    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

/* Subtle visual effect, cards are not links */

@media (hover: hover) {
    .revnet-industry-card:hover img {
        transform: scale(1.045);
    }
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {
    .revnet-industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .revnet-industry-card {
        height: 190px;
    }
}

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

@media (max-width: 600px) {
    .revnet-industries {
        padding: 32px 0 38px;
    }

    .revnet-industries-container {
        width: calc(100% - 36px);
    }

    .revnet-industries-heading {
        margin-bottom: 22px;
    }

    .revnet-industries-heading h2 {
        font-size: 28px;
    }

    .revnet-industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .revnet-industry-card {
        height: 170px;
    }

    .revnet-industry-card h3 {
        font-size: 13px;
        left: 10px;
        right: 10px;
        bottom: 12px;
    }
}

@media (max-width: 380px) {
    .revnet-industries-grid {
        grid-template-columns: 1fr;
    }

    .revnet-industry-card {
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .revnet-industry-card img {
        transition: none;
    }
}

/* ==========================================
   REVNET - CLIENT TESTIMONIALS
========================================== */

.revnet-testimonials {
  background: #ffffff;
  padding: 48px 24px 60px;
}

.revnet-testimonials__container {
  max-width: 1240px;
  margin: 0 auto;
}

.revnet-testimonials__heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 32px;
}

.revnet-testimonials__eyebrow {
  display: block;
  color: #1f6d96;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin-bottom: 13px;
}

.revnet-testimonials__heading h2 {
  color: #06324d;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 16px;
}

.revnet-testimonials__heading p {
  color: #526576;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

/* Cards */

.revnet-testimonials__viewport {
  overflow: hidden;
}

.revnet-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  transition: opacity 250ms ease;
}

.revnet-testimonials__grid.is-changing {
  opacity: 0;
}

.revnet-testimonials__card {
  display: flex;
  flex-direction: column;
  background: #f8fbfd;
  border: 1px solid #e2edf3;
  border-radius: 14px;
  padding: 30px 28px;
  min-height: 315px;
  box-sizing: border-box;
}

.revnet-testimonials__stars {
  color: #ff7135;
  font-size: 20px;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 22px;
}

.revnet-testimonials__quote {
  color: #304657;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 26px;
  flex-grow: 1;
}

.revnet-testimonials__footer {
  border-top: 1px solid #e0eaf0;
  padding-top: 19px;
  margin-top: auto;
}

.revnet-testimonials__name {
  display: block;
  color: #06324d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.revnet-testimonials__source {
  color: #6b7f8d;
  font-size: 13px;
}

.revnet-testimonials__source a {
  color: #1f6d96;
  text-decoration: none;
}

.revnet-testimonials__source a:hover {
  text-decoration: underline;
}

/* Navigation */

.revnet-testimonials__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
}

.revnet-testimonials__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d5e3eb;
  border-radius: 50%;
  background: #ffffff;
  color: #06324d;
  font-size: 20px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.revnet-testimonials__arrow:hover {
  background: #06324d;
  color: #ffffff;
}

.revnet-testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.revnet-testimonials__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbdbe4;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.revnet-testimonials__dot.is-active {
  background: #ff7135;
  transform: scale(1.25);
}

.revnet-testimonials__arrow:focus-visible,
.revnet-testimonials__dot:focus-visible,
.revnet-testimonials__source a:focus-visible {
  outline: 3px solid #ff7135;
  outline-offset: 3px;
}

/* TESTIMONIAL SPACING REFINEMENT */

@media (min-width: 901px) {
    .revnet-testimonials {
        padding-bottom: 40px;
    }

    .revnet-testimonials__grid {
        min-height: 350px;
    }

    .revnet-testimonials__card {
        min-height: 350px;
    }

    .revnet-testimonials__navigation {
        margin-top: 20px;
    }
}

/* Tablet */

@media (max-width: 900px) {
  .revnet-testimonials {
    padding: 70px 20px;
  }

  .revnet-testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .revnet-testimonials__card {
    padding: 25px 22px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .revnet-testimonials {
    padding: 36px 18px 48px;
  }

  .revnet-testimonials__heading {
    margin-bottom: 32px;
  }

  .revnet-testimonials__heading p {
    font-size: 15px;
  }

  .revnet-testimonials__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .revnet-testimonials__card {
    min-height: 290px;
    padding: 26px 23px;
  }

  .revnet-testimonials__navigation {
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .revnet-testimonials__grid,
  .revnet-testimonials__arrow,
  .revnet-testimonials__dot {
    transition: none;
  }
}
/* Testimonials - simplified navigation */

.revnet-testimonials__arrow {
  display: none;
}

.revnet-testimonials__navigation {
  margin-top: 24px;
  gap: 0;
}
/* Prevent testimonial carousel from shifting the page */

.revnet-testimonials__grid {
  min-height: 390px;
}

.revnet-testimonials__card {
  height: 100%;
  min-height: 390px;
}

/* Tablet */
@media (min-width: 601px) and (max-width: 900px) {
  .revnet-testimonials__grid {
    min-height: 430px;
  }

  .revnet-testimonials__card {
    min-height: 430px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .revnet-testimonials__grid {
    min-height: 460px;
  }

  .revnet-testimonials__card {
    min-height: 460px;
  }
}


/* ==========================================
   REVNET TECHNOLOGY SECTION - LAYOUT FIX
========================================== */

.revnet-technology {
    background: #ffffff;
    padding: 45px 24px 65px;
    width: 100%;
    box-sizing: border-box;
}

.revnet-technology__container {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 35px;
    border-top: 1px solid #e2edf3;
    text-align: center;
}

.revnet-technology h2 {
    color: #06324d;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    margin: 0 0 14px;
}

.revnet-technology__description {
    color: #526576;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 38px;
}

.revnet-technology__logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 35px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.revnet-technology__logos img {
    display: block;
    width: 100%;
    max-width: 165px;
    height: 65px;
    object-fit: contain;
    margin: 0 auto;
    filter: none;
    opacity: 1;
    transition: filter 200ms ease, opacity 200ms ease;
}

.revnet-technology__logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Tablet */
@media (max-width: 900px) {
    .revnet-technology__logos {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .revnet-technology {
        padding: 30px 18px 50px;
    }

    .revnet-technology__container {
        padding-top: 25px;
    }

    .revnet-technology h2 {
        font-size: 24px;
    }

    .revnet-technology__description {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .revnet-technology__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .revnet-technology__logos img {
        max-width: 140px;
        height: 55px;
    }
}
/* TECHNOLOGY LOGOS — SEVEN IN ONE ROW */

/* TECHNOLOGY LOGOS — BALANCED SINGLE ROW */

.revnet-technology {
    padding: 30px 24px 35px;
}

.revnet-technology__container {
    padding-top: 30px;
}

.revnet-technology__description {
    margin-bottom: 25px;
}

.revnet-technology__logos {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    column-gap: 24px;
    row-gap: 24px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.revnet-technology__logos img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: 52px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    filter: none;
    opacity: 1;
    transition: none;
}

/* Balance different logo proportions */

.revnet-technology__logos img[alt="Dell Technologies"] {
    max-width: 150px;
}

.revnet-technology__logos img[alt="Microsoft"] {
    max-width: 155px;
}

.revnet-technology__logos img[alt="Veeam"] {
    max-width: 135px;
}

.revnet-technology__logos img[alt="HP"] {
    max-width: 170px;
    height: 65px;
}

.revnet-technology__logos img[alt="Cisco"] {
    max-width: 105px;
    height: 48px;
}

.revnet-technology__logos img[alt="Datto"] {
    max-width: 125px;
}

.revnet-technology__logos img[alt="Field Effect"] {
    max-width: 155px;
}

/* TABLET */

@media (max-width: 900px) {
    .revnet-technology__logos {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 25px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .revnet-technology {
        padding: 25px 18px 35px;
    }

    .revnet-technology__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 20px;
    }

    .revnet-technology__logos img {
        height: 48px;
    }
}

/* FINAL CTA — OTTAWA SKYLINE */

.revnet-final-cta {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(6, 50, 77, 0.94) 0%,
            rgba(6, 50, 77, 0.80) 55%,
            rgba(6, 50, 77, 0.65) 100%
        ),
        url("../images/ottawa-skyline.jpg") center 55% / cover no-repeat;
    color: #ffffff;
    padding: 48px 24px;
}

.revnet-final-cta__container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.revnet-final-cta__content {
    max-width: 650px;
}

.revnet-final-cta__content h2 {
    color: #ffffff;
    font-size: clamp(25px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
}

.revnet-final-cta__content p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.revnet-final-cta__action {
    text-align: center;
    flex-shrink: 0;
}

.revnet-final-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ff7135;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 24px;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.revnet-final-cta__button:hover {
    background: #e85d25;
    color: #ffffff;
}

.revnet-final-cta__action p {
    color: #ffffff;
    font-size: 14px;
    margin: 12px 0 0;
}

.revnet-final-cta__action p a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

/* TABLET AND MOBILE */

@media (max-width: 768px) {
    .revnet-final-cta {
        padding: 42px 20px;
    }

    .revnet-final-cta__container {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .revnet-final-cta__content h2 {
        font-size: 26px;
    }

    .revnet-final-cta__content p {
        font-size: 15px;
    }
}
/* FINAL CTA — FULL-SIZE IMAGE, RIGHT ALIGNED, LEFT FADE */

.revnet-final-cta {
    position: relative;
    background-color: #06324d;

    background-image:
        linear-gradient(
            to right,
            #06324d 0%,
            rgba(6, 50, 77, 0.95) 20%,
            rgba(6, 50, 77, 0.75) 40%,
            rgba(6, 50, 77, 0.35) 65%,
            rgba(6, 50, 77, 0.30) 100%
        ),
        url("images/ottawa-skyline.webp");

    background-repeat: no-repeat;

    /* Keep the image at its previous 90% width */
    background-size: 100% 100%, 90% auto;

    /* Move image to the right edge */
    background-position: center, right 35%;

    color: #ffffff;
    padding: 48px 24px;
}
/* ==========================================
   REVNET FOOTER
========================================== */

.revnet-footer {
    background: #062b42;
    color: #ffffff;
    padding: 0;
}

.revnet-footer__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 24px 30px;

    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    column-gap: 45px;
    row-gap: 25px;
    align-items: start;
}

/* COMPANY BRAND */

.revnet-footer__brand {
    max-width: 420px;
}

.revnet-footer__logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.revnet-footer__logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.revnet-footer__description {
    color: #d7e5ee;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 15px;
}

.revnet-footer__experience {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* COLUMN HEADINGS */

.revnet-footer h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 5px 0 20px;
}

/* NAVIGATION */

.revnet-footer__links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.revnet-footer__links li {
    margin-bottom: 13px;
}

.revnet-footer__links a {
    color: #d7e5ee;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.revnet-footer__links a:hover {
    color: #ff7135;
}

/* CONTACT */

.revnet-footer__contact-label {
    color: #d7e5ee;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 15px;
}

.revnet-footer__phone {
    display: block;
    width: fit-content;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 18px;
    transition: color 0.2s ease;
}

.revnet-footer__phone:hover {
    color: #ff7135;
}

.revnet-footer__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 18px;
    transition: color 0.2s ease;
}

.revnet-footer__contact-link:hover {
    color: #ff7135;
}

.revnet-footer__location {
    color: #b9cfdd;
    font-size: 14px;
    line-height: 1.7;
    font-style: normal;
    margin: 0;
}

/* COPYRIGHT AREA */

.revnet-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.revnet-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.revnet-footer__bottom p {
    color: #b9cfdd;
    font-size: 13px;
    margin: 0;
}

.revnet-footer__legal {
    display: flex;
    align-items: center;
    gap: 24px;
}

.revnet-footer__legal a {
    color: #b9cfdd;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.revnet-footer__legal a:hover {
    color: #ffffff;
}

/* TABLET */

@media (max-width: 900px) {
    .revnet-footer__container {
        grid-template-columns: 1.2fr 1fr;
        column-gap: 45px;
    }

    .revnet-footer__brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .revnet-footer__container {
        grid-template-columns: 1fr;
        padding: 40px 22px 30px;
        gap: 30px;
    }

    .revnet-footer__brand {
        grid-column: auto;
    }

    .revnet-footer__logo {
        width: 170px;
    }

    .revnet-footer h3 {
        margin-bottom: 14px;
    }

    .revnet-footer__links li {
        margin-bottom: 11px;
    }

    .revnet-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 22px;
    }

    .revnet-footer__legal {
        gap: 20px;
    }
}
/* FOOTER SPACING REFINEMENTS */

.revnet-footer__logo-link {
    margin-bottom: 12px;
}

.revnet-footer__description {
    margin-bottom: 10px;
}

.revnet-footer h3 {
    margin: 0 0 14px;
}

.revnet-footer__links li {
    margin-bottom: 9px;
}

.revnet-footer__contact-label {
    margin-bottom: 10px;
}

.revnet-footer__phone {
    margin-bottom: 12px;
}

.revnet-footer__contact-link {
    margin-bottom: 12px;
}

.revnet-footer__bottom-inner {
    max-width: 1100px;
    padding-top: 16px;
    padding-bottom: 16px;
}
/* CONSISTENT BUTTON ARROW ANIMATION */

.revnet-final-cta__button span,
.revnet-footer__contact-link span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.revnet-final-cta__button:hover span,
.revnet-footer__contact-link:hover span {
    transform: translateX(5px);
}
/* GLOBAL CTA ARROW ANIMATION */

.cta-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

a:hover .cta-arrow,
button:hover .cta-arrow {
    transform: translateX(5px);
}
/* Testimonial dots - accessible clickable area */

.revnet-testimonials__dot,
.revnet-testimonials__dot.is-active {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

/* Small visible dots */
.revnet-testimonials__dot::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b8c9d4;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* Active dot */
.revnet-testimonials__dot.is-active::before {
    background: #ff7135;
    transform: scale(1.2);
}

/* Keyboard focus */
.revnet-testimonials__dot:focus-visible {
    outline: 2px solid #1f6d96;
    outline-offset: -4px;
}