:root {
  color-scheme: light;
  --background: #f3f5f9;
  --background-alt: #eef2f8;
  --panel: rgba(255, 255, 255, 0.8);
  --panel-strong: #fcfdff;
  --text: #25273b;
  --muted: #5b6178;
  --line: rgba(96, 131, 172, 0.16);
  --blue: #5f93c9;
  --blue-strong: #2b6ca3;
  --blue-deep: #1d4365;
  --purple-accent: #6f68b7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(95, 147, 201, 0.14), transparent 28%),
    linear-gradient(180deg, var(--background), var(--background-alt) 45%, #f7f8fb);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: var(--blue-deep);
  font: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

p,
li {
  line-height: 1.72;
}

.site-main {
  width: min(1120px, calc(100vw - 2rem));
  margin: 1.5rem auto 6rem;
}

.page-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 64px rgba(48, 62, 99, 0.12);
  backdrop-filter: blur(10px);
}

.section {
  padding: 2rem;
  border-top: 1px solid var(--line);
}

.section:first-child {
  border-top: 0;
}

.eyebrow,
.label,
.page-meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
}

.page-meta {
  color: var(--purple-accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  color: var(--blue-deep);
}

h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.4rem);
  color: var(--blue-deep);
}

h3 {
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -9rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 147, 201, 0.14), transparent 62%);
  pointer-events: none;
}

.lede {
  max-width: 36rem;
  margin: 1rem 0 0;
  font-size: 1.16rem;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.pill {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-primary {
  background: var(--blue);
  border-color: transparent;
  color: #f7fbff;
}

.hero-media {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 0.9rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.image-card,
.note-card,
.info-card,
.category-card,
.filmstrip-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 28px rgba(48, 62, 99, 0.08);
}

.image-card {
  padding: 0.7rem;
  border-radius: 26px;
}

.image-card img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.note-card {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: var(--purple-accent);
  color: #f7f5ff;
}

.note-card .label {
  color: #dcd8ff;
}

.label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-copy {
  max-width: 21rem;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.category-card,
.info-card,
.filmstrip-card {
  border-radius: 22px;
  padding: 1.2rem;
  background: var(--panel-strong);
  background-image:
    linear-gradient(rgba(252, 253, 255, 0.9), rgba(252, 253, 255, 0.93)),
    url("/assets/gallery/img-14.png");
  background-size: cover;
  background-position: center;
}

.category-card:nth-child(1) {
  background-image:
    linear-gradient(rgba(252, 253, 255, 0.9), rgba(252, 253, 255, 0.94)),
    url("/assets/gallery/img-05.png");
}

.category-card:nth-child(2) {
  background-image:
    linear-gradient(rgba(252, 253, 255, 0.9), rgba(252, 253, 255, 0.94)),
    url("/assets/gallery/img-14.png");
}

.category-card:nth-child(3) {
  background-image:
    linear-gradient(rgba(252, 253, 255, 0.9), rgba(252, 253, 255, 0.94)),
    url("/assets/gallery/img-24.png");
  background-position: center top;
}

.category-card h3,
.info-card h3,
.filmstrip-card h3 {
  margin-top: 0.85rem;
}

.category-card p,
.info-card p,
.filmstrip-card p {
  margin-top: 0.75rem;
}

.category-card .label,
.info-card .label,
.filmstrip-card .label {
  color: var(--blue);
}

.category-card:nth-child(3) .label,
.info-card:nth-child(2) .label {
  color: var(--purple-accent);
}

.filmstrip-card .label {
  color: var(--purple-accent);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
}

.why-card {
  padding: 1.5rem;
  border-radius: 28px;
  background:
    linear-gradient(rgba(43, 108, 163, 0.92), rgba(43, 108, 163, 0.92)),
    url("/assets/gallery/img-18.png") center/cover;
  color: #f4f9ff;
}

.why-card h2 {
  color: #f6fbff;
}

.why-card .label {
  color: #dcecff;
}

.why-card p {
  color: #eaf5ff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(250, 252, 255, 0.96);
  box-shadow: 0 16px 40px rgba(48, 62, 99, 0.16);
  backdrop-filter: blur(12px);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

button {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: var(--blue);
  color: #f8fbff;
  font: inherit;
  cursor: pointer;
}

.filmstrip-wrap {
  overflow: hidden;
  position: relative;
  margin-top: 1.1rem;
}

.filmstrip-track {
  display: flex;
  width: max-content;
  gap: 0.9rem;
  padding: 0 0 0.25rem;
  animation: marquee 42s linear infinite;
}

.filmstrip-item {
  width: 124px;
  height: 124px;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(96, 131, 172, 0.18);
  background: #fff;
  box-shadow: 0 12px 20px rgba(48, 62, 99, 0.08);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.page-content {
  width: min(920px, calc(100vw - 2rem));
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(48, 62, 99, 0.1);
}

.page-content h1,
.page-content h2 {
  color: var(--blue-deep);
}

.page-content h1 {
  max-width: none;
}

.review-shell {
  background:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top left, rgba(111, 104, 183, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(95, 147, 201, 0.12), transparent 28%);
}

.review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.review-status-card {
  align-self: stretch;
}

.alert-card {
  padding: 1.2rem 1.3rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 28px rgba(48, 62, 99, 0.08);
}

.alert-card h2 {
  margin-top: 0.5rem;
}

.alert-card-error {
  background: rgba(142, 50, 64, 0.08);
}

.alert-card-success {
  background: rgba(43, 108, 163, 0.08);
}

.review-form {
  display: grid;
  gap: 1.5rem;
}

.review-toolbar,
.batch-feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compact-card {
  padding: 1rem 1.1rem;
}

.review-grid {
  display: grid;
  gap: 1rem;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 28px rgba(48, 62, 99, 0.08);
}

.review-card-media {
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(95, 147, 201, 0.08), rgba(111, 104, 183, 0.08)),
    #f7f9fc;
  border: 1px solid var(--line);
}

.review-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-body {
  display: grid;
  gap: 0.9rem;
}

.review-card-copy {
  margin: 0;
  color: var(--muted);
}

.decision-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.decision-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.decision-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.decision-pill span {
  display: inline-flex;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.decision-pill input:checked + span {
  background: var(--blue);
  border-color: transparent;
  color: #f7fbff;
}

.field-group {
  display: grid;
  gap: 0.4rem;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

textarea,
input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font: inherit;
}

textarea:focus,
input[type="text"]:focus {
  outline: 2px solid rgba(95, 147, 201, 0.28);
  outline-offset: 1px;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.tag-grid label {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.section-divider {
  height: 1px;
  background: var(--line);
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.review-submit {
  appearance: none;
  cursor: pointer;
}

.review-submit-note {
  max-width: 32rem;
}

@media (max-width: 900px) {
  .hero,
  .why-grid,
  .grid-3,
  .hero-media,
  .review-hero,
  .review-toolbar,
  .batch-feedback-grid,
  .review-card {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-row,
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: none;
  }

  .filmstrip-item {
    width: 104px;
    height: 104px;
  }
}
