@font-face {
  font-family: "Quilon";
  src: url("Fonts/WEB/fonts/Quilon-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quilon";
  src: url("Fonts/WEB/fonts/Quilon-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quilon";
  src: url("Fonts/WEB/fonts/Quilon-Regular.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quilon";
  src: url("Fonts/WEB/fonts/Quilon-Regular.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --real-burgundy: #971542;
  --real-burgundy-dark: #761735;
  --real-cream: #ffd0b8;
  --real-gray: #606060;
  --real-page-max: 1742px;
  --real-content-max: 1694px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--real-gray);
  font-family: "Quilon", Arial, sans-serif;
  overflow-x: hidden;
}

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

.container-fluid,
.container-xl {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.container-xl {
  max-width: var(--real-page-max);
}

.px-3 {
  padding-right: 1rem;
  padding-left: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  --real-gutter-x: 0;
  --real-gutter-y: 0;
  margin-top: calc(-1 * var(--real-gutter-y));
  margin-right: calc(-0.5 * var(--real-gutter-x));
  margin-left: calc(-0.5 * var(--real-gutter-x));
}

.row > * {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  margin-top: var(--real-gutter-y);
  padding-right: calc(var(--real-gutter-x) * 0.5);
  padding-left: calc(var(--real-gutter-x) * 0.5);
}

.g-4 {
  --real-gutter-x: 1.5rem;
  --real-gutter-y: 1.5rem;
}

.gy-4 {
  --real-gutter-y: 1.5rem;
}

.gy-5 {
  --real-gutter-y: 3rem;
}

.col-6 {
  width: 50%;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.justify-content-center {
  justify-content: center;
}

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

.mb-1 {
  margin-bottom: 0.25rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.fw-bold {
  font-weight: 700;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-collapse {
  display: flex;
}

.navbar-toggler {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #999;
  border-radius: 6px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.navbar-toggler-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: #555;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #555;
  content: "";
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.real-navbar {
  min-height: 72px;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.real-navbar .container-fluid {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  padding-right: 40px !important;
  padding-left: 40px !important;
}

.real-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
}

.real-navbar .navbar-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.real-navbar .navbar-collapse {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: max-content;
  transform: translate(-50%, -50%);
}

.real-navbar .nav-link {
  color: #222;
  font-size: 0.88rem;
  font-weight: 400;
  padding-top: 0.25rem;
  padding-right: 0.62rem;
  padding-bottom: 0.25rem;
  padding-left: 0.62rem;
}

.real-navbar .nav-link:hover {
  color: var(--real-burgundy);
}

.eu-funding {
  position: absolute;
  top: 50%;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #222;
  font-size: 0.44rem;
  font-weight: 600;
  line-height: 1.08;
  text-align: right;
  white-space: nowrap;
  transform: translateY(-50%);
}

.eu-funding img {
  display: block;
  width: 42px;
  height: auto;
}

.hero-section {
  margin-top: 72px;
  background: var(--real-burgundy);
  overflow: hidden;
}

.hero-section img {
  display: block;
  width: 100%;
  height: auto;
}

.project-strip {
  border-bottom: 1px solid var(--real-burgundy);
  padding: 28px 0 32px;
}

.project-strip-item {
  text-align: center;
}

.project-strip-item a,
.investment-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-strip-item a:focus-visible,
.investment-card:focus-visible {
  border-radius: 8px;
  outline: 2px solid var(--real-burgundy);
  outline-offset: 6px;
}

.project-strip-item img {
  width: min(236px, 78%);
  height: 84px;
  object-fit: contain;
  filter: grayscale(1);
}

.project-strip-item p {
  margin: 10px 0 0;
  font-size: clamp(0.72rem, 0.86vw, 1rem);
}

.steps-section {
  padding: 82px 0 86px;
}

.steps-section .container-xl {
  max-width: var(--real-content-max);
  width: min(calc(100% - clamp(36px, 6.15vw, 226px)), var(--real-content-max));
}

.section-heading h1,
.section-heading h2,
.investments-section h2,
.offices-section h2 {
  margin: 0;
  color: var(--real-gray);
  font-family: "Quilon", Arial, sans-serif;
  font-size: clamp(2rem, 2.86vw, 3.44rem);
  font-weight: 400;
  line-height: 1.05;
}

.section-heading p {
  margin: 8px 0 0;
  font-size: clamp(1.05rem, 1.62vw, 1.94rem);
  line-height: 1.15;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  margin-top: 90px;
}

.step-item {
  position: relative;
  text-align: center;
}

.step-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.step-item p {
  max-width: 118px;
  margin: 18px auto 0;
  font-size: clamp(0.72rem, 0.75vw, 0.9rem);
  line-height: 1.08;
}

.step-item span {
  position: absolute;
  top: 26px;
  right: -16px;
  color: var(--real-burgundy);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-section {
  background: linear-gradient(180deg, var(--real-burgundy), var(--real-burgundy-dark));
  color: #fff;
  padding: 122px 0 109px;
}

.event-section .container-xl {
  max-width: var(--real-content-max);
  width: min(calc(100% - clamp(36px, 6.15vw, 226px)), var(--real-content-max));
}

.event-section > .container-xl > .row {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  column-gap: clamp(32px, 3vw, 53px);
  margin: 0;
}

.event-section > .container-xl > .row > * {
  width: auto;
  margin: 0;
  padding: 0;
}

.event-section h2 {
  margin: 0 0 26px;
  color: #fff;
  font-family: "Quilon", Arial, sans-serif;
  font-size: clamp(2rem, 3.02vw, 3.63rem);
  font-weight: 400;
  line-height: 1.04;
}

.event-section p,
.event-section address {
  font-size: clamp(1rem, 1.04vw, 1.25rem);
  line-height: 1.22;
}

.event-section address {
  margin: 14px 0 28px;
  font-style: normal;
}

.event-date {
  margin-top: 34px;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem) !important;
  font-weight: 700;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin: 8px 0 18px;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
}

.phone-link span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--real-burgundy);
  font-size: 1.35rem;
}

.register-copy {
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 1.38vw, 1.34rem) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.event-form {
  display: flex;
  flex-direction: column;
  min-height: 776px;
  border: 2px solid var(--real-cream);
  border-radius: 46px;
  padding: 63px 76px 69px;
}

.event-form > p {
  margin-bottom: 42px;
  font-size: clamp(1.65rem, 1.94vw, 2.33rem);
  line-height: 1.12;
}

.event-form h2 {
  font-family: "Quilon", Arial, sans-serif;
  font-weight: 400;
}

.event-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 58px;
  row-gap: 24px;
  margin: 0;
}

.event-form .row > * {
  width: auto;
  margin: 0;
  padding: 0;
}

.event-form .form-label {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
}

.event-form .form-control {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 8px 0 10px;
  font: inherit;
  font-size: 1.08rem;
}

.event-form select.form-control {
  cursor: pointer;
}

.event-form select.form-control option {
  color: #4f4f4f;
}

.event-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.event-form .form-control:focus {
  border-color: var(--real-cream);
  box-shadow: none;
}

.event-form .form-check-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.25;
}

.event-form .form-check-label a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-form .form-check-label a:focus-visible {
  border-radius: 3px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.event-form .marketing-consent-copy {
  margin: 14px 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.3;
}

.form-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 44px;
}

.form-check + .form-check {
  margin-top: 4px;
}

.event-form .form-check-input {
  position: absolute;
  left: -11px;
  top: -10px;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.event-form .form-check-label {
  position: relative;
  min-height: 44px;
  padding-left: 34px;
  cursor: pointer;
}

.event-form .form-check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--real-cream);
  border-radius: 4px;
  background: #fff;
}

.event-form .form-check-label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid var(--real-burgundy);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
}

.event-form .form-check-input:checked + .form-check-label::before {
  background-color: var(--real-cream);
}

.event-form .form-check-input:checked + .form-check-label::after {
  opacity: 1;
}

.event-form .form-check-input:focus-visible + .form-check-label::before {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.form-alert {
  display: grid;
  gap: 3px;
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.form-alert-success {
  background: rgba(255, 255, 255, 0.95);
  color: var(--real-burgundy);
}

.form-alert-error {
  background: #ffe7dd;
  color: #761735;
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.btn-real {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 177px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  margin-left: auto;
  background: var(--real-cream);
  color: var(--real-burgundy);
  font-family: "Quilon", Arial, sans-serif;
  font-size: 1.62rem;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}

.event-form .btn-real {
  margin-top: auto;
}

.video-frame {
  width: min(1781px, calc(100vw - 138px));
  max-width: 1781px;
  margin: 93px 0 0 50%;
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
}

.video-frame iframe {
  border: 0;
}

.color-bar {
  height: 19px;
  background-image: url("assets/RealDay_DO_pasek%20kolor.png");
  background-size: cover;
  background-position: center;
}

.investments-section {
  padding: 90px 0 48px;
}

.investments-section .container-xl {
  max-width: var(--real-page-max);
  width: min(calc(100% - clamp(36px, 6.15vw, 178px)), var(--real-page-max));
}

.investments-section h2 {
  margin-left: 24px;
}

.investments-section h2,
.offices-section h2 {
  margin-bottom: 50px;
  font-size: clamp(1.45rem, 2.86vw, 3.44rem);
}

.investments-section .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 43px;
  margin: 0;
}

.investments-section .row > * {
  width: auto;
  margin: 0;
  padding: 0;
}

.investment-card {
  text-align: center;
}

.investment-card:hover .investment-photo,
.investment-card:focus-visible .investment-photo {
  filter: saturate(1.08) contrast(1.03);
}

.investment-photo {
  display: block;
  width: 100%;
  aspect-ratio: 403 / 410;
  border-radius: 12px;
  object-fit: cover;
}

.investment-logo {
  width: min(142px, 60%);
  height: 63px;
  margin-top: 68px;
  object-fit: contain;
  filter: grayscale(1);
}

.offices-section {
  padding: 58px 0 0;
}

.offices-section .container-xl {
  max-width: var(--real-content-max);
  width: min(calc(100% - clamp(36px, 6.15vw, 226px)), var(--real-content-max));
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 102px;
  margin: 0;
}

.offices-grid > * {
  width: 100%;
  margin: 0;
  padding: 0;
}

.offices-grid .offset-xl-4 {
  grid-column: 2;
  margin-left: 0;
}

.office-card h3 {
  margin-bottom: 8px;
  color: #6b6b6b;
  font-size: clamp(0.78rem, 1.08vw, 1.3rem);
  font-weight: 600;
  line-height: 1.08;
}

.office-card p {
  margin: 0;
  color: #6c6c6c;
  font-size: clamp(0.68rem, 1.04vw, 1.31rem);
  line-height: 1.08;
}

.coffee-footer {
  padding: 252px 0 0;
}

.coffee-footer .container-xl {
  max-width: var(--real-content-max);
  width: min(calc(100% - clamp(36px, 6.15vw, 226px)), var(--real-content-max));
}

.coffee-box {
  position: relative;
  display: flex;
  max-width: 914px;
  min-height: 148px;
  align-items: center;
  justify-content: flex-end;
  border: 2px solid var(--real-cream);
  border-radius: 20px;
  margin: 0 auto;
  padding: 26px 62px 26px 300px;
}

.coffee-box img {
  position: absolute;
  left: 34px;
  bottom: -54px;
  width: min(286px, 16vw);
  height: auto;
}

.coffee-box h2 {
  margin: 0;
  color: var(--real-gray);
  font-family: "Quilon", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.25vw, 2.65rem);
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.cookie-settings-link {
  display: block;
  border: 0;
  margin: 82px auto 0;
  padding: 0;
  background: transparent;
  color: var(--real-gray);
  font-family: "Quilon", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.cookie-settings-link:focus-visible,
.cookie-btn:focus-visible,
.cookie-modal-close:focus-visible {
  outline: 2px solid var(--real-burgundy);
  outline-offset: 3px;
}

.cookie-settings-link[hidden],
.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  max-width: 1120px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(151, 21, 66, 0.24);
  border-radius: 8px;
  margin: 0 auto;
  padding: 20px 22px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  color: var(--real-gray);
}

.cookie-banner h2 {
  margin: 0 0 6px;
  color: var(--real-burgundy);
  font-size: 1.1rem;
  font-weight: 600;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.cookie-banner-actions,
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  min-height: 44px;
  border: 1px solid var(--real-burgundy);
  border-radius: 4px;
  padding: 10px 18px;
  background: #fff;
  color: var(--real-burgundy);
  font-family: "Quilon", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
}

.cookie-btn-primary {
  background: var(--real-burgundy);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2010;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.42);
}

.cookie-modal-panel {
  width: min(610px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 2px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  color: #000;
}

.cookie-modal-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 28px;
  margin-bottom: 20px;
}

.cookie-modal h2 {
  margin: 0;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
}

.cookie-modal p {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.45;
}

.cookie-policy-link {
  color: #004db6;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.cookie-policy-link:hover {
  text-decoration: underline;
}

.cookie-modal-close {
  position: absolute;
  top: -10px;
  right: -4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #000;
  font-family: "Quilon", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.cookie-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 2px solid #d2d2d2;
  margin-bottom: 24px;
}

.cookie-tab {
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 8px 10px;
  background: transparent;
  color: #000;
  font-family: "Quilon", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.05;
  cursor: pointer;
}

.cookie-tab.is-active {
  border-color: #0052be;
  color: #0052be;
}

.cookie-tab:focus-visible {
  outline: 2px solid #0052be;
  outline-offset: 2px;
}

.cookie-tab-panel h3 {
  border-bottom: 2px solid #0052be;
  margin: 0 0 20px;
  padding-bottom: 8px;
  color: #0052be;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.cookie-tab-panel a {
  color: #004db6;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-list-content,
.cookie-policy-content {
  max-height: min(380px, 44vh);
  overflow: auto;
  padding-right: 8px;
}

.cookie-list-content > p,
.cookie-policy-content .cookie-policy-updated {
  margin-bottom: 18px;
  color: #555;
  font-size: 0.9rem;
}

.cookie-list-content .cookie-policy-updated {
  margin-bottom: 22px;
  color: #555;
  font-size: 0.9rem;
}

.cookie-entry {
  border-top: 1px solid #d8d8d8;
  padding: 18px 0 16px;
}

.cookie-entry h3 {
  border: 0;
  margin: 0 0 10px;
  padding: 0;
  color: #000;
  font-size: 1rem;
  text-align: left;
}

.cookie-entry dl {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 5px 12px;
  margin: 0 0 12px;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.35;
}

.cookie-entry dt {
  font-weight: 700;
}

.cookie-entry dd {
  margin: 0;
}

.cookie-entry p {
  margin: 0;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-policy-content h3 {
  border: 0;
  margin: 20px 0 8px;
  padding: 0;
  color: #000;
  font-size: 1rem;
  text-align: left;
}

.cookie-policy-content h4 {
  margin: 12px 0 6px;
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
}

.cookie-policy-content p {
  margin-bottom: 14px;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-policy-content ul {
  margin: 0 0 16px 20px;
  padding: 0;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-policy-content li + li {
  margin-top: 5px;
}

.cookie-category {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #e0e0e0;
  margin-bottom: 30px;
  padding: 12px 16px 12px 20px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

.cookie-category input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-category strong {
  display: block;
  margin-bottom: 4px;
  color: #000;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
}

.cookie-category em {
  display: block;
  color: #555;
  font-size: 0.95rem;
  font-style: normal;
}

.cookie-switch {
  position: relative;
  width: 52px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #edf3fb;
  box-shadow: inset 0 0 0 2px #dce7f5;
}

.cookie-switch::after {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b7cae6;
  content: "";
  transition: transform 0.18s ease, background 0.18s ease;
}

.cookie-category input:checked + .cookie-switch::after {
  background: #0052be;
  transform: translateX(26px);
}

.cookie-category input:disabled + .cookie-switch {
  opacity: 0.62;
}

.cookie-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.cookie-modal-actions .cookie-btn {
  width: 100%;
  min-height: 40px;
  border-color: #0753be;
  border-radius: 0;
  background: #0753be;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
}

.cookie-modal-actions .cookie-btn:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 992px) {
  .px-lg-5 {
    padding-right: 3rem;
    padding-left: 3rem;
  }

  .col-lg-3 {
    width: 25%;
  }

  .col-lg-5 {
    width: 41.66666667%;
  }

  .col-lg-7 {
    width: 58.33333333%;
  }

  .gap-lg-3 {
    gap: 1rem;
  }
}

@media (min-width: 1200px) {
  .gx-xl-5 {
    --real-gutter-x: 3rem;
  }

  .col-xl-3 {
    width: 25%;
  }

  .col-xl-4 {
    width: 33.33333333%;
  }

  .offset-xl-4 {
    margin-left: 33.33333333%;
  }
}

.investments-section .row > article,
.offices-grid > .office-card {
  width: 100%;
  max-width: none;
}

@media (max-width: 1199.98px) {
  .eu-funding {
    display: none;
  }

  .real-navbar {
    min-height: 54px;
  }

  .real-navbar .container-fluid {
    min-height: 54px;
    flex-wrap: wrap;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .real-navbar .navbar-brand {
    min-width: 44px;
    min-height: 44px;
  }

  .real-navbar .navbar-brand img {
    width: 38px;
    height: 38px;
  }

  .navbar-toggler {
    display: flex;
    margin-left: auto;
  }

  .real-navbar .navbar-collapse {
    position: static;
    display: none;
    flex-basis: 100%;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 8px;
    padding-top: 10px;
    transform: none;
  }

  .real-navbar .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0 !important;
    padding-bottom: 8px;
  }

  .real-navbar .nav-link {
    display: block;
    min-height: 44px;
    padding: 10px 0;
  }

  .hero-section {
    margin-top: 54px;
  }
}

@media (max-width: 991.98px) {
  .eu-funding {
    display: none;
  }

  .real-navbar {
    min-height: 54px;
  }

  .real-navbar .container-fluid {
    min-height: 54px;
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: flex;
    margin-left: auto;
  }

  .navbar-collapse {
    display: none;
    flex-basis: 100%;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
  }

  .hero-section {
    margin-top: 54px;
  }

  .project-strip {
    padding: 24px 0 26px;
  }

  .project-strip-item img {
    width: min(170px, 76%);
    height: 64px;
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 42px;
    margin-top: 56px;
  }

  .steps-section,
  .investments-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .steps-section .container-xl,
  .investments-section .container-xl,
  .offices-section .container-xl,
  .coffee-footer .container-xl {
    width: 100%;
  }

  .step-item img {
    width: 72px;
    height: 72px;
  }

  .step-item span {
    display: none;
  }

  .real-navbar .navbar-collapse {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 12px;
    padding-top: 10px;
  }

  .event-section {
    padding: 68px 18px 72px;
  }

  .event-section .container-xl {
    width: 100%;
  }

  .event-section > .container-xl > .row {
    grid-template-columns: 1fr;
    row-gap: 46px;
  }

  .event-form {
    border-radius: 30px;
    padding: 34px 34px 36px;
  }

  .event-form .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }

  .video-frame {
    width: 100%;
    margin-top: 52px;
    margin-left: 0;
    transform: none;
  }

  .investments-section {
    padding-top: 68px;
  }

  .investments-section h2 {
    margin-left: 0;
  }

  .investments-section .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .investment-logo {
    margin-top: 20px;
  }

  .offices-section {
    padding: 42px 18px 0;
  }

  .offices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }

  .offices-grid .offset-xl-4 {
    grid-column: auto;
  }

  .coffee-footer {
    padding: 86px 18px 56px;
  }

  .coffee-box {
    max-width: 680px;
    min-height: 118px;
    padding-left: 176px;
  }

  .coffee-box img {
    width: min(184px, 22vw);
  }

  .btn-real {
    width: 100%;
  }

  .cookie-settings-link {
    margin-top: 58px;
  }
}

@media (max-width: 767.98px) {
  .project-strip-item img {
    height: 58px;
  }

  .steps-section {
    padding-block: 44px 52px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
    margin-top: 44px;
  }

  .event-section {
    padding-block: 52px 60px;
  }

  .event-form {
    min-height: 0;
    padding: 30px 26px 32px;
  }

  .event-form .row {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .event-form > p {
    margin-bottom: 28px;
  }

  .investments-section {
    padding: 54px 18px 34px;
  }

  .investments-section .row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .investment-logo {
    width: min(118px, 60%);
    height: 54px;
    margin-top: 14px;
  }

  .offices-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .coffee-footer {
    padding-top: 86px;
  }

  .coffee-box {
    display: block;
    min-height: 0;
    padding: 126px 20px 32px;
  }

  .coffee-box img {
    left: 50%;
    top: -96px;
    bottom: auto;
    width: 150px;
    transform: translateX(-50%);
  }

  .coffee-box h2 {
    white-space: normal;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 18px;
  }

  .cookie-banner-actions {
    justify-content: stretch;
    margin-top: 14px;
  }

  .cookie-banner-actions .cookie-btn,
  .cookie-modal-actions .cookie-btn {
    flex: 1 1 100%;
  }

  .cookie-modal {
    padding: 14px;
  }

  .cookie-modal-panel {
    max-height: calc(100vh - 28px);
    padding: 18px;
  }

  .cookie-modal-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-right: 30px;
    margin-bottom: 16px;
  }

  .cookie-modal-close {
    top: -8px;
    right: -2px;
    margin-top: 0;
  }

  .cookie-policy-link {
    font-size: 0.92rem;
  }

  .cookie-tabs {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .cookie-tab {
    border-bottom-color: #d2d2d2;
    min-height: 44px;
    font-size: 0.86rem;
    text-align: left;
  }

  .cookie-category {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 12px;
  }

  .cookie-category em {
    font-size: 0.88rem;
  }

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

  .cookie-settings-link {
    margin-top: 44px;
  }
}

@media (max-width: 340px) {

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

/* Przystań Młynek features above the investment cards. */
.investment-features { padding: 80px 0 124px; background: #fff; }
.investment-features-grid {
  width: min(calc(100% - clamp(40px, 16vw, 204px)), var(--real-content-max));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: clamp(48px, 8vw, 128px);
}
.investment-features-logo {
  display: block; width: 270px; max-width: 100%; height: 86px;
  object-fit: contain; object-position: left center;
}
.investment-features-logo--piano { width: 220px; }
.investment-features-project h2 {
  min-height: 0; margin: 34px 0 40px;
  font-size: clamp(21px, 1.9vw, 28px); font-weight: 600; line-height: 1.3;
}
.investment-features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); row-gap: 18px; margin: 0; padding: 0; list-style: none; }
.investment-features-list li {
  display: grid; grid-template-columns: 54px minmax(0, 1fr);
  align-items: center; gap: 26px; min-height: 54px; font-size: 16px; line-height: 1.25;
}
.investment-features-list img { display: block; width: 54px; height: 54px; }
@media (max-width: 767px) {
  .investment-features { padding: 52px 0 64px; }
  .investment-features-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .investment-features-project h2 { min-height: 0; margin: 26px 0 30px; }
  .investment-features-project h2 br { display: none; }
  .investment-features-list { grid-template-columns: minmax(0, 1fr); }
  .investment-features-list li { gap: 18px; }
}
.event-benefits {
  padding-left: 1.3em;
  margin: 0 0 1em;
  font-size: clamp(1rem, 1.04vw, 1.25rem);
  line-height: 1.22;
}
.event-benefits li + li { margin-top: 0.65em; }
.event-footnote {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}
/* October open day: five benefits below the hero banner. */
.mlynek-benefits {
  --benefit-icon: clamp(110px, 8.85vw, 170px);
  --benefit-top: clamp(24px, 1.87vw, 36px);
  padding: var(--benefit-top) 24px 28px;
  background: linear-gradient(to bottom, #fff 0, #fff calc(var(--benefit-top) + var(--benefit-icon) * .46), #405e95 calc(var(--benefit-top) + var(--benefit-icon) * .46), #405e95 100%);
}
.mlynek-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1920px;
  margin: 0 auto;
}
.mlynek-benefit { min-width: 0; text-align: center; }
.mlynek-benefit img {
  display: block;
  width: var(--benefit-icon);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 28px;
}
.mlynek-benefit h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(17px, 1.33vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}
.mlynek-benefit p {
  margin: 0;
  color: #b7d9ee;
  font-size: clamp(15px, 1.02vw, 19px);
  line-height: 1.25;
}
@media (min-width: 1000px) {
  .mlynek-benefit h2 { min-height: 2.4em; display: grid; align-items: center; }
}
@media (min-width: 1600px) {
  .mlynek-benefit h2 { min-height: 0; }
}
@media (max-width: 999px) {
  .mlynek-benefits { --benefit-icon: 120px; padding-bottom: 30px; }
  .mlynek-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .mlynek-benefit:last-child { grid-column: 1 / -1; }
  .mlynek-benefit img { margin-bottom: 17px; }
  .mlynek-benefit h2 { font-size: 19px; margin-bottom: 10px; }
  .mlynek-benefit p { font-size: 16px; }
}
@media (max-width: 479px) {
  .mlynek-benefits-grid { grid-template-columns: minmax(0, 1fr); }
  .mlynek-benefit:last-child { grid-column: auto; }
}
/* Art-directed banners retain the full composition at every breakpoint. */
.hero-picture { display: block; }
.hero-picture img { max-width: 100%; height: auto; }

/* Mirabelkowa Eko photo gallery. */
.estate-gallery { padding: 64px 0; background: #fff; }
.estate-gallery-container { width: min(calc(100% - 48px), var(--real-content-max)); margin: 0 auto; }
.estate-gallery h2 { margin: 0 0 32px; font-size: clamp(26px, 2.4vw, 40px); }
.estate-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.estate-gallery-item { display: block; border-radius: 12px; overflow: hidden; }
.estate-gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.estate-gallery-item:focus-visible { outline: 3px solid var(--real-burgundy); outline-offset: 4px; }
.estate-lightbox { width: min(1200px, 96vw); max-width: 96vw; max-height: 94vh; padding: 56px 20px 20px; border: 0; border-radius: 12px; background: #181818; color: #fff; }
.estate-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.estate-lightbox figure { margin: 0; }
.estate-lightbox-image { display: block; width: 100%; height: min(65vh, 800px); object-fit: contain; }
.estate-lightbox-caption { margin: 12px 0; text-align: center; font-size: 16px; }
.estate-lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #777; border-radius: 6px; background: #292929; color: #fff; cursor: pointer; font-size: 24px; }
.estate-lightbox button:focus-visible { outline: 3px solid #ffd0b8; outline-offset: 3px; }
.estate-lightbox-close { position: absolute; right: 12px; top: 8px; }
.estate-lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 24px; }
body.gallery-is-open { overflow: hidden; }
@media (max-width: 999px) { .estate-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .estate-gallery { padding: 40px 0; } .estate-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .estate-gallery-container { width: calc(100% - 32px); } }
@media (max-width: 379px) { .estate-gallery-grid { grid-template-columns: minmax(0, 1fr); } }
