/* Put a Smile On Your Place — site styles */

@font-face {
  font-family: "Aleo";
  src: url("/assets/fonts/aleo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aleo";
  src: url("/assets/fonts/aleo-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --red: #b63d32;
  --red-dark: #8f2c23;
  --brown: #3c1d17;
  --ink: #303030;
  --muted: #5f5e5e;
  --line: #cfcece;
  --bg: #efefef;
  --card: #ffffff;
  --font: "Aleo", Rockwell, "Roboto Slab", Georgia, serif;
  --wrap: 1080px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

main { flex: 1; }

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { color: var(--red); font-size: clamp(2rem, 4.6vw, 2.75rem); }
h2 { color: var(--brown); font-size: clamp(1.4rem, 3vw, 1.75rem); }

p { margin: 0 0 1em; }

a { color: var(--red-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(2.25rem, 6vw, 4rem); }

.center { text-align: center; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 1rem;
}
.skip:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Masthead ---------- */

.masthead {
  background:
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
    #dcdcdc url("/assets/img/header-bg-small.jpg") center 45% / cover no-repeat;
  padding: clamp(0.9rem, 2.5vw, 1.4rem) var(--pad);
}
@media (min-width: 800px) {
  .masthead {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
      url("/assets/img/header-bg.jpg");
  }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 1.4rem);
  color: #000;
  text-decoration: none;
  text-align: left;
}
.brand:hover { color: #000; }
.brand__logo { width: clamp(52px, 9vw, 82px); flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-weight: 800;
  font-size: clamp(1.35rem, 4.4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}
.brand__tag {
  font-weight: 600;
  font-size: clamp(0.78rem, 2vw, 1.1rem);
  letter-spacing: 0.12em;
  margin-top: 0.2em;
}

/* Home page gets the big stacked version, like the original */
.masthead--home { padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(1.75rem, 4.5vw, 3rem); }
.masthead--home .brand { flex-direction: column; text-align: center; gap: clamp(0.75rem, 2vw, 1.4rem); }
.masthead--home .brand__logo { width: clamp(96px, 14vw, 136px); }
.masthead--home .brand__name { font-size: clamp(1.8rem, 6vw, 3.4rem); }
.masthead--home .brand__tag { font-size: clamp(0.9rem, 2.6vw, 1.6rem); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--red);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}
.nav__bar { display: none; }
.nav__menu {
  list-style: none;
  margin: 0;
  padding: 0 var(--pad);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.nav__menu a {
  display: block;
  padding: 0.6rem clamp(0.6rem, 1.6vw, 1.15rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 0.15s;
}
.nav__menu a:hover,
.nav__menu a[aria-current] { color: var(--ink); }

@media (max-width: 719px) {
  .nav__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 0.4rem;
  }
  .nav__toggle,
  .nav__call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0 0.75rem;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
  }
  .nav__call:hover { color: #fff; }
  .nav__toggle svg { width: 22px; height: 22px; }
  .nav__menu { display: none; flex-direction: column; padding: 0 0 0.5rem; }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a { padding: 0.75rem 1.15rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--red-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 0.8em; height: 1.2em; }

/* ---------- Home ---------- */

.hero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 2rem);
}
.hero p { color: var(--muted); max-width: 34em; }
.seal { display: inline-block; width: 200px; margin-top: 0.4rem; transition: transform 0.15s; }
a.seal:hover { transform: translateY(-1px); }
.hero__photo img {
  width: 100%;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}
@media (min-width: 800px) {
  .hero { grid-template-columns: 1.05fr 1fr; }
  .hero__photo img { clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
}

.teaser { text-align: center; padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4rem); }
.teaser p { color: var(--muted); max-width: 46em; margin-inline: auto; }
.teaser .btn { margin-top: 0.5rem; }

/* ---------- Reviews (home) ---------- */

.stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9c6c5' d='M12 2.600l2.900 6.100 6.700.900-4.900 4.600 1.200 6.600L12 17.600l-5.900 3.200 1.200-6.600-4.900-4.600 6.700-.900z'/%3E%3C/svg%3E");
  --star-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2a200' d='M12 2.600l2.900 6.100 6.700.900-4.900 4.600 1.200 6.600L12 17.600l-5.900 3.200 1.200-6.600-4.900-4.600 6.700-.900z'/%3E%3C/svg%3E");
  position: relative;
  display: inline-block;
  flex: none;
  width: 6.25em;
  height: 1.25em;
  vertical-align: -0.22em;
  background: var(--star) 0 0 / 1.25em 1.25em repeat-x;
}
.stars::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct, 100%);
  background: var(--star-on) 0 0 / 1.25em 1.25em repeat-x;
}

.reviews {
  background: #e6e4e3;
  border-top: 1px solid var(--line);
  padding-block: clamp(2.25rem, 6vw, 3.75rem);
}
.reviews__overall { text-align: center; font-size: 1.1rem; letter-spacing: 0; margin: -0.2rem 0 0; }
.reviews__overall strong { font-weight: 700; }
.reviews__list {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  columns: 3 290px;
  column-gap: clamp(0.8rem, 2vw, 1.25rem);
}
.review {
  break-inside: avoid;
  margin: 0 0 clamp(0.8rem, 2vw, 1.25rem);
  padding: 1.15rem 1.25rem 1rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.01em;
}
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 1.05rem; }
.review__date { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.02em; }
.review__text { margin: 0.7rem 0 0; font-size: 1rem; line-height: 1.6; }
.review__text p { margin: 0 0 0.6em; }
.review__text p:last-child { margin-bottom: 0; }
.review__text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  line-clamp: 9;
  overflow: hidden;
}
.review__toggle {
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red-dark);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.review__toggle:hover { color: var(--red); }
.review__photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.85rem; }
.review__photos a {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 3px;
  background: #d6d5d5;
  cursor: zoom-in;
}
.review__photos img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s; }
.review__photos a:hover img { filter: brightness(1.08); }
.review__by { margin: 0.9rem 0 0; display: grid; gap: 0.05rem; letter-spacing: 0; }
.review__by strong { font-weight: 700; color: var(--brown); }
.review__by span { color: var(--muted); font-size: 0.88rem; }
.review__via {
  margin: 0.7rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid #e7e5e5;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.reviews__more { margin-top: 0.75rem; }

/* ---------- About ---------- */

.page-title { text-align: center; padding-top: clamp(2rem, 5vw, 3.25rem); margin-bottom: 0; }

.features { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.feature { display: grid; gap: clamp(1.1rem, 3.5vw, 3rem); align-items: center; }
.feature img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; border-radius: var(--radius); }
.feature p { color: var(--muted); margin: 0; }
@media (min-width: 800px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(even) .feature__media { order: 2; }
}

/* ---------- Services ---------- */

.services {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-block: clamp(2rem, 5vw, 3.25rem) clamp(2.5rem, 6vw, 4rem);
  max-width: calc(820px + 2 * var(--pad));
}
.services h1::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.55em;
  background: var(--ink);
}
.services__list {
  margin: 1.5rem 0 0;
  padding-left: 1.3em;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: 0;
}
.services__list li { padding-block: 0.32em; }
.services__list li::marker { color: var(--red); }
.services__logo { width: min(220px, 50vw); margin-inline: auto; }
@media (min-width: 720px) {
  .services { grid-template-columns: 1fr auto; }
  .services__logo { margin-top: 0.5rem; }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 800px) {
  .contact { grid-template-columns: 0.8fr 1fr; }
}
.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: 0;
}
.contact__list li { padding-block: 0.3em; }
.contact__list a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--red); text-decoration: underline; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form__field { display: grid; gap: 0.3rem; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-size: 0.98rem; letter-spacing: 0; }
.form input,
.form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  letter-spacing: 0;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__status { margin: 0; font-weight: 600; letter-spacing: 0; }
.form__status[data-state="error"] { color: var(--red-dark); }
.form__hp { position: absolute; left: -9999px; }
@media (max-width: 480px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------- Gallery index ---------- */

.gallery-head { text-align: center; padding-top: clamp(2rem, 5vw, 3.25rem); }
.lede { color: var(--muted); max-width: 40em; margin-inline: auto; }

.cats {
  list-style: none;
  margin: 0 auto;
  padding-block: clamp(1rem, 3vw, 1.75rem) clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: clamp(0.6rem, 1.6vw, 1rem);
}
@media (max-width: 520px) {
  .cats { grid-template-columns: 1fr 1fr; }
}
.cat {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #2f2f2f;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 14, 11, 0.86) 0%, rgba(30, 14, 11, 0.35) 38%, rgba(30, 14, 11, 0) 62%);
}
.cat__label {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  padding: 0.7rem 0.85rem;
  display: grid;
  gap: 0.1rem;
}
.cat__title { font-weight: 700; font-size: 1.12rem; line-height: 1.2; letter-spacing: 0; }
.cat__count { font-size: 0.82rem; font-weight: 400; letter-spacing: 0.03em; opacity: 0.9; }
.cat:hover { color: #fff; }
.cat:hover img { transform: scale(1.05); }

.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-top: -0.4rem; }

/* ---------- Category page ---------- */

.cat-head { text-align: center; padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.crumb {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-decoration: none;
}
.crumb:hover { text-decoration: underline; }
.cat-head h1 { margin-bottom: 0.15em; }
.cat-head .meta { color: var(--muted); margin: 0; }
.cat-head .note { color: var(--muted); font-style: italic; margin: 0.4rem 0 0; }

.chips { margin-top: 1.1rem; border-block: 1px solid var(--line); background: #e8e7e7; }
.chips ul {
  list-style: none;
  margin: 0 auto;
  padding: 0.6rem var(--pad);
  max-width: calc(var(--wrap) + 2 * var(--pad));
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.chips a {
  display: block;
  white-space: nowrap;
  padding: 0.28rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}
.chips a:hover { border-color: var(--red); color: var(--red-dark); }
.chips a[aria-current] { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
/* enough room on larger screens: show every category instead of a scrolling strip */
@media (min-width: 900px) {
  .chips ul { flex-wrap: wrap; justify-content: center; overflow: visible; padding-block: 0.75rem; }
  .chips a { font-size: 0.85rem; padding: 0.2rem 0.75rem; }
}

.photos {
  --row: 150px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-block: clamp(1.1rem, 3vw, 1.75rem);
}
@media (min-width: 600px) { .photos { --row: 200px; gap: 8px; } }
@media (min-width: 1000px) { .photos { --row: 230px; } }
.photos::after { content: ""; flex-grow: 999999; }
.photos a {
  position: relative;
  flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--row));
  aspect-ratio: var(--r);
  overflow: hidden;
  border-radius: 3px;
  background: #d6d5d5;
  cursor: zoom-in;
}
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease, filter 0.3s ease; }
.photos a:hover img { transform: scale(1.03); filter: brightness(1.06); }
/* categories with only a few photos: show them big instead of as tiny tiles */
.photos--few { --row: 300px; justify-content: center; }
@media (min-width: 600px) { .photos--few { --row: 420px; } }
.photos--few::after { content: none; }
.photos--few a { flex-grow: 0; max-width: 100%; }

.videos {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(0.6rem, 1.6vw, 1rem);
}
.videos--center { display: flex; flex-wrap: wrap; justify-content: center; }
@media (min-width: 1000px) {
  .videos:not(.videos--center) { grid-template-columns: repeat(7, 1fr); }
}
.videos--center li { width: clamp(150px, 21vw, 200px); }
.video {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1d1d1d;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.12) 100%);
}
.video__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: rgba(182, 61, 50, 0.92);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.video__play svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
.video__label {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  padding: 0.6rem 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  letter-spacing: 0;
}
.video__title { font-weight: 700; line-height: 1.2; }
.video__dur { font-size: 0.82rem; font-weight: 400; opacity: 0.9; }
.video:hover { color: #fff; }
.video:hover img { transform: scale(1.05); }
.video:hover .video__play { transform: scale(1.1); }

.video-section { padding-block: clamp(1rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.5rem); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem clamp(2.25rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.pager a { display: grid; gap: 0.1rem; text-decoration: none; letter-spacing: 0; max-width: 48%; }
.pager a[rel="next"] { text-align: right; margin-left: auto; }
.pager small { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pager span { font-weight: 700; font-size: 1.1rem; color: var(--red-dark); }
.pager a:hover span { color: var(--red); text-decoration: underline; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 12, 11, 0.96);
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(18, 12, 11, 0.96); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 3.25rem 0.75rem 0.25rem;
  touch-action: pan-y pinch-zoom;
}
.lightbox__img {
  width: min(100vw - 1.5rem, (100dvh - 7rem) * var(--r, 1.333));
  height: auto;
  max-width: none;
  aspect-ratio: var(--r, 1.333);
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__video {
  width: min(100vw - 1.5rem, (100dvh - 7rem) * 0.5625);
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 4px;
  background: #000;
}
.lightbox__caption {
  margin: 0;
  padding: 0.55rem 1rem 0.9rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #e6e1e0;
}
.lightbox button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}
.lightbox button:hover { background: var(--red); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 0.6rem; right: 0.6rem; }
.lightbox__prev { left: 0.6rem; top: 50%; margin-top: -23px; }
.lightbox__next { right: 0.6rem; top: 50%; margin-top: -23px; }
.lightbox[data-mode="video"] .lightbox__prev,
.lightbox[data-mode="video"] .lightbox__next,
.lightbox[data-single] .lightbox__prev,
.lightbox[data-single] .lightbox__next { display: none; }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 3.2rem; margin: 0; }
}
body.is-locked { overflow: hidden; }

/* ---------- Estimate band + footer ---------- */

.cta {
  background: var(--brown);
  color: #fff;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.25rem) var(--pad) clamp(1.6rem, 4vw, 2.4rem);
}
.cta__mark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin-bottom: 0.7rem;
}
.cta__mark::before,
.cta__mark::after {
  content: "";
  width: clamp(3rem, 12vw, 7.5rem);
  height: 4px;
  background: #b9b6b6;
}
.cta__mark svg { width: 84px; height: 42px; fill: #b9b6b6; }
.cta p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: balance;
}
.cta a { color: #fff; text-decoration: none; white-space: nowrap; }
.cta a:hover { text-decoration: underline; }

.footer {
  background: var(--red);
  color: #fff;
  padding: clamp(1.4rem, 4vw, 2.1rem) var(--pad);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.1rem;
  flex-wrap: wrap;
  text-align: center;
}
.footer__logo { width: 34px; filter: brightness(0) invert(1); }
.footer__text { display: grid; gap: 0.1rem; }
.footer__name { font-weight: 400; }
.footer__small { font-size: 0.8rem; opacity: 0.92; }
.footer__social { display: flex; gap: 0.35rem; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  transition: background 0.15s;
}
.footer__social a:hover { background: rgba(0, 0, 0, 0.2); color: #fff; }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding-block: clamp(3rem, 9vw, 6rem); }
.notfound p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
