@import url("app/globals.css?v=20260810-navigation");

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-grid .category {
  position: relative;
  isolation: isolate;
  height: 330px;
  overflow: hidden;
  background: #282521;
  color: #fff;
}

.category::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,16,.08) 22%, rgba(20,18,16,.86) 100%);
  content: "";
}

.category-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.category-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.category-grid .category:hover {
  background: #282521;
  color: #fff;
}

.category:hover .category-media img,
.category:focus-visible .category-media img {
  transform: scale(1.045);
  filter: saturate(.85);
}

.category>span:first-child {
  position: relative;
  z-index: 1;
}

.category h3,
.category p {
  text-shadow: 0 1px 18px rgba(0,0,0,.45);
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category { height: 300px; }
}

@media (max-width: 560px) {
  .category { height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-media img { transition: none; }
}

.category {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.category:hover,
.category:focus-visible {
  background: var(--ink);
  color: white;
  transform: translateY(-4px);
}

.category:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  position: relative;
  z-index: 1;
}

.finder {
  display: grid;
  grid-template-columns: 1.1fr 1fr .65fr;
  gap: 5vw;
  align-items: end;
  padding: 11vh 7vw;
  border-top: 1px solid var(--line);
  background: #e8e2d7;
}

.finder h2 {
  margin: 16px 0 20px;
  font: 500 clamp(38px, 4vw, 62px)/1.15 serif;
}

.finder p:not(.eyebrow) {
  max-width: 560px;
  color: #69645b;
  line-height: 1.9;
}

.finder ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.finder li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.finder li:last-child { border-bottom: 1px solid var(--line); }
.finder li b { color: var(--clay); font-size: 11px; }
.finder-action {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--ink);
  color: white;
  font-size: 18px;
  text-decoration: none;
}
.finder-action span { color: #c79478; font-size: 30px; }

.contact > div > p:last-child { max-width: 520px; color: rgb(255 255 255 / 78%); line-height: 1.8; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.contact-actions > * {
  display: flex;
  min-height: 68px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 15px;
  border: 1px solid rgb(255 255 255 / 45%);
  background: transparent;
  color: white;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.contact-actions small { margin-bottom: 3px; opacity: .72; }
.contact-actions strong { font-size: 15px; }
.contact-actions .contact-line-qr { grid-template-columns: 72px 1fr; gap: 14px; }
.contact-line-qr img { width: 72px; height: 72px; object-fit: cover; background: white; }
.contact-line-qr span { display: grid; }
.contact-actions > *:hover,
.contact-actions > *:focus-visible { background: white; color: var(--clay); }
.contact-status { min-height: 1.5em; margin: 14px 0 0; font-size: 13px; }

@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr 1fr; }
  .finder-action { grid-column: 1 / -1; min-height: 84px; }
}

@media (max-width: 620px) {
  .finder { grid-template-columns: 1fr; padding: 80px 24px; }
  .finder-action { grid-column: auto; }
  .contact-actions { grid-template-columns: 1fr; }
}
