:root {
  --bg: #fcfbff;
  --surface: #ffffff;
  --heading: #19181d;
  --text: #454a53;
  --muted: #5a606c;
  --accent: #6e55d6;
  --accent-dark: #5a43be;
  --line: rgba(69, 53, 126, 0.2);
  --shadow: 0 26px 60px rgba(35, 27, 58, 0.18);
  --radius: 20px;
  --image-radius: 16px;
  --purple-soft: #f3efff;
  --purple-deep: #2b2138;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 96px;
  --space-8: 120px;
  --space-section: 112px;
  --team-card-width: clamp(250px, 28vw, 360px);
  --team-track-left-pad: max(8px, env(safe-area-inset-left));
  --team-track-right-pad: max(8px, env(safe-area-inset-right));
  --team-avatar-overhang: 52px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-text {
  transform: translateY(18px);
}

.reveal-media {
  transform: translateY(14px) scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("assets/Hero_page/bilde.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(12, 8, 24, 0.1) 0%, rgba(12, 8, 24, 0) 42%),
    linear-gradient(180deg, rgba(10, 7, 20, 0.34) 0%, rgba(10, 7, 20, 0.46) 58%, rgba(10, 7, 20, 0.62) 100%);
}

.top-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(1280px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  background: rgba(250, 248, 255, 0.9);
  backdrop-filter: blur(9px);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(35, 27, 58, 0.09);
  transition: all 280ms ease;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.logo-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.main-nav-wrap a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: var(--space-1) var(--space-2);
  color: rgba(25, 24, 29, 0.76);
  transition: color 180ms ease, background-color 180ms ease;
}

.main-nav-wrap a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: calc(100% - 1.8rem);
  height: 1.5px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.main-nav-wrap a:hover {
  background: rgba(110, 85, 214, 0.08);
  color: var(--accent-dark);
}

.main-nav-wrap a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav-wrap a.active {
  color: var(--accent-dark);
  font-weight: 600;
}

.main-nav-wrap a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--text);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.lang-btn {
  border: 0;
  background: transparent;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.45rem 0.72rem;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 760px;
  width: min(760px, 100%);
  min-height: clamp(660px, 86vh, 940px);
  padding: clamp(78px, 9vh, 112px) var(--space-2) clamp(10px, 2.8vh, 24px);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hero-kicker {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
  font-size: clamp(3.5rem, 8.2vw, 88px);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.015em;
  margin-bottom: 0;
  text-shadow: 0 10px 24px rgba(8, 6, 16, 0.3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.82rem;
  margin-top: auto;
  margin-bottom: 0.85rem;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  letter-spacing: 0.18em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0.9;
}

.hero-badge::before,
.hero-badge::after {
  content: "";
  width: clamp(30px, 4.8vw, 52px);
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-caption {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-top: 0;
  margin-bottom: 1.35rem;
  transform: none;
  color: rgba(255, 255, 255, 0.8);
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 18px;
  padding: 1.08rem 2.1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(70, 43, 121, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(70, 43, 121, 0.3);
  filter: brightness(1.04);
}

.btn-hero {
  margin-top: 0;
  padding: 1.16rem 2.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(145deg, #9b86f2 0%, #7f66e0 48%, #654cc6 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 16px 34px rgba(26, 14, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transform: translateY(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, filter 240ms ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 38px rgba(26, 14, 56, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.06);
}

.btn-hero:active {
  transform: translateY(-1px);
  box-shadow:
    0 11px 24px rgba(26, 14, 56, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.section-block {
  width: min(1120px, calc(100% - 2rem));
  margin: var(--space-section) auto 0;
}

.section-head {
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
}

.section-tag {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.section-head h2,
.split h2,
.contact-card h2 {
  font-size: clamp(2rem, 5vw, 48px);
  margin-bottom: var(--space-2);
}

.team-subtitle {
  max-width: 62ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.leaders-section {
  width: 100%;
  max-width: none;
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-x: contain;
}

.leaders-section .section-head {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 40px;
}

.focus-section {
  position: relative;
  width: 100%;
  margin: 0;
  background-color: #ddd4f5;
  overflow: hidden;
  border-radius: 0;
  padding: 104px 0;
}

.focus-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(250, 246, 255, 0.74) 0%, rgba(250, 246, 255, 0) 54%),
    linear-gradient(180deg, #ebe5fc 0%, #ddd4f5 50%, #cec4ea 100%);
  pointer-events: none;
}

.focus-section > * {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.focus-subtitle {
  font-size: 1.18rem;
  color: #2e3138;
  margin-bottom: var(--space-3);
}

.focus-section .section-head {
  margin-bottom: var(--space-2);
}

.focus-section .section-head.center {
  text-align: left;
}

.focus-section .section-head h2 {
  margin-bottom: var(--space-1);
}

.focus-section .section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(110, 85, 214, 0.72);
}

.focus-layout {
  margin-top: var(--space-1);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: stretch;
}

.focus-layout img {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  min-height: 400px;
  box-shadow: 0 18px 38px rgba(43, 33, 56, 0.12);
  align-self: stretch;
}

.focus-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
  align-self: stretch;
  margin-top: 0;
}

.focus-item {
  min-height: 0;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 6px 18px rgba(43, 33, 56, 0.08);
  transition: transform 180ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.focus-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(43, 33, 56, 0.1);
}

.focus-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  text-align: left;
}

.focus-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #8f88a8;
  margin-top: 0;
}

.focus-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-heading {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  line-height: 1.18;
}

@media (max-width: 780px) {
  .focus-heading {
    font-size: 16px;
  }
}

.focus-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  line-height: 0;
  transform: rotate(0deg);
  transition: transform 240ms ease;
}

.focus-chevron svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.focus-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 360ms ease;
}

.focus-item.is-open .focus-chevron {
  transform: rotate(180deg);
}

.focus-panel p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 34ch;
  margin: 0;
  padding: 4px 0 8px 32px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.about-section {
  margin-top: var(--space-section);
}

.about-text {
  padding-top: var(--space-3);
}

.about-text h2 {
  margin-bottom: 0;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(110, 85, 214, 0.72);
}

.about-text [data-i18n="about.copy"] {
  margin-top: var(--space-2);
  display: grid;
  gap: var(--space-3);
  max-width: 58ch;
  line-height: 1.72;
}

.about-text .about-lead,
.about-text .about-paragraph {
  display: block;
}

.about-text .about-lead {
  font-weight: 600;
}

.about-text .about-paragraph-highlight {
  position: relative;
  z-index: 0;
  padding: 14px 0;
}

.about-text .about-paragraph-highlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: #f5f1ff;
}

.about-image {
  margin-top: var(--space-2);
  border-radius: var(--image-radius);
  min-height: 440px;
  box-shadow: var(--shadow);
}

.carousel-shell {
  position: relative;
  overflow: visible;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 20px 48px rgba(22, 14, 31, 0.32);
}

.side-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.side-left {
  left: -22px;
}

.side-right {
  right: -22px;
}

.leaders-track {
  display: flex;
  gap: var(--space-2);
  padding: var(--team-avatar-overhang) var(--team-track-right-pad) var(--space-2) var(--team-track-left-pad);
  overflow-x: auto;
  overflow-y: visible;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-left: var(--team-track-left-pad);
  align-items: stretch;
}

.leaders-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: visible;
  overflow-y: visible;
  margin-top: var(--space-8);
  padding: var(--space-1) 0;
}

.leader-card {
  --photo-pos: 50% 32%;
  --photo-scale: 1.24;
  flex: 0 0 var(--team-card-width);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 300px;
  padding: 76px var(--space-3) var(--space-3);
  position: relative;
  overflow: visible;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(26, 18, 35, 0.1), 0 2px 8px rgba(26, 18, 35, 0.06);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.leader-card img {
  width: 84px;
  height: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: absolute;
  top: -10%;
  left: 50%;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(43, 33, 56, 0.18);
  object-fit: cover;
  object-position: var(--photo-pos);
  transform: translate(-50%, 0) scale(var(--photo-scale));
}

.leaders-track::-webkit-scrollbar {
  display: none;
  height: 0;
}

.leaders-track .leader-card:nth-child(1) {
  --photo-pos: 50% 20%;
  --photo-scale: 1.27;
}

.leaders-track .leader-card:nth-child(2) {
  --photo-pos: 50% 26%;
  --photo-scale: 1.24;
}

.leaders-track .leader-card:nth-child(3) {
  --photo-pos: 50% 20%;
  --photo-scale: 1.25;
}

.leaders-track .leader-card:nth-child(4) {
  --photo-pos: 50% 24%;
  --photo-scale: 1.23;
}

.leaders-track .leader-card:nth-child(5) {
  --photo-pos: 50% 22%;
  --photo-scale: 1.24;
}

.leaders-track .leader-card:nth-child(6) {
  --photo-pos: 50% 30%;
  --photo-scale: 1.22;
}

.leaders-track .leader-card:nth-child(7) {
  --photo-pos: 50% 21%;
  --photo-scale: 1.26;
}

.leaders-track .leader-card:nth-child(8) {
  --photo-pos: 50% 26%;
  --photo-scale: 1.24;
}

.leaders-track .leader-card:nth-child(9) {
  --photo-pos: 50% 23%;
  --photo-scale: 1.25;
}

.leaders-track .leader-card:nth-child(10) {
  --photo-pos: 50% 21%;
  --photo-scale: 1.26;
}

.leaders-track .leader-card:nth-child(11) {
  --photo-pos: 50% 19%;
  --photo-scale: 1.28;
}

.leader-card h3 {
  text-align: center;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #18191d;
  margin-bottom: var(--space-2);
  letter-spacing: 0.05em;
}

.lead-strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #202227;
  margin-bottom: var(--space-1);
  line-height: 1.4;
}

.lead-strong.role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(90, 67, 190, 0.22);
  background: rgba(110, 85, 214, 0.09);
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leader-card p {
  color: #25282e;
  font-size: 13.5px;
  text-align: justify;
  line-height: 1.45;
}

.leader-card p:last-child {
  overflow: visible;
  max-height: none;
  padding-right: 0;
}

.leader-card p + p {
  margin-top: var(--space-2);
}

.leaders-shell .side-left {
  left: 10px;
}

.leaders-shell .side-right {
  right: 10px;
}

.leaders-shell .carousel-btn {
  top: 50%;
}

.leaders-track:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.gallery-section {
  width: 100%;
  margin: var(--space-section) 0 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(198, 182, 245, 0.2) 0%, rgba(198, 182, 245, 0) 56%),
    linear-gradient(180deg, #35265a 0%, #2d214c 52%, #261c40 100%);
  border-radius: 0;
  padding: 104px 0 76px;
}

.gallery-section > * {
  width: calc(100% - 2rem);
  margin-left: auto;
  margin-right: auto;
}

.gallery-section .section-tag {
  color: #d9ccff;
}

.gallery-section .section-head h2 {
  color: #f7f3ff;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.mosaic-grid img {
  border-radius: var(--image-radius);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease;
  transform-origin: center;
}

.mosaic-grid img:hover {
  transform: scale(1.03);
}

.see-more {
  margin: var(--space-6) auto 0;
  display: block;
  width: fit-content;
  padding: 0.95rem 2.05rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 214, 255, 0.62);
  background: linear-gradient(140deg, #d9c8ff 0%, #bea2f4 100%);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #2a1f45;
  box-shadow: 0 14px 30px rgba(15, 10, 30, 0.24);
  transition: filter 200ms ease, transform 180ms ease, box-shadow 200ms ease;
}

.see-more:hover {
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(15, 10, 30, 0.28);
  transform: translateY(-2px);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 44px);
  background: rgba(16, 11, 30, 0.74);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-media {
  max-width: min(94vw, 1080px);
  max-height: calc(100vh - clamp(78px, 11vh, 124px));
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(9, 5, 21, 0.55);
}

.gallery-lightbox-btn {
  position: absolute;
  border: 1px solid rgba(232, 223, 255, 0.5);
  background: rgba(28, 20, 52, 0.7);
  color: #f8f4ff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.gallery-lightbox-btn:hover {
  background: rgba(50, 35, 90, 0.9);
  transform: scale(1.04);
}

.gallery-lightbox-btn:focus-visible {
  outline: 2px solid #e2d5ff;
  outline-offset: 2px;
}

.gallery-lightbox-close {
  top: clamp(16px, 2.4vw, 26px);
  right: clamp(16px, 2.4vw, 26px);
}

.gallery-lightbox-prev {
  left: clamp(12px, 2.2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-next {
  right: clamp(12px, 2.2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  transform: translateY(-50%) scale(1.04);
}

.testimonials-section {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(72px, 9vw, 116px) 0 clamp(72px, 9vw, 116px);
  background: linear-gradient(180deg, #faf7ff 0%, #f4eefc 100%);
  border-radius: 0;
  clear: both;
}

.testimonials-section .section-head {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto clamp(28px, 5vw, 52px);
}

.reviews-shell {
  --reviews-fade-left: #faf7ff;
  --reviews-fade-right: #f4eefc;
  position: relative;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  overflow: hidden;
}

.reviews-shell::before,
.reviews-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(42px, 6.2vw, 84px);
  pointer-events: none;
  z-index: 2;
}

.reviews-shell::before {
  left: 0;
  background:
    radial-gradient(120% 100% at 0% 50%, rgba(250, 247, 255, 0.44) 0%, rgba(250, 247, 255, 0.12) 58%, rgba(250, 247, 255, 0) 100%),
    linear-gradient(
      to right,
      rgba(250, 247, 255, 0.82) 0%,
      rgba(250, 247, 255, 0.56) 24%,
      rgba(250, 247, 255, 0.26) 58%,
      rgba(250, 247, 255, 0) 100%
    );
}

.reviews-shell::after {
  right: 0;
  background:
    radial-gradient(120% 100% at 100% 50%, rgba(244, 238, 252, 0.44) 0%, rgba(244, 238, 252, 0.12) 58%, rgba(244, 238, 252, 0) 100%),
    linear-gradient(
      to left,
      rgba(244, 238, 252, 0.82) 0%,
      rgba(244, 238, 252, 0.56) 24%,
      rgba(244, 238, 252, 0.26) 58%,
      rgba(244, 238, 252, 0) 100%
    );
}

.reviews-track {
  --reviews-gap: 32px;
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  gap: var(--reviews-gap);
  justify-content: flex-start;
  align-items: flex-start;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  position: relative;
  z-index: 1;
  touch-action: pan-y;
  cursor: grab;
}

.review-card {
  flex: 0 0 calc((100% - (2 * var(--reviews-gap))) / 3);
  max-width: calc((100% - (2 * var(--reviews-gap))) / 3);
  background: #fff;
  border-radius: 24px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(97, 76, 148, 0.1);
  box-shadow:
    0 14px 34px rgba(73, 51, 119, 0.09),
    0 2px 9px rgba(73, 51, 119, 0.05);
  transition: transform 260ms ease, box-shadow 260ms ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 38px rgba(73, 51, 119, 0.12),
    0 3px 11px rgba(73, 51, 119, 0.06);
}

.reviews-track.is-dragging {
  cursor: grabbing;
}

.reviews-track.is-dragging .review-card {
  user-select: none;
}

.review-text {
  color: #3c3f48;
  line-height: 1.6;
  font-size: 14px;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  max-height: calc(1.6em * 4);
  text-align: justify;
}

.review-card:not(.is-expanded) .review-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.7em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 92%);
  pointer-events: none;
}

.review-card.is-expanded .review-text {
  max-height: none;
}

.review-name {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1f2230;
}

.review-role {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7f7796;
}

.read-more {
  border: none;
  background: #e9e2ff;
  color: #5c4be3;
  font-weight: 500;
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 18px;
  margin-top: 16px;
  margin-left: auto;
  display: block;
  width: fit-content;
  cursor: pointer;
  transition: all 0.2s ease;
}

.read-more:hover {
  transform: translateY(-1px);
  background: #ded4ff;
}

.contact-section {
  position: relative;
  margin-top: 0;
  background-image: url("assets/Galerija/beigas/344.webp");
  background-size: cover;
  background-position: center;
  padding: 104px var(--space-2);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 31, 0.52);
}

.contact-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: var(--space-4);
  border-radius: 18px;
  background: rgba(250, 248, 255, 0.96);
  box-shadow: 0 30px 74px rgba(22, 12, 36, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-text,
  .reveal-media {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.contact-form {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.contact-form label {
  display: grid;
  gap: var(--space-1);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  font: inherit;
}

.site-footer {
  background: var(--purple-deep);
  color: #fff;
  padding: var(--space-4) var(--space-2) var(--space-5);
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.footer-icons {
  display: flex;
  gap: var(--space-1);
}

.footer-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.footer-icons svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

@media (max-width: 1020px) {
  .main-nav-wrap {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .focus-layout img,
  .about-image {
    min-height: 300px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leader-card {
    --team-card-width: min(46vw, 360px);
  }

  .review-card {
    flex-basis: calc((100% - var(--reviews-gap)) / 2);
    max-width: calc((100% - var(--reviews-gap)) / 2);
  }
}

@media (min-width: 1021px) {
  .focus-layout {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .focus-layout img {
    flex: 0 0 460px;
    width: 460px;
    max-width: 46%;
    min-height: 0;
    height: clamp(320px, 36vw, 460px);
  }

  .focus-points {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .hero {
    background-position: center center;
    background-attachment: scroll;
  }

  .about-text .about-paragraph-highlight {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-content {
    min-height: 660px;
    padding-top: 102px;
    padding-bottom: 112px;
  }

  .hero-content h1 {
    margin-bottom: 0;
  }

  .hero-badge {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .hero-caption {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
  }

  .btn-hero {
    padding: 1.04rem 2.3rem;
  }

  .top-nav {
    width: calc(100% - 1rem);
  }

  .top-nav-actions {
    gap: 0.2rem;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-left {
    left: -10px;
  }

  .side-right {
    right: -10px;
  }

  .leaders-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .leader-card {
    --team-card-width: min(85vw, 340px);
  }

  .leaders-track {
    --team-avatar-overhang: 46px;
  }

  .reviews-track {
    --reviews-gap: 16px;
  }

  .review-card {
    flex-basis: 100%;
    max-width: 100%;
  }

}
