.home-redesign.home-service-overlay-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.home-redesign.home-service-overlay-open > header,
.home-redesign.home-service-overlay-open > main,
.home-redesign.home-service-overlay-open > footer,
.home-redesign.home-service-overlay-open > .back-to-top,
.home-redesign.home-service-overlay-open > #paintChatbot {
  filter: blur(4px);
  transition: filter 0.2s ease;
}

.home-redesign .footer-info-icon {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.home-redesign .footer-info-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card-copy-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.solution-card-copy-link:hover,
.solution-card-copy-link:focus {
  color: inherit;
  text-decoration: none;
}

.solution-card-copy-link:focus-visible,
.solution-card-shop:focus-visible,
.solution-learn-more:focus-visible,
.featured-actions button.main-btn:focus-visible {
  outline: 3px solid rgba(225, 10, 24, 0.32);
  outline-offset: 4px;
}

.solution-learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0;
  color: #e10a18;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.solution-card .solution-learn-more span {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  color: inherit;
}

.solution-learn-more:hover span,
.solution-learn-more:focus-visible span {
  color: #b90813;
}

.featured-actions button.main-btn {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.hso-overlay[hidden] {
  display: none;
}

.hso-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 22px;
}

.hso-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 35, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hso-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #16202b;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(4, 18, 36, 0.32);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hso-overlay.is-open .hso-backdrop,
.hso-overlay.is-open .hso-dialog {
  opacity: 1;
}

.hso-overlay.is-open .hso-dialog {
  transform: translateY(0) scale(1);
}

.hso-dialog-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px 28px 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 26, 40, 0.09);
}

.hso-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #e10a18;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hso-title-block h2 {
  margin: 3px 0 0;
  color: #16202b;
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hso-title-block p {
  max-width: 780px;
  margin: 8px 0 0;
  color: #596371;
  font-size: 15px;
  line-height: 1.55;
}

.hso-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16202b;
  background: #fff4f5;
  border: 1px solid rgba(225, 10, 24, 0.18);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.hso-close:hover,
.hso-close:focus-visible {
  color: #ffffff;
  background: #e10a18;
  transform: rotate(90deg);
}

.hso-body {
  min-height: 0;
  overflow: auto;
  padding: 24px 28px 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.hso-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.hso-hero-image {
  min-height: 290px;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f5f8;
  box-shadow: inset 0 0 0 1px rgba(16, 26, 40, 0.06);
}

.hso-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  display: block;
  object-fit: cover;
}

.hso-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(16, 26, 40, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.hso-hero-copy > .hso-icon {
  margin-bottom: 18px;
}

.hso-hero-copy p {
  margin: 0;
  color: #3f4a57;
  font-size: 18px;
  line-height: 1.58;
}

.hso-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e10a18;
  background: #fff7f8;
  border: 2px solid rgba(225, 10, 24, 0.22);
  border-radius: 50%;
  font-size: 16px;
}

.hso-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hso-highlight-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #3f4a57;
  background: #f7f9fc;
  border: 1px solid rgba(16, 26, 40, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hso-highlight-row i {
  color: #e10a18;
}

.hso-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.hso-info-card {
  min-width: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 26, 40, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(18, 28, 45, 0.06);
}

.hso-info-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hso-info-heading .hso-icon {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.hso-info-heading h3 {
  margin: 0;
  color: #16202b;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hso-info-card ul,
.hso-info-card ol {
  margin: 0;
  padding-left: 19px;
  color: #596371;
  font-size: 14px;
  line-height: 1.55;
}

.hso-info-card li + li {
  margin-top: 7px;
}

.hso-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  color: #3f2600;
  background: #fff8e6;
  border: 1px solid rgba(190, 130, 20, 0.26);
  border-radius: 16px;
}

.hso-notice i {
  margin-top: 3px;
  color: #c48614;
}

.hso-notice p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.hso-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding: 16px 28px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(16, 26, 40, 0.09);
}

.hso-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(16, 26, 40, 0.12);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.hso-action:hover,
.hso-action:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.hso-action:focus-visible {
  outline: 3px solid rgba(225, 10, 24, 0.32);
  outline-offset: 2px;
}

.hso-action-primary {
  color: #ffffff;
  background: #e10a18;
  border-color: #e10a18;
}

.hso-action-primary:hover,
.hso-action-primary:focus-visible {
  color: #ffffff;
  background: #bd0711;
  border-color: #bd0711;
}

.hso-action-secondary {
  color: #e10a18;
  background: #fff4f5;
  border-color: rgba(225, 10, 24, 0.25);
}

.hso-action-secondary:hover,
.hso-action-secondary:focus-visible {
  color: #ffffff;
  background: #e10a18;
  border-color: #e10a18;
}

.hso-action-ghost {
  color: #16202b;
  background: #ffffff;
}

.hso-action-ghost:hover,
.hso-action-ghost:focus-visible {
  color: #e10a18;
  border-color: rgba(225, 10, 24, 0.32);
}

.hso-status {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hso-dialog.is-gamazine {
  color: #ffffff;
  background: #120306;
  border-color: rgba(255, 214, 150, 0.22);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5);
}

.hso-dialog.is-gamazine .hso-dialog-header,
.hso-dialog.is-gamazine .hso-actions {
  background: #170407;
  border-color: rgba(255, 255, 255, 0.12);
}

.hso-dialog.is-gamazine .hso-body {
  background:
    radial-gradient(circle at 12% 15%, rgba(225, 10, 24, 0.34), transparent 32%),
    linear-gradient(135deg, #230609 0%, #0f0204 58%, #09090d 100%);
}

.hso-dialog.is-gamazine .hso-kicker,
.hso-dialog.is-gamazine .hso-icon,
.hso-dialog.is-gamazine .hso-highlight-row i {
  color: #f5b43c;
}

.hso-dialog.is-gamazine .hso-title-block h2,
.hso-dialog.is-gamazine .hso-info-heading h3 {
  color: #ffffff;
}

.hso-dialog.is-gamazine .hso-title-block p,
.hso-dialog.is-gamazine .hso-hero-copy p,
.hso-dialog.is-gamazine .hso-info-card ul,
.hso-dialog.is-gamazine .hso-info-card ol {
  color: rgba(255, 255, 255, 0.78);
}

.hso-dialog.is-gamazine .hso-hero-copy,
.hso-dialog.is-gamazine .hso-info-card {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.hso-dialog.is-gamazine .hso-icon {
  background: rgba(245, 180, 60, 0.08);
  border-color: rgba(245, 180, 60, 0.32);
}

.hso-dialog.is-gamazine .hso-highlight-row span {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hso-dialog.is-gamazine .hso-close {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hso-dialog.is-gamazine .hso-close:hover,
.hso-dialog.is-gamazine .hso-close:focus-visible {
  background: #e10a18;
  border-color: #e10a18;
}

@media (max-width: 991px) {
  .hso-hero,
  .hso-section-grid {
    grid-template-columns: 1fr;
  }

  .hso-hero-image,
  .hso-hero-image img {
    min-height: 250px;
  }
}

@media (max-width: 767px) {
  .hso-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .hso-dialog {
    width: 100%;
    max-height: 94vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .hso-dialog-header {
    padding: 18px 18px 15px;
  }

  .hso-title-block h2 {
    font-size: 24px;
  }

  .hso-title-block p {
    font-size: 14px;
  }

  .hso-body {
    padding: 18px;
  }

  .hso-hero {
    gap: 18px;
  }

  .hso-hero-image,
  .hso-hero-image img {
    min-height: 210px;
  }

  .hso-hero-copy {
    padding: 18px;
  }

  .hso-hero-copy p {
    font-size: 16px;
  }

  .hso-info-card {
    padding: 18px;
  }

  .hso-actions {
    flex-direction: column;
    padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  }

  .hso-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hso-backdrop,
  .hso-dialog,
  .hso-action,
  .hso-close,
  .solution-card,
  .solution-card img {
    transition: none !important;
  }
}
