:root {
  --primary-color: #d8dee8;
  --primary-strong: #f3f6fb;
  --primary-muted: #9ba5b4;
  --primary-ink: #11151b;
  --glass-surface: rgba(255, 255, 255, 0.055);
  --glass-surface-strong: rgba(255, 255, 255, 0.085);
  --glass-border: rgba(235, 240, 247, 0.14);
  --glass-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --bg-dark: #0a0c10;
  --bg-darker: #06080c;
  --text-light: #f8f9fa;
  --text-muted: #adb5bd;
  --font-primary: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

.bg-dark {
  background-color: var(--bg-dark) !important;
}
.bg-darker {
  background: linear-gradient(
    180deg,
    var(--bg-darker) 0%,
    #080b10 100%
  ) !important;
}

.text-secondary {
  color: #b8c0cc !important;
}

.glass-nav {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035),
      transparent 34%,
      rgba(255, 255, 255, 0.025)
    ),
    rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.navbar > .container-fluid {
  gap: 0.75rem;
}

.brand-lockup {
  margin-left: 1.5rem;
  white-space: nowrap;
}

.brand-name {
  margin-right: 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-production {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin: 0 6px;
  position: relative;
  color: rgba(248, 249, 250, 0.72) !important;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-strong),
    transparent
  );
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-dark) url("./assets/image_9.webp") center / cover
    no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 44%,
      rgba(255, 255, 255, 0.06),
      transparent 24%
    ),
    linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out forwards;
}

main > section {
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.legal-page {
  min-height: 100vh;
  padding-top: 5.5rem;
}

.text-gradient {
  background: linear-gradient(115deg, #ffffff 0%, #d7dde7 48%, #8994a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-kicker {
  font-size: 1.45rem;
  font-weight: 700;
}

.btn-primary {
  --bs-btn-color: var(--primary-ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, 0.18);
  --bs-btn-hover-color: #050608;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.38);
  --bs-btn-active-color: #050608;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: rgba(255, 255, 255, 0.44);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(178, 188, 202, 0.86) 52%,
      rgba(247, 250, 255, 0.98)
    ),
    rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -12px 24px rgba(31, 37, 45, 0.12),
    0 16px 44px rgba(0, 0, 0, 0.36);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 36%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary:focus-visible {
  box-shadow:
    0 0 0 0.22rem rgba(216, 222, 232, 0.34),
    0 18px 46px rgba(0, 0, 0, 0.42);
}

.about-media {
  max-width: 450px;
  width: 100%;
}

.image-vignette {
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.hover-scale,
.transition-transform {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card {
  padding: 0.55rem;
  border-radius: 1rem;
}

.card-img-container {
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--glass-shadow);
}

@media (min-width: 992px) {
  .paperwork-copy {
    padding-top: 3.2rem;
  }
}

.document-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.028)
    ),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.document-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.13), transparent 32%),
    radial-gradient(
      circle at 92% 8%,
      rgba(255, 255, 255, 0.13),
      transparent 30%
    );
}

.document-card > * {
  position: relative;
}

.document-meta {
  color: var(--primary-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-top: auto;
  color: var(--text-light);
  font-weight: 700;
  text-decoration: none;
}

.document-link svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s ease;
}

.document-link:hover,
.document-link:focus-visible {
  color: var(--primary-strong);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #111;
}

.youtube-facade,
.youtube-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-facade {
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
  appearance: none;
}

.youtube-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(166, 176, 191, 0.92)
    ),
    rgba(255, 255, 255, 0.88);
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 28px rgba(0, 0, 0, 0.52);
}

.youtube-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--primary-ink);
  transform: translate(-50%, -50%);
}

.youtube-facade:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

.youtube-facade:hover .youtube-thumb {
  opacity: 1;
  transform: scale(1.03);
}

@media (hover: hover) and (pointer: fine) {
  .hover-scale:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 36px rgba(216, 222, 232, 0.18) !important;
  }

  .service-card:hover {
    transform: translateY(-6px);
  }

  .service-card:hover .transition-transform {
    transform: scale(1.05);
  }

  .document-card:hover {
    transform: translateY(-5px);
    border-color: rgba(235, 240, 247, 0.28);
    box-shadow: 0 28px 86px rgba(0, 0, 0, 0.42);
  }

  .document-link:hover svg {
    transform: translateY(2px);
  }
}

.z-2 {
  z-index: 2;
}

.fluid-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.fluid-gallery::after {
  content: "";
  flex-grow: 999999999;
}

.fluid-item {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  flex: var(--gallery-grow, 1.5) 1 var(--gallery-basis, 320px);
  min-width: 200px;
  height: 240px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    box-shadow 0.3s ease;
}

.fluid-item:hover {
  transform: translateY(-2px) scale(1.018);
  filter: brightness(1.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
}

.fluid-item:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

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

.lightbox-image {
  max-height: 85vh;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.095),
    rgba(255, 255, 255, 0.035)
  );
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 1.25rem;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-icon:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(174, 184, 198, 0.9)
  );
  color: var(--primary-ink);
  transform: translateY(-3px);
  border-color: transparent;
}

.contact-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.085),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.1),
      transparent 32%
    );
}

.contact-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--primary-strong);
}

.contact-social-row {
  margin-top: 2rem;
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 92px;
  }

  #about .row {
    --bs-gutter-x: 0;
  }

  .navbar > .container-fluid {
    flex-wrap: nowrap;
    align-items: center;
  }

  .brand-lockup {
    margin-left: 0;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-name {
    margin-right: 0.35rem;
    font-size: clamp(0.98rem, 5vw, 1.25rem);
    letter-spacing: 0.01em;
  }

  .brand-production {
    font-size: clamp(0.76rem, 3.7vw, 1rem);
    letter-spacing: 0.07em;
  }

  .navbar-toggler {
    flex: 0 0 auto;
    padding: 0.45rem 0.62rem;
    border-color: var(--glass-border);
    background: var(--glass-surface);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 0.7rem 1rem 0.95rem;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent),
      rgba(8, 10, 14, 0.97);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.42);
    text-align: right;
  }

  .navbar-nav {
    gap: 0.1rem;
  }

  .nav-link {
    display: inline-block;
    margin: 0.08rem 0;
    padding: 0.45rem 0 !important;
  }

  .fluid-item {
    flex-basis: var(--gallery-mobile-basis, 160px);
    min-width: 120px;
    height: 130px;
  }

  .contact-card {
    border-radius: 1rem !important;
  }

  .contact-social-row {
    margin-top: 1.5rem;
  }
}

@media (max-width: 400px) {
  .fluid-item {
    flex-basis: var(--gallery-compact-basis, 130px);
    min-width: 100px;
    height: 110px;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 3.5rem !important;
  }
  .display-5 {
    font-size: 2.5rem !important;
  }
  .lead {
    font-size: 1.1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: linear-gradient(
    145deg,
    rgba(10, 12, 16, 0.95),
    rgba(6, 8, 12, 0.98)
  );
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.44);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.hover-text-light:hover {
  color: var(--text-light) !important;
}

.transition-color {
  transition: color 0.2s ease;
}
