:root {
  --bg: #f6f9ff;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #1c2b4a;
  --muted: #5a6b8a;
  --brand: #1f5fbf;
  --brand-strong: #174a98;
  --accent: #3b82f6;
  --line: #d8e2f2;
  --shadow: 0 20px 45px rgba(28, 62, 122, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1120px, 92vw);
  --landing-overlay-dark: rgba(6, 18, 38, 0.48);
  --landing-overlay-mid: rgba(12, 30, 60, 0.2);
  --landing-overlay-light: rgba(23, 52, 96, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.1), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(31, 95, 191, 0.1), transparent 35%),
    linear-gradient(120deg, #f9fbff 0%, #eef3fb 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(28, 43, 74, 0.08);
  background: rgba(246, 249, 255, 0.9);
  backdrop-filter: blur(12px);
}

.landing-intro,
.hero {
  scroll-margin-top: 92px;
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(238, 243, 251, 0.82) 0%, rgba(238, 243, 251, 0.38) 10%, rgba(238, 243, 251, 0.14) 18%, rgba(238, 243, 251, 0) 100%);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% clamp(84px, 12vw, 164px);
  padding-bottom: 4.2rem;
}

.section {
  scroll-margin-top: 92px;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(84px, 12vw, 164px);
  background: linear-gradient(180deg, rgba(238, 243, 251, 0.82) 0%, rgba(238, 243, 251, 0.38) 10%, rgba(238, 243, 251, 0.14) 18%, rgba(238, 243, 251, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero + .section::before {
  display: none;
}

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

.landing-intro {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: 2.5rem 0;
  overflow: clip;
  background:
    linear-gradient(135deg, rgba(11, 29, 61, 0.86) 0%, rgba(18, 44, 85, 0.56) 46%, rgba(20, 47, 91, 0.32) 100%),
    var(--landing-image, linear-gradient(160deg, #dce9ff, #eff4ff));
  background-size: cover;
  background-position: center;
}

.landing-intro {
  --landing-primary-bg: var(--brand);
  --landing-primary-text: #ffffff;
  --landing-secondary-bg: rgba(255, 255, 255, 0.12);
  --landing-secondary-text: #ffffff;
  --landing-secondary-border: rgba(255, 255, 255, 0.42);
}

.landing-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(30, 115, 190, 0.18) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(6, 18, 38, 0.08) 0%, var(--landing-overlay-dark) 100%);
}

.landing-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(60px, 8vw, 60px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(238, 243, 251, 0) 0%, rgba(238, 243, 251, 0.2) 28%, rgba(238, 243, 251, 0.74) 77%, rgba(246, 249, 255, 0.96) 100%);
}

.landing-intro-inner {
  position: relative;
  z-index: 1;
}

.landing-intro-copy {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.landing-intro-logo-wrap {
  width: clamp(86px, 12vw, 132px);
  aspect-ratio: 1;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 46px rgba(7, 20, 42, 0.26);
}

.landing-intro-logo {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.landing-intro h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.landing-intro-text {
  margin: 1rem auto 0;
  max-width: 34ch;
  color: rgba(246, 250, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.5;
}

.landing-intro-actions {
  justify-content: center;
  margin-top: 1.6rem;
}

.landing-intro-primary {
  background: var(--landing-primary-bg) !important;
  color: var(--landing-primary-text) !important;
  border-color: transparent !important;
}

.landing-intro-ghost {
  border-color: var(--landing-secondary-border) !important;
  background: var(--landing-secondary-bg) !important;
  color: var(--landing-secondary-text) !important;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--brand), #5aa0ff);
  color: #fff;
}

.brand-mark.has-logo {
  background: #ffffff;
  border: 1px solid #d6e2f3;
  box-shadow: none;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.brand-text {
  display: grid;
  gap: 0.02rem;
  line-height: 1.02;
}

.brand-text strong {
  font-size: 0.98rem;
  color: var(--text);
}

.brand-text small {
  margin-top: -0.08rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  margin-left: auto;
}

.main-nav .menu-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .menu-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav .menu-list a:hover {
  background: rgba(31, 95, 191, 0.08);
  color: var(--brand-strong);
}

.menu-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid rgba(28, 43, 74, 0.1);
  border-radius: 0.95rem;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(28, 43, 74, 0.08);
}

.menu-toggle i {
  font-size: 1.35rem;
}

.hero {
  position: relative;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(96px, 13vw, 180px);
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.92) 0%, rgba(246, 250, 255, 0.38) 28%, rgba(241, 246, 254, 0.08) 62%, rgba(238, 243, 251, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(116px, 14vw, 120px);
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.94) 0%, rgba(241, 246, 254, 0.74) 34%, rgba(238, 243, 251, 0.38) 77%, rgba(246, 249, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: clamp(2.6rem, 6vw, 4.6rem);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 46%, rgba(0, 0, 0, 0.58) 72%, transparent 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 46%, rgba(0, 0, 0, 0.58) 72%, transparent 100%);
}

.hero-bg-shape-a {
  width: 280px;
  height: 280px;
  background: rgba(90, 160, 255, 0.22);
  top: -60px;
  right: min(6vw, 60px);
  animation: driftA 9s ease-in-out infinite;
}

.hero-bg-shape-b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 52% 46%, rgba(31, 95, 191, 0.22) 0%, rgba(31, 95, 191, 0.18) 38%, rgba(31, 95, 191, 0.1) 62%, rgba(31, 95, 191, 0.03) 78%, rgba(31, 95, 191, 0) 100%);
  bottom: 26px;
  left: -100px;
  animation: driftB 11s ease-in-out infinite;
}

@keyframes driftA {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(12px) scale(1.04);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -10px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  background: rgba(31, 95, 191, 0.12);
  color: var(--brand-strong);
}

.hero-copy .eyebrow {
  margin-top: clamp(0.8rem, 2vw, 1.4rem);
}

.hero-copy h1,
.compact-hero h1 {
  margin: 0.9rem 0 1rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy p,
.compact-hero p {
  color: #43587e;
  font-size: clamp(1rem, 1.9vw, 1.14rem);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 2.9rem;
  padding: 0.2rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #3f8cf8 100%);
  box-shadow: 0 12px 22px rgba(28, 84, 170, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(28, 84, 170, 0.32);
}

.btn-ghost {
  border-color: rgba(31, 95, 191, 0.35);
  background: rgba(255, 255, 255, 0.6);
}

.hero-metrics {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-metrics li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.15rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel .panel-card {
  background: linear-gradient(160deg, #fff, #f2f6ff);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 43, 74, 0.08);
  padding: 1.5rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-media-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 43, 74, 0.08);
  background:
    linear-gradient(135deg, rgba(18, 49, 98, 0.92) 0%, rgba(28, 78, 150, 0.72) 46%, rgba(57, 133, 232, 0.48) 100%),
    var(--hero-card-image, linear-gradient(160deg, #dce9ff, #eff4ff));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 43, 0.1) 0%, rgba(8, 20, 43, 0.36) 100%);
}

.hero-media-content {
  position: relative;
  z-index: 1;
  min-height: 320px;
  display: grid;
  place-items: center;
  gap: 1rem;
  align-content: center;
  padding: 2rem;
  text-align: center;
}

.hero-media-logo-wrap {
  width: clamp(88px, 12vw, 128px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(10, 27, 55, 0.24);
}

.hero-media-logo {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.hero-media-slogan {
  margin: 0;
  max-width: 26ch;
  color: #fff !important;
  font-size: clamp(1rem, 1.8vw, 1.18rem) !important;
  font-weight: 700;
  line-height: 1.4;
}

.hero-panel h2 {
  margin-top: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.8rem;
  background: #fff;
  border: 1px solid #e6e9e0;
}

.hero-panel i {
  color: var(--brand-strong);
}

.section {
  padding: 4.7rem 0;
}

.split-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1.2fr;
}

.section h2 {
  margin: 0.7rem 0 1rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  line-height: 1.12;
}

.section p {
  color: #40493f;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  align-items: start;
  justify-items: start;
  text-align: left;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(24, 52, 105, 0.16);
}

.feature-card i {
  grid-area: icon;
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  background: var(--surface-soft);
  color: var(--brand-strong);
  border-radius: 0.75rem;
  align-self: start;
}

.feature-card h3 {
  grid-area: title;
  margin: 0;
  font-size: 1.02rem;
  text-align: left;
}

.feature-card p {
  grid-area: text;
  margin: 0;
  text-align: left;
}

.about .feature-card {
  grid-template-columns: 2.4rem minmax(0, 1fr) !important;
  align-items: start !important;
  justify-items: start !important;
  align-content: start !important;
  justify-content: start !important;
  text-align: left !important;
  height: 100% !important;
  align-self: stretch !important;
  width: 100% !important;
  min-height: 0;
}

.about .feature-card h3,
.about .feature-card p {
  align-self: start !important;
  justify-self: start !important;
  width: 100% !important;
  max-width: none;
  text-align: left !important;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2rem;
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.offering-card {
  grid-column: span 2;
  border-radius: var(--radius-md);
  border: 1px solid #dbe5f5;
  background: linear-gradient(145deg, #fff 0%, #f2f7ff 100%);
  padding: 1.2rem;
}

@media (min-width: 1025px) {
  /* Desktop balancing for an incomplete last row in a 3-column offer grid. */
  .offering-grid > .offering-card:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }

  .offering-grid > .offering-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 1 / span 3;
  }

  .offering-grid > .offering-card:nth-last-child(1):nth-child(3n + 2) {
    grid-column: 4 / span 3;
  }
}

.offering-card-media {
  margin: -1.2rem -1.2rem 0.9rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e6ece0;
}

.offering-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.offering-card h3 {
  margin-top: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 1rem;
}

.team-card {
  border-radius: 20px;
  border: 1px solid #d6e2f3;
  background: linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
  padding: 1rem;
  box-shadow: 0 14px 28px rgba(27, 56, 112, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
}

.team-card-head {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.85rem;
  align-items: center;
  min-height: 112px;
  grid-column: 1 / 2;
}

.team-photo-wrap {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  background: #e8effb;
  border: 1px solid #d3def2;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #5d6659;
  font-size: 1.8rem;
}

.team-meta h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.team-meta p {
  margin: 0.25rem 0 0;
  color: #607193;
  font-size: 0.93rem;
}

.team-languages {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e4f9f;
  background: #ecf3ff;
  border: 1px solid #cfdcf5;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  width: fit-content;
}

.team-mobile-contact-link {
  display: none;
  margin-top: 0.5rem;
  border: 1px solid #cfdcf5;
  background: #f2f7ff;
  color: #1e4f9f;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.team-qr-wrap {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  border-radius: 14px;
  border: 1px dashed #c5d8f6;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.5rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.3rem;
  width: fit-content;
  min-height: 112px;
  box-sizing: border-box;
}

.team-qr-wrap span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #5f6b5f;
}

.team-qr,
.team-qr-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #000;
  border: 1px solid #2b2b2b;
}

.team-qr {
  object-fit: contain;
  object-position: center;
  padding: 0.3rem;
}

.team-qr-placeholder {
  display: grid;
  place-items: center;
  color: #9aa79a;
  font-size: 1.7rem;
}


@media (max-width: 580px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card-head {
    grid-template-columns: 100px 1fr;
    min-height: 100px;
  }

  .team-photo-wrap {
    width: 100px;
    height: 100px;
  }

  .team-qr-wrap {
    display: none;
  }

  .team-mobile-contact-link {
    display: inline-flex;
    align-items: center;
  }
}

.cta {
  padding-top: 1.8rem;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: linear-gradient(135deg, #143566 0%, #1f5fbf 100%);
  color: #f4fbf5;
  border-radius: 28px;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.cta-box p {
  color: rgba(244, 251, 245, 0.86);
}

.cta-content h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.contact-people-wrap {
  margin-top: 1rem;
}

.contact-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.contact-column-block {
  border-radius: 18px;
  border: 1px solid #d7e3f5;
  background: #f7faff;
  padding: 0.75rem;
  display: grid;
  gap: 0.6rem;
  width: 100%;
  min-width: 0;
}

.contact-column-title {
  margin: 0;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f5fbf 0%, #3f8cf8 100%);
  color: #fff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.2;
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.contact-column-list {
  display: grid;
  gap: 0.6rem;
  width: 100%;
  min-width: 0;
}

.contact-person-card {
  border-radius: 20px;
  border: 1px solid #d6e2f3;
  background: linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 14px 28px rgba(27, 56, 112, 0.12);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-person-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.contact-person-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.75rem;
  background: #ecf3ff;
  border: 1px solid #cfdcf5;
  display: grid;
  place-items: center;
  color: #1e4f9f;
  font-size: 1rem;
}

.contact-person-card h3 {
  margin: 0;
  color: #1a3158;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.02rem;
}

.contact-person-card h4 {
  margin: 0;
  color: #1a3158;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-person-body {
  display: grid;
  gap: 0.5rem;
}

.contact-person-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  font-size: 0.93rem;
  border-radius: 12px;
  border: 1px solid #d5e2f5;
  background: #fff;
  padding: 0.5rem 0.6rem;
  min-width: 0;
}

.contact-person-row i {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #ecf3ff;
  display: grid;
  place-items: center;
  color: #1f5fbf;
  flex-shrink: 0;
}

.contact-person-row a {
  color: #1c2b4a;
  text-decoration: underline;
  text-decoration-color: rgba(28, 43, 74, 0.3);
  text-underline-offset: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-map-wrap {
  margin-top: 1.1rem;
}

.contact-map-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(26, 62, 124, 0.22);
  box-shadow: var(--shadow);
  background: #fff;
}

.contact-map-frame {
  width: 100%;
  height: min(44vw, 360px);
  min-height: 250px;
  border: 0;
  display: block;
}

.cta-box .eyebrow {
  background: rgba(244, 251, 245, 0.2);
  color: #f5fff7;
}

.cta-form {
  display: grid;
  gap: 0.8rem;
}

.cta-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.cta-form input {
  width: 100%;
  min-height: 2.8rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0 0.85rem;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.cta-form .btn-primary {
  width: 100%;
  background: linear-gradient(120deg, #6da8ff, var(--accent));
  color: #132949;
  border: 0;
}

.cta-form-wpforms .wpforms-container {
  margin: 0;
  max-width: 100%;
}

.cta-form-wpforms .wpforms-form {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}

.cta-form-wpforms .wpforms-field {
  padding: 0;
}

.cta-form-wpforms .wpforms-container-full {
  margin: 0;
}

.cta-form-wpforms .wpforms-container-full .wpforms-form .wpforms-field-container {
  display: grid;
  gap: 0.8rem;
}

.cta-form-wpforms .wpforms-field-label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f4fbf5;
}

.cta-form-wpforms input[type="text"],
.cta-form-wpforms input[type="email"],
.cta-form-wpforms input[type="tel"],
.cta-form-wpforms input[type="number"],
.cta-form-wpforms textarea,
.cta-form-wpforms select {
  width: 100%;
  max-width: 100%;
  min-height: 2.8rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.55rem 0.85rem;
  box-sizing: border-box;
}

.cta-form-wpforms .wpforms-container-full input.wpforms-field-small,
.cta-form-wpforms .wpforms-container-full input.wpforms-field-medium,
.cta-form-wpforms .wpforms-container-full input.wpforms-field-large,
.cta-form-wpforms .wpforms-container-full select.wpforms-field-small,
.cta-form-wpforms .wpforms-container-full select.wpforms-field-medium,
.cta-form-wpforms .wpforms-container-full select.wpforms-field-large,
.cta-form-wpforms .wpforms-container-full textarea.wpforms-field-small,
.cta-form-wpforms .wpforms-container-full textarea.wpforms-field-medium,
.cta-form-wpforms .wpforms-container-full textarea.wpforms-field-large {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 2.8rem !important;
  border-radius: 0.8rem !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  padding: 0.55rem 0.85rem !important;
  box-sizing: border-box !important;
}

.cta-form-wpforms .wpforms-container-full .wpforms-field-label {
  color: #f4fbf5 !important;
}

.cta-form-wpforms .wpforms-container-full .wpforms-submit-container button,
.cta-form-wpforms .wpforms-container-full .wpforms-submit-container input[type="submit"],
.cta-form-wpforms .wpforms-container-full button.wpforms-submit {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 2.9rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  background: linear-gradient(120deg, #6da8ff, var(--accent)) !important;
  color: #132949 !important;
  box-sizing: border-box !important;
}

.cta-form-wpforms input::placeholder,
.cta-form-wpforms textarea::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.cta-form-wpforms .wpforms-field-required {
  color: #ffe4bd;
}

.cta-form-wpforms .wpforms-submit-container {
  padding: 0;
  margin: 0;
}

.cta-form-wpforms button[type="submit"],
.cta-form-wpforms input[type="submit"],
.cta-form-wpforms .wpforms-submit {
  width: 100%;
  max-width: 100%;
  min-height: 2.9rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(120deg, #6da8ff, var(--accent));
  color: #132949;
  box-sizing: border-box;
}

.cta-form-wpforms .wpforms-error {
  color: #ffe4bd;
}

.site-footer {
  margin-top: 4rem;
  background: #0f1f3d;
  color: #dbe8ff;
  padding-top: 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  color: #fff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.site-footer p {
  color: #bfd0ed;
}

.top-link {
  color: #93c1ff;
  font-weight: 700;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.2rem;
  padding: 0.9rem 0;
}

.copyright p {
  margin: 0;
  font-size: 0.88rem;
}

.content-area {
  padding-bottom: 2rem;
}

.compact-hero {
  padding: 3.5rem 0 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 540ms ease, transform 540ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .offering-grid,
  .team-grid,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .offering-card {
    grid-column: auto;
  }

}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    left: 4vw;
    right: 4vw;
    background: #fff;
    border: 1px solid #dde4d4;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.6rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav .menu-list {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav .menu-list a {
    display: block;
    padding: 0.5rem 0.6rem;
    border-radius: 0.55rem;
  }

  .main-nav .menu-list a:hover {
    background: #f2f6ef;
  }

  .site-header.is-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-grid,
  .split-grid,
  .feature-grid,
  .offering-grid,
  .team-grid,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .offering-card {
    grid-column: 1 / -1;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .landing-intro {
    min-height: calc(100svh - 70px);
    padding: 1.5rem 0;
  }

  .landing-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-intro-actions .btn {
    width: 100%;
  }
}

/* 🔥 KARTA */
.team-card {
  grid-template-columns: 1fr;
  position: relative;
  /* ❌ usuń overflow: hidden */
}

/* 🔥 QR – poprawne skalowanie */
.team-qr-wrap {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 92px;
  height: 92px; /* 🔥 ważne – kwadrat */
  min-height: auto;
}

.team-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🔥 nie ucina */
  display: block;
}

/* 🔥 miejsce na QR */
.team-card-head {
  padding-right: 110px;
  box-sizing: border-box;
}

/* 🔥 tekst */
.team-meta h3,
.team-meta p {
  white-space: nowrap;
}

/* brak zdjęcia */
.team-card-head:has(.team-photo-placeholder) {
  grid-template-columns: 1fr;
  padding-right: 110px;
}

.team-qr-wrap {
  opacity: 0.85;
  transition: 0.3s;
}

.team-card:hover .team-qr-wrap {
  opacity: 1;
  transform: scale(1.05);
}

.team-card-head:has(.team-photo-placeholder) {
  grid-template-columns: 1fr;
  padding-right: 110px;
}


