/* Design Inforegister-brandijuhtimine-karussell, imported by tools/import-design.py. */
/* Brand page: audience figures, value summary and comparison. */

/* Audience figures under the hero */
.hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid #83e1f44d;
}
.hero .hero-stats li {
  min-width: 0;
  padding: 24px 24px 4px 0;
}
.hero .hero-stats li + li {
  padding-left: 24px;
  border-left: 1px solid #83e1f43d;
}
.hero .hero-stats strong {
  display: block;
  font: 700 clamp(30px, 3.2vw, 42px)/1.1 Montserrat, "Open Sans", sans-serif;
  letter-spacing: -.02em;
  color: #fff;
}
.hero .hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.5;
  color: #d5e7ef;
}
.hero .lead strong { color: #fff; font-weight: 700; }

/* Value section */
html[data-visual-style="reference"] .service-benefits { background: #fff; }
html[data-visual-style="reference"] body[data-page="brand"] .service-benefits-list li > div { min-width: 0; }
.value-math {
  margin-top: 32px;
  padding: 26px 28px;
  background: var(--color-surface, #f2f3f4);
  border-left: 4px solid var(--color-primary, #0058a8);
}
html[data-visual-style="reference"] body[data-page="brand"] .service-benefits-intro .value-math p {
  margin: 0;
  max-width: none;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-on-surface-variant);
}
html[data-visual-style="reference"] body[data-page="brand"] .service-benefits-intro .value-math .value-math-label {
  margin-bottom: 10px;
  font: 600 15px/1.5 Montserrat, "Open Sans", sans-serif;
  letter-spacing: .06em;
  color: var(--color-primary, #0058a8);
}
.value-math strong { color: var(--color-on-surface, #1a1b1f); }

/* Comparison */
html[data-visual-style="reference"] .service-compare { background: var(--color-surface, #f2f3f4); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.compare-card {
  min-width: 0;
  padding: 32px;
  background: #fff;
  border-top: 4px solid #b8bec9;
}
.compare-card--paid { border-top-color: var(--color-primary, #0058a8); box-shadow: 0 12px 28px #0b23391a; }
.compare-card h3 {
  margin: 0;
  font: 600 22px/1.4 Montserrat, "Open Sans", sans-serif;
  color: var(--color-on-surface, #1a1b1f);
}
.compare-sub {
  margin: 6px 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-on-surface-variant, #44474e);
}
.compare-card--paid .compare-sub { color: var(--color-primary, #0058a8); }
.compare-card ul { list-style: none; margin: 0; padding: 0; }
.compare-card li {
  position: relative;
  padding: 12px 0 12px 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-on-surface-variant, #44474e);
  border-top: 1px solid var(--color-surface-variant, #e0e2ec);
}
.compare-card li::before {
  content: "–";
  position: absolute;
  left: 4px;
  top: 12px;
  font-weight: 700;
  color: #8a909b;
}
.compare-card--paid li { color: var(--color-on-surface, #1a1b1f); }
.compare-card--paid li::before { content: "✓"; color: var(--color-primary, #0058a8); }

@media (max-width: 900px) {
  .hero .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .hero-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero .hero-stats li:nth-child(n+3) { border-top: 1px solid #83e1f43d; }
}
@media (max-width: 750px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card { padding: 24px; }
}
@media (max-width: 420px) {
  .hero .hero-stats li { padding-right: 12px; }
  .hero .hero-stats li + li { padding-left: 12px; }
  .hero .hero-stats li:nth-child(3) { padding-left: 0; }
  .hero .hero-stats span { font-size: 16px; }
}

html[data-visual-style="reference"] body[data-page="brand"] .service-benefits-intro > p:not(.eyebrow) { margin: 24px 0 0; font-size: 18px; line-height: 1.7; color: var(--color-on-surface-variant); }

/* Hero: client profile gallery */
.client-gallery { min-width: 0; }
.client-gallery .scene-label { margin-bottom: 14px; }
.client-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.client-gallery-grid li:first-child { grid-column: 1 / -1; }
.client-gallery-grid button {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid #83e1f44d; background: #fff;
  cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3;
}
.client-gallery-grid li:first-child button { aspect-ratio: 16 / 10; }
.client-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .25s ease; }
.client-gallery-grid button:hover img { transform: scale(1.04); }
.client-gallery-grid button:focus-visible { outline: 3px solid #83e1f4; outline-offset: 2px; }
.client-gallery-grid .zoom-hint {
  position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; background: #0b2339e6; color: #fff;
  font: 600 15px/1.4 Montserrat, "Open Sans", sans-serif;
}
.client-gallery-grid li:not(:first-child) .zoom-hint { display: none; }
.client-gallery .scene-caption { margin-top: 14px; font-size: 16px; }

.gallery-lightbox { width: min(1200px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: #0b2339; color: #fff; }
.gallery-lightbox::backdrop { background: #04121fd9; }
.gallery-lightbox figure { margin: 0; }
.gallery-lightbox img { display: block; width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #fff; }
.lightbox-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.lightbox-caption { flex: 1; min-width: 0; font: 600 18px/1.4 Montserrat, "Open Sans", sans-serif; }
.lightbox-count { font-size: 16px; color: #d5e7ef; }
.gallery-lightbox button { min-width: 48px; min-height: 48px; border: 1px solid #83e1f466; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.gallery-lightbox button:hover { background: #83e1f426; }
@media (max-width: 600px) { .lightbox-caption { font-size: 16px; } }
