/* Theme switch */
.menu .navbar .navbar-brand .navbar-logo a {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.cineframe-logo-link .cineframe-bracket-mark {
  position: absolute;
  left: 5.464%;
  top: 22.344%;
  width: 11.929%;
  height: 55.312%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.cineframe-bracket-mark path {
  fill: none;
  stroke: #168bff;
  stroke-width: 17;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.cineframe-bracket-mark.is-shuttered path:first-child {
  animation: cineframe-shutter-left 700ms cubic-bezier(0.2, 0.82, 0.25, 1) 1 both;
}

.cineframe-bracket-mark.is-shuttered path:last-child {
  animation: cineframe-shutter-right 700ms cubic-bezier(0.2, 0.82, 0.25, 1) 1 both;
}

@keyframes cineframe-shutter-left {
  0%, 100% { transform: translateX(0); }
  24%, 49% { transform: translateX(18px); }
  68% { transform: translateX(14px); }
}

@keyframes cineframe-shutter-right {
  0%, 100% { transform: translateX(0); }
  24%, 49% { transform: translateX(-18px); }
  68% { transform: translateX(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .cineframe-bracket-mark.is-shuttered path {
    animation: none !important;
  }
}

.menu .navbar .navbar-brand,
.menu .navbar .navbar-logo,
.menu .navbar .navbar-nav {
  align-items: center;
}

.menu .navbar .navbar-brand,
.menu .navbar .navbar-logo {
  display: flex;
}

.menu .navbar .navbar-brand .navbar-logo img.cineframe-logo {
  height: 2.25rem !important;
  width: auto;
  display: block;
}

.cineframe-logo--dark {
  display: none !important;
}

.cineframe-logo--dark-hover {
  clip-path: inset(0 100% 0 0);
  display: block !important;
  height: 100%;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: clip-path 10s linear;
  width: 100%;
}

html[data-theme="dark"] .cineframe-logo--light {
  display: none !important;
}

html[data-theme="dark"] .cineframe-logo--dark {
  display: block !important;
}

.menu .navbar .navbar-brand .navbar-logo a:hover .cineframe-logo--dark-hover,
.menu .navbar .navbar-brand .navbar-logo a:focus-visible .cineframe-logo--dark-hover {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .cineframe-logo--dark-hover {
    transition: none;
  }
}

.language-switcher {
  align-items: center;
  background: rgba(21, 28, 38, 0.08);
  border: 1px solid rgba(65, 101, 143, 0.38);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  margin: 0.25rem 0.4rem;
  padding: 3px;
}

.language-switcher__option {
  align-items: center;
  border-radius: 999px;
  color: #43546a !important;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 1.75rem;
  min-width: 2.3rem;
  padding: 0.35rem 0.55rem;
  text-decoration: none !important;
  transition: background-color 180ms ease, color 180ms ease;
}

.language-switcher__option[aria-current="page"] {
  background: #41658f;
  color: #fff !important;
}

.language-switcher__option:focus-visible {
  outline: 2px solid #d9ae57;
  outline-offset: 2px;
}

.language-switcher__option:not([aria-current="page"]):hover {
  background: rgba(65, 101, 143, 0.12);
}

.navbar-buttons .language-switcher__option {
  margin: 0;
}

html[data-theme="dark"] .language-switcher {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(180, 197, 219, 0.32);
}

html[data-theme="dark"] .language-switcher__option {
  color: #d1d9e5 !important;
}

html[data-theme="dark"] .language-switcher__option[aria-current="page"] {
  background: #a9c2ff;
  color: #111927 !important;
}

html[data-theme="dark"] .language-switcher__option:not([aria-current="page"]):hover {
  background: rgba(169, 194, 255, 0.14);
}

.theme-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 3rem;
  height: 2rem;
  justify-content: center;
  margin: 0.25rem 0.4rem;
  padding: 0;
  position: relative;
  transition: background-color 180ms ease, border-color 180ms ease;
  width: 3rem;
}

.theme-toggle::before {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 1.4rem;
  left: 0.2rem;
  position: absolute;
  top: 0.2rem;
  transition: transform 180ms ease;
  width: 1.4rem;
}

.theme-toggle__icon {
  color: #39445a;
  font-size: 0.9rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.theme-toggle:focus-visible {
  outline: 3px solid #f5cb68;
  outline-offset: 3px;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background-color: #111318;
  color: #edf0f5;
}

body {
  background-color: #f5f7fb;
  isolation: isolate;
  position: relative;
  transition: background-color 450ms ease, color 300ms ease;
}

body::before {
  background:
    radial-gradient(ellipse at 9% 8%, rgba(88, 142, 207, 0.16), transparent 31%),
    radial-gradient(ellipse at 92% 17%, rgba(230, 185, 111, 0.13), transparent 27%),
    radial-gradient(ellipse at 58% 53%, rgba(106, 151, 195, 0.09), transparent 35%),
    radial-gradient(ellipse at 18% 90%, rgba(221, 178, 115, 0.10), transparent 32%),
    linear-gradient(138deg, #f8fafc 0%, #f2f5fa 48%, #f8f7f4 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

section {
  background-color: transparent !important;
}

html[data-theme="dark"] body {
  background-color: #111318;
}

html[data-theme="dark"] body::before {
  background:
    radial-gradient(ellipse at 9% 8%, rgba(31, 102, 168, 0.24), transparent 32%),
    radial-gradient(ellipse at 91% 18%, rgba(166, 105, 46, 0.14), transparent 27%),
    radial-gradient(ellipse at 57% 56%, rgba(45, 77, 116, 0.17), transparent 36%),
    radial-gradient(ellipse at 14% 92%, rgba(29, 92, 121, 0.14), transparent 32%),
    linear-gradient(138deg, #10151e 0%, #141821 48%, #17171b 100%);
}

.portfolio-placeholder {
  align-items: center;
  display: flex;
  min-height: 36vh;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.portfolio-placeholder[hidden] {
  display: none !important;
}

.portfolio-placeholder h2 {
  margin: 0 auto 1rem;
}

.portfolio-placeholder__inner {
  max-width: 920px;
}

.portfolio-placeholder__kicker {
  color: #a9c2ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.portfolio-placeholder__copy {
  color: #b8c1ce;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
  margin: 0 auto;
  max-width: 780px;
}

html[data-theme="dark"] .mbr-overlay {
  background-color: #101319 !important;
}

html[data-theme="dark"] :is(h1, h2, h3, h4, h5, h6, .mbr-section-title, .mbr-section-subtitle, .mbr-text, .card-title, .card-text, .item-title, .item-subtitle) {
  color: #edf0f5 !important;
}

html[data-theme="dark"] .text-white,
html[data-theme="dark"] .navbar-caption {
  color: #fff !important;
}

html[data-theme="dark"] .text-primary {
  color: #a9c2ff !important;
}

html[data-theme="dark"] .navbar {
  background: rgba(15, 18, 24, 0.94) !important;
}

html[data-theme="dark"] .navbar.opened,
html[data-theme="dark"] .dropdown-menu {
  background: #171b23 !important;
}

html[data-theme="dark"] .navbar-toggler .hamburger span {
  background-color: #fff !important;
}

html[data-theme="dark"] .card-wrapper,
html[data-theme="dark"] .item-wrapper {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .card-box,
html[data-theme="dark"] .item-content,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .card-text,
html[data-theme="dark"] .item-title,
html[data-theme="dark"] .item-subtitle {
  background: transparent !important;
}

/* Keep the service section's light-theme layout while darkening its backdrop. */
html[data-theme="dark"] section.features14 {
  background-color: #11151c;
}

html[data-theme="dark"] section.features14 .card-wrapper {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

html[data-theme="dark"] section.features14 .card-box {
  background: transparent;
  min-width: 0;
}

html[data-theme="dark"] section.features14 .mbr-iconfont {
  color: #a9c2ff;
  flex: 0 0 auto;
  font-size: 3rem;
  padding-right: 0.5rem;
  transform-origin: center;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme="dark"] section.features14 .mbr-iconfont:hover {
  transform: rotate(360deg);
}

html[data-theme="dark"] section.features14 .card-title {
  background: transparent !important;
  color: #f3f5f9 !important;
}

html[data-theme="dark"] section.features14 .card-text {
  background: transparent !important;
  color: #c1c9d6 !important;
}

html[data-theme="dark"] .form-control {
  background-color: transparent;
  border: 1px solid rgba(220, 228, 241, 0.16);
  border-radius: 1rem;
  color: #f4f6fa;
  min-height: 3.25rem;
  padding: 0.9rem 1.15rem;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

html[data-theme="dark"] textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}

html[data-theme="dark"] .form-control:hover {
  background-color: transparent;
  border-color: rgba(220, 228, 241, 0.3);
}

html[data-theme="dark"] .form-control:focus {
  background-color: transparent;
  border-color: #a9c2ff;
  box-shadow: 0 0 0 3px rgba(169, 194, 255, 0.14);
  color: #fff;
  outline: none;
}

html[data-theme="dark"] .form-control::placeholder {
  color: #aeb7c5;
  opacity: 1;
}

html[data-theme="dark"] .form-control:disabled {
  background-color: #1c2028;
  border-color: #343b47;
  color: #8992a0;
  cursor: not-allowed;
}

.contact-form-status {
  margin: 0.8rem 0 0;
  min-height: 1.5rem;
  text-align: center;
}

html[data-theme="dark"] .contact-form-status {
  color: #c7d0de;
}

html[data-theme="dark"] .form-control:-webkit-autofill,
html[data-theme="dark"] .form-control:-webkit-autofill:hover,
html[data-theme="dark"] .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #f4f6fa;
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  caret-color: #f4f6fa;
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(245, 203, 104, 0.18);
  border-color: #f5cb68;
}

html[data-theme="dark"] .theme-toggle::before {
  transform: translateX(1rem);
}

html[data-theme="dark"] .theme-toggle__icon {
  color: #4c3a0b;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle::before {
    transition: none;
  }
}

/* Shared typography system for the Bulgarian and English pages. */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-5,
.mbr-section-title,
.card-title,
.item-title,
.mbr-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.display-1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.04;
}

.display-5 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.15;
}

.display-2,
.display-4,
.display-7,
.navbar-caption,
.nav-link,
.btn,
.form-control,
label {
  font-family: "Segoe UI", Arial, sans-serif !important;
}

.display-2 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
}

.display-4 {
  font-size: 1rem;
  line-height: 1.55;
}

.display-7 {
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.125rem);
  line-height: 1.7;
}

.mbr-text,
.card-text,
.item-subtitle,
.form-control {
  line-height: 1.7;
}

.nav-link,
.navbar-caption,
.btn {
  letter-spacing: 0.025em;
}

.navbar .navbar-nav .nav-link {
  color: #fff !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: calc(1rem + 2pt);
  font-weight: 600;
  letter-spacing: -0.015em;
  display: inline-block;
  background-image: linear-gradient(90deg, #a9c2ff 0%, #b9c8e3 18%, #d8c393 36%, #f0c76c 49.9%, #edf0f5 50% 100%);
  background-size: 200% 100%;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.2s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus-visible {
  background-position: left center;
}

@media (prefers-reduced-motion: reduce) {
  .navbar .navbar-nav .nav-link {
    transition: none;
  }
}

.text-accent--decision {
  color: #41658f !important;
}

.text-accent--commitment {
  color: #9a6a18 !important;
}

.hero-accent--story {
  color: #41658f !important;
}

.hero-accent--impact {
  color: #9a6a18 !important;
}

.process-step-label {
  display: inline-block;
  color: #edf0f5;
  background-image: linear-gradient(90deg, #a9c2ff 0%, #b9c8e3 18%, #d8c393 36%, #f0c76c 49.9%, #edf0f5 50% 100%);
  background-size: 200% 100%;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.2s ease;
}

.process-step-label:hover {
  background-position: left center;
}

.process-step-label--flow {
  display: inline;
}

.site-copyright {
  padding: 1.1rem 1rem;
  background: #111318;
  color: #b8c1ce;
  text-align: center;
}

.hero-cta .btn {
  min-height: 3.25rem;
  padding: 0.8rem 1.45rem;
  border-radius: 0.55rem !important;
  font-weight: 650;
  letter-spacing: 0.015em;
  box-shadow: 0 0.55rem 1.4rem rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-cta .btn-primary {
  border: 1px solid rgba(169, 194, 255, 0.62) !important;
  background: rgba(169, 194, 255, 0.11) !important;
  color: #f3f5f9 !important;
  backdrop-filter: blur(8px);
}

.hero-cta .btn-primary:hover,
.hero-cta .btn-primary:focus-visible {
  border-color: #a9c2ff !important;
  background: rgba(169, 194, 255, 0.23) !important;
  color: #ffffff !important;
  box-shadow: 0 0.7rem 1.8rem rgba(83, 127, 203, 0.28);
  transform: translateY(-2px);
}

.hero-cta .btn-secondary {
  border: 1px solid rgba(240, 199, 108, 0.42) !important;
  background: rgba(240, 199, 108, 0.12) !important;
  color: #f0d99f !important;
  box-shadow: 0 0.4rem 1.1rem rgba(0, 0, 0, 0.16);
}

.hero-cta .btn-secondary:hover,
.hero-cta .btn-secondary:focus-visible {
  border-color: rgba(240, 199, 108, 0.68) !important;
  background: rgba(240, 199, 108, 0.2) !important;
  color: #ffe8b3 !important;
  box-shadow: 0 0.6rem 1.5rem rgba(215, 176, 96, 0.16);
  transform: translateY(-2px);
}

.hero-cta .btn:active {
  transform: translateY(0);
}

.hero-cta .btn:focus-visible {
  outline: 3px solid rgba(169, 194, 255, 0.68);
  outline-offset: 3px;
}

.contact-submit {
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid rgba(240, 199, 108, 0.5) !important;
  border-radius: 0.55rem !important;
  background: rgba(240, 199, 108, 0.15) !important;
  color: #f0d99f !important;
  font-weight: 650;
  letter-spacing: 0.015em;
  box-shadow: 0 0.4rem 1.1rem rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  border-color: rgba(240, 199, 108, 0.72) !important;
  background: rgba(240, 199, 108, 0.22) !important;
  color: #ffe8b3 !important;
  box-shadow: 0 0.6rem 1.5rem rgba(215, 176, 96, 0.16);
  transform: translateY(-2px);
}

.site-copyright p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
}

.contact-email-fallback {
  margin: 0.55rem 0 0;
  color: #d4d9e2;
  text-align: center;
}

.contact-email-fallback a {
  color: #f0c76c;
  text-decoration: underline;
  text-decoration-color: rgba(240, 199, 108, 0.55);
  text-underline-offset: 0.18em;
}

.contact-email-fallback a:hover,
.contact-email-fallback a:focus-visible {
  color: #a9c2ff;
}

html[data-theme="dark"] .text-accent--decision {
  color: #a9c2ff !important;
}

html[data-theme="dark"] .text-accent--commitment {
  color: #f0c76c !important;
}

html[data-theme="dark"] .hero-accent--story {
  color: #a9c2ff !important;
}

html[data-theme="dark"] .hero-accent--impact {
  color: #f0c76c !important;
}

@media (max-width: 767px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .display-1,
  .display-5,
  .mbr-section-title,
  .card-title,
  .item-title,
  .mbr-title {
    letter-spacing: -0.015em;
  }
}

/* Fade the bokeh backdrop over the hero's final portion, then carry it through the services. */
section.features14 {
  --service-overlap: clamp(5rem, 10vw, 9rem);
  isolation: isolate;
  position: relative;
  margin-top: calc(-1 * var(--service-overlap));
  padding-top: calc(8rem + var(--service-overlap));
  background-color: transparent !important;
  background-image: none !important;
}

section.features14::before {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.50)),
    url("../../images/mbr-1920x1280.jpg");
  background-position: center, center center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--service-overlap) * 2), #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--service-overlap) * 2), #000 100%);
}

html[data-theme="dark"] section.features14::before {
  background-image:
    linear-gradient(rgba(16, 19, 25, 0.50), rgba(16, 19, 25, 0.50)),
    url("../../images/mbr-1920x1280.jpg");
}

section.features14 + section.features11 {
  isolation: isolate;
  position: relative;
  background-color: transparent !important;
  background-image: none !important;
}

section.features14 + section.features11::before {
  background: url("../../images/mbr-1920x1280.jpg") center center / cover no-repeat fixed;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

/* Carry the same bokeh backdrop into the next section, then gently fade it to the page tone. */
section.features11 + section.features3 {
  --craft-background-overlap: clamp(4.5rem, 6vw, 6rem);
  isolation: isolate;
  margin-top: calc(-1 * var(--craft-background-overlap));
  padding-top: var(--craft-background-overlap);
  position: relative;
}

section.features11 + section.features3::before {
  background:
    linear-gradient(to bottom, rgba(245, 247, 251, 0.50) 0, rgba(245, 247, 251, 0.65) 8rem, #f5f7fb 16rem),
    url("../../images/mbr-1920x1280.jpg") center center / cover no-repeat fixed;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 12rem), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 12rem), transparent 100%);
}

/* Let the story section share the page gradient instead of starting a separate tinted panel. */
section.features3 + section.features11 > .mbr-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

html[data-theme="dark"] section.features11 + section.features3::before {
  background:
    linear-gradient(to bottom, rgba(17, 19, 24, 0.50) 0, rgba(17, 19, 24, 0.68) 8rem, #111318 16rem),
    url("../../images/mbr-1920x1280.jpg") center center / cover no-repeat fixed;
}

section.features11 + section.team-section {
  isolation: isolate;
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: transparent !important;
}

section.features11 + section.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(17, 19, 24, 0.5), rgba(17, 19, 24, 0.76)),
    url("../../images/mbr-1920x1280.jpg") center center / cover no-repeat fixed;
}

section.team-section + section.features3 {
  --team-craft-overlap: clamp(4.5rem, 6vw, 6rem);
  isolation: isolate;
  position: relative;
  margin-top: calc(-1 * var(--team-craft-overlap));
  padding-top: var(--team-craft-overlap);
}

section.team-section + section.features3::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(17, 19, 24, 0.5) 0, rgba(17, 19, 24, 0.68) 8rem, #111318 16rem),
    url("../../images/mbr-1920x1280.jpg") center center / cover no-repeat fixed;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 12rem), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 12rem), transparent 100%);
}

.team-section > .container {
  position: relative;
  z-index: 1;
}

.team-section__header {
  max-width: 850px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.team-section__eyebrow {
  margin: 0 0 0.7rem;
  color: #a9c2ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.team-section__title {
  margin: 0;
  color: #edf0f5;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.team-section__title span {
  color: #edf0f5;
}

.team-section__intro {
  max-width: 680px;
  margin: 1rem auto 0;
  color: #c3cad5;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 2rem);
}

.team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 229, 240, 0.13);
  border-radius: 1rem;
  background: rgba(17, 19, 24, 0.54);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.16);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 194, 255, 0.45);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.28);
}

.team-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}

.team-card__image--portrait {
  object-position: center 36%;
}

.team-card__content {
  padding: clamp(1.2rem, 2vw, 1.7rem);
}

.team-card__name {
  margin: 0;
  color: #edf0f5;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.team-card__role {
  margin: 0.7rem 0 0;
  color: #a9c2ff;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}

.team-card__bio {
  margin: 1rem 0 0;
  color: #cbd1db;
  font-size: 0.98rem;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .team-card__image {
    aspect-ratio: 5 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.features14 .mbr-iconfont {
    transition: none;
  }

  .team-card {
    transition: none;
  }

  .team-card:hover {
    transform: none;
  }
}

section.features14 > .mbr-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

html[data-theme="dark"] section.features14 > .mbr-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

section.features14 > .container {
  position: relative;
  z-index: 1;
}

section.features3 .item-img {
  aspect-ratio: 16 / 9;
  border-radius: 0.85rem;
  overflow: hidden;
}

section.features3 .item-img img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
  width: 100%;
}

section.features3 .row.mt-4 > .item:nth-child(3) .item-img img {
  object-position: center 25%;
}

section.features3 .item-wrapper:hover .item-img img {
  transform: scale(1.035);
}

section.features11 .image-wrapper img,
section.features6 .image-wrapper img {
  aspect-ratio: 4 / 3;
  border-radius: 0.85rem;
  object-fit: cover;
  object-position: center;
}

/* Blend the feature image into the backdrop while retaining its foreground presence. */
#features12-5 .image-wrapper,
#features12-6 .image-wrapper {
  isolation: isolate;
  position: relative;
  border-radius: 1rem;
}

#features12-5 .image-wrapper::before,
#features12-6 .image-wrapper::before {
  background:
    radial-gradient(ellipse at 22% 28%, rgba(94, 158, 231, 0.24), transparent 62%),
    radial-gradient(ellipse at 82% 78%, rgba(218, 166, 91, 0.20), transparent 62%);
  border-radius: inherit;
  content: "";
  filter: blur(38px);
  inset: -2rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

#features12-5 .image-wrapper img,
#features12-6 .image-wrapper img {
  display: block;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.38), 0 0.35rem 1.25rem rgba(55, 112, 173, 0.19);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-composite: intersect;
}

.audience-growth-section {
  background: #f4f6f8;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.audience-growth-container {
  margin-inline: auto;
  max-width: 1120px;
}

.audience-growth-heading {
  margin: 0 auto 2rem;
  max-width: 720px;
  text-align: center;
}

.audience-growth-kicker {
  color: #41658f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.audience-growth-heading h2 {
  margin-bottom: 0.6rem;
  display: inline-block;
  background-image: linear-gradient(90deg, #a9c2ff 0%, #b9c8e3 18%, #d8c393 36%, #f0c76c 49.9%, #edf0f5 50% 100%);
  background-size: 200% 100%;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.2s ease;
}

.audience-growth-heading h2:hover {
  background-position: left center;
}

.audience-growth-note {
  color: #697586;
  font-size: 0.92rem;
  margin: 0;
}

.audience-growth-chart {
  margin: 0 auto;
  max-width: 940px;
}

.audience-growth-chart svg {
  display: block;
  height: auto;
  overflow: visible;
  width: 100%;
}

.audience-growth-chart .chart-grid {
  stroke: #dce2e9;
  stroke-width: 1;
}

.audience-growth-chart .chart-axis {
  stroke: #9aa7b7;
  stroke-width: 1.5;
}

.audience-growth-chart .chart-area {
  fill: url(#audience-growth-fill);
  opacity: 0;
  transition: opacity 650ms ease 2.65s;
}

.audience-growth-chart .chart-line {
  fill: none;
  stroke: #41658f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.8s cubic-bezier(0.22, 0.68, 0.2, 1);
}

.audience-growth-chart .chart-point {
  fill: #f4f6f8;
  stroke: #41658f;
  stroke-width: 4;
  opacity: 0;
  transform: scale(0.55);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.audience-growth-chart .chart-point-final {
  fill: #d9ae57;
  stroke: #fff;
  stroke-width: 4;
  opacity: 0;
  transform: scale(0.55);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 420ms ease 2.55s, transform 560ms cubic-bezier(0.2, 0.75, 0.25, 1) 2.55s;
}

.audience-growth-chart.is-animated .chart-area {
  opacity: 1;
}

.audience-growth-chart.is-animated .chart-line {
  stroke-dashoffset: 0;
}

.audience-growth-chart.is-animated .chart-point,
.audience-growth-chart.is-animated .chart-point-final {
  opacity: 1;
  transform: scale(1);
}

.audience-growth-chart.is-animated .chart-point:nth-of-type(1) {
  transition-delay: 0.05s, 0.05s;
}

.audience-growth-chart.is-animated .chart-point:nth-of-type(2) {
  transition-delay: 0.58s, 0.58s;
}

.audience-growth-chart.is-animated .chart-point:nth-of-type(3) {
  transition-delay: 1.22s, 1.22s;
}

.audience-growth-chart.is-animated .chart-point:nth-of-type(4) {
  transition-delay: 1.9s, 1.9s;
}

.audience-growth-chart .chart-label {
  fill: #596579;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
}

.audience-growth-chart .chart-axis-label {
  fill: #758195;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

html[data-theme="dark"] .audience-growth-section {
  background: #141820;
}

html[data-theme="dark"] .audience-growth-note,
html[data-theme="dark"] .audience-growth-chart .chart-label,
html[data-theme="dark"] .audience-growth-chart .chart-axis-label {
  fill: #b8c1ce;
  color: #b8c1ce;
}

html[data-theme="dark"] .audience-growth-chart .chart-grid {
  stroke: rgba(221, 229, 240, 0.14);
}

html[data-theme="dark"] .audience-growth-chart .chart-axis {
  stroke: rgba(221, 229, 240, 0.4);
}

html[data-theme="dark"] .audience-growth-chart .chart-line {
  stroke: #a9c2ff;
}

html[data-theme="dark"] .audience-growth-chart .chart-area {
  fill: url(#audience-growth-fill-dark);
}

html[data-theme="dark"] .audience-growth-chart .chart-point {
  fill: #141820;
  stroke: #a9c2ff;
}

@media (prefers-reduced-motion: reduce) {
  .audience-growth-chart .chart-area,
  .audience-growth-chart .chart-line,
  .audience-growth-chart .chart-point,
  .audience-growth-chart .chart-point-final {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
    transition: none;
  }

  .hero-cta .btn,
  .contact-submit {
    transition: none;
  }

  .process-step-label {
    transition: none;
  }

  .audience-growth-heading h2 {
    transition: none;
  }

  .process-step-label:hover {
    background-position: left center;
  }

  section.features3 .item-img img {
    transition: none;
  }
}

@media (max-width: 600px) {
  .audience-growth-chart {
    margin-inline: -0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 0.75rem 0.5rem;
    scrollbar-width: thin;
  }

  .audience-growth-chart svg {
    min-width: 680px;
  }

  .audience-growth-chart .chart-label {
    font-size: 17px;
  }

  .audience-growth-chart .chart-axis-label {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  #features7-7 .process-step-label,
  #features7-8 .process-step-label {
    background-image: none;
    background-position: initial;
    background-size: auto;
    color: #a9c2ff;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #a9c2ff;
    transition: none;
  }
}

/* Mobile layout refinements shared by the English and Bulgarian pages. */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 5rem;
  }

  body {
    overflow-x: hidden;
  }

  .menu .navbar {
    padding: 0.6rem 0.85rem;
  }

  .menu .navbar .navbar-brand .navbar-logo img.cineframe-logo {
    height: 2rem !important;
  }

  .menu .navbar .navbar-collapse {
    padding: 0.6rem 0 1rem;
  }

  .menu .navbar .navbar-nav {
    align-items: center;
    width: 100%;
  }

  .menu .navbar .navbar-nav .nav-item {
    text-align: center;
    width: 100%;
  }

  .menu .navbar .navbar-nav .nav-link {
    min-height: 44px;
    padding: 0.45rem 0.75rem !important;
  }

  .menu .navbar .navbar-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .menu .navbar .language-switcher {
    margin: 0.5rem auto 0;
  }

  section.header1 {
    padding: 9rem 0 4.25rem;
  }

  section.header1 > .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  section.header1 h1 {
    font-size: clamp(2.1rem, 8vw, 3.6rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  section.header1 .mbr-text {
    font-size: clamp(1rem, 4.2vw, 1.12rem);
    line-height: 1.65;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .hero-cta .btn {
    justify-content: center;
    margin: 0 !important;
    min-height: 3.1rem;
    width: 100%;
  }

  section.features14 {
    --service-overlap: 4rem;
    padding-top: calc(5.5rem + var(--service-overlap));
    padding-bottom: 3.75rem;
  }

  section.features14 .card-wrapper {
    align-items: flex-start;
    gap: 0.75rem;
  }

  section.features14 .mbr-iconfont.m-auto {
    margin: 0.15rem 0 0 !important;
  }

  section.features14 .card-box {
    flex: 1 1 0;
  }

  section.features14 .mbr-iconfont {
    font-size: 2.5rem !important;
    padding-right: 0.25rem !important;
  }

  section.features14 .card-title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
    line-height: 1.2;
  }

  section.features14 .card-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  section.features11,
  section.features3,
  section.form5,
  section.contacts4 {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }

  section.features11 .card-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  section.features11 .card-title {
    font-size: clamp(1.8rem, 7vw, 2.55rem);
    line-height: 1.14;
  }

  section.features11 .mbr-text,
  section.features3 .mbr-text,
  section.features3 .mbr-section-subtitle {
    font-size: 1rem;
    line-height: 1.7;
  }

  section.features3 .mbr-section-title {
    font-size: clamp(2.1rem, 8vw, 3rem);
    line-height: 1.12;
  }

  section.features3 .item-content {
    padding: 1.15rem 0.25rem;
  }

  section.features3 .item-img img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
  }

  section.team-section {
    padding: 3.75rem 0 !important;
  }

  section.team-section + section.features3 {
    --team-craft-overlap: 3rem;
  }

  .team-section__header {
    margin-bottom: 2.25rem;
    padding-inline: 0.25rem;
  }

  .team-section__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }

  .team-section__title {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
  }

  .team-section__intro,
  .team-card__bio {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  section.features11 + section.team-section::before,
  section.team-section + section.features3::before,
  section.features11 + section.features3::before,
  section.features14::before {
    background-attachment: scroll;
  }

  section.features11 .image-wrapper img,
  section.features6 .image-wrapper img {
    aspect-ratio: 16 / 10;
  }

  #features12-5 .image-wrapper::before,
  #features12-6 .image-wrapper::before {
    filter: blur(24px);
    inset: -1rem;
  }

  .audience-growth-section {
    padding: 3.75rem 0;
  }

  .audience-growth-heading {
    margin-bottom: 1.75rem;
    padding-inline: 0.25rem;
  }

  .audience-growth-heading h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.12;
  }

  .audience-growth-note {
    font-size: 1rem;
    line-height: 1.65;
  }

  section.form5 .form-control {
    min-height: 3.25rem;
    font-size: 1rem;
  }

  section.form5 textarea.form-control {
    min-height: 9rem;
  }

  section.form5 .contact-submit {
    justify-content: center;
    min-height: 3.25rem;
    width: 100%;
  }

  section.contacts4 .mbr-iconfont-social {
    height: 3.5rem;
    width: 3.5rem;
  }
}
