:root {
  --dor-blue: #003399;
  --dor-yellow: #FFCC00;
}

html {
  scroll-behavior: smooth;
}

/* HERO */
.bridge-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 72px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background: url("../assets/images/bridge-bg.jpg") top / cover no-repeat;
}

.subpage-bridge .bridge-hero {
  padding-top: 210px;
}

.bridge-topbar {
  position: absolute;
  top: 44px;
  right: max(32px, calc(50% - 640px + 24px));
  z-index: 3;
  opacity: 0.92;
}

.subpage-bridge .bridge-topbar {
  top: 132px;
}

.bridge-topbar-left {
  left: max(32px, calc(50% - 640px + 24px));
  right: auto;
}

.bridge-eu-badge {
  width: clamp(76px, 8.2vw, 106px);
  height: auto;
  display: block;
}

.bridge-dor-badge {
  width: clamp(90px, 9.6vw, 124px);
  height: auto;
  display: block;
}

.bridge-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 10, 15, 0.86) 0%,
    rgba(5, 10, 15, 0.7) 42%,
    rgba(5, 10, 15, 0.44) 72%,
    rgba(5, 10, 15, 0.28) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.bridge-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.14) 0%,
    rgba(0, 0, 0, 0.3) 46%,
    rgba(0, 0, 0, 0.58) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.bridge-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 8px;
  text-align: center;
}

.bridge-logo {
  width: 208px;
  margin: -110px auto 34px;
  transform: translateX(-14px);
}

.bridge-hero-heading {
  max-width: 1040px;
  margin: 0 auto 30px;
}

.bridge-title-shared {
  margin-bottom: 0;
}

.bridge-title {
  max-width: 1100px;
  margin: 0 auto 22px;
  font-family: 'SrbijaSans', Arial, sans-serif;
  font-size: clamp(3.1rem, 5.4vw, 5.15rem);
  line-height: 1.02;
  text-align: center;
  text-wrap: balance;
  color: #ffffff;
}

.bridge-title-sub {
  display: block;
  margin-top: 20px;
  font-family: 'SrbijaSans', Arial, sans-serif;
  font-size: 0.44em;
  line-height: 1.15;
  letter-spacing: 0.075em;
  text-align: center;
  text-wrap: balance;
}

.bridge-subtitle {
  max-width: 700px;
  margin: 0 auto 32px;
  font-family: Arial, sans-serif;
  font-size: 1.12rem;
  line-height: 1.75;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.bridge-meta {
  margin: 0 auto 30px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
}

.bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.bridge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: 'SrbijaSans', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.025em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.bridge-btn-primary {
  background: var(--dor-blue);
  color: #ffffff;
  border-color: var(--dor-blue);
}

.bridge-btn-primary:hover {
  background: #0b46b5;
  border-color: #0b46b5;
  transform: translateY(-1px);
}

.bridge-btn-secondary {
  background: rgba(255, 255, 255, 0.98);
  color: var(--dor-blue);
  border-color: var(--dor-blue);
}

.bridge-btn-secondary:hover {
  background: #f1f5ff;
  color: #002b86;
  border-color: #002b86;
  transform: translateY(-1px);
}

.bridge-eu-note {
  margin-top: 28px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  opacity: 0.78;
  color: rgba(255, 255, 255, 0.7);
}

.bridge-bilingual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: start;
}

.bridge-lang-col {
  min-width: 0;
}

.bridge-lang-col-sr {
  position: relative;
  padding-right: 28px;
  border-right: 0;
}

.bridge-lang-col-sr::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.section-light .bridge-lang-col-sr::after {
  background: rgba(0, 0, 0, 0.08);
}

.bridge-lang-col-en {
  padding-left: 28px;
}

.bridge-hero-grid {
  align-items: stretch;
  gap: 60px;
}

.bridge-hero-grid .bridge-lang-col-sr,
.bridge-hero-grid .bridge-lang-col-en {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.bridge-hero-grid .bridge-actions {
  margin-top: auto;
  padding-top: 30px;
}

.bridge-masterclass .bridge-lang-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bridge-masterclass .masterclass-grid {
  flex: 1;
}

/* SECTIONS */
.bridge-intro,
.section-light,
.bridge-masterclass {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}

.bridge-intro {
  position: relative;
  background: #06080d;
  color: #ffffff;
}

.section-light {
  background: #f5f5f3;
  color: #111111;
}

.section-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(6, 8, 13, 0.16) 0%,
    rgba(6, 8, 13, 0.06) 24%,
    rgba(245, 245, 243, 0) 100%
  );
}

.bridge-masterclass {
  background: #0a0d14;
  color: #ffffff;
}

.bridge-masterclass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 243, 0.42) 0%,
    rgba(245, 245, 243, 0.12) 26%,
    rgba(245, 245, 243, 0) 100%
  );
}

.bridge-intro-content,
.bridge-why-content,
.masterclass-content {
  max-width: 1100px;
  margin: 0 auto;
}

.bridge-section-head {
  max-width: 34rem;
  margin: 0 0 36px;
}

.bridge-section-head .section-label {
  display: inline-block;
  margin-bottom: 22px;
  padding-left: 14px;
  border-left: 4px solid var(--dor-blue);
  font-family: 'SrbijaSans', Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.bridge-intro .bridge-section-head .section-label {
  color: #cfd4df;
}

.bridge-why .bridge-section-head .section-label,
.bridge-masterclass .bridge-section-head .section-label {
  color: var(--dor-blue);
}

.bridge-intro .bridge-section-head h2,
.bridge-masterclass .bridge-section-head h2 {
  color: #ffffff;
}

.bridge-why .bridge-section-head h2 {
  color: #111111;
}

.bridge-section-head h2 {
  margin: 0;
  font-family: 'SrbijaSans', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(2.05rem, 3.15vw, 3rem);
  line-height: 1.1;
  text-align: left;
  text-wrap: balance;
}

.bridge-intro p,
.bridge-why p,
.masterclass-info,
.masterclass-text {
  font-family: Arial, sans-serif;
}

.bridge-intro p,
.bridge-why p {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.82;
  max-width: 34rem;
}

.bridge-intro p {
  color: rgba(255, 255, 255, 0.78);
}

.bridge-why p {
  color: rgba(0, 0, 0, 0.75);
}

.bridge-intro p:last-child,
.bridge-why p:last-child,
.masterclass-text p:last-child,
.masterclass-info p:last-child {
  margin-bottom: 0;
}

.masterclass-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.42fr);
  gap: 44px;
  align-items: stretch;
}

.masterclass-info {
  padding-top: 4px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 22rem;
}

.masterclass-info p {
  margin-bottom: 14px;
}

.masterclass-info strong {
  color: rgba(255, 255, 255, 0.95);
}

.masterclass-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.masterclass-text p {
  margin-bottom: 20px;
}

.bridge-apply {
  margin-top: auto;
  padding-top: 26px;
}

.bridge-apply .bridge-btn {
  width: auto;
}

.masterclass-text em {
  color: #d4af6a;
  font-style: normal;
}

/* PROCESS GALLERY */
.bridge-process {
  padding: 112px 24px 124px;
  background: #ffffff;
  color: #111111;
}

.bridge-process-content {
  max-width: 1360px;
  margin: 0 auto;
}

.bridge-process-caption {
  margin: 0 0 30px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(17, 17, 17, 0.58);
}

.bridge-process-card {
  margin: 0;
  overflow: visible;
  background: transparent;
}

.bridge-process-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.bridge-process-card-hero {
  aspect-ratio: 4 / 3;
}

.bridge-process-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.bridge-process-card-support {
  aspect-ratio: 4 / 3;
}

.bridge-process-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.bridge-process-card:hover .bridge-process-image {
  transform: scale(1.015);
}

.bridge-process-card-hero .bridge-process-image {
  object-fit: contain;
  object-position: 50% 50%;
}

.bridge-process-card-support .bridge-process-image {
  object-fit: contain;
  object-position: 50% 50%;
}

.bridge-process-image-meeting-2 {
  object-position: 50% 50%;
}

.bridge-process-image-meeting-3 {
  object-fit: cover;
  object-position: 50% 22%;
}

.bridge-process-image-meeting-5 {
  object-position: 50% 50%;
}

/* TEAM */
.bridge-team {
  padding: 120px 24px;
  background: #070b11;
  color: #ffffff;
}

.bridge-team-content {
  max-width: 1100px;
  margin: 0 auto;
}

.bridge-team-carousel {
  position: relative;
  margin-top: 18px;
}

.bridge-team-viewport {
  overflow: hidden;
}

.bridge-team-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.35s ease;
}

.bridge-team-card {
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.bridge-team-track .bridge-team-card:first-child {
  padding-left: 0;
}

.bridge-team-track .bridge-team-card:last-child {
  padding-right: 0;
}

.bridge-team-nav {
  position: absolute;
  top: 32%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 11, 17, 0.86);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.bridge-team-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(17, 24, 37, 0.96);
}

.bridge-team-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.bridge-team-nav-prev {
  left: -26px;
}

.bridge-team-nav-next {
  right: -26px;
}

.bridge-team-feature {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.bridge-team-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #121821;
}

.bridge-team-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bridge-team-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0) 0%, rgba(6, 8, 13, 0.92) 48%, rgba(6, 8, 13, 0.98) 100%);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  display: none;
}

.bridge-team-card:focus-visible,
.bridge-team-feature:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 6px;
}

.bridge-team-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 28px 0 0;
}

.bridge-team-name,
.bridge-team-role,
.bridge-team-quote {
  display: block;
}

.bridge-team-name {
  margin-bottom: 10px;
  font-family: 'SrbijaSans', Arial, sans-serif;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.1;
  color: #ffffff;
}

.bridge-team-name-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.bridge-team-name-trigger:hover,
.bridge-team-name-trigger:focus-visible {
  opacity: 0.88;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}

.bridge-team-name-trigger:focus-visible {
  outline: none;
}

.bridge-team-role {
  margin-bottom: 18px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.bridge-team-quote {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.8);
}

.bridge-team-quote-compact {
  font-size: 0.88rem;
  line-height: 1.62;
}

.bridge-team .bridge-section-head h2 {
  color: #ffffff;
}

/* MODAL */
body.bridge-modal-open {
  overflow: hidden;
}

.bridge-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.bridge-modal.is-open {
  display: block;
}

.bridge-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(10px);
}

.bridge-modal-panel {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  max-height: calc(100vh - 132px);
  margin: 96px auto 36px;
  padding: 32px;
  overflow: auto;
  background: #0b1018;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bridge-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.bridge-modal-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bridge-modal-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.bridge-modal-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.bridge-modal-photo-wide {
  aspect-ratio: 16 / 7;
}

.bridge-modal-photo-david {
  width: min(100%, 420px);
  max-height: 220px;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
}

.bridge-modal-photo-mina {
  width: min(100%, 420px);
  max-height: 220px;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  object-position: 42% 26%;
}

.bridge-modal-bilingual {
  gap: 36px;
}

.bridge-modal-copy .section-label {
  color: var(--dor-blue);
}

.bridge-modal-copy h2 {
  margin: 0 0 10px;
  font-family: 'SrbijaSans', Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  color: #ffffff;
}

.bridge-modal-role {
  margin: 0 0 22px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.bridge-modal-copy p {
  margin: 0 0 16px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

/* FOOTER */
.bridge-footer {
  margin-top: 0;
  padding: 40px 24px;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bridge-footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.bridge-footer p {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .bridge-bilingual {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .bridge-lang-col-sr,
  .section-light .bridge-lang-col-sr {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section-light .bridge-lang-col-sr {
    border-bottom-color: rgba(0, 0, 0, 0.12);
  }

  .bridge-lang-col-sr::after {
    display: none;
  }

  .bridge-lang-col-en {
    padding-left: 0;
  }

  .bridge-hero-grid .bridge-lang-col-sr,
  .bridge-hero-grid .bridge-lang-col-en {
    align-items: center;
  }

  .bridge-topbar {
    top: 24px;
    right: 20px;
  }

  .subpage-bridge .bridge-topbar {
    top: 154px;
  }

  .bridge-topbar-left {
    left: 20px;
    right: auto;
  }

  .bridge-eu-badge {
    width: clamp(68px, 19vw, 88px);
  }

  .bridge-dor-badge {
    width: clamp(78px, 21vw, 98px);
  }

  .bridge-title {
    font-size: clamp(2.6rem, 9vw, 4.15rem);
  }

  .bridge-title-sub {
    font-size: 0.58em;
  }

  .masterclass-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bridge-process {
    padding: 88px 20px 96px;
  }

  .bridge-process-stack {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bridge-process-grid {
    gap: 18px;
  }

  .bridge-modal-panel {
    margin: 20px;
    padding: 24px;
  }

  .bridge-modal-grid {
    grid-template-columns: 1fr;
  }

  .bridge-team-card {
    flex-basis: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .bridge-team-nav {
    top: 24%;
    width: 44px;
    height: 44px;
  }

  .bridge-team-nav-prev {
    left: -10px;
  }

  .bridge-team-nav-next {
    right: -10px;
  }

  .bridge-hero,
  .bridge-intro,
  .section-light,
  .bridge-masterclass,
  .bridge-team {
    padding-left: 20px;
    padding-right: 20px;
  }

  .subpage-bridge .bridge-hero {
    padding-top: 258px;
  }
}
