/* ===========================================================================
   Zoorator Cleaning — the photo boxes under "What are you looking for?"

   Loaded after style.css (which stays a copy of zoorator.in's, recoloured
   blue). There the four photos sat in one row at about 75px on a phone, with
   the names wrapping onto three lines. Here each one is a card: the photo runs
   edge to edge across the top — no white frame around it — in the same 4:3
   shape as the pictures themselves, so nothing is cropped off, and the name
   sits underneath. Two by two on phones, four across on wider screens.
   =========================================================================== */

.uc-types .cat-grid.cat-grid-4 { gap: 14px; }

.uc-types .cat-tile {
  min-height: 0;
  padding: 0;
  gap: 0;
  background: #fff;
  border: 0;
  border-radius: 16px;
  overflow: hidden;            /* the card's round corners trim the photo */
  box-shadow: 0 1px 3px rgba(23, 37, 84, .08), 0 8px 22px rgba(23, 37, 84, .08);
  transition: transform .15s, box-shadow .15s;
}
.uc-types .cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(23, 37, 84, .10), 0 14px 30px rgba(29, 78, 216, .16);
}
.uc-types .cat-tile:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* The photo: full width, flush with the card's edges. */
.uc-types .cat-tile .emoji,
.uc-types .cat-tile .emoji.has-img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.uc-types .cat-tile .emoji img.cat-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform .35s ease;
}
.uc-types .cat-tile:hover .emoji img.cat-photo { transform: scale(1.04); }

/* The name, centred in the space under the photo so one-line and two-line
   names look equally balanced across a row. */
.uc-types .cat-tile > span:last-child {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px 13px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.uc-types .cat-tile:hover > span:last-child { color: var(--brand); }

/* Phones: two by two, so each photo is about 170px wide instead of 75px. */
@media (max-width: 640px) {
  .uc-types .cat-grid.cat-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .uc-types .cat-tile { border-radius: 14px; }
  .uc-types .cat-tile:hover { transform: none; }
  .uc-types .cat-tile:hover .emoji img.cat-photo { transform: none; }
  .uc-types .cat-tile > span:last-child { padding: 10px 8px 11px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-types .cat-tile,
  .uc-types .cat-tile .emoji img.cat-photo { transition: none; }
  .uc-types .cat-tile:hover,
  .uc-types .cat-tile:hover .emoji img.cat-photo { transform: none; }
}

/* ===========================================================================
   Footer — deep navy, white text (includes/footer.php)
   =========================================================================== */
.zc-footer {
  margin-top: 48px;
  padding: 44px 0 0;
  background: var(--sidebar);
  color: rgba(255, 255, 255, .78);
}

.zc-foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 32px;
}

/* Brand: logo, one line about the service, and the way back to booking. */
.zc-foot-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.zc-foot-mark {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: #fff; color: var(--brand);
  font-size: 19px; font-weight: 800;
}
.zc-foot-logo strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.zc-foot-logo small  { display: block; margin-top: 1px; font-size: 12.5px; color: rgba(255, 255, 255, .65); }

.zc-foot-brand p { max-width: 46ch; margin: 16px 0 20px; font-size: 14px; line-height: 1.6; }

.zc-foot-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  background: #fff; color: var(--brand);
  font-size: 14.5px; font-weight: 700;
  transition: background .15s;
}
.zc-foot-cta:hover { background: var(--bg-soft); }
.zc-foot-cta svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Two short columns; the headings are one word so they never wrap. */
.zc-foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.zc-foot-links h4 {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}
.zc-foot-links ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.zc-foot-links a { font-size: 14px; color: rgba(255, 255, 255, .78); }
.zc-foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.zc-foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; color: rgba(255, 255, 255, .62);
}
.zc-foot-bottom strong { font-weight: 600; color: #fff; }

/* The checkout bar fixed to the bottom of the screen (up to 1080px wide) used
   to be cleared by padding on the page itself, which left a light strip under
   the footer. The footer now makes that room, so the navy runs to the bottom. */
@media (max-width: 1080px) {
  body.has-mobile-bar { padding-bottom: 0; }
  body.has-mobile-bar .zc-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .zc-footer { margin-top: 32px; padding-top: 32px; }
  .zc-foot-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 24px; }
  .zc-foot-brand p { margin: 14px 0 18px; }
  .zc-foot-bottom { flex-direction: column; padding: 16px 0 20px; }
}
