/* ==========================================================================
   Infinity Empire — one-pager
   Design tokens sourced from Figma variables
   ========================================================================== */

:root {
  /* Colors */
  --color-text: #222222;
  --color-text-light: #f9f7f2;
  --color-neutral-darker: #222222;
  --color-neutral-darkest: #18191a;
  --color-beige: #f3eee6;
  --color-light-beige: #f9f7f2;
  --color-white: #ffffff;
  --color-gold-1: #e3c277;
  --color-gold-2: #865a24;
  --color-stroke: #b9b5ae;
  --color-stroke-2: #565450;

  /* Typography */
  --font-heading: "kigelia-arabic", "Kigelia Arabic", "Optima", "Candara", "Segoe UI", sans-serif;
  --font-body: "parastoo", "Georgia", serif;

  --text-size-h1: 60px;
  --text-size-h2: 48px;
  --text-size-h3: 40px;
  --text-size-h4: 32px;
  --text-size-h5: 24px;
  --text-size-h6: 20px;
  --text-size-lg: 20px;
  --text-size-md: 18px;
  --text-size-rg: 16px;
  --text-size-sm: 14px;

  /* Layout */
  --container-large: 1440px;
  --padding-global: 64px;
  --padding-section-large: 112px;
  --max-width-xlarge: 1024px;
  --divider-width: 1px;

  /* Content container — single source of truth so every section aligns.
     1212px box - 2 × 34px padding = 1144px content (Figma content container). */
  --container-max: 1212px;
  --container-pad: 34px;
}

/* Fonts (kigelia-arabic heading + parastoo body) are served by Adobe Fonts —
   see the typekit <link> enqueued in functions.php (use.typekit.net/erh8upz.css). */

/* Reset / base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-size-rg);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-light-beige);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
}

.h1 { font-size: var(--text-size-h1); font-weight: 600; line-height: 1.2; }
.h2 { font-size: var(--text-size-h2); font-weight: 400; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; }
.h3 { font-size: var(--text-size-h3); font-weight: 400; line-height: 1.2; }
.h4 { font-size: var(--text-size-h4); font-weight: 600; line-height: 1.3; }
.h5 { font-size: var(--text-size-h5); font-weight: 600; line-height: 1.4; }
.h6 { font-size: var(--text-size-h6); font-weight: 600; line-height: 1.4; }

.tagline {
  font-family: var(--font-heading);
  font-size: var(--text-size-rg);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.label {
  font-family: var(--font-heading);
  font-size: var(--text-size-sm);
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.text-lg { font-size: var(--text-size-lg); }
.text-md { font-size: var(--text-size-md); }
.text-sm { font-size: var(--text-size-sm); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: var(--text-size-rg);
  line-height: 1.4;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn--dark {
  background: var(--color-neutral-darker);
  border-color: var(--color-neutral-darker);
  color: var(--color-text-light);
}
.btn--dark:hover {
  background: transparent;
  color: var(--color-neutral-darker);
}

.btn--white {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-neutral-darker);
}
.btn--white:hover {
  background: transparent;
  color: var(--color-white);
}

.btn--link {
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid currentColor;
}

.btn .btn__arrow {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  --nav-top: 0px;
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  z-index: 800;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 125px;
  padding: 0 34px;
  background: var(--color-beige);
  transition: transform 0.4s ease;
  will-change: transform;
}

.navbar.is-hidden {
  transform: translateY(calc(-100% - var(--nav-top)));
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links--right {
  justify-content: flex-end;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  font-family: var(--font-heading);
  font-size: var(--text-size-sm);
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--color-text);
}

.navbar__link--lang {
  gap: 4px;
  border-bottom: 1px solid var(--color-neutral-darker);
}

.navbar__link--lang img {
  width: 6px;
  height: 6px;
}

.navbar__link--menu img {
  width: 30px;
  height: 14px;
}

.navbar__menu-item {
  display: none;
}

.navbar__cta {
  padding: 9px 20px;
  font-size: var(--text-size-sm);
}

.navbar__logo img {
  width: 203px;
  height: 70px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--color-beige);
  /* 28px top gap + 125px fixed navbar + 28px gap to hero media */
  padding: 181px 34px 36px;
}

.hero__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 645px;
  background: url("../img/hero-bg.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.hero__bg,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg {
  z-index: 0;
}

.hero__video {
  z-index: 1;
}

.hero__content {
  position: relative;
}

.hero__content,
.hero__scroll,
.hero__scroll-line {
  z-index: 3;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
}

.hero__title {
  font-size: var(--text-size-h2);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text-light);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero__actions .btn--link {
  color: var(--color-white);
}

.hero__scroll-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 68px;
  background: var(--color-white);
}

.hero__scroll {
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-light);
}

/* ==========================================================================
   Kierunki inwestycyjne (destinations)
   ========================================================================== */

.label--gold {
  color: var(--color-gold-2);
}

/* Section eyebrows are Title Case in the design (e.g. "Kierunki Inwestycyjne"),
   unlike tags/names/scroll which are uppercase. */
.label--normal-case {
  text-transform: none;
  letter-spacing: 0;
}

/* ==========================================================================
   Manifest (pasek pod hero)
   ========================================================================== */

.manifest {
  background: var(--color-light-beige);
  padding: 73px 0;
}

.manifest__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  gap: 90px;
}

.manifest__logo {
  flex: 0 0 230px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifest__logo img {
  width: 100%;
  height: auto;
}

.manifest__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 824px;
}

.manifest__tagline {
  color: var(--color-gold-2);
}

.manifest__body {
  color: var(--color-gold-2);
}

.manifest__footnote {
  color: var(--color-gold-2);
}

@media (max-width: 820px) {
  .manifest {
    padding: 56px 0;
  }
  .manifest__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .manifest__logo {
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
  }
  .manifest__logo img {
    width: 100%;
  }
}

/* ==========================================================================
   Kierunki — lista pod kartami
   ========================================================================== */

.destinations {
  background: var(--color-beige);
  padding: 52px 0 49px;
}

.destinations__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 34px;
}

.destinations__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.destinations__lead {
  max-width: 465px;
  color: var(--color-neutral-darkest);
}

.destinations__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 70px;
}

.destinations__card {
  position: relative;
  aspect-ratio: 355 / 457;
  overflow: hidden;
}

.destinations__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destinations__tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 14px 9px;
}

.destinations__tag--gold {
  background: linear-gradient(90deg, var(--color-gold-1), var(--color-gold-2));
  color: var(--color-text-light);
}

.destinations__tag--white {
  background: var(--color-white);
  color: var(--color-text);
  padding: 6px 9px 9px;
}

.destinations__avatars {
  position: absolute;
  right: 14px;
  bottom: 8px;
  width: 67px;
  height: 59px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.destinations__avatars:focus-visible {
  outline: 2px solid var(--color-gold-1);
  outline-offset: 4px;
}

.destinations__avatar {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--color-beige);
}

.destinations__avatar img {
  width: 31px;
  height: 31px;
}

.destinations__count {
  position: absolute;
  top: 0;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--color-gold-1);
  color: var(--color-gold-2);
}

.destinations__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 24px;
  padding: 0 34px;
}

.destinations__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.destinations__numeral {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-size-rg);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.35;
}

.destinations__item .h5 {
  margin-top: -3px;
}

.destinations__cta {
  display: flex;
  align-items: center;
  gap: 38px;
}

.destinations__cta .btn--link {
  font-size: var(--text-size-rg);
  color: var(--color-neutral-darker);
}

.destinations__desc {
  color: var(--color-neutral-darkest);
  flex: 1 1 auto;
}

.destinations__cta {
  margin-top: 4px;
}

.destinations__cta--muted {
  color: var(--color-stroke-2);
  cursor: default;
  opacity: 0.6;
}

/* ==========================================================================
   Emiraty Arabskie (market slider)
   ========================================================================== */

.market {
  position: relative;
  background: var(--color-beige);
  padding: 88px 0 52px;
}

.market__arrow {
  position: absolute;
  top: calc(50% - 9px);
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  z-index: 2;
}

.market__arrow--prev { left: 34px; }
.market__arrow--next { right: 34px; }

.market__arrow img {
  width: 100%;
  height: 100%;
  transition: opacity 0.25s;
}

.market__arrow:hover img {
  opacity: 0.7;
}

.market__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 34px;
}

.market__slide {
  display: none;
}

.market__slide.is-active {
  display: flex;
  align-items: center;
  gap: 81px;
}

.market__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  flex: 0 0 562px;
}

.market__media-frame {
  position: relative;
  width: 100%;
}

.market__image {
  display: block;
  width: 100%;
  height: 628px;
  object-fit: cover;
}

.market__caption {
  position: absolute;
  top: 24px;
  left: 24px;
  max-width: 230px;
  color: var(--color-text);
  line-height: 1.5;
}

.market__slider-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.market__counter {
  color: var(--color-neutral-darker);
}

.market__progress {
  position: relative;
  width: 269px;
  height: 1px;
  background: var(--color-stroke);
}

.market__progress-fill {
  position: absolute;
  inset: -1px auto -1px 0;
  width: 33.33%;
  background: var(--color-neutral-darker);
  transition: left 0.4s ease;
}

.market__text {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 528px;
}

.market__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.market__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.market__copy p {
  max-width: 501px;
  color: var(--color-neutral-darker);
}

.market__divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-stroke);
}

.market__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.market__points li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--color-gold-2);
}

.market__points img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 3px;
}

.market__actions {
  display: flex;
  align-items: center;
  gap: 36px;
}

.market__actions .btn--link {
  color: var(--color-neutral-darker);
}

/* ==========================================================================
   O firmie w liczbach (numbers)
   ========================================================================== */

.label--gradient {
  background: linear-gradient(73deg, var(--color-gold-2) 0%, var(--color-gold-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.numbers {
  background: var(--color-neutral-darker);
  color: var(--color-beige);
  padding: 106px 0 78px;
}

.numbers__inner {
  display: flex;
  flex-direction: column;
  gap: 105px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 34px;
}

.numbers__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.numbers__heading .h3 {
  color: var(--color-beige);
}

.numbers__lead {
  max-width: 720px;
  margin-top: 6px;
  color: var(--color-stroke);
}

.numbers__metrics-wrap {
  display: flex;
  flex-direction: column;
  gap: 41px;
}

.numbers__divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-stroke-2);
}

.numbers__metrics {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.numbers__metric {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.numbers__metrics .numbers__metric + .numbers__metric {
  border-left: 1px solid var(--color-stroke-2);
  padding-left: 48px;
}

.numbers__value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-size-h1);
  line-height: 1.2;
}

.numbers__value sup {
  font-size: 38.7px;
  vertical-align: top;
  line-height: 1.2;
  margin-left: 5px;
}

.numbers__metric dd {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.numbers__tag {
  color: var(--color-gold-1);
  letter-spacing: 1px;
}

.numbers__detail {
  color: var(--color-beige);
}

/* ==========================================================================
   Mówią o nas (press logos)
   ========================================================================== */

.press {
  background: var(--color-white);
  padding: 121px 0;
}

.press__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 34px;
}

.press__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.press__lead {
  max-width: 760px;
  color: var(--color-stroke-2);
}

.press__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  list-style: none;
}

.press__logos img {
  width: 104px;
  height: 27px;
  object-fit: contain;
}

/* ==========================================================================
   Investment Club
   ========================================================================== */

.club {
  background: var(--color-beige);
  padding: 107px 0 76px;
}

.club__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 34px;
}

.club__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.club__content {
  display: flex;
  align-items: stretch;
  gap: 96px;
  margin-top: 56px;
}

.club__card {
  flex: 0 0 465px;
  background: var(--color-light-beige);
  padding: 40px;
  border-top: 1px solid var(--color-gold-1);
}

.club__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.club__points li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.club__points img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 3px;
}

.club__points span {
  color: var(--color-text);
}

.club__description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  flex: 1;
  max-width: 540px;
}

.club__description > p {
  color: var(--color-neutral-darker);
}

.club__highlight {
  color: var(--color-text);
  font-weight: 600;
}

.club__footnote {
  color: var(--color-gold-2);
  max-width: 460px;
}

.club__divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-stroke);
}

.club__actions {
  display: flex;
  align-items: center;
  gap: 36px;
}

.club__actions .btn--link {
  color: var(--color-neutral-darker);
}

/* ==========================================================================
   Licencje i certyfikaty
   ========================================================================== */

.licenses {
  position: relative;
  display: flex;
  align-items: center;
  height: 480px;
  background: var(--color-light-beige);
  overflow: hidden;
}

.licenses__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: auto;
  max-width: none;
  margin-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  margin-right: 0;
  padding: 0;
}

.licenses__titles {
  display: flex;
  flex-direction: column;
  gap: 46px;
  flex-shrink: 0;
  width: 204px;
}

.licenses__nav {
  display: flex;
  gap: 14px;
}

.licenses__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  transition: opacity 0.25s;
}

.licenses__nav-btn--next {
  background: var(--color-neutral-darkest);
}

.licenses__nav-btn:hover {
  opacity: 0.75;
}

.licenses__nav-btn img {
  width: 20px;
  height: 14px;
}

.licenses__carousel {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.licenses__carousel::-webkit-scrollbar {
  display: none;
}

.licenses__carousel img {
  height: 280px;
  width: auto;
  flex-shrink: 0;
}

/* ==========================================================================
   Dziennik Infinity (journal)
   ========================================================================== */

.journal {
  background: var(--color-white);
  padding: 60px 0;
}

.journal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 37px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 34px;
}

.journal__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.journal__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.journal__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.journal__image {
  position: relative;
  display: block;
  height: 429px;
  overflow: hidden;
}

.journal__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(102, 102, 102, 0) 46%, rgba(0, 0, 0, 0.6) 100%);
}

.journal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.journal__card:hover .journal__image img {
  transform: scale(1.04);
}

.journal__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 271px;
}

.journal__info .h6 {
  margin-top: -10px;
}

.journal__info .btn--link {
  color: var(--color-neutral-darker);
}

/* ==========================================================================
   Infinity Empire — o nas (dark)
   ========================================================================== */

.about {
  background: var(--color-neutral-darkest);
  color: var(--color-beige);
  padding: 121px 0 139px;
}

.about__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.about__title {
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--color-text-light);
}

.about__media {
  margin: 67px 34px 0;
  height: 595px;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media--video {
  height: auto;
  aspect-ratio: 16 / 9;
}

.about__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about__intro {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  max-width: var(--container-max);
  margin: 81px auto 0;
  padding: 0 34px;
}

.about__intro-left {
  max-width: 465px;
}

.about__intro-right {
  max-width: 495px;
  color: var(--color-gold-1);
}

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--container-max);
  margin: 60px auto 0;
  padding: 0 34px;
}

.about__card {
  position: relative;
  height: 203px;
  padding: 42px 17px 0;
  background: var(--color-neutral-darker);
}

.about__card::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 17px;
  right: 17px;
  border-top: 1px solid var(--color-stroke-2);
}

.about__card .h5 {
  color: var(--color-beige);
}

.about__card p {
  position: absolute;
  left: 16px;
  right: 96px;
  bottom: 24px;
  line-height: 1.2;
}

.about__actions {
  display: flex;
  justify-content: center;
  max-width: var(--container-max);
  margin: 64px auto 0;
  padding: 0 34px;
}

/* ==========================================================================
   Usługi (services)
   ========================================================================== */

.services {
  background: var(--color-beige);
  padding: 85px 0 34px;
}

.services__title {
  text-align: center;
}

.services__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: var(--container-max);
  margin: 79px auto 0;
  padding: 0 34px;
}

.services__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 308px;
  padding: 66px 37px 47px;
  transition: opacity 0.25s;
}

.services__card:hover {
  opacity: 0.92;
}

.services__card--light {
  background: var(--color-light-beige);
  color: var(--color-text);
}

.services__card--light .btn--link {
  color: var(--color-neutral-darker);
}

.services__card--dark {
  background: var(--color-neutral-darker);
  color: var(--color-text-light);
}

.services__card--dark .btn--link {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* ==========================================================================
   Założyciel (founder)
   ========================================================================== */

.founder {
  background: var(--color-beige);
  display: flex;
  align-items: center;
  min-height: 1005px;
  padding: 0;
}

.founder__inner {
  display: flex;
  align-items: center;
  gap: 117px;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 34px;
}

.founder__photo {
  flex: 0 0 562px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 748px;
  background: linear-gradient(197deg, #1f1f1f 2%, #151515 53%);
  overflow: hidden;
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder__text {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 465px;
}

.founder__heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founder__subtitle {
  background: linear-gradient(53deg, var(--color-gold-2) 0%, var(--color-gold-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.founder__body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.founder__body > p {
  color: var(--color-neutral-darker);
}

.founder__body > p + p {
  margin-top: -16px;
}

.founder__divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-stroke);
}

.founder__highlight {
  color: var(--color-gold-2) !important;
}

.founder__signature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   Kadra (team)
   ========================================================================== */

.label--gold-light {
  color: var(--color-gold-1);
}

.team {
  background: var(--color-neutral-darker);
  color: var(--color-beige);
  padding: 100px 0 70px;
}

.team__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.team__heading .h3 {
  color: var(--color-beige);
}

.team__lead {
  max-width: 880px;
  margin-top: 6px;
  color: var(--color-stroke);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 32px;
  row-gap: 80px;
  max-width: var(--container-max);
  margin: 80px auto 0;
  padding: 0 var(--container-pad);
}

.team__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  overflow: hidden;
}

.team__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 249 / 323;
}

.team__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(102, 102, 102, 0) 46%, rgba(0, 0, 0, 0.4) 100%);
}

.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.team__name {
  color: var(--color-gold-1);
}

.team__role {
  color: var(--color-beige);
}

.team__line {
  width: 32px;
  margin-top: 8px;
  border-top: 1px solid var(--color-stroke-2);
}

.team__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}

.team__contact a {
  color: var(--color-beige);
}

.team__contact a:hover {
  color: var(--color-gold-1);
}

/* ==========================================================================
   Galeria
   ========================================================================== */

.gallery {
  background: var(--color-neutral-darker);
  padding: var(--padding-section-large) 0;
}

.gallery__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.gallery__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.gallery__title {
  color: var(--color-text-light);
}

.gallery__lead {
  max-width: 760px;
  color: var(--color-stroke);
}

.gallery__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.gallery__main {
  position: relative;
  height: 695px;
}

.gallery__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__scrollbar {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  width: 114px;
  height: 26px;
  padding: 0 9px;
  border-radius: 1000px;
  background: rgba(240, 236, 229, 0.55);
  z-index: 2;
}

.gallery__scrollbar-thumb {
  width: 77%;
  height: 8px;
  border-radius: 1000px;
  background: var(--color-white);
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery__thumbs img {
  width: 100%;
  height: 209px;
  object-fit: cover;
}

/* ==========================================================================
   Formularz kontaktowy
   ========================================================================== */

.contact {
  background: var(--color-beige);
  padding: 84px 0;
}

.contact__inner {
  display: flex;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.contact__media {
  position: relative;
  flex: 1 1 773px;
  max-width: 773px;
  min-height: 566px;
  overflow: hidden;
}

.contact__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.contact__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(102, 102, 102, 0) 46%, rgba(0, 0, 0, 0.4) 100%);
}

.contact__panel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 523px;
  max-width: 100%;
  padding: 34px 36px 12px;
  background: var(--color-beige);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__panel .h4 {
  margin-bottom: -6px;
}

.contact__panel p {
  color: var(--color-neutral-darker);
  font-size: var(--text-size-sm);
  font-weight: 500;
  max-width: 495px;
}

.contact__divider {
  width: 100%;
  max-width: 495px;
  border: none;
  border-top: 1px solid var(--color-stroke);
  margin: 0;
}

.contact__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 495px;
}

.contact__details a {
  font-size: var(--text-size-md);
  color: var(--color-text);
}

.contact__details a + a {
  border-left: 1px solid var(--color-stroke);
  padding-left: 18px;
}

.contact__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact__whatsapp img {
  width: 18px;
  height: 18px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 0 0 512px;
  background: var(--color-light-beige);
  padding: 67px 34px;
  box-sizing: content-box;
  max-width: 512px;
}

.contact__row {
  display: flex;
  gap: 24px;
  width: 100%;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  width: 100%;
}

.contact__field--prefix {
  flex: 0 0 43px;
}

.contact__field label {
  font-size: var(--text-size-rg);
  color: var(--color-text);
}

.contact__field input {
  width: 100%;
  height: 35px;
  padding: 12px 0;
  font: inherit;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-stroke);
  border-radius: 0;
  outline: none;
}

.contact__field input::placeholder {
  color: var(--color-stroke-2);
}

.contact__field input:focus {
  border-bottom-color: var(--color-gold-2);
}

.contact__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  color: var(--color-neutral-darkest);
  cursor: pointer;
}

.contact__checkbox input {
  appearance: none;
  width: 13px;
  height: 13px;
  border: 1px solid var(--color-gold-2);
  background: var(--color-light-beige);
  flex-shrink: 0;
  cursor: pointer;
}

.contact__checkbox input:checked {
  background: var(--color-gold-2);
}

.contact__checkbox a {
  text-decoration: underline;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  background: var(--color-light-beige);
  padding: var(--padding-section-large) 0;
}

.faq__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: var(--container-max);
  padding: 0 var(--container-pad);
}

.faq__lead {
  max-width: 760px;
  color: var(--color-neutral-darker);
}

.faq__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--container-pad);
}

.faq__row {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  border-top: 1px solid var(--color-stroke);
  padding-top: 24px;
}

.faq__row--last {
  border-bottom: 1px solid var(--color-stroke);
  padding-bottom: 24px;
}

.faq__category {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 498px;
  height: 67px;
}

.faq__category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  flex-shrink: 0;
}

.faq__category-icon img {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}

.faq__category-icon--down img {
  transform: rotate(90deg);
}

.faq__list {
  flex: 1;
  max-width: 748px;
}

.faq__item + .faq__item {
  border-top: var(--divider-width) solid var(--color-stroke);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__q-label {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq__number {
  background: linear-gradient(83deg, var(--color-gold-2) 0%, var(--color-gold-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq__q-label .h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-size-h6);
  line-height: 1.4;
}

.faq__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transform: rotate(-90deg);
  transition: transform 0.25s;
}

.faq__item[open] .faq__chevron {
  transform: rotate(90deg);
}

.faq__answer {
  max-width: 698px;
  overflow: hidden;
}

.faq__answer-inner {
  padding-bottom: 24px;
}

.faq__answer p + p {
  margin-top: 1.5em;
}

.faq__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

.faq__cta .h4 {
  margin-bottom: -9px;
}

.faq__cta p {
  max-width: 624px;
}

/* ==========================================================================
   Article bar (WPROST)
   ========================================================================== */

.article-bar {
  background: var(--color-beige);
  padding: 48px 0;
}

.article-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 34px;
}

.article-bar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  max-width: 465px;
}

.article-bar__text .btn--link {
  color: var(--color-neutral-darker);
}

.article-bar__image {
  display: block;
  line-height: 0;
}

.article-bar__image img {
  width: 499px;
  height: 338px;
  object-fit: cover;
}

/* ==========================================================================
   Newsletter inline (przed stopką)
   ========================================================================== */

.newsletter-bar {
  background: var(--color-light-beige);
  padding: 96px 0;
}

.newsletter-bar__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.newsletter-bar__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 520px;
}

.newsletter-bar__body {
  color: var(--color-neutral-darkest);
}

.newsletter-bar__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 495px;
}

.newsletter-bar__note {
  color: var(--color-gold-2);
}

.newsletter-bar__feedback {
  font-size: var(--text-size-sm);
}

.newsletter-bar__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.newsletter-bar__field label {
  font-size: var(--text-size-rg);
}

.newsletter-bar__field input {
  border: none;
  border-bottom: 1px solid var(--color-stroke);
  background: transparent;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: var(--text-size-rg);
  color: var(--color-text);
}

.newsletter-bar__field input:focus {
  outline: none;
  border-color: var(--color-gold-2);
}

.newsletter-bar__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.newsletter-bar__checkbox input {
  margin-top: 3px;
  accent-color: var(--color-gold-2);
}

.newsletter-bar__checkbox a {
  text-decoration: underline;
}

.newsletter-bar__form .btn {
  align-self: flex-start;
}

@media (max-width: 820px) {
  .newsletter-bar {
    padding: 64px 0;
  }
  .newsletter-bar__inner {
    flex-direction: column;
    gap: 40px;
  }
  .newsletter-bar__intro,
  .newsletter-bar__form {
    max-width: 100%;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--color-white);
  padding: 48px 0 34px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer__links {
  display: flex;
  gap: 48px 64px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 298px;
  flex-shrink: 0;
}

.footer__brand img {
  width: 177px;
  height: 63px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__column--contact {
  flex: 1 1 auto;
  max-width: none;
  gap: 20px;
  align-items: flex-end;
}

.footer__column--contact ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 32px;
}

.footer__column-title {
  font-weight: 600;
  font-family: var(--font-body);
}

.footer__column li a {
  display: block;
  padding: 5px 0;
  white-space: nowrap;
}

.footer__column--contact li a {
  padding: 4px 0;
}

.footer__column li a:hover {
  color: var(--color-gold-2);
}

.footer__credits {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-stroke);
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer__legal a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .press__inner {
    flex-direction: column;
    gap: 40px;
  }

  .press__logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
  }

  .market__inner,
  .founder__inner {
    flex-direction: column;
    gap: 48px;
  }

  .market__media,
  .founder__photo {
    flex-basis: auto;
    width: 100%;
  }

  .founder__photo {
    max-height: 560px;
  }

  .club__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .about__intro {
    flex-direction: column;
    gap: 32px;
  }

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

  .contact {
    flex-direction: column;
  }

  .contact__form {
    flex-basis: auto;
    max-width: none;
    box-sizing: border-box;
    width: 100%;
  }

  .faq__row {
    flex-direction: column;
    gap: 8px;
  }

  .faq__category {
    flex-basis: auto;
    height: auto;
  }

  .licenses {
    height: auto;
    padding: 64px 0;
  }

  .licenses__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    max-width: none;
    margin-left: 0;
    padding: 0 16px;
  }

  .licenses__titles {
    width: auto;
  }

  .licenses__carousel {
    width: 100%;
  }

  .article-bar__inner {
    max-width: none;
  }
}

@media (max-width: 820px) {
  :root {
    --text-size-h1: 40px;
    --text-size-h2: 36px;
    --text-size-h3: 32px;
    --text-size-h4: 24px;
    --text-size-h5: 20px;
    --text-size-h6: 18px;
    --padding-global: 24px;
    --padding-section-large: 72px;
  }

  .navbar {
    --nav-top: 0px;
    grid-template-columns: auto 1fr;
    height: auto;
    padding: 12px 16px;
    gap: 16px;
  }

  .navbar__links:not(.navbar__links--right) {
    display: none;
  }

  .navbar__links--right {
    gap: 14px;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__menu-item {
    display: list-item;
  }

  .navbar__logo img {
    width: 150px;
    height: 52px;
  }

  .hero {
    /* 16px top gap + mobile navbar (~76px) + 16px gap to hero media */
    padding: 108px 16px 24px;
  }

  .hero__media {
    height: 520px;
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 16px;
  }

  .hero__scroll,
  .hero__scroll-line {
    display: none;
  }

  .destinations__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .destinations__row,
  .destinations__list {
    grid-template-columns: 1fr 1fr;
  }

  .destinations__card {
    aspect-ratio: 355 / 457;
  }

  .destinations__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .destinations__cta {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .destinations__cta .h6 {
    white-space: nowrap;
  }

  .market__arrow {
    display: none;
  }

  .market__image {
    height: 420px;
  }

  .market__inner {
    width: 100%;
    padding: 0 24px;
  }

  .market__slide,
  .market__slide.is-active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .market__slide + .market__slide {
    margin-top: 64px;
  }

  .market__media {
    flex: 0 0 auto;
    width: 100%;
  }

  .market__slider-meta {
    display: none;
  }

  .market__text,
  .market__body,
  .market__copy p {
    width: 100%;
    max-width: none;
  }

  .market__text {
    gap: 36px;
  }

  .market__progress {
    width: 180px;
  }

  .market__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .numbers__metrics {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .numbers__metrics .numbers__metric + .numbers__metric {
    border-left: none;
    padding-left: 0;
  }

  .club__content {
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
  }

  .club__card {
    flex: 0 0 auto;
    width: 100%;
  }

  .club__description {
    width: 100%;
    max-width: none;
  }

  .club__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .about__card {
    height: auto;
    padding-bottom: 24px;
  }

  .about__card p {
    position: static;
    margin-top: 32px;
  }

  .about__media {
    height: 320px;
  }

  .about__media--video {
    height: auto;
    aspect-ratio: 16 / 9;
  }

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

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 48px;
  }

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

  .gallery__main {
    height: 360px;
  }

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

  .gallery__thumbs img {
    height: 150px;
  }

  .contact__panel {
    position: static;
    width: auto;
    padding: 24px 0 0;
  }

  .contact {
    padding: 64px 0;
  }

  .contact__inner {
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
  }

  .contact__media {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    max-width: none;
  }

  .contact__media > img {
    position: static;
    height: 320px;
  }

  .contact__details {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact__details a + a {
    border-left: none;
    padding-left: 0;
  }

  .contact__form {
    padding: 40px 24px;
  }

  .contact__row {
    flex-direction: column;
    gap: 18px;
  }

  .contact__field--prefix {
    flex-basis: auto;
  }

  .article-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px;
  }

  .article-bar__image img {
    width: 100%;
    height: auto;
  }

  .footer__links {
    flex-wrap: wrap;
  }

  .footer__brand {
    width: 100%;
  }

  .footer__column--contact {
    width: 100%;
    align-items: flex-start;
  }

  .footer__column--contact ul {
    justify-content: flex-start;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder {
    min-height: 0;
    padding: 72px 0;
  }

  .founder__photo {
    height: 520px;
    max-height: none;
  }

  .founder__photo img {
    width: 100%;
  }

  .founder__text,
  .founder__body {
    width: 100%;
    max-width: none;
  }

  /* ----------------------------------------------------------------------
     Mobile content centering (authoritative — keep at end of query)
     ---------------------------------------------------------------------- */

  /* Section wrappers: center their children */
  .manifest__inner,
  .manifest__text,
  .destinations__header,
  .destinations__heading,
  .market__inner,
  .market__slide,
  .market__slide.is-active,
  .market__text,
  .market__heading,
  .market__body,
  .numbers__heading,
  .numbers__metric,
  .press__head,
  .club__content,
  .club__heading,
  .club__description,
  .licenses__inner,
  .licenses__titles,
  .journal__heading,
  .about__heading,
  .about__intro,
  .founder__text,
  .founder__heading,
  .founder__body,
  .team__heading,
  .gallery__head,
  .faq__head {
    align-items: center;
  }

  /* Text content centered */
  .manifest__text,
  .destinations__header,
  .destinations__heading,
  .market__heading,
  .market__body,
  .market__copy,
  .numbers__heading,
  .numbers__metric,
  .press__head,
  .club__heading,
  .club__description,
  .licenses__titles,
  .journal__heading,
  .about__heading,
  .about__intro,
  .about__intro-left,
  .about__intro-right,
  .founder__text,
  .founder__heading,
  .founder__body,
  .team__heading,
  .gallery__head,
  .faq__head {
    text-align: center;
  }

  /* Diamond checklists: center each row and its text */
  .market__points,
  .club__points {
    align-items: center;
  }

  .market__points li,
  .club__points li {
    justify-content: center;
    text-align: center;
  }

  /* CTA buttons centered (keep destinations__cta full-width row intact) */
  .market__actions,
  .club__actions,
  .about__actions {
    align-items: center;
  }
}

/* ==========================================================================
   Utilities / WordPress
   ========================================================================== */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--color-neutral-darker);
  color: var(--color-text-light);
  padding: 12px 20px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.text-gradient-gold {
  background: linear-gradient(40deg, var(--color-gold-2) 0%, var(--color-gold-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.admin-bar .navbar { top: calc(var(--nav-top) + 32px); }

.page-content {
  background: var(--color-light-beige);
  padding: calc(var(--padding-section-large) + 40px) var(--padding-global) var(--padding-section-large);
}
.content-area__inner {
  max-width: var(--max-width-xlarge);
  margin: 0 auto;
}
.page-content .page-header { margin-bottom: 32px; }
.page-content .entry { margin-bottom: 48px; }
.page-content a { text-decoration: underline; }

/* Contact / newsletter feedback */
.contact__feedback {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-stroke);
  border-radius: 4px;
  font-size: var(--text-size-sm);
  font-weight: 500;
  line-height: 1.4;
}
.contact__feedback--ok {
  border-color: var(--color-gold-2);
  background: rgba(134, 90, 36, 0.08);
  color: var(--color-gold-2);
}
.contact__feedback--err {
  border-color: #b23b3b;
  background: rgba(178, 59, 59, 0.08);
  color: #b23b3b;
}
.newsletter-pop__feedback { margin-bottom: 12px; font-size: var(--text-size-sm); }

/* ==========================================================================
   Mobile menu overlay + language dropdown
   ========================================================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--color-neutral-darkest);
  color: var(--color-text-light);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 820px) {
  .nav-overlay {
    display: flex;
  }
}
.nav-overlay__list { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.nav-overlay__list a {
  font-family: var(--font-heading);
  font-size: var(--text-size-h4);
  color: var(--color-text-light);
}
.nav-overlay__close {
  position: absolute;
  top: 32px;
  right: var(--padding-global);
  font-family: var(--font-heading);
  font-size: var(--text-size-h6);
  color: var(--color-text-light);
}

.navbar__link--lang { position: relative; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-stroke);
  min-width: 80px;
  display: none;
  flex-direction: column;
  z-index: 950;
}
.lang-dropdown.is-open { display: flex; }
.lang-dropdown a { padding: 8px 14px; font-size: var(--text-size-sm); }
.lang-dropdown a:hover { background: var(--color-beige); }

/* ==========================================================================
   Modal system
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 25, 26, 0.55);
  backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 936px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-light-beige);
  transform: translateY(16px) scale(0.99);
  transition: transform 0.3s ease;
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  z-index: 2;
  line-height: 0;
}
.modal__close img { width: 100%; height: 100%; }

/* ==========================================================================
   Lightbox (gallery + certificates)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(24, 25, 26, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 88vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__caption {
  color: var(--color-light-beige);
  font-size: var(--text-size-sm);
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-light-beige);
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background-color 0.25s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
  top: 28px;
  right: 28px;
  font-size: 24px;
}

.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.gallery__main img,
.gallery__thumbs img,
.licenses__carousel img {
  cursor: zoom-in;
}

@media (max-width: 820px) {
  .lightbox { padding: 24px; }
  .lightbox__close { top: 16px; right: 16px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 26px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
}

/* Newsletter popup */
.newsletter-pop {
  display: flex;
  align-items: center;
  gap: 37px;
  padding: 20px 34px 40px;
}
.newsletter-pop__brand { flex-shrink: 0; }
.newsletter-pop__brand img { width: 200px; height: auto; }
.newsletter-pop__form { display: flex; flex-direction: column; gap: 18px; max-width: 512px; width: 100%; }
.newsletter-pop__head { display: flex; flex-direction: column; gap: 12px; }
.newsletter-pop__head .text-md { color: var(--color-neutral-darker); }
.newsletter-pop__field { display: flex; flex-direction: column; gap: 6px; }
.newsletter-pop__field label { font-size: var(--text-size-rg); }
.newsletter-pop__field input {
  border: none;
  border-bottom: 1px solid var(--color-stroke);
  background: transparent;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: var(--text-size-rg);
  color: var(--color-text);
}
.newsletter-pop__field input:focus { outline: none; border-color: var(--color-gold-2); }
.newsletter-pop__checkbox { display: flex; align-items: flex-start; gap: 8px; }
.newsletter-pop__checkbox input { margin-top: 3px; accent-color: var(--color-gold-2); }
.newsletter-pop__checkbox a { text-decoration: underline; }
.newsletter-pop__form .btn { align-self: flex-start; }

/* Contact CTA popup — title + form only */
.modal__dialog--contact { max-width: 640px; }
.contact-pop {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 56px 48px 48px;
}
.contact-pop__title { max-width: 470px; }
.contact-pop__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.contact-pop__form .btn {
  align-self: flex-start;
  margin-top: 6px;
}
@media (max-width: 820px) {
  .contact-pop { padding: 56px 24px 32px; gap: 22px; }
}

/* Services popup — icon grid (Figma 14313:5465 light / 14313:5690 dark) */
.modal__dialog--services {
  max-width: 1070px;
  max-height: 92vh;
  overflow: auto;
}

.services-pop {
  position: relative;
  padding: 88px 75px 56px;
  text-align: center;
}

.services-pop__head {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.services-pop__eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-size-rg);
  letter-spacing: 0.02em;
  color: var(--color-gold-2);
}

.services-pop__title {
  font-family: var(--font-heading);
  font-size: var(--text-size-h2);
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
  color: var(--color-neutral-darker);
}

.services-pop__lead {
  max-width: 768px;
  line-height: 1.5;
  color: var(--color-neutral-darker);
}

.services-pop__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 55px;
  max-width: 905px;
  margin: 50px auto 0;
}

.services-pop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.services-pop__icon {
  width: 77px;
  height: 77px;
  flex: none;
}

.services-pop__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-pop__label {
  font-family: var(--font-heading);
  font-size: var(--text-size-rg);
  line-height: 1.2;
  color: var(--color-gold-2);
}

.services-pop__cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* Light variant (real estate) */
.services-pop--light {
  background: var(--color-light-beige);
}

/* Dark variant (administrative) */
.services-pop--dark {
  background: var(--color-neutral-darkest);
}
.services-pop--dark .services-pop__eyebrow { color: var(--color-gold-1); }
.services-pop--dark .services-pop__title { color: var(--color-text-light); }
.services-pop--dark .services-pop__lead { color: var(--color-text-light); }
.services-pop--dark .services-pop__label { color: var(--color-gold-1); }

/* Market team popup */
.market-team-pop { background: var(--color-beige); padding: 56px 64px 64px; }
.market-team-pop__head { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.market-team-pop__eyebrow { color: var(--color-gold-2); }
.market-team-pop__grid { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.market-team-pop__card { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 180px; text-align: center; }
.market-team-pop__photo { width: 101px; height: 101px; border-radius: 50%; overflow: hidden; border: 2px solid var(--color-gold-1); }
.market-team-pop__photo img { width: 100%; height: 100%; object-fit: cover; }
.market-team-pop__name { font-family: var(--font-heading); color: var(--color-gold-2); letter-spacing: 1px; font-size: var(--text-size-sm); }
.market-team-pop__role { color: var(--color-neutral-darkest); }
.market-team-pop__line { width: 32px; height: 1px; background: var(--color-gold-1); }
.market-team-pop__contact { display: flex; flex-direction: column; gap: 2px; }

@media (max-width: 1040px) {
  .services-pop { padding: 72px 40px 56px; }
  .services-pop__grid { gap: 36px 32px; }
}

@media (max-width: 820px) {
  .newsletter-pop { flex-direction: column; align-items: flex-start; padding: 16px 20px 32px; }
  .newsletter-pop__brand img { width: 140px; }
  .modal__dialog { max-height: 92vh; }
  .modal__close { top: 16px; right: 16px; width: 36px; height: 36px; }

  .services-pop { padding: 64px 24px 48px; }
  .services-pop__title { font-size: var(--text-size-h4); }
  .services-pop__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
    margin-top: 40px;
  }
  .services-pop__cta { margin-top: 40px; }

  .market-team-pop { padding: 48px 20px; }
  .market-team-pop__grid { gap: 32px; }
}

@media (max-width: 520px) {
  .services-pop__grid { grid-template-columns: repeat(2, 1fr); }
}
