/* Homepage hero and "Why Choose VACC" (src/templates/pages/home.html). The
   other homepage sections use redesign.css. */
.vr-home { --vh-red: #df1529; }

/* Hero: hosted video with a dark editorial overlay and a sector rail. */
.vh-hero { position: relative; display: flex; align-items: center; min-height: 690px; overflow: hidden; background: #092f57; }
.vh-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vh-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3, 28, 54, .94) 0%, rgba(5, 35, 65, .8) 36%, rgba(5, 35, 65, .34) 75%, rgba(5, 35, 65, .28) 100%); }
.vh-hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: min(1280px, calc(100% - 96px)); min-height: 690px; margin: auto; padding: 80px 0 160px; color: #fff; font-family: Roboto, sans-serif; text-align: center; }
.vr .vh-hero__eyebrow p { display: flex; align-items: center; justify-content: center; margin: 0 0 12px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; }
.vr .vh-hero__title { max-width: 900px; margin: 0 auto 24px; color: #fff; font-family: Roboto, sans-serif; font-size: 65px; font-weight: 600; line-height: 1.03; letter-spacing: -.045em; }
.vh-hero__title::after { content: ""; display: block; width: 42px; height: 3px; margin: 24px auto 0; border-radius: 2px; background: var(--vh-red); }
.vr .vh-hero__text p { margin: 0 0 28px; color: #fff; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.4; }
.vh-hero__action { margin: 0; }
.vr .vh-hero__button { display: inline-block; padding: 15px 27px; border-radius: 100px; background: var(--vh-red); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); color: #fff; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; transition: transform .3s, background-color .3s; }
.vr .vh-hero__button:hover, .vr .vh-hero__button:focus-visible { background: #bc1023; color: #fff; transform: scale(1.1); }

@keyframes vh-fade-down { from { opacity: 0; transform: translate3d(0, -40px, 0); } to { opacity: 1; transform: none; } }
@keyframes vh-fade-up { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .vh-hero__eyebrow { animation: vh-fade-down 1.25s both; }
  .vh-hero__text { animation: vh-fade-up 1.25s both; }
}

/* Sector rail along the bottom of the hero. */
.vh-sectors { position: absolute; z-index: 3; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 17px max(48px, calc((100vw - 1280px) / 2)); list-style: none; background: #164271; }
.vh-sector { position: relative; isolation: isolate; display: flex; justify-content: center; min-height: 66px; margin: 0; padding: 10px 20px; overflow: hidden; border-right: 1px solid rgba(255, 255, 255, .28); transition: background-color .35s ease; }
.vh-sector:last-child { border: 0; }
/* A short light sweep and a restrained lift on hover. */
.vh-sector::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, .16) 47%, transparent 72%); transform: translateX(-150%); }
.vh-sector a { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: 100%; min-width: 0; text-decoration: none; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.vh-sector a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 46px; height: 2px; border-radius: 2px; background: var(--vh-red); box-shadow: 0 0 12px rgba(223, 21, 41, .55); transform: translateX(-50%) scaleX(0); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.vh-sector__icon { flex: 0 0 50px; width: 50px; height: 42px; fill: none; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s ease, stroke .45s ease; }
.vh-sector__icon path { vector-effect: non-scaling-stroke; }
/* Same filled icons as the mega menu; the refinery is a line drawing. */
.vh-sector__icon:not(.vh-sector__icon--line) { fill: #fff; stroke: none; }
.vh-sector__icon--line path { stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vh-sector__text { min-width: 0; color: #fff; font-family: Roboto, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.5; transition: transform .4s cubic-bezier(.2, .8, .2, 1), color .3s ease; }
.vh-sector:is(:hover, :focus-within) { background-color: rgba(35, 119, 178, .22); background-image: linear-gradient(180deg, rgba(223, 21, 41, .1), transparent 65%); }
.vh-sector:is(:hover, :focus-within) .vh-sector__icon { filter: drop-shadow(0 4px 8px rgba(223, 21, 41, .34)); transform: translateY(-4px) scale(1.13) rotate(-3deg); }
.vh-sector:is(:hover, :focus-within) .vh-sector__text { color: #fff; font-weight: 800; transform: translateX(4px) translateY(-1px); }
.vh-sector:is(:hover, :focus-within) a::after { transform: translateX(-50%) scaleX(1); }
.vh-sector a:focus-visible { outline: 2px solid #fff; outline-offset: -3px; border-radius: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vh-sector:hover::before { animation: vh-sheen .75s cubic-bezier(.2, .8, .2, 1) both; }
  .vh-sector:hover .vh-sector__icon { animation: vh-icon-surge .65s cubic-bezier(.18, .9, .25, 1) both; }
}
@keyframes vh-sheen { to { transform: translateX(150%); } }
@keyframes vh-icon-surge {
  0% { transform: none; }
  48% { transform: translateY(-7px) scale(1.2) rotate(-5deg); }
  72% { transform: translateY(-2px) scale(1.08) rotate(1deg); }
  100% { transform: translateY(-4px) scale(1.13) rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .vh-sector, .vh-sector a, .vh-sector__icon, .vh-sector__text { transition: none; animation: none; transform: none !important; }
  .vh-sector a::after { transition: none; }
}

/* Desktop: header + hero + sector rail fill one screen. */
@media (min-width: 1025px) {
  .vh-hero { height: calc(100svh - 137px); min-height: 540px; max-height: 820px; }
  .vh-hero__content { height: 100%; min-height: 0; padding: 0 0 80px; }
  .vh-sectors { align-items: center; height: 78px; padding-top: 0; padding-bottom: 0; }
  .vh-sector { align-items: center; min-height: 54px; padding: 0 12px; }
  .vh-sector a { justify-content: center; }
  .vh-sector__icon { flex-basis: 42px; width: 42px; height: 34px; }
}
@media (max-width: 767px) {
  .vh-hero { padding: 0 20px; }
  .vh-hero__content { width: calc(100% - 40px); padding: 85px 0 210px; }
  .vr .vh-hero__title { font-size: 47px; }
  .vh-sectors { grid-template-columns: repeat(2, 1fr); padding: 8px 15px; }
  .vh-sector { justify-content: flex-start; min-height: 70px; padding: 8px; }
  .vh-sector:nth-child(2) { border-right: 0; }
  .vh-sector__text { font-size: 11px; }
  .vh-sector__icon { flex-basis: 30px; width: 30px; height: 27px; }
}

/* Why Choose VACC: photo beside a checklist. */
.vh-why { padding: 60px; background: #fff; }
.vh-why__inner { display: flex; align-items: stretch; }
.vh-why__media { display: flex; align-items: center; width: 48.879%; padding: 30px; }
.vh-why__media img { display: block; width: 100%; height: auto; border-radius: 25px; }
.vh-why__body { display: flex; flex-direction: column; justify-content: center; width: 51.076%; padding: 30px; }
.vh-why__title { margin: 0 0 40px; color: #143c67; font-family: Inter, sans-serif; font-size: 43px; font-weight: 600; line-height: 54px; }
.vh-why__list { margin: 0 0 20px; padding: 0; list-style: none; }
.vh-why__list li { position: relative; display: flex; align-items: flex-start; padding-bottom: 4.5px; }
.vh-why__list li + li { margin-top: 4.5px; }
.vh-why__list li:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid #ddd; }
.vh-why__check { flex: 0 0 17.5px; width: 14px; height: 14px; margin-top: 6px; fill: #f00; }
.vh-why__list span { padding-left: 5px; color: #7a7a7a; font-family: Roboto, sans-serif; font-size: 16px; line-height: 24px; transition: color .3s; }
.vh-why__list li:hover span { color: #164271; }
.vh-why__action { margin: 0; }
.vh-why__button { display: inline-block; padding: 12px 24px; border: 1px solid #143c67; border-radius: 30px; background: transparent; color: #143c67; font-family: Roboto, sans-serif; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; transition: transform .3s, background-color .3s, color .3s, border-color .3s; }
.vh-why__button:hover, .vh-why__button:focus-visible { border-color: #164271; background: #164271; color: #fff; transform: scale(.9); }
@media (max-width: 767px) {
  .vh-why { padding: 50px 20px 0; }
  .vh-why__inner { flex-direction: column; }
  .vh-why__media, .vh-why__body { width: 100%; padding: 0; }
  .vh-why__body { padding: 50px 0; }
  .vh-why__title { margin-bottom: 30px; }
  .vh-why__list { margin-bottom: 10px; }
}
