:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --surface-muted: #f8fbff;
  --line: #d7e1f0;
  --line-strong: #c5d2e6;
  --text: #152a45;
  --text-soft: #566b86;
  --primary: #2f6fed;
  --primary-dark: #1f58cc;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 18px 40px rgba(19, 44, 87, 0.10);
  --shadow-soft: 0 10px 24px rgba(19, 44, 87, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 111, 237, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 28%, #f6f8fc 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 48px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(238, 244, 255, 0.65), rgba(255, 255, 255, 0.4));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(248, 251, 255, 0.82);
  border-bottom: 1px solid rgba(197, 210, 230, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #5590ff);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text span {
  font-size: 13px;
  color: var(--text-soft);
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-soft);
}

.header-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4f88ff);
  color: #fff;
  box-shadow: 0 14px 24px rgba(47, 111, 237, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #3d7cff);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: #9eb7db;
  background: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 16px 26px rgba(8, 29, 66, 0.18);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}

.hero {
  padding-top: 44px;
  padding-bottom: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 680px;
}

.hero-lead {
  margin: 0;
  max-width: 580px;
  font-size: 18px;
  line-height: 1.68;
  color: var(--text-soft);
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.10);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.hero-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.hero-points li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-weight: 500;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
  border: 1px solid rgba(215, 225, 240, 0.8);
}

.hero-card img {
  border-radius: 20px;
  width: 100%;
}

.hero-card.hero-zoom {
  position: relative;
  display: block;
  width: 100%;
  cursor: zoom-in;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-card.hero-zoom:hover {
  transform: perspective(1300px) rotateY(-5deg) rotateX(2deg) translateY(-4px);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.18);
}

.zoom-hint-hero {
  right: 24px;
  bottom: 24px;
}

.card-shadow {
  box-shadow: var(--shadow);
}

.floating-card {
  transform: perspective(1300px) rotateY(-7deg) rotateX(2deg);
  transform-origin: center;
}

.mini-chip {
  position: absolute;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(215, 225, 240, 0.95);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.mini-chip-top {
  right: -10px;
  top: 26px;
}

.mini-chip-bottom {
  left: -18px;
  bottom: 28px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 16px auto 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.feature-card,
.stat-card,
.pill-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(215, 225, 240, 0.9);
  border-radius: 20px;
}

.info-card {
  min-height: 214px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-weight: 800;
}

.info-icon.danger {
  background: rgba(239, 68, 68, 0.09);
  color: var(--danger);
}

.info-card h3,
.feature-card h3,
.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.info-card p,
.feature-card p,
.stat-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pill-card {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.pill-card strong {
  font-size: 18px;
}

.pill-card span {
  color: var(--text-soft);
}

.screens-section {
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.showcase-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(215, 225, 240, 0.92);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(215, 225, 240, 0.8);
  background: #edf3fb;
}

.showcase-copy {
  padding: 22px 24px 24px;
}

.showcase-copy ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  min-height: 220px;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(47, 111, 237, 0.10);
  font-size: 22px;
}

.compliance-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

.compliance-box {
  padding: 28px 34px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(238, 244, 255, 0.95), rgba(248, 251, 255, 0.95));
  border: 1px solid rgba(197, 210, 230, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.compliance-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
}

.compliance-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(47, 111, 237, 0.12);
  font-size: 28px;
  flex: 0 0 auto;
}

.compliance-main h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.compliance-main p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.compliance-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rule-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(197, 210, 230, 0.8);
}

.rule-box span {
  color: var(--text-soft);
  font-size: 14px;
}

.status-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-weight: 700;
}

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

.stat-card {
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--primary);
}

.stat-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}

.cta-section {
  padding-top: 22px;
}

.cta-box {
  border-radius: 28px;
  padding: 34px 40px;
  background: linear-gradient(135deg, #2b69e4 0%, #1e56c8 44%, #2f6fed 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 28px 54px rgba(23, 65, 148, 0.28);
}

.cta-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.cta-copy p {
  margin: 0;
  max-width: 580px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.contact-section {
  padding-top: 26px;
  padding-bottom: 70px;
}

.contact-card {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 225, 240, 0.95);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.lead-form input {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 16px;
  color: var(--text);
  outline: none;
}

.lead-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.10);
}

.form-submit {
  grid-column: 1 / -1;
}

.form-note {
  margin: 14px 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

.site-footer {
  padding: 0 0 30px;
  color: var(--text-soft);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(197, 210, 230, 0.8);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 1180px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .cta-box,
  .compliance-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pill-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .hero-card.floating-card {
    transform: none;
  }

  .mini-chip {
    position: static;
    margin-top: 12px;
    display: inline-flex;
  }

  .hero-grid,
  .showcase-grid,
  .feature-grid,
  .problem-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .pill-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .compliance-side,
  .cta-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .section {
    padding: 38px 0;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .btn,
  .btn-lg,
  .header-actions .btn {
    width: 100%;
  }

  .header-actions,
  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-card,
  .cta-box,
  .compliance-box {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }
}


.showcase-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  transition: transform 0.35s ease;
}

.showcase-image:hover img {
  transform: scale(1.02);
}

.zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(21, 42, 69, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.gallery-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 40, 0.82);
  backdrop-filter: blur(6px);
}

.gallery-dialog {
  position: relative;
  width: min(calc(100% - 32px), 1280px);
  margin: 40px auto;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.gallery-full-image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.gallery-caption,
.gallery-counter {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.gallery-caption {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  font-weight: 600;
}

.gallery-counter {
  right: 22px;
  bottom: 16px;
  font-size: 14px;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-close:hover,
.gallery-nav:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.2);
}

.gallery-close {
  top: 8px;
  right: 0;
  font-size: 32px;
}

.gallery-prev,
.gallery-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
}

.gallery-prev:hover,
.gallery-next:hover {
  transform: translateY(-50%) scale(1.04);
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

@media (max-width: 920px) {
  .gallery-dialog {
    width: min(calc(100% - 20px), 1000px);
    margin: 20px auto;
    min-height: calc(100vh - 40px);
  }

  .gallery-full-image {
    max-height: calc(100vh - 210px);
  }

  .gallery-prev,
  .gallery-next {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 640px) {
  .zoom-hint {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
  }

  .gallery-close {
    top: 0;
    right: 0;
  }

  .gallery-prev,
  .gallery-next {
    top: auto;
    bottom: 76px;
    transform: none;
  }

  .gallery-prev:hover,
  .gallery-next:hover {
    transform: scale(1.04);
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-caption {
    bottom: 12px;
    width: calc(100% - 24px);
    justify-content: center;
    text-align: center;
  }

  .gallery-counter {
    right: 12px;
    top: 12px;
    bottom: auto;
  }
}


.lead-form {
  align-items: end;
}

.lead-form-message {
  grid-column: 1 / -1;
}

.lead-form textarea {
  width: 100%;
  min-height: 112px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  resize: vertical;
}

.lead-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.10);
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-alert {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.form-alert-success {
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #15803d;
}

.form-alert-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #b91c1c;
}

.form-submit {
  position: relative;
}

.form-submit .btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

.form-submit.is-loading .btn-text {
  opacity: 0.88;
}

.form-submit.is-loading .btn-loader {
  display: inline-block;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.95;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .lead-form-message {
    grid-column: auto;
  }
}


.gallery-dialog {
  width: min(96vw, 1380px);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.gallery-figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-full-image {
  max-width: min(1180px, 88vw);
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.gallery-caption {
  margin-top: 14px;
  text-align: center;
}

.gallery-bottom {
  width: min(1180px, 88vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-counter {
  text-align: center;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 2px 8px 8px;
  scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 8px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(197, 210, 230, 0.9);
  border-radius: 999px;
}

.gallery-thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 72px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.82;
}

.gallery-thumb:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.gallery-thumb.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.16);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .gallery-full-image {
    max-width: 92vw;
    max-height: 66vh;
  }

  .gallery-bottom {
    width: 92vw;
  }
}

@media (max-width: 767px) {
  .gallery-dialog {
    width: 98vw;
    gap: 12px;
  }

  .gallery-stage {
    padding: 0 8px;
  }

  .gallery-full-image {
    max-width: 94vw;
    max-height: 58vh;
    border-radius: 14px;
  }

  .gallery-bottom {
    width: 94vw;
  }

  .gallery-thumbs {
    justify-content: flex-start;
    gap: 8px;
  }

  .gallery-thumb {
    flex-basis: 88px;
    width: 88px;
    height: 58px;
  }
}
