:root {
  --bg: #fff7f8;
  --ink: #3a2428;
  --rose: #d56b86;
  --pink: #ffd5de;
  --muted: #a06d7a;
  --line: #f3d0d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.top {
  padding: 28px 20px 8px;
  text-align: center;
}

.logo {
  width: min(280px, 72vw);
  height: min(280px, 72vw);
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.city {
  margin: 14px 0 0;
  color: var(--rose);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.social {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.social a,
.footer a {
  color: var(--rose);
  text-decoration: none;
}

.social a:hover,
.footer a:hover {
  text-decoration: underline;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}

.nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 6px;
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 12px 20px 28px;
}

.block {
  margin-top: 36px;
}

.block-head h2,
.contato h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.block-head p,
.contato p {
  margin: 6px 0 0;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
}

.filter {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: transparent;
  color: var(--muted);
  font: 600 14px Figtree, sans-serif;
  cursor: pointer;
}

.filter.is-on {
  background: var(--pink);
  color: var(--ink);
}

.list {
  margin-top: 8px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 120px 130px auto;
  gap: 12px 18px;
  align-items: center;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}

.row[hidden] {
  display: none;
}

.row h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.meta {
  display: none;
}

.price {
  margin: 0;
  color: var(--rose);
  font-weight: 700;
}

.price span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-empty {
  color: var(--muted);
  font-weight: 500;
}

.btn {
  justify-self: end;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(0.95);
}

.empty {
  margin: 16px 0 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.shot {
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f6e6ea;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
}

.contato {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
}

.phone {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 700;
}

.phone a {
  color: var(--ink);
  text-decoration: none;
}

.footer {
  padding: 8px 20px 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.lightbox {
  width: min(440px, 92vw);
  padding: 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.lightbox::backdrop {
  background: rgba(58, 36, 40, 0.55);
}

.lightbox img {
  width: 100%;
  border-radius: 10px;
}

.lightbox button {
  margin-bottom: 8px;
  border: 0;
  background: transparent;
  color: var(--rose);
  font: 700 14px Figtree, sans-serif;
  cursor: pointer;
}

@media (max-width: 760px) {
  .row {
    grid-template-columns: 1fr 1fr;
  }

  .row h3 {
    grid-column: 1 / -1;
  }

  .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .contato {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
