/* Keep long notice titles clear of the newsletter badge. */
body.home .important-notice__items {
  flex: 1;
  min-width: 0;
}
body.home .important-notice__items.is-scrollable {
  max-height: 72px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
body.home .important-notice__items .important-notice__link {
  margin-right: 0;
  transform: none;
  padding-block: 4px;
}
body.home .important-notice__items.is-scrollable .important-notice__link {
  min-height: 72px;
}
body.home .newsletter-badge {
  background: #fff;
}
body.home .newsletter-badge > strong {
  height: 100%;
  padding: 4px;
}
body.home .important-notice__link,
body.home .important-notice__link > span {
  min-width: 0;
}
body.home .important-notice__link > span {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (min-width: 1200px) {
  body.home .important-notice,
  body.home .important-notice__inner {
    height: auto;
    min-height: 84px;
  }
  body.home .important-notice__inner {
    padding-block: 16px;
  }
  body.home .important-notice__label,
  body.home .important-notice__link > time {
    flex-shrink: 0;
  }
  body.home .important-notice__items {
    flex: 1;
    margin-right: 144px;
  }
}

/* index_20260916.ai: homepage hero only; content and controls retain normal flow. */
.home .site-header > .site-search--desktop { display: none; }
.home-hero-layout {
  background: #159ace url('../images/hero-20260930-city.jpg') center / cover no-repeat;
  padding: 51px 0 42px;
}
.home-hero-layout__inner {
  width: min(calc(100% - 48px), 1042px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 634fr) minmax(0, 370fr);
  gap: 36px;
  align-items: start;
}
.home-hero-layout__main { min-width: 0; }
.home-hero-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 40px;
  min-height: 43px;
  margin: 0 0 20px;
  background: #f5f6f8;
}
.home-hero-search label {
  display: grid;
  align-items: center;
  padding: 10px 21px;
  background: #b42a23;
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.home-hero-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 8px 15px; font: inherit; font-size: 15px; }
.home-hero-search button { display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-hero-search svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.home-hero-layout .home-hero { background: transparent; }
.home-hero-layout .home-hero__slides { aspect-ratio: 634 / 357; }
.home-hero-layout .home-hero__slide,
.home-hero-layout .home-hero.is-slider-ready .home-hero__slide:not(.is-active) { position: relative; inset: auto; height: 100%; }
.home-hero-layout .home-hero__link,
.home-hero-layout .home-hero__picture { height: 100%; }
.home-hero-layout .home-hero__image { height: 100%; object-fit: contain; }
/* Carousel arrows overlay only their own media viewport. */
.home-hero__previous, .home-hero__next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 52px; border: 0; padding: 8px; background: transparent; color: #fff; cursor: pointer; }
.home-hero__previous { left: 4px; }
.home-hero__next { right: 4px; }
.home-hero__previous svg, .home-hero__next svg { width: 24px; height: 36px; fill: none; stroke: currentColor; stroke-width: 3; }
.home-hero-support { min-width: 0; padding: 28px 14px 16px; background: #b42a23; color: #fff; }
.home-hero-support h2 { margin: 0 0 27px; text-align: center; color: inherit; font-size: 21px; font-weight: 700; line-height: 1.3; }
.home-hero-support__links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 9px; }
.home-hero-support__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  min-height: 103px;
  padding: 12px 9px 8px;
  background: #fff;
  color: #b42a23;
  text-decoration: none;
  text-align: center;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.2s ease,
              color 0.2s ease;
  cursor: pointer;
}
.home-hero-support__link img {
  width: auto;
  height: 39px;
  max-width: 52px;
  object-fit: contain;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-hero-support__link span { max-width: 7em; font-size: 13px; line-height: 1.16; font-weight: 700; }
.home-hero-support__label-part { display: block; }
.home-hero-support__link:hover {
  background: #fff1e7;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}
.home-hero-support__link:hover img {
  transform: scale(1.1);
}
.home-hero-support__link:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}
.home-hero-rental { display: grid; grid-template-columns: 59px minmax(0,1fr) 72px; gap: 13px; align-items: center; margin-top: 16px; padding: 3px 2px 3px 16px; min-height: 87px; color: #231916; background: #ffe9b3; border: 2px solid #fff; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.home-hero-rental:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12); }
.home-hero-rental > img { width: 59px; height: 55px; }
.home-hero-rental__copy strong { display: block; font-size: 25px; line-height: 1.2; color: white; -webkit-text-stroke: 3px #b42a23; paint-order: stroke fill; }
.home-hero-rental__copy small { display: block; margin-top: 3px; font-size: 10px; font-weight: 700; line-height: 1.2; }
.home-hero-rental__uses { display: grid; gap: 2px; text-align: center; color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; letter-spacing: .2em; }
.home-hero-rental__uses span:nth-child(1) { background: #208f3c; }
.home-hero-rental__uses span:nth-child(2) { background: #df7909; }
.home-hero-rental__uses span:nth-child(3) { background: #0067ac; }
.home-hero-rental__uses span:nth-child(4) { background: #a24193; }
.home-hero-layout a:focus-visible, .home-hero-layout button:focus-visible, .home-hero-layout input:focus-visible { outline: 3px solid #003d80; outline-offset: 2px; }

/* Support service sections scroll alignment & highlight animation */
.support-services {
  scroll-margin-top: 115px;
  position: relative;
  transition: background-color 0.4s ease;
}
.support-services.is-scroll-targeted {
  animation: supportSectionHighlight 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes supportSectionHighlight {
  0% {
    box-shadow: 0 0 0 3px rgba(180, 42, 35, 0.35);
    background-color: rgba(180, 42, 35, 0.05);
  }
  60% {
    box-shadow: 0 0 0 1px rgba(180, 42, 35, 0.15);
    background-color: rgba(180, 42, 35, 0.02);
  }
  100% {
    box-shadow: none;
    background-color: transparent;
  }
}

/* Hide Instagram buttons and center footer social icon */
.site-social__icon[href*="instagram"],
.site-social__icon[aria-label="Instagram"],
.mobile-navigation__social-icon[href*="instagram"],
.mobile-navigation__social-icon[aria-label="Instagram"],
.site-footer__social a[href*="instagram"],
.site-footer__social a[aria-label="Instagram"],
.site-footer__social img[src*="instagram"] {
  display: none !important;
}
body#page .site-footer .site-footer__social {
  width: auto;
  justify-content: center;
  gap: 12px;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .home-hero-layout__inner { grid-template-columns: minmax(0,1fr) 320px; gap: 24px; }
  .home-hero-support { padding-inline: 12px; }
  .home-hero-support h2 { font-size: 18px; }
  .home-hero-rental { grid-template-columns: 45px minmax(0,1fr) 58px; gap: 8px; padding-left: 8px; }
  .home-hero-rental > img { width: 45px; }
  .home-hero-rental__copy strong { font-size: 23px; }
}
@media (max-width: 767px) {
  .home-hero-layout { padding: 24px 0; }
  .home-hero-layout__inner { width: calc(100% - 32px); grid-template-columns: minmax(0,1fr); gap: 24px; }
  .home-hero-search label { padding-inline: 12px; font-size: 11px; }
  .home-hero-search input { padding-inline: 8px; font-size: 13px; }
  .home-hero-layout .home-hero__slides { aspect-ratio: auto; }
  .home-hero-layout .home-hero__image { height: auto; }
  .home-hero-support h2 { font-size: clamp(16px,4.4vw,21px); }
  .home-hero-rental { grid-template-columns: 45px minmax(0,1fr) 58px; gap: 8px; padding-left: 8px; }
  .home-hero-rental > img { width: 45px; }
  .home-hero-rental__copy strong { font-size: clamp(20px,6vw,25px); }
}
/* Newsletter CTA: one short accent on entry, then the original design. */
body.home .newsletter-badge:focus-visible {
  outline: 3px solid #003d80;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  body.home .newsletter-badge {
    transition: scale 220ms ease;
  }
  body.home .newsletter-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 32%) 50%, transparent 70%);
    translate: -130% 0;
    pointer-events: none;
  }
  body.home .newsletter-badge.is-newsletter-animated {
    animation: newsletter-badge-pulse 680ms ease-in-out;
  }
  body.home .newsletter-badge.is-newsletter-animated::after {
    animation: newsletter-badge-shine 680ms ease-in-out;
  }
  body.home .newsletter-badge:focus-visible { scale: 1.035; }
  body.home .newsletter-badge:active { scale: .98; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.home .newsletter-badge:hover { scale: 1.035; }
  body.home .newsletter-badge:hover::after {
    translate: 130% 0;
    transition: translate 650ms ease;
  }
}
@keyframes newsletter-badge-pulse {
  0%, 65%, 100% { scale: 1; }
  30% { scale: 1.045; }
}
@keyframes newsletter-badge-shine {
  0%, 10% { translate: -130% 0; }
  65%, 100% { translate: 130% 0; }
}

/* Homepage micro-interactions: stationary hit areas, existing design at rest. */
@media (prefers-reduced-motion: no-preference) {
  body.home .support-link__arrow,
  body.home .section-more > span,
  body.home .home-hero-support__link > img,
  body.home .home-hero-rental > img,
  body.home .voice-card__link > img,
  body.home .site-footer__quick-links img,
  body.home .site-footer__menu-group > a > img {
    transition: translate 220ms cubic-bezier(.22,1,.36,1);
  }
  body.home .home-hero-support__link > img {
    transition: translate 220ms cubic-bezier(.22,1,.36,1), transform 280ms cubic-bezier(.2,.8,.2,1);
  }
  body.home .support-link:focus-visible .support-link__arrow,
  body.home .section-more:focus-visible > span { translate: 4px 0; }
  body.home .home-hero-support__link:focus-visible > img { translate: 0 -3px; }
  body.home .home-hero-rental:focus-visible > img,
  body.home .voice-card__link:focus-visible > img { translate: 0 -4px; }
  body.home .site-footer__quick-links a:focus-visible img,
  body.home .site-footer__menu-group > a:focus-visible > img { translate: 3px 0; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.home .support-link:hover .support-link__arrow,
  body.home .section-more:hover > span { translate: 4px 0; }
  body.home .home-hero-support__link:hover > img { translate: 0 -3px; }
  body.home .home-hero-rental:hover > img,
  body.home .voice-card__link:hover > img { translate: 0 -4px; }
  body.home .site-footer__quick-links a:hover img,
  body.home .site-footer__menu-group > a:hover > img { translate: 3px 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .support-services.is-scroll-targeted { animation: none; }
}

/* Keep interactive boxes stationary; existing icon feedback carries the motion. */
body.home :is(.promo-card, .support-link, .case-card, .home-partners__advertise, .site-footer__to-top, .home-hero-support__link, .home-hero-rental, .contact-card__button):is(:hover, :focus-visible, :active) {
  transform: none;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.home :is(.promo-card, .case-card):is(:hover, :focus-visible) img,
  body.home .home-hero-support__link:hover img,
  body.home .feature-banner:is(:hover, :focus-visible) .feature-banner__asset {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home :is(.promo-card img, .case-card img, .feature-banner__asset, .contact-card__line-icon) {
    transition: none;
    animation: none;
  }
}
