/* =========================================================
   Vantage additions — sits on top of style.css
   Upload to: assets/css/vantage.css
   Uses the template's own colour variables so it matches.
   Tuned for the site's light theme (body.active-light-mode).
   ========================================================= */

/* ---------- Hero ---------- */
.vr-hero .vr-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.vr-hero .vr-buttons .btn-default { margin: 0; }

/* ---------- Accreditations band (above the footer on every page) ---------- */
.vr-trust-area { padding: 70px 0 100px; }
.vr-trust-label {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #65676b;
    margin: 0 0 22px;
}
.vr-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
}
.vr-trust .chip {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .07);
    height: 76px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.vr-trust .chip:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(16, 24, 40, .12);
}
.vr-trust .chip img { max-height: 54px; width: auto; }

/* ---------- Role ticker ---------- */
.vr-marquee {
    overflow: hidden;
    padding: 22px 0;
    border-top: 1px solid rgba(0, 0, 0, .07);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.vr-marquee-track {
    display: flex;
    width: max-content;
    animation: vr-scroll 45s linear infinite;
}
.vr-marquee:hover .vr-marquee-track { animation-play-state: paused; }
.vr-marquee span {
    white-space: nowrap;
    font-size: 20px;
    font-weight: 600;
    color: #65676b;
    padding: 0 28px;
    position: relative;
}
.vr-marquee span::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--color-primary, #44AC33);
}
@keyframes vr-scroll { to { transform: translateX(-50%); } }

/* ---------- Service cards: equal height + lift ---------- */
.vr-lift > [class*="col-"] { display: flex; }
.vr-lift .service {
    width: 100%;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.vr-lift .service:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary, #44AC33);
    box-shadow: 0 20px 40px rgba(16, 24, 40, .12);
}
.vr-detail .service .description { margin-bottom: 15px; }
.vr-detail .service .description:last-child { margin-bottom: 0; }
.vr-detail [id] { scroll-margin-top: 110px; }

/* ---------- Sector tiles ----------
   Each tile is a 4-row subgrid (icon / heading / text / tags), so in any
   row of tiles the headings, text and tags all start on the same line. */
.vr-sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}
.vr-sector {
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    row-gap: 0;
    align-content: start;
    padding: 35px 30px;
    border-radius: var(--radius, 10px);
    background: #f5f8fa;
    border: 1px solid rgba(0, 0, 0, .05);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
@supports not (grid-template-rows: subgrid) {
    .vr-sector { display: flex; flex-direction: column; }
    .vr-sector .title { min-height: 2.5em; }
    .vr-sector-text { flex: 1; }
}
.vr-sector::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary, #44AC33), var(--color-secondary, #378fad));
    opacity: 0;
    transition: opacity .4s ease;
}
.vr-sector > * { position: relative; z-index: 1; }
.vr-sector:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(16, 24, 40, .10); }
.vr-sector:hover::before { opacity: .08; }
.vr-sector .title { margin: 0 0 12px; align-self: end; }

.vr-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary, #44AC33), var(--color-secondary, #378fad));
    transition: transform .4s ease;
}
.vr-sector:hover .vr-icon { transform: rotate(-8deg) scale(1.08); }

.vr-tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin-top: 22px; }
.vr-tags span {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    padding: 7px 15px;
    border-radius: 100px;
    background: #fff;
    border: 1.5px solid rgba(68, 172, 51, .55);
    color: #181818;
    -webkit-text-fill-color: #181818;
}
.vr-note { font-size: 15px; letter-spacing: .5px; }

/* ---------- Stats ---------- */
.vr-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.vr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 20px;
    border-radius: var(--radius, 10px);
    background: #f5f8fa;
    border: 1px solid rgba(0, 0, 0, .05);
}
.vr-stat .num {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}
.vr-stat .vr-num-text { font-size: 30px; line-height: 1.2; }
.vr-stat p { margin: 0; font-size: 16px; color: #65676b; }

/* ---------- How we work ---------- */
.vr-step {
    height: 100%;
    padding: 30px;
    border-left: 2px solid rgba(0, 0, 0, .08);
    transition: border-color .35s ease;
}
.vr-step:hover { border-left-color: var(--color-primary, #44AC33); }
.vr-step-num {
    display: inline-block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 18px;
}

/* ---------- Inner pages ---------- */
.vr-page-hero.height-650 { height: auto; min-height: 0; padding: 150px 0 90px; }
.vr-page-hero .description { max-width: 760px; margin-left: auto; margin-right: auto; }
.vr-portrait img { border-radius: 16px; }
.vr-legal .entry-content { max-width: 900px; margin: 0 auto; }

.vr-contact-cards {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1.25fr;
    gap: 20px;
}
.vr-contact-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 24px 22px;
    border-radius: var(--radius, 10px);
    background: #f5f8fa;
    border: 1px solid rgba(0, 0, 0, .05);
    color: #65676b;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
    transition: transform .35s ease, box-shadow .35s ease;
}
a.vr-contact-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(16, 24, 40, .10); color: #65676b; }
.vr-contact-card .vr-icon { margin: 0; width: 52px; height: 52px; font-size: 22px; }
.vr-contact-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vr-contact-text strong {
    color: #181818;
    -webkit-text-fill-color: #181818;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}
.vr-contact-text span { color: #65676b; }

/* ---------- Feather icons drawn as SVG ----------
   The Feather icon font files are missing from assets/fonts on the
   server, so icons showed as empty boxes. assets/js/vantage.js swaps
   each <i class="feather-*"> for an inline SVG. */
svg.vr-feather {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    stroke-width: 2;
}
.btn-default svg.vr-feather { margin-left: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .vr-stats { grid-template-columns: repeat(2, 1fr); }
    .vr-sector-grid { grid-template-columns: repeat(2, 1fr); }
    .vr-contact-cards { grid-template-columns: 1fr; }
    .vr-page-hero.height-650 { padding: 120px 0 60px; }
}
@media (max-width: 767px) {
    .vr-sector-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 575px) {
    .vr-stats { gap: 12px; }
    .vr-stat { padding: 25px 12px; }
    .vr-stat .num { font-size: 44px; min-height: 60px; }
    .vr-stat .vr-num-text { font-size: 22px; }
    .vr-marquee span { font-size: 16px; padding: 0 20px; }
    .vr-trust .chip { height: 62px; padding: 8px 14px; }
    .vr-trust .chip img { max-height: 44px; }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .vr-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .vr-marquee span[aria-hidden="true"] { display: none; }
    .vr-lift .service, .vr-sector, .vr-trust .chip, .vr-icon, .vr-contact-card { transition: none; }
}
