/* Hero concept: real photographs framed by blue curves, product packs and category deck. */
.avm-front-page > .avm-hero {
  position: relative; min-height: 850px; margin: 0; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #0c5b85 0%, #06466d 42%, #032f4e 100%);
}
.avm-hero::before, .avm-hero::after { display: none; }
.avm-hero-frame {
  position: absolute; inset: 0 16px 190px; overflow: hidden; z-index: 0;
  border: 1px solid rgba(255,255,255,.55); border-top: 0;
  border-radius: 0 0 70px 70px;
  background: radial-gradient(circle at 51% 10%, #0e6693, #073e64 60%, #052f50);
  box-shadow: inset 0 -18px 35px rgba(1,35,56,.35), 0 20px 50px rgba(1,38,64,.22);
}
.avm-hero-frame::before, .avm-hero-frame::after {
  content: ""; position: absolute; z-index: 4; pointer-events: none;
  border: 32px solid rgba(180,225,243,.43); border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(239,249,253,.13), inset 0 0 26px rgba(255,255,255,.16);
}
.avm-hero-frame::before { width: 62%; height: 390px; top: -315px; left: -16%; transform: rotate(14deg); }
.avm-hero-frame::after { width: 65%; height: 335px; right: -20%; bottom: -255px; transform: rotate(-11deg); }
.avm-hero-frame .avm-hero-scene {
  position: absolute; top: 0; bottom: 0; height: auto; width: 44%; z-index: 1; opacity: 1;
  background-repeat: no-repeat; background-size: cover; border-radius: 0;
}
.avm-hero-frame .avm-hero-scene--human {
  left: 0; width: 48%; z-index: 3;
  background-image: linear-gradient(90deg, rgba(2,41,68,.10) 0%, transparent 40%, rgba(3,42,68,.24) 100%), url("../images/scene/hero-human.webp");
  background-position: 30% 45%; clip-path: ellipse(98% 90% at 0% 49%);
}
.avm-hero-frame .avm-hero-scene--human::after { content: ""; position: absolute; inset: 0 0 43% 58%; background: linear-gradient(90deg,transparent,rgba(3,42,68,.9)); }
.avm-hero-frame .avm-hero-scene--animals {
  right: 0; width: 39%; background-image: linear-gradient(270deg, rgba(2,41,68,.08) 0%, transparent 50%, rgba(3,59,91,.36) 100%), url("../images/scene/hero-animals.webp");
  background-position: 45% 57%; clip-path: ellipse(96% 90% at 100% 49%);
}
.avm-hero-frame .avm-hero-ribbon--navy {
  position: absolute; top: -11%; left: 31%; width: 36%; height: 118%; z-index: 2;
  border-radius: 44% 53% 44% 48% / 24% 21% 77% 75%; transform: rotate(-5deg);
  background: linear-gradient(111deg, rgba(7,72,110,.79), #073e65 19%, #053558 71%, rgba(7,69,104,.8));
  box-shadow: 0 0 35px rgba(2,36,61,.29);
}
.avm-hero-arc { position: absolute; top: 31%; width: 35%; height: 60%; z-index: 3; pointer-events: none; border: 2px solid rgba(192,234,247,.64); border-radius: 50%; filter: drop-shadow(0 0 8px rgba(219,247,255,.6)); }
.avm-hero-arc--left { left: 1%; transform: rotate(-21deg); border-left-color: transparent; border-bottom-color: transparent; }
.avm-hero-arc--right { right: 1%; transform: rotate(20deg); border-right-color: transparent; border-bottom-color: transparent; }
.avm-hero-light-trail { position: absolute; left: -7%; right: -7%; bottom: 21%; height: 70px; z-index: 3; pointer-events: none; border-top: 3px solid rgba(255,144,57,.86); border-radius: 50%; transform: rotate(-4deg); filter: drop-shadow(0 0 8px #ff913b); }
.avm-hero-side-note { position: absolute; top: 294px; z-index: 4; width: 125px; margin: 0; color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .17em; line-height: 1.65; text-shadow: 0 2px 8px #07334d, 0 0 18px #07334d; text-transform: uppercase; }
.avm-hero-side-note::after { content: ""; display: block; width: 31px; height: 2px; margin-top: 12px; background: #f89b50; }
.avm-hero-side-note--left { left: 3%; }
.avm-hero-side-note--right { right: 3%; }
.avm-hero-copy { position: relative; z-index: 5; width: min(560px, 43%); margin: 0 auto; padding-top: 90px; color: #fff; text-align: center; transform: translateX(30px); }
.avm-hero-copy .avm-hero-overline { margin: 0 0 10px!important; color: #d5eff8; font-size: 12px!important; letter-spacing: .19em; text-shadow: 0 2px 12px #06324f; }
.avm-hero-copy h1 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(51px, 5.1vw, 78px); font-weight: 750; letter-spacing: -.045em; line-height: .92; text-shadow: 0 3px 10px #062f4b, 0 0 17px #062f4b; }
.avm-hero-copy > p:last-of-type { margin: 12px 0 0; color: #f5fbff; font-size: clamp(17px,1.4vw,21px); text-shadow: 0 2px 10px #06324f; }
.avm-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; max-width: 560px; margin: 20px auto 0; }
.avm-hero-actions .avm-button { min-height: 43px; padding: 0 19px; border: 1px solid rgba(255,255,255,.78); box-shadow: 0 8px 22px rgba(2,31,53,.25); font-size: 10px; letter-spacing: .03em; }

.avm-hero-products { position: absolute; left: 50%; bottom: 215px; z-index: 9; width: min(1190px,calc(100% - 90px)); grid-template-columns: 40px minmax(0,1fr) 40px; gap: 5px; transform: translateX(-50%); }
.avm-product-viewport { min-width: 0; padding: 9px 5px 5px; overflow: hidden; }
.avm-product-track { gap: 8px; align-items: end; scroll-behavior: auto; }
.avm-hero-product { flex: 0 0 calc((100% - 24px)/4); min-width: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; text-align: center; }
.avm-hero-product:hover { transform: translateY(-7px); box-shadow: none; }
.avm-hero-product img { display: block; width: auto; height: 230px; max-width: 98%; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(2,26,43,.49)); }
.avm-hero-product span { display: inline-block; max-width: 96%; overflow: hidden; margin-top: 5px; padding: 6px 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; color: #0b3b59; background: rgba(255,255,255,.87); box-shadow: 0 5px 16px rgba(1,31,51,.16); font-size: 15px; font-weight: 850; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 1px #fff, 0 0 7px #fff, 0 0 16px #fff; }
.avm-product-arrow { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.8); color: #0b4569; background: rgba(255,255,255,.93); box-shadow: 0 8px 20px rgba(2,31,53,.2); }
.avm-product-arrow:hover { color: #fff; background: #e8772d; }

.avm-hero-categories { position: absolute; left: 3%; right: 3%; bottom: 89px; z-index: 6; min-height: 129px; padding: 13px 17px 13px; border: 1px solid #fff; border-radius: 52px 52px 24px 24px / 25px 25px 24px 24px; background: linear-gradient(170deg,#fffaf2,#fff 54%,#edf7fb); box-shadow: 0 -14px 33px rgba(255,255,255,.29), 0 16px 32px rgba(1,41,65,.25); }
.avm-hero-categories h2 { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0 0 4px; color: #0a4368; font-family: inherit; font-size: 18px; font-weight: 850; letter-spacing: -.02em; text-align: center; }
.avm-hero-categories h2::before, .avm-hero-categories h2::after { content: ""; width: 45px; height: 1px; background: #73a9bf; }
.avm-hero-category-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.avm-hero-category-list a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 72px; padding: 2px 11px; border-right: 1px solid #dce8ed; color: #0a4265; font-size: 12px; font-weight: 760; line-height: 1.22; text-shadow: 0 1px 1px #fff, 0 0 8px #fff; }
.avm-hero-category-list a:last-child { border-right: 0; }
.avm-hero-category-list a:hover { color: #d96c24; }
.avm-hero-category-list a:focus-visible { outline: 2px solid #e47b2f; outline-offset: -2px; }
.avm-hero-category-list a > span:nth-child(2) { flex: 1; }
.avm-hero-category-list b { flex: 0 0 auto; font-size: 23px; font-weight: 400; }
.avm-category-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #0d5279; background: #e6f2f7; font-size: 24px; line-height: 1; }
.avm-category-icon--supplement { font-size: 20px; }
.avm-category-icon--vet { color: #bd631f; background: #fcead8; }
.avm-category-icon--pet { color: #a65823; background: #fbe8d4; font-size: 12px; font-weight: 900; letter-spacing: .03em; }
.avm-hero-signature { position: absolute; inset: auto 0 0; z-index: 3; height: 90px; display: flex; align-items: center; justify-content: space-evenly; gap: 15px; padding: 7px 3%; color: #e8f5fa; background: linear-gradient(100deg,#075078,#023752 50%,#063657); }
.avm-hero-signature span { padding-left: 14px; border-left: 2px solid rgba(255,147,65,.9); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.avm-hero-signature strong { color: #a8d8e8; font-size: 16px; letter-spacing: .09em; }
.avm-program-showcase { padding-top: 78px; }

@media (max-width: 1180px) {
  .avm-hero-products { width: calc(100% - 46px); }
  .avm-hero-product img { height: 210px; }
  .avm-hero-product span { font-size: 13px; }
  .avm-hero-category-list a { gap: 6px; padding-inline: 7px; font-size: 11px; }
  .avm-category-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 19px; }
  .avm-category-icon--pet { font-size: 10px; }
}
@media (max-width: 940px) {
  .avm-front-page > .avm-hero { min-height: 800px; }
  .avm-hero-frame { inset: 0 10px 180px; }
  .avm-hero-frame .avm-hero-scene--human { width: 52%; background-position: 31% 50%; }
  .avm-hero-frame .avm-hero-scene--animals { width: 43%; }
  .avm-hero-frame .avm-hero-ribbon--navy { left: 26%; width: 49%; }
  .avm-hero-copy { width: 56%; padding-top: 83px; transform: translateX(15px); }
  .avm-hero-copy h1 { font-size: clamp(48px,7.2vw,69px); }
  .avm-hero-side-note { display: none; }
  .avm-hero-products { bottom: 194px; grid-template-columns: 34px minmax(0,1fr) 34px; }
  .avm-product-track { gap: 7px; }
  .avm-hero-product { flex-basis: calc((100% - 14px)/3); }
  .avm-hero-product img { height: 190px; }
  .avm-hero-product span { font-size: 12px; }
  .avm-hero-categories { left: 2%; right: 2%; bottom: 77px; min-height: 110px; padding: 10px 10px 8px; }
  .avm-hero-categories h2 { font-size: 16px; }
  .avm-hero-category-list { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .avm-hero-category-list a { flex: 0 0 180px; min-height: 67px; scroll-snap-align: start; }
  .avm-hero-signature { height: 76px; }
  .avm-hero-signature strong { display: none; }
}
@media (max-width: 640px) {
  .avm-front-page > .avm-hero { min-height: 800px; }
  .avm-hero-frame { inset: 0 8px 180px; border-radius: 0 0 36px 36px; }
  .avm-hero-frame .avm-hero-scene { top: 205px; bottom: 0; width: 59%; height: auto; }
  .avm-hero-frame .avm-hero-scene--human { left: 0; background-position: 49% 49%; clip-path: ellipse(97% 83% at 0% 55%); }
  .avm-hero-frame .avm-hero-scene--animals { right: 0; background-position: 43% 57%; clip-path: ellipse(98% 83% at 100% 55%); }
  .avm-hero-frame .avm-hero-ribbon--navy { left: -15%; top: -90px; width: 130%; height: 385px; border-radius: 44% 51% 45% 49% / 16% 17% 76% 74%; transform: rotate(-5deg); }
  .avm-hero-arc { top: 33%; width: 50%; height: 43%; opacity: .75; }
  .avm-hero-light-trail { bottom: 21%; }
  .avm-hero-copy { width: 92%; padding-top: 48px; transform: none; }
  .avm-hero-copy .avm-hero-overline { font-size: 10px!important; }
  .avm-hero-copy h1 { font-size: clamp(43px,11.5vw,61px); }
  .avm-hero-copy > p:last-of-type { font-size: 16px; }
  .avm-hero-actions { position: relative; top: auto; left: auto; right: auto; display: flex; flex-wrap: nowrap; gap: 5px; margin-top: 16px; }
  .avm-hero-actions .avm-button { min-height: 37px; padding: 0 5px; font-size: 9px; line-height: 1.1; }
  .avm-hero-products { bottom: 194px; width: calc(100% - 8px); grid-template-columns: 26px minmax(0,1fr) 26px; gap: 2px; }
  .avm-product-viewport { padding: 8px 2px 5px; }
  .avm-product-track { gap: 5px; }
  .avm-hero-product { flex-basis: calc((100% - 5px)/2); }
  .avm-hero-product img { height: 164px; max-width: 100%; }
  .avm-hero-product span { max-width: 99%; padding: 5px 5px; font-size: 11px; }
  .avm-product-arrow { width: 26px; height: 26px; }
  .avm-hero-categories { left: 1%; right: 1%; bottom: 69px; min-height: 109px; padding: 8px 5px; border-radius: 24px 24px 15px 15px; }
  .avm-hero-categories h2 { margin-bottom: 1px; font-size: 15px; }
  .avm-hero-categories h2::before, .avm-hero-categories h2::after { width: 25px; }
  .avm-hero-category-list a { flex-basis: 155px; min-height: 66px; gap: 5px; padding-inline: 5px; font-size: 10px; }
  .avm-category-icon { width: 35px; height: 35px; flex-basis: 35px; font-size: 16px; }
  .avm-category-icon--pet { font-size: 9px; }
  .avm-hero-signature { height: 70px; justify-content: center; gap: 15px; }
  .avm-hero-signature span { font-size: 8px; }
  .avm-hero-signature span:nth-child(2) { display: none; }
  .avm-program-showcase { padding-top: 54px; }
}
