/* Redesigned page layouts (src/templates/redesign). Header and footer keep
   their own styles; everything inside <main class="vr"> is styled here. */
.vr {
  --vr-navy: #164271;
  --vr-deep: #0b2547;
  --vr-red: #e3141c;
  --vr-ink: #142235;
  --vr-text: #3d4a5c;
  --vr-muted: #6b7686;
  --vr-line: #e3e8ef;
  --vr-soft: #f4f6f9;
  --vr-radius: 14px;
  --vr-gutter: clamp(20px, 5vw, 40px);
  --vr-space: clamp(64px, 9vw, 112px);
  display: block;
  color: var(--vr-text);
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.vr *, .vr *::before, .vr *::after { box-sizing: border-box; }
.vr img { display: block; max-width: 100%; height: auto; }
.vr p { margin: 0 0 1.1em; }
.vr p:last-child { margin-bottom: 0; }
.vr a { color: var(--vr-navy); }
.vr h1, .vr h2, .vr h3 { margin: 0; color: var(--vr-ink); font-family: inherit; letter-spacing: -.01em; }
.vr-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--vr-gutter); }
.vr-section { padding: var(--vr-space) 0; }
.vr-section--soft { background: var(--vr-soft); }
.vr-section--navy { background: var(--vr-navy); color: rgba(255, 255, 255, .86); }
.vr-section--navy h2, .vr-section--navy h3 { color: #fff; }

/* Eyebrow label: small red rule + uppercase text. */
.vr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--vr-red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}
.vr-section--navy .vr-eyebrow, .vr-hero .vr-eyebrow { color: #fff; }
.vr-h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.2; }
.vr-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.7; color: var(--vr-ink); }
.vr-lead-first > p:first-child { color: var(--vr-ink); font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; line-height: 1.6; }

/* Page hero: photo under a navy gradient, title bottom-left. */
.vr-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 46vw, 520px);
  padding: 0 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  background: var(--vr-deep);
  color: #fff;
}
.vr-hero__media { position: absolute; inset: 0; }
.vr-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.vr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 37, 71, .92) 0%, rgba(22, 66, 113, .72) 55%, rgba(22, 66, 113, .35) 100%),
              linear-gradient(0deg, rgba(11, 37, 71, .6) 0%, rgba(11, 37, 71, 0) 50%);
}
.vr-hero .vr-wrap { position: relative; z-index: 1; }
.vr-hero h1 { max-width: 14ch; color: #fff; font-size: clamp(38px, 6vw, 68px); font-weight: 700; line-height: 1.05; }
.vr-hero__rule { width: 64px; height: 4px; margin: 0 0 22px; border-radius: 2px; background: var(--vr-red); }
.vr-hero .vr-eyebrow { margin-bottom: 20px; }

/* Two-column text + image. */
.vr-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.vr-split--reverse > :first-child { order: 2; }
.vr-split__media { position: relative; }
.vr-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--vr-radius); box-shadow: 0 30px 60px -24px rgba(13, 42, 76, .35); }
.vr-split__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border-radius: var(--vr-radius);
  background: var(--vr-soft);
}
.vr-split--reverse .vr-split__media::before { inset: 22px 22px -22px -22px; }
.vr-split__text .vr-h2 { margin-bottom: 24px; }

/* Rich text: lists as a two-column checklist. */
.vr-prose ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
/* Flex so the tick and the text stay centred together, even when a row is
   taller because the neighbouring item wraps onto two lines. */
.vr-prose li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--vr-line);
  border-radius: 10px;
  background: #fff;
  color: var(--vr-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.vr-prose li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--vr-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Statement / quote. */
.vr-quote { position: relative; max-width: 940px; }
.vr-quote__mark::before { content: "\201C"; }
.vr-quote__mark { display: block; height: 56px; margin-bottom: 8px; color: var(--vr-red); font: 700 120px/1 Georgia, serif; }
.vr-quote blockquote { margin: 0; color: var(--vr-ink); font-size: clamp(22px, 2.5vw, 31px); font-weight: 500; line-height: 1.5; letter-spacing: -.005em; white-space: pre-line; }
.vr-quote__by { display: flex; align-items: center; gap: 16px; margin-top: 36px; font-size: 16px; line-height: 1.5; }
.vr-quote__by p { margin: 0; color: var(--vr-muted); font-style: normal; }
.vr-quote__by, .vr-quote__by * { font-style: normal; }
.vr-quote__by strong { color: var(--vr-ink); font-weight: 700; }

/* Vision / mission panel next to a photo. */
.vr-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
.vr-duo__media img { width: 100%; height: 100%; object-fit: cover; }
.vr-duo__panel { display: grid; align-content: center; gap: 44px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); background: var(--vr-navy); }
.vr-duo__item h2 { margin-bottom: 12px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vr-duo__item p { margin: 0; color: #fff; font-size: clamp(21px, 2.1vw, 27px); font-weight: 500; line-height: 1.4; }

/* Value / feature cards. */
.vr-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.vr-head .vr-eyebrow { justify-content: center; }
.vr-head p { margin-top: 18px; color: var(--vr-muted); }
.vr-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.vr-values > .vr-value { flex: 0 0 calc((100% - 48px) / 3); }
.vr-value { position: relative; padding: 36px 32px; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.vr-value:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(13, 42, 76, .25); }
.vr-value__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 14px; background: linear-gradient(135deg, #1d5592, #123660); color: #fff; }
.vr-value__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vr-values { counter-reset: vr-value; }
.vr-value { counter-increment: vr-value; }
.vr-value__num::before { content: counter(vr-value, decimal-leading-zero); }
.vr-value__num { position: absolute; top: 30px; right: 30px; color: var(--vr-red); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.vr-value h3 { margin-bottom: 12px; font-size: 21px; font-weight: 700; }
.vr-value p { margin: 0; color: var(--vr-text); font-size: 16px; line-height: 1.7; }

/* Project cards. */
.vr-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.vr-cards > .vr-card { flex: 0 0 calc((100% - 56px) / 3); }
.vr-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.vr-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(13, 42, 76, .25); }
.vr-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.vr-card:hover .vr-card__media img { transform: scale(1.04); }
.vr-card__media { overflow: hidden; }
.vr-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px 26px 28px; }
.vr-tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 20px; background: rgba(22, 66, 113, .08); color: var(--vr-navy); font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 1.3; }
.vr-card__title { margin-bottom: 6px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.vr-card__title a { color: var(--vr-ink); text-decoration: none; }
.vr-card__meta { margin: 0 0 20px !important; color: var(--vr-muted); font-size: 15px; }
.vr-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--vr-navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.vr-link::after { content: "→"; transition: transform .2s ease; }
.vr-link:hover::after { transform: translateX(4px); }

/* Tablet. */
@media (max-width: 1023px) {
  .vr-split { grid-template-columns: 1fr; }
  .vr-split--reverse > :first-child { order: 0; }
  .vr-split__media { max-width: 680px; }
  .vr-duo { grid-template-columns: 1fr; min-height: 0; }
  .vr-duo__media img { aspect-ratio: 16 / 9; height: auto; }
  .vr-values > .vr-value { flex-basis: calc((100% - 24px) / 2); }
  .vr-cards > .vr-card { flex-basis: calc((100% - 28px) / 2); }
}

/* Phone: bigger, easier-to-read paragraphs. */
@media (max-width: 767px) {
  .vr { font-size: 18px; line-height: 1.75; }
  .vr-value p, .vr-prose li { font-size: 17px; }
  .vr-hero { min-height: 320px; }
  .vr-split__media::before { inset: 14px -10px -14px 14px; }
  .vr-split--reverse .vr-split__media::before { inset: 14px 14px -14px -10px; }
  .vr-prose ul { grid-template-columns: 1fr; }
  .vr-cards > .vr-card { flex-basis: 100%; }
  .vr-values > .vr-value { flex-basis: 100%; }
  .vr-value { padding: 30px 24px; }
  .vr-quote__mark { height: 44px; font-size: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .vr-value, .vr-card, .vr-card__media img, .vr-link::after { transition: none; }
}

/* Hero for pages without a banner photo: brand navy only. */
.vr-hero--plain { padding-top: clamp(72px, 9vw, 120px); min-height: clamp(280px, 32vw, 400px); background: radial-gradient(120% 140% at 85% 0%, #1d5592 0%, #164271 45%, #0b2547 100%); }
.vr-hero--plain::after { display: none; }

/* Image animation. Photos rise and sharpen into view as they scroll in
   (src/scripts/vacc-reveal.js adds .is-in); hover zooms gently; the hero
   photo drifts slowly. All off for visitors who prefer reduced motion. */
@keyframes vr-drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.vr-hero__media img { animation: vr-drift 9s ease-out both; }
.vr-split__media, .vr-duo__media, .vr-card__media { overflow: hidden; }
.vr-split__media { overflow: visible; }
.vr-split__media img, .vr-duo__media img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.vr-split__media:hover img, .vr-duo__media:hover img { transform: scale(1.03); }
.vr-js .vr-reveal { opacity: 0; transform: translateY(40px); clip-path: inset(12% 0 0 0 round var(--vr-radius)); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1), clip-path 1.1s cubic-bezier(.2, .7, .2, 1); }
.vr-js .vr-reveal.is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--vr-radius)); }
.vr-js .vr-duo__media img.vr-reveal, .vr-js .vr-duo__media img.vr-reveal.is-in { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .vr-hero__media img { animation: none; }
  .vr-split__media img, .vr-duo__media img { transition: none; }
  .vr-split__media:hover img, .vr-duo__media:hover img { transform: none; }
  .vr-js .vr-reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* Hero intro line (pages whose intro sits under the title). */
.vr-hero__intro { max-width: 640px; margin-top: 18px; color: rgba(255, 255, 255, .88); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.vr-hero__intro p { margin: 0; }

/* Centred text block. */
.vr-narrow { max-width: 780px; margin: 0 auto; }
.vr-narrow--center { text-align: center; }

/* Large statement line. */
.vr-statement { max-width: 900px; color: var(--vr-ink); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.45; }

/* Photo galleries: one column count per list (2 or 3). */
.vr-gallery { display: grid; grid-template-columns: repeat(var(--vr-cols, 3), minmax(0, 1fr)); gap: 24px; }
.vr-gallery--2 { --vr-cols: 2; }
.vr-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--vr-radius); }
.vr-gap { margin-top: clamp(40px, 5vw, 64px); }

/* Wide feature photo. */
.vr-wide img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--vr-radius); box-shadow: 0 30px 60px -24px rgba(13, 42, 76, .3); }
.vr-wide--natural img { aspect-ratio: auto; }

@media (max-width: 767px) {
  .vr-gallery { grid-template-columns: 1fr; gap: 16px; }
  .vr-wide img { aspect-ratio: 4 / 3; }
  .vr-wide--natural img { aspect-ratio: auto; }
}

/* Video hero (Services, Business Sectors, Our Commitment). */
.vr-hero__media video { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .vr-hero__media video { display: none; } }

/* Uniform card grids (one column width per list, short rows centred). */
.vr-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.vr-grid > * { flex: 0 0 calc((100% - 56px) / 3); }
.vr-grid--4 > * { flex-basis: calc((100% - 84px) / 4); }

/* Link tiles (Services). */
.vr-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; color: var(--vr-ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.vr-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(13, 42, 76, .25); }
.vr-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.vr-tile:hover img { transform: scale(1.04); }
.vr-tile__media { overflow: hidden; }
.vr-tile__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; }
.vr-tile h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.vr-tile__arrow { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--vr-soft); color: var(--vr-navy); transition: background .2s, color .2s; }
.vr-tile:hover .vr-tile__arrow { background: var(--vr-red); color: #fff; }
.vr-tile__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sector cards with a short checklist (Business Sectors). */
.vr-sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.vr-sector { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; }
.vr-sector__media { overflow: hidden; }
.vr-sector__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .6s ease; }
.vr-sector:hover .vr-sector__media img { transform: scale(1.04); }
.vr-sector__body { display: flex; flex-direction: column; padding: 30px 28px; }
.vr-sector h3 { margin-bottom: 16px; font-size: 21px; font-weight: 700; line-height: 1.3; }
.vr-sector h3 a { color: var(--vr-ink); text-decoration: none; }
.vr-ticks { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.vr-ticks li { position: relative; padding-left: 28px; color: var(--vr-text); font-size: 16px; line-height: 1.5; }
.vr-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--vr-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.vr-sector .vr-link { margin-top: auto; }

/* Capability cards (Capabilities). */
.vr-cap { padding: 32px 30px; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; }
.vr-cap h3 { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--vr-line); color: var(--vr-navy); font-size: 15px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
.vr-feature img { width: 100%; max-width: 520px; margin: 0 auto; }

/* Team (Management Team). */
.vr-member { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; }
.vr-member__photo { overflow: hidden; background: var(--vr-soft); }
.vr-member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: transform .6s ease; }
.vr-member:hover .vr-member__photo img { transform: scale(1.03); }
.vr-member__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 24px 24px; }
.vr-member__name { margin-bottom: 4px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.vr-member__role { margin: 0 0 16px !important; color: var(--vr-muted); font-size: 15px; line-height: 1.5; }
button.vr-link { margin-top: auto; padding: 0; border: 0; background: none !important; color: var(--vr-navy) !important; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.vr-dialog, .vr-lightbox { padding: 0; border: 0; border-radius: var(--vr-radius); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.vr-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); color: var(--vr-text); font: 17px/1.75 "Roboto", sans-serif; }
.vr-dialog::backdrop, .vr-lightbox::backdrop { background: rgba(11, 37, 71, .72); }
.vr-dialog__head { display: flex; align-items: center; gap: 20px; padding: 32px 32px 0; }
.vr-dialog__head img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; }
.vr-dialog__head h3 { margin: 0; color: var(--vr-ink); font-size: 22px; font-weight: 700; }
.vr-dialog__head p { margin: 2px 0 0; color: var(--vr-muted); font-size: 15px; }
.vr-dialog__body { padding: 20px 32px 34px; }
.vr-dialog__body p { margin: 0 0 1em; }
.vr-dialog__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--vr-soft) !important; color: var(--vr-ink) !important; font-size: 26px; line-height: 1; cursor: pointer; }
.vr-lightbox { max-width: calc(100% - 32px); max-height: calc(100% - 32px); background: #fff; }
.vr-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 32px); object-fit: contain; }

/* Certificates gallery (Awards & Certifications). */
.vr-certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.vr-certs > * { flex: 0 0 calc((100% - 72px) / 4); }
.vr-cert { display: block; overflow: hidden; padding: 14px; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.vr-cert:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(13, 42, 76, .25); }
.vr-cert img { width: 100%; aspect-ratio: 5 / 7; object-fit: contain; background: var(--vr-soft); border-radius: 8px; }

/* Pillar cards (Our Commitment). */
.vr-pillar { position: relative; display: flex; flex-direction: column; align-items: center; padding: 44px 24px 40px; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; text-align: center; }
.vr-pillar h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.vr-pillar .vr-value__icon { margin: 0 auto 24px; width: 64px; height: 64px; border-radius: 16px; }
.vr-pillar .vr-value__icon svg { width: 28px; height: 28px; }

/* Brochure download form. */
.vr-form { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; box-shadow: 0 30px 60px -30px rgba(13, 42, 76, .3); }
.vr-form .gform_wrapper input:not([type=submit]):not([type=checkbox]):not([type=radio]), .vr-form .gform_wrapper select, .vr-form .gform_wrapper textarea { min-height: 50px; padding: 12px 14px !important; border: 1px solid #cfd6e0 !important; border-radius: 8px !important; font-size: 16px !important; }
.vr-form .gform_wrapper .gfield_label { color: var(--vr-ink); font-size: 15px !important; font-weight: 600 !important; }
.vr-form .gform_wrapper .gform_footer input[type=submit], .vr-form .gform_wrapper .gform_button { min-height: 52px; padding: 14px 34px !important; border: 0 !important; border-radius: 26px !important; background: var(--vr-navy) !important; color: #fff !important; font-size: 16px !important; font-weight: 600 !important; cursor: pointer; }
.vr-form .gform_wrapper .gform_footer input[type=submit]:hover { background: var(--vr-red) !important; }

@media (max-width: 1023px) {
  .vr-grid > *, .vr-grid--4 > * { flex-basis: calc((100% - 28px) / 2); }
  .vr-sectors { grid-template-columns: 1fr; }
  .vr-certs > * { flex-basis: calc((100% - 48px) / 3); }
}
@media (max-width: 767px) {
  .vr-grid > *, .vr-grid--4 > * { flex-basis: 100%; }
  .vr-sector { grid-template-columns: 1fr; }
  .vr-sector__media img { aspect-ratio: 16 / 10; min-height: 0; }
  .vr-certs > * { flex-basis: calc((100% - 24px) / 2); }
  .vr-ticks li { font-size: 17px; }
  .vr-dialog__head { padding: 28px 22px 0; }
  .vr-dialog__body { padding: 16px 22px 28px; }
}

/* Team: photo and name open the biography. */
.vr-member__photo { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; }
.vr-member__photo:disabled { cursor: default; }
.vr-member__name button { padding: 0; border: 0; background: none !important; color: var(--vr-ink) !important; font: inherit; text-align: left; cursor: pointer; }
.vr-member__name button:hover { color: var(--vr-navy) !important; }
.vr-member__name button:disabled { cursor: default; }
.vr-member__photo:focus-visible, .vr-member__name button:focus-visible { outline: 3px solid var(--vr-navy); outline-offset: 3px; }

/* Brochure form: room above the submit button. */
.vr-form .gform_wrapper .gform_footer { margin-top: 28px !important; padding-top: 0 !important; }

/* Buttons. */
.vr-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px; border: 2px solid var(--vr-red); border-radius: 100px; background: var(--vr-red); color: #fff !important; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none !important; box-shadow: 0 10px 24px rgba(223, 21, 41, .28); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.vr-button:hover { background: #bc1023; border-color: #bc1023; transform: translateY(-2px); }
.vr-button--outline { border-color: var(--vr-navy); background: transparent; color: var(--vr-navy) !important; box-shadow: none; }
.vr-button--outline:hover { background: var(--vr-navy); border-color: var(--vr-navy); color: #fff !important; }
.vr-button--light { border-color: #fff; background: transparent; color: #fff !important; box-shadow: none; }
.vr-button--light:hover { background: #fff; border-color: #fff; color: var(--vr-navy) !important; }
.vr-more { margin: clamp(36px, 4vw, 52px) 0 0 !important; text-align: center; }
.vr-eyebrow--center { display: flex; justify-content: center; }

/* Homepage hero: video under a deep navy overlay, centred, sector strip below. */
.vr-hero--home { min-height: clamp(600px, 52vw, 720px); align-items: center; padding: 0; }
.vr-hero--home::after { background: linear-gradient(90deg, rgba(3, 28, 54, .9) 0%, rgba(5, 35, 65, .74) 45%, rgba(5, 35, 65, .45) 100%); }
.vr-hero__center { display: flex; flex-direction: column; align-items: center; padding-top: 72px; padding-bottom: 168px; text-align: center; }
.vr-hero--home .vr-eyebrow p { margin: 0; }
.vr-hero--home h1 { max-width: 16ch; font-size: clamp(46px, 6.6vw, 92px); font-weight: 800; letter-spacing: -.04em; line-height: 1.03; }
.vr-hero--home .vr-hero__intro { margin: 22px auto 34px; text-align: center; }
.vr-hero__strip { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 max(var(--vr-gutter), calc((100% - 1200px) / 2)); border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(5, 35, 65, .78); backdrop-filter: blur(6px); }
.vr-hero__strip a { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 96px; padding: 16px 18px; border-right: 1px solid rgba(255, 255, 255, .14); color: #fff !important; font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none !important; transition: background .2s; }
.vr-hero__strip a:last-child { border-right: 0; }
.vr-hero__strip a:hover { background: rgba(255, 255, 255, .08); }
.vr-hero__strip svg { flex: none; width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Why choose VACC list: one column with dividers. */
.vr-ticks--why { gap: 0; margin: 22px 0 32px; }
.vr-ticks--why li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--vr-line); color: var(--vr-ink); font-size: 16px; }
.vr-ticks--why li::before { top: 13px; }

/* Four-across project rows (homepage). */
.vr-cards--4 > .vr-card { flex-basis: calc((100% - 84px) / 4); }
.vr-section--navy .vr-card__title a { color: var(--vr-ink); }

/* Projects page: filter sidebar + grid. */
.vr-projects { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.vr-projects__filter { position: sticky; top: 24px; }
.vr-projects__filter .wpc-filters-main-wrap { padding: 24px !important; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); background: #fff; }
.vr-cards--projects > .vr-card { flex-basis: calc((100% - 56px) / 3); }
.vr-cards--projects { justify-content: flex-start; }
.vr-filter-empty { width: 100%; padding: 48px 0; color: var(--vr-muted); text-align: center; }
.vr-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.vr-pagelink { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--vr-line); border-radius: 22px; background: #fff; color: var(--vr-ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.vr-pagelink:hover { border-color: var(--vr-navy); }
.vr-pagelink.is-current { border-color: var(--vr-navy); background: var(--vr-navy); color: #fff !important; }

/* Contact. */
.vr-contact { align-items: start; }
.vr-contact__info p { margin: 0 0 .9em; color: var(--vr-ink); }
.vr-contact__info strong { display: block; color: var(--vr-navy); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vr-form__title { margin-bottom: 20px; font-size: clamp(24px, 2.4vw, 30px); }
.vr-form .elementor-form .elementor-field { min-height: 50px; padding: 12px 14px !important; border: 1px solid #cfd6e0 !important; border-radius: 8px !important; font-size: 16px !important; }
.vr-form .elementor-form textarea.elementor-field { min-height: 140px; }
.vr-form .elementor-form .elementor-field-group { margin-bottom: 16px; }
.vr-form .elementor-form .elementor-button { min-height: 52px; margin-top: 12px; padding: 14px 34px !important; border: 0 !important; border-radius: 26px !important; background: var(--vr-navy) !important; color: #fff !important; font-size: 16px !important; font-weight: 600 !important; }
.vr-form .elementor-form .elementor-button:hover { background: var(--vr-red) !important; }

@media (max-width: 1023px) {
  .vr-cards--4 > .vr-card, .vr-cards--projects > .vr-card { flex-basis: calc((100% - 28px) / 2); }
  .vr-projects { grid-template-columns: 1fr; }
  .vr-projects__filter { position: static; }
  .vr-hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vr-hero__strip a:nth-child(2) { border-right: 0; }
  .vr-hero__strip a:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .vr-hero__center { padding-bottom: 230px; }
}
@media (max-width: 767px) {
  .vr-cards--4 > .vr-card, .vr-cards--projects > .vr-card { flex-basis: 100%; }
  .vr-hero__strip a { flex-direction: column; gap: 8px; min-height: 92px; padding: 14px 10px; font-size: 14px; text-align: center; }
  .vr-hero__strip svg { width: 28px; height: 28px; }
  .vr-hero__center { padding-top: 56px; padding-bottom: 236px; }
  .vr-ticks--why li { font-size: 17px; }
}

/* Single project: facts list. */
.vr-project { align-items: start; }
.vr-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 32px; }
.vr-fact { padding: 16px 0; border-bottom: 1px solid var(--vr-line); }
.vr-fact dt { margin-bottom: 4px; color: var(--vr-muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.vr-fact dd { margin: 0; color: var(--vr-ink); font-size: 17px; font-weight: 500; line-height: 1.5; }

/* Horizontally scrolling card row with arrow buttons. */
.vr-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.vr-row-nav { display: flex; gap: 10px; }
.vr-row-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--vr-line); border-radius: 50%; background: #fff !important; color: var(--vr-navy) !important; cursor: pointer; transition: background .2s, color .2s; }
.vr-row-btn:hover { background: var(--vr-navy) !important; color: #fff !important; }
.vr-row-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vr-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.vr-row::-webkit-scrollbar { display: none; }
.vr-row > * { scroll-snap-align: start; }

/* News article. */
.vr-article { max-width: 780px; margin: 0 auto; color: var(--vr-text); font-size: 18px; line-height: 1.8; }
.vr-article h2, .vr-article h3, .vr-article h4 { margin: 1.6em 0 .6em; color: var(--vr-ink); font-weight: 700; line-height: 1.3; }
.vr-article h2 { font-size: 28px; }
.vr-article h3 { font-size: 23px; }
.vr-article img { margin: 28px auto; border-radius: var(--vr-radius); }
.vr-article ul, .vr-article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.vr-article.vr-prose ul { display: block; }
.vr-article.vr-prose li { display: list-item; min-height: 0; padding: 0; border: 0; background: none; font-size: inherit; font-weight: inherit; }
.vr-article.vr-prose li::before { content: none; }
.vr-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 780px; margin: 56px auto 0; }
.vr-step { display: block; padding: 22px 24px; border: 1px solid var(--vr-line); border-radius: var(--vr-radius); color: var(--vr-ink) !important; text-decoration: none !important; transition: border-color .2s, box-shadow .2s; }
.vr-step:hover { border-color: var(--vr-navy); box-shadow: 0 16px 32px -20px rgba(13, 42, 76, .3); }
.vr-step span { display: block; margin-bottom: 6px; color: var(--vr-red); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.vr-step strong { font-size: 17px; line-height: 1.4; }
.vr-step--next { text-align: right; }

@media (max-width: 1023px) {
  .vr-row { grid-auto-columns: calc((100% - 28px) / 2); }
}
@media (max-width: 767px) {
  .vr-facts { grid-template-columns: 1fr; }
  .vr-row { grid-auto-columns: 85%; gap: 16px; }
  .vr-row-head { align-items: flex-start; flex-direction: column; }
  .vr-steps { grid-template-columns: 1fr; }
  .vr-step--next { text-align: left; }
  .vr-article { font-size: 18px; }
}

