/* Owner-approved subjects on the existing ice-blue theme. */
.service-card:has(.catalog-service-image) .service-card-art {
  height: 180px;
  background: radial-gradient(ellipse at 50% 75%, #62bbf76b, #e9f8ff33 72%);
}
.service-card-art img.catalog-service-image {
  width: 100%; height: 100%; object-fit: contain; padding: 8px;
  transition: transform .35s ease;
}
.service-card:hover img.catalog-service-image { transform: scale(1.045); }
.service-detail-art img.catalog-service-image { width: 100%; height: 340px; object-fit: contain; padding: 14px; }
.home-category-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 28px; }
.home-category-group, .home-extra-category {
  min-width: 0; padding: 15px; border: 1px solid #fff; border-radius: 18px;
  background: linear-gradient(145deg, #f4fcfff2, #a9daff9e);
  box-shadow: 0 4px 10px #1b72b91c, inset 0 1px 0 #fff;
}
.home-category-group > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.home-category-group h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 17px; font-weight: 800; color: #082657; }
.home-category-group h3 svg { width: 22px; height: 22px; color: #006bce; }
.home-category-group > header > a { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; color: #064fa3; }
.home-category-group > header > a svg { width: 13px; height: 13px; }
.home-category-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.home-category-tile {
  min-width: 0; display: flex; flex-direction: column; align-items: stretch; text-align: center;
  padding: 7px 4px 10px; border: 1px solid #a4cdef; border-radius: 11px;
  background: linear-gradient(160deg, #f9fdff, #d4ecff); color: #082657;
  box-shadow: inset 0 1px 0 #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-category-tile:hover { transform: translateY(-4px); border-color: #1688ed; box-shadow: 0 6px 12px #1376bd26; }
.home-category-tile:focus-visible, .home-contact-card:focus-visible { outline: 3px solid #005bd6; outline-offset: 3px; }
.home-category-tile > span:last-child { font-size: 10px; font-weight: 750; line-height: 1.5; min-height: 30px; display: grid; place-items: center; overflow-wrap: anywhere; }
.category-tile-art { display: block; width: 100%; aspect-ratio: 3 / 4; background-repeat: no-repeat; background-size: 400% 100%; margin-bottom: 6px; }
.art-consoles { background-image: url('/brand/home-refresh/consoles.webp'); }
.art-games { background-image: url('/brand/home-refresh/games.webp'); }
.art-accessories { background-image: url('/brand/home-refresh/accessories.webp'); }
.art-cell-0 { background-position: 0% 50%; }
.art-cell-1 { background-position: 33.333333% 50%; }
.art-cell-2 { background-position: 66.666667% 50%; }
.art-cell-3 { background-position: 100% 50%; }
.home-extra-category { display: flex; align-items: center; gap: 10px; }
.home-extra-category h3 { font-size: 16px; margin: 0; }
.home-extra-category > span { margin-inline-start: auto; font-size: 12px; }
.home-extra-category svg { width: 20px; }
.home-contact-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 8px 0 22px; }
.home-contact-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 25px; border: 1px solid #fff; border-radius: 17px;
  background: linear-gradient(120deg, #f5fcff, #abd9ff); box-shadow: var(--card-shadow); color: #082657;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-whatsapp { background: linear-gradient(120deg, #f4fffc, #baebdf); }
.contact-card-icon { width: 53px; height: 53px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 16px; background: #ffffffb8; color: #006fd2; }
.contact-whatsapp .contact-card-icon { color: #087e51; }
.contact-card-icon svg { width: 30px; height: 30px; }
.home-contact-card > span:nth-child(2) { display: grid; gap: 5px; }
.home-contact-card strong { font-size: 18px; font-weight: 800; }
.home-contact-card small, .home-contact-card bdi { font-size: 13px; color: #315979; }
.home-contact-card > svg { margin-inline-start: auto; width: 21px; color: #0065c4; }
.home-contact-card:hover { transform: translateY(-3px); box-shadow: 0 7px 16px #1b72b92b; color: #082657; }
@media (max-width: 1100px) {
  .home-category-groups { grid-template-columns: 1fr; }
  .category-tile-art { width: min(100%, 104px); align-self: center; }
  .home-category-tile > span:last-child { font-size: 12px; }
}
@media (max-width: 600px) {
  .service-card:has(.catalog-service-image) .service-card-art { height: 140px; }
  .service-detail-art img.catalog-service-image { height: 260px; }
  .home-category-group { padding: 12px; }
  .home-category-group h3 { font-size: 16px; }
  .home-category-tiles { gap: 5px; }
  .home-category-tile { padding-inline: 2px; }
  .home-category-tile > span:last-child { font-size: 10px; }
  .home-contact-cards { gap: 9px; }
  .home-contact-card { padding: 14px 11px; gap: 9px; flex-wrap: wrap; }
  .contact-card-icon { width: 36px; height: 36px; border-radius: 11px; }
  .contact-card-icon svg { width: 23px; height: 23px; }
  .home-contact-card strong { font-size: 13px; }
  .home-contact-card small, .home-contact-card bdi { font-size: 10px; }
  .home-contact-card > svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card-art img.catalog-service-image, .home-category-tile, .home-contact-card { transition: none; }
  .service-card:hover img.catalog-service-image, .home-category-tile:hover, .home-contact-card:hover { transform: none; }
}
