/* Generated per build: page/block overrides */
#home-features {
--card-min-height: 260px;--card-overlay: ;}
#home-advantages {
--card-overlay: ;}
#services-list {
--card-min-height: 230px;--card-overlay: ;}

#services-hero .hero-grid {
  grid-template-columns: 1fr;
}

#services-hero .hero-copy {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 900px;
}

#services-hero .lead {
  margin-inline: auto;
}

#services-hero .cta-row {
  justify-content: center;
}

#otzivy-hero .hero-grid {
  grid-template-columns: 1fr;
}

#otzivy-hero .hero-copy {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 860px;
}

.reviews-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
}

.reviews-carousel::-webkit-scrollbar {
  height: 8px;
}

.reviews-carousel::-webkit-scrollbar-thumb {
  background: rgba(141, 170, 236, 0.4);
  border-radius: 999px;
}

.review-slide {
  flex: 0 0 min(82vw, 420px);
  scroll-snap-align: start;
}

.review-media-placeholder {
  min-height: 250px;
  border-radius: calc(var(--radius-card) + 2px);
  border: 1px dashed rgba(169, 194, 255, 0.44);
  background:
    linear-gradient(145deg, rgba(108, 92, 231, 0.14), rgba(34, 211, 238, 0.1)),
    rgba(10, 16, 30, 0.62);
  box-shadow: inset 0 0 0 1px rgba(177, 204, 255, 0.12), 0 18px 40px rgba(5, 10, 22, 0.38);
}

/* Build 51 cinematic polish (preserves base gradients, scale and fonts from theme.css) */
:root {
  --shine-violet: rgba(108, 92, 231, 0.34);
  --shine-cyan: rgba(34, 211, 238, 0.22);
  --shine-soft: rgba(214, 228, 255, 0.26);
  --glass-edge: rgba(160, 182, 255, 0.26);
  --glass-edge-strong: rgba(176, 203, 255, 0.42);
  --card-fill-a: rgba(14, 20, 38, 0.76);
  --card-fill-b: rgba(23, 33, 58, 0.58);
  --card-elev: 0 26px 70px rgba(4, 8, 18, 0.44), 0 8px 24px rgba(14, 24, 46, 0.38);
  --card-elev-hover: 0 38px 88px rgba(34, 211, 238, 0.15), 0 14px 32px rgba(108, 92, 231, 0.28);
}

body {
  color: var(--text);
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: var(--page-bg);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -18vh -16vw;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(44rem 44rem at 14% 12%, rgba(108, 92, 231, 0.2), transparent 64%),
    radial-gradient(36rem 36rem at 86% 20%, rgba(34, 211, 238, 0.16), transparent 66%),
    radial-gradient(40rem 40rem at 52% 86%, rgba(111, 134, 255, 0.14), transparent 68%);
  filter: blur(8px) saturate(115%);
  animation: auraDrift 22s ease-in-out infinite alternate;
}

body::after {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 35% 65%, rgba(255, 255, 255, 0.06) 100%);
  mix-blend-mode: screen;
  opacity: 0.16;
  animation: sheenSweep 16s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(10, 14, 30, 0.86), rgba(10, 14, 30, 0.58));
  border-bottom: 1px solid rgba(132, 157, 228, 0.24);
  box-shadow: 0 10px 38px rgba(3, 6, 16, 0.36);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 204, 255, 0.52), transparent);
}

.header-inner {
  padding: 14px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-logo {
  filter: drop-shadow(0 6px 20px rgba(111, 134, 255, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 10px 26px rgba(34, 211, 238, 0.4));
}

.site-nav a {
  color: color-mix(in srgb, var(--muted) 88%, #ffffff 12%);
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111, 134, 255, 0), rgba(111, 134, 255, 1), rgba(34, 211, 238, 1), rgba(34, 211, 238, 0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(124, 145, 216, 0.14);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.section {
  position: relative;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-weight: 800;
  color: #f3f7ff;
}

@supports (-webkit-background-clip: text) {
  .hero h1 {
    background: linear-gradient(125deg, #f8fbff 8%, #c7d7ff 42%, #8fe9ff 78%, #f4fbff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

h2 {
  font-weight: 760;
}

.lead {
  color: color-mix(in srgb, var(--muted) 88%, #f4f8ff 12%);
  max-width: 68ch;
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.hero-bullets {
  margin-top: 4px;
  color: color-mix(in srgb, var(--muted) 86%, #ffffff 14%);
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: calc(var(--radius-card) + 10px);
  background: radial-gradient(circle at 30% 35%, rgba(111, 134, 255, 0.32), transparent 62%);
  filter: blur(10px);
}

.hero-media img {
  width: 100%;
  border-radius: calc(var(--radius-card) + 2px);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 30px 78px rgba(4, 9, 20, 0.48), 0 0 0 1px rgba(188, 213, 255, 0.16);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease;
  will-change: transform;
}

.card {
  --card-pointer-x: 50%;
  --card-pointer-y: 35%;
  background: linear-gradient(148deg, var(--card-fill-a), var(--card-fill-b));
  border: 1px solid var(--glass-edge);
  box-shadow: var(--card-elev);
  backdrop-filter: blur(14px) saturate(120%);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(460px circle at var(--card-pointer-x) var(--card-pointer-y), rgba(144, 180, 255, 0.16), transparent 62%);
  transition: opacity 0.3s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), transparent 40%);
  opacity: 0.34;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-edge-strong);
  box-shadow: var(--card-elev-hover);
}

.card:hover::before,
.card.pointer-active::before {
  opacity: 1;
}

.card-media {
  border-bottom: 1px solid rgba(170, 196, 255, 0.18);
}

.card--media .card-body {
  background: linear-gradient(180deg, rgba(16, 22, 40, 0.55), rgba(14, 20, 36, 0.72));
  backdrop-filter: blur(8px);
}

.icon {
  box-shadow: inset 0 0 0 1px rgba(187, 217, 255, 0.2), 0 10px 20px rgba(8, 13, 28, 0.38);
}

.button {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(174, 204, 255, 0.28);
  box-shadow:
    0 18px 38px rgba(108, 92, 231, 0.32),
    0 8px 20px rgba(34, 211, 238, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -18% 6%;
  border-radius: inherit;
  z-index: -1;
  background: radial-gradient(circle, rgba(123, 200, 255, 0.36), transparent 70%);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 24px 48px rgba(108, 92, 231, 0.34),
    0 14px 32px rgba(34, 211, 238, 0.24);
  filter: saturate(1.08);
}

.button:hover::before {
  opacity: 1;
}

.button.ghost {
  background: rgba(24, 33, 58, 0.42);
  border: 1px solid rgba(148, 172, 236, 0.4);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(184, 207, 255, 0.07);
}

.button.ghost:hover {
  background: rgba(32, 44, 74, 0.58);
  border-color: rgba(177, 205, 255, 0.56);
  box-shadow: 0 16px 36px rgba(8, 14, 28, 0.44);
}

.cta .cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(160, 186, 252, 0.28);
  box-shadow: 0 28px 70px rgba(5, 9, 20, 0.46);
  background:
    linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(34, 211, 238, 0.16)),
    rgba(11, 16, 30, 0.56);
}

.cta .cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 36% 64%, rgba(255, 255, 255, 0.14));
  opacity: 0.38;
}

.stat {
  border: 1px solid rgba(153, 177, 236, 0.28);
  background: linear-gradient(170deg, rgba(17, 24, 43, 0.72), rgba(12, 17, 31, 0.68));
  box-shadow: 0 18px 42px rgba(4, 8, 17, 0.34);
}

.stat-value {
  text-shadow: 0 10px 24px rgba(73, 97, 201, 0.42);
}

.faq details {
  background: linear-gradient(165deg, rgba(17, 23, 42, 0.78), rgba(13, 18, 34, 0.72));
  border: 1px solid rgba(145, 170, 230, 0.26);
  box-shadow: 0 14px 34px rgba(4, 9, 20, 0.32);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.faq details[open] {
  border-color: rgba(174, 201, 255, 0.52);
  box-shadow: 0 22px 48px rgba(7, 12, 28, 0.42), 0 0 0 1px rgba(170, 198, 255, 0.18);
  transform: translateY(-2px);
}

.faq summary {
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #dbe9ff;
  background: rgba(119, 148, 231, 0.28);
}

.faq details[open] summary::after {
  content: "−";
}

.breadcrumbs {
  margin: 18px auto 0;
  width: min(1180px, 92vw);
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: color-mix(in srgb, var(--muted) 88%, #fff 12%);
  font-size: 14px;
}

.breadcrumbs li + li::before {
  content: "•";
  margin-right: 8px;
  color: rgba(186, 206, 255, 0.44);
}

.contact-form {
  background: linear-gradient(165deg, rgba(16, 22, 42, 0.82), rgba(12, 17, 33, 0.72));
  border: 1px solid rgba(150, 174, 236, 0.28);
  box-shadow: 0 18px 42px rgba(4, 9, 20, 0.34);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(132, 160, 226, 0.3);
  background: rgba(8, 13, 25, 0.56);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(173, 202, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(111, 134, 255, 0.16);
  background: rgba(9, 14, 28, 0.74);
}

.social-link {
  border: 1px solid rgba(150, 177, 236, 0.34);
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(34, 211, 238, 0.09));
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.social-link:hover {
  transform: translateX(4px);
  border-color: rgba(183, 209, 255, 0.66);
  box-shadow: 0 14px 30px rgba(8, 13, 28, 0.34);
}

.contacts-social-only {
  display: flex;
  justify-content: center;
}

.social-links--center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.social-links--center .social-link {
  min-width: 168px;
  justify-content: center;
  padding: 10px 14px;
}

.social-links--center .social-link:hover {
  transform: translateY(-3px);
}

.social-links--center .social-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.social-links--center .social-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.screen-gallery .screen-card {
  overflow: hidden;
}

.screen-gallery .card-media.screen-link {
  display: block;
  height: 220px;
  flex: 0 0 220px;
}

.screen-gallery .card-media.screen-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.screen-gallery .screen-link {
  cursor: zoom-in;
}

.screen-gallery .screen-link img {
  transition: transform 0.28s ease, filter 0.28s ease;
}

.screen-gallery .screen-link:hover img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

body.lightbox-open {
  overflow: hidden;
}

.screen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.screen-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.screen-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 20, 0.82);
  backdrop-filter: blur(4px);
}

.screen-lightbox__panel {
  position: relative;
  z-index: 1;
  margin: min(5vh, 42px) auto;
  width: min(1180px, 92vw);
  max-height: 90vh;
  padding: 12px;
  border-radius: calc(var(--radius-card) + 2px);
  border: 1px solid rgba(168, 193, 255, 0.32);
  background: linear-gradient(168deg, rgba(15, 21, 40, 0.94), rgba(10, 15, 30, 0.92));
  box-shadow: 0 30px 80px rgba(2, 6, 16, 0.64);
}

.screen-lightbox__image {
  width: 100%;
  max-height: calc(90vh - 78px);
  object-fit: contain;
  border-radius: calc(var(--radius-card) - 2px);
  display: block;
  background: rgba(5, 10, 20, 0.56);
}

.screen-lightbox__caption {
  margin: 10px 4px 2px;
  text-align: center;
  color: color-mix(in srgb, var(--muted) 86%, #ffffff 14%);
  font-size: 14px;
}

.screen-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(171, 198, 255, 0.5);
  background: linear-gradient(145deg, rgba(20, 30, 56, 0.96), rgba(16, 23, 45, 0.94));
  color: #e8f1ff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.screen-lightbox__close:hover {
  border-color: rgba(194, 216, 255, 0.9);
}

.site-footer {
  border-top: 1px solid rgba(132, 158, 228, 0.26);
  background:
    radial-gradient(900px 300px at 50% -30%, rgba(111, 134, 255, 0.2), transparent 62%),
    var(--footer-bg);
}

.footer-meta a {
  color: color-mix(in srgb, var(--muted) 90%, #ffffff 10%);
  transition: color 0.2s ease;
}

.footer-meta a:hover {
  color: #dbe9ff;
}

@keyframes auraDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@keyframes sheenSweep {
  0% {
    transform: translateX(-12%);
  }
  100% {
    transform: translateX(12%);
  }
}

@media (max-width: 980px) {
  .site-nav ul {
    gap: 8px;
  }

  .site-nav a {
    padding: 7px 10px;
    font-size: 14px;
  }

  .hero-copy {
    gap: 10px;
  }

  .review-slide {
    flex-basis: min(88vw, 360px);
  }

  .screen-gallery .card-media.screen-link {
    height: 190px;
    flex-basis: 190px;
  }
}

@media (max-width: 720px) {
  body::after {
    opacity: 0.1;
  }

  .site-header {
    backdrop-filter: blur(12px) saturate(120%);
  }

  .hero h1 {
    line-height: 1.12;
  }

  .card:hover,
  .button:hover,
  .social-link:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .card,
  .button,
  .hero-media img,
  .social-link,
  .faq details {
    animation: none !important;
    transition: none !important;
  }
}
