/* Home direction drawn from Vigilus Facilities: a full-width field image,
   business-led content, red labels, white/grey sections and a blue team panel.
   Shared editorial finishing rules are defined in editorial.css. */
.vg-home { --vg-ink: #111827; --vg-muted: #4b5563; --vg-soft: #f8f9fa; }
.vg-home .vg-wrap { width: min(1200px, calc(100% - 64px)); }
.vg-home .vg-section { padding-block: 80px; }
.vg-home .vg-heading { align-items: flex-end; margin-bottom: 38px; gap: 40px; }
.vg-home .vg-heading > div { max-width: 760px; }
.vg-home h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.18; letter-spacing: -.025em; }
.vg-home .vg-kicker { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.vg-home .vg-heading .vg-kicker::before { content: ''; display: block; width: 52px; height: 4px; margin-bottom: 22px; background: var(--vg-red); border-radius: 2px; }
.vg-home .vg-btn { min-height: 50px; padding: 16px 24px; border-radius: 10px; font-size: 11px; line-height: 1.5; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; gap: 14px; }
.vg-home .vg-link { font-size: 11px; font-weight: 800; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; }
.vg-home .vg-lead { font-size: 15px; line-height: 1.9; }
.vg-home .vg-heading > .vg-lead { max-width: 440px; margin-top: 0; }

/* Full-width photograph, with a stable title and no rotating or typing text. */
.vg-home .vg-home-hero { position: relative; isolation: isolate; min-height: 620px; display: flex; align-items: center; background: #0a1628; color: #fff; overflow: hidden; }
.vg-home-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.vg-home-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,18,32,.94) 0%, rgba(8,18,32,.8) 42%, rgba(8,18,32,.32) 100%); }
.vg-home-hero-content { padding-block: 80px 90px; }
.vg-home-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px; border: 1px solid #ffffff30; border-radius: 24px; background: #ffffff0d; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 26px; }
.vg-home-eyebrow::before { content: ''; width: 7px; height: 7px; flex: none; background: #be1933; border-radius: 50%; }
.vg-home .vg-home-hero h1 { max-width: 770px; color: white; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.vg-home-hero-intro { max-width: 660px; color: #e0e3e8; font-size: 17px; line-height: 1.85; margin-top: 26px; }
.vg-home .vg-home-hero .vg-actions { margin-top: 30px; gap: 16px; }
.vg-home .vg-home-btn-outline { border-color: #ffffff60; background: #ffffff12; color: #fff; }
.vg-home .vg-home-btn-outline:hover { background: #fff; color: #111827; }
.vg-home-photo-credit { position: absolute; bottom: 20px; right: 32px; left: 32px; color: #e5e7eb; font-size: 10px; text-align: right; }

/* The six business families use the same content as the main navigation. */
.vg-home-businesses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.vg-home-business { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.vg-home-business-photo { position: relative; height: 205px; overflow: hidden; background: #102638; }
.vg-home-business-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vg-home-business-photo > span { position: absolute; bottom: 14px; left: 16px; background: #be1933; color: #fff; border-radius: 5px; padding: 6px 10px; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.vg-home-business-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.vg-home .vg-home-business h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; text-transform: uppercase; }
.vg-home-business p { color: var(--vg-muted); font-size: 14px; line-height: 1.8; margin: 12px 0 20px; }
.vg-home-business .vg-link { margin-top: auto; }
.vg-home-business:hover { border-color: #c7cdd4; box-shadow: 0 6px 18px #1118270d; }
.vg-home-business:hover h3 { color: var(--vg-red); }
.vg-home-business:hover img { transform: scale(1.035); }
.vg-home-section-action { margin-top: 36px; text-align: center; }

/* A photographic team panel echoing the Facilities operational section. */
.vg-home .vg-about { background: #1182b8; color: #fff; }
.vg-home .vg-about-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
.vg-home-field-photos { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: center; }
.vg-home-field-photos img { width: 100%; height: 390px; object-fit: cover; border: 3px solid #ffffff35; border-radius: 12px; }
.vg-home-field-photos img:last-child { height: 290px; object-position: 30% center; }
.vg-home .vg-about .vg-kicker { color: #d9effa; }
.vg-home .vg-about h2 { text-transform: uppercase; font-size: clamp(28px, 2.6vw, 36px); }
.vg-home .vg-about .vg-lead { color: #ecf6fb; font-size: 14px; }
.vg-home .vg-about .vg-link { color: #fff; }
.vg-home-about-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; border-top: 1px solid #ffffff40; padding-top: 12px; }

/* Countries remain explicit about the services actually offered. */
.vg-home-countries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vg-home-country { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid #e5e7eb; border-radius: 10px; transition: border-color .2s; }
.vg-home-country > img { width: 52px; height: 36px; object-fit: cover; margin-bottom: 20px; border: 1px solid #00000012; }
.vg-home .vg-home-country h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.vg-home-country p { font-size: 13px; color: var(--vg-muted); line-height: 1.8; margin: 12px 0 18px; }
.vg-home-country .vg-link { margin-top: auto; font-size: 10px; }
.vg-home-country:hover { border-color: var(--vg-red); }
.vg-home .vg-home-finder { padding-block: 42px; background: #f8f9fa; border-color: #e5e7eb; }
.vg-home .vg-home-finder > div { width: min(1200px, calc(100% - 64px)); padding-inline: 0; }
.vg-home .vg-home-finder h2 { font-size: 26px; }
.vg-home .vg-home-finder form { box-shadow: none; padding: 20px; border-color: #e5e7eb; border-radius: 10px; }
.vg-home .vg-home-finder select { min-height: 50px; border-color: #d1d5db; padding-right: 25px; text-overflow: ellipsis; }
.vg-home .vg-home-finder button { background: #be1933; min-height: 50px; }
.vg-home .vg-home-finder button:hover { background: #941329; }

.vg-home-credentials { padding-block: 30px; border-bottom: 1px solid #e5e7eb; background: white; }
.vg-home-credentials-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.vg-home-credentials .vg-kicker { margin-bottom: 0; color: #6b7280; font-size: 10px; }
.vg-home-certifications { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; padding: 0; margin: 0; }
.vg-home-certifications a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 750; }
.vg-home-certifications i { color: #be1933; font-size: 25px; }
.vg-home-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.vg-home-project { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.vg-home-project > img { width: 100%; height: 235px; object-fit: cover; }
.vg-home-project-copy { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.vg-home-project-meta { font-size: 10px; text-transform: uppercase; color: #6b7280; letter-spacing: .05em; font-weight: 750; margin-bottom: 14px; }
.vg-home .vg-home-project h3 { font-size: 23px; letter-spacing: -.02em; line-height: 1.3; }
.vg-home-project h3 a:hover { color: #be1933; }
.vg-home-project-description { font-size: 14px; line-height: 1.8; color: var(--vg-muted); margin: 16px 0 24px; }
.vg-home-project .vg-link { margin-top: auto; }
.vg-home-contact-section { background: #0a1628; }
.vg-home .vg-contact { background: transparent; padding: 56px 0; border-radius: 0; gap: 40px; }
.vg-home .vg-contact > div { max-width: 760px; }
.vg-home .vg-contact .vg-kicker { color: #cbd5e1; margin: 0 0 16px; font-size: 10px; }
.vg-home .vg-contact > .vg-btn { flex-shrink: 0; }
@media (max-width: 1024px) {
    .vg-home-businesses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vg-home-countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vg-home .vg-about-grid { gap: 32px; }
    .vg-home-field-photos { gap: 10px; }
    .vg-home-field-photos img { height: 330px; }
    .vg-home-field-photos img:last-child { height: 240px; }
}
@media (max-width: 760px) {
    .vg-home .vg-wrap, .vg-home .vg-home-finder > div { width: calc(100% - 40px); }
    .vg-home .vg-section { padding-block: 48px; }
    .vg-home .vg-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
    .vg-home .vg-home-hero { min-height: 580px; }
    .vg-home-hero-content { padding-block: 60px 80px; }
    .vg-home .vg-home-hero h1 { font-size: clamp(36px, 6.5vw, 48px); max-width: 600px; }
    .vg-home-hero::after { background: #081220c7; }
    .vg-home-hero-photo { object-position: 58% center; }
    .vg-home-hero-intro { font-size: 15px; line-height: 1.8; }
    .vg-home-eyebrow { font-size: 9px; letter-spacing: .06em; padding: 8px 12px; }
    .vg-home-photo-credit { right: 20px; left: 20px; font-size: 9px; }
    .vg-home .vg-about-grid { grid-template-columns: 1fr; }
    .vg-home-field-photos img { height: 330px; }
    .vg-home-field-photos img:last-child { height: 250px; }
    .vg-home-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .vg-home-country { padding: 20px; }
    .vg-home-projects { grid-template-columns: 1fr; gap: 22px; }
    .vg-home .vg-contact { flex-direction: column; align-items: flex-start; padding-block: 44px; }
}
@media (max-width: 480px) {
    .vg-home .vg-home-hero h1 { font-size: 36px; }
    .vg-home .vg-home-hero .vg-actions { display: grid; }
    .vg-home-businesses { grid-template-columns: 1fr; gap: 22px; }
    .vg-home-business-photo { height: 205px; }
    .vg-home-business-copy { padding: 22px; }
    .vg-home-field-photos img { height: 280px; }
    .vg-home-field-photos img:last-child { height: 210px; }
    .vg-home-country { padding: 16px; }
    .vg-home .vg-home-country h3 { font-size: 18px; }
    .vg-home-country p { font-size: 12px; }
    .vg-home .vg-home-finder form { padding: 16px; }
    .vg-home-certifications { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; width: 100%; }
    .vg-home-certifications a { font-size: 12px; }
    .vg-home-project-copy { padding: 22px; }
    .vg-home-project > img { height: 200px; }
}

.vg-home-section-action { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
