/* Google Fonts - Kanit */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;700&display=swap');
/* Google Fonts - Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Bootstrap Icons - ensure font-display swap */
@font-face {
    font-family: "bootstrap-icons";
    src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/fonts/bootstrap-icons.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/fonts/bootstrap-icons.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
    --primary-dark: #1a1a2e;
    --primary-blue: #2c3e50;
    --accent-red: #e74c3c;
    --accent-green: #27ae60;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #12181e;
}

/* Screen Reader Only - Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Header Block */
.header {
    background-color: #00091f;
    color: white;
    padding: 1rem 0;
}

.header .navbar {
    position: relative;
}

.header__logo-mobile {
    display: none;
}

.header__logo-img {
    height: 40px;
    width: auto;
}

.header .navbar-toggler {
    margin-left: auto;
    order: 2;
}

.header .navbar-dark .navbar-nav .nav-link.header__nav-link {
    color: white;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.header .navbar-dark .navbar-nav .nav-link.header__nav-link:hover {
    color: #738193;
    transform: translateY(-3px);
}

.header .navbar-dark .navbar-nav .nav-link.header__nav-link--active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #d00000;
    transition: transform 0.3s ease;
}

.header .navbar-dark .navbar-nav .nav-link.header__nav-link--active:hover::before {
    transform: translateY(3px);
}

.header__phone-btn {
    background-color: #d00000;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
}

.header__phone-btn:hover {
    background-color: #8a181c;
    color: white;
}

/* Hero Block */
.hero {
    position: relative;
    background-color: #13181e;
    background-image: url('assets/img/homepage-main-section-background.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    padding: 3rem 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    min-height: 1200px;
    padding-top: 50px;
}

.hero__logo {
    margin-bottom: 2rem;
}

.hero__slogan {
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Section Block */
.section {
    padding: 3rem 0;
    color: white;
}

.section--dark {
    color: white;
    padding: 0 0 3rem 0;
}

.section--eco {
    padding: 0;
    background-color: white;
}

.section--map {
    padding: 0;
    background-color: #fff;
}

.section--map .container {
    padding: 3rem;
}

.section--map .section__title {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    position: relative;
    padding-left: 1.2rem;
    color: #12181e;
    padding-top: 0;
    padding-bottom: 0;
}

.section--map .section__title-bullet {
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    background-color: #d00000;
    display: inline-block;
    margin-right: 0;
    color: transparent;
}

.map-container {
    background-color: #eceeef;
    position: relative;
}

.google-map {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    border: 0;
}

.map-marker-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 10;
    pointer-events: none;
}

.map-marker {
    max-width: 60px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.section--eco .section__title {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    position: relative;
    padding-left: 1.2rem;
    color: #12181e;
}

.section--eco .section__title-bullet {
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    background-color: #d00000;
    display: inline-block;
    margin-right: 0;
    color: transparent;
}

.section--eco .col-lg-7 {
    padding: 3rem;
}

.section--eco .section--eco__col-7 {
    padding-left: 5rem;
    padding-right: 5rem;
}

.section--eco__label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #6b7785;
}

.section--about {
    color: #333;
    background-color: transparent;
    margin-top: -400px;
    z-index: 100;
    position: relative;
    padding-bottom: 1rem;
}

.section--about__container {
    background-color: white;
    padding: 3rem;
    margin: 0 auto;
}

/* Override Bootstrap container padding for investments section */
#investments .container {
    padding: 0;
}

#investments {
    background-image: url('assets/img/dot-background-dark.jpg');
    background-repeat: repeat-x;
    background-position: bottom;
}

.section__title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.section--about .section__title {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    position: relative;
    padding-left: 1.2rem;
    color: #12181e;
}

.section--about .section__title-bullet {
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    background-color: #d00000;
    display: inline-block;
    margin-right: 0;
    color: transparent;
}

.section--dark .section__title {
    color: white;
}

.section__title-bullet {
    color: var(--accent-red);
    display: inline-block;
    margin-right: 1rem;
}

/* Feature Block */
.feature {
    padding: 2rem 1rem;
    text-align: center;
}

.section--about .feature {
    text-align: left;
}

.section--about__link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.section--about__link:hover {
    color: #12181e;
    text-decoration: none;
    transform: translateX(10px);
}

.section--about__arrow {
    color: #b01f24;
    font-size: 1.5rem;
    font-weight: bold;
}

.feature__title {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: rgb(51, 51, 51);
}

.feature__subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.section--about .feature__subtitle {
    color: var(--primary-blue);
}

.feature__text {
    margin-bottom: 0;
    color: #333;
    text-align: justify;
}

.section--about .feature__text {
    color: #333;
}

/* Project Block */
.project__image {
    width: 100%;
    height: 300px;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project__image-img {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.project__thumbnail {
    width: 100%;
    height: 120px;
    background-color: #c0c0c0;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.project__description {
    font-size: 1.1rem;
    color: rgb(51, 51, 51);
    width: 100%;
    padding-right: 2rem;
    text-align: justify;
}

/* Investment Content */
.investment-content__header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.investment-content__header img {
    height: auto;
}

#volta-sign,
#szmaragdowe-sign {
    height: 82px;
    width: auto;
}

/* Logo Kruszewni w wersji białej na ciemnym tle */
#kruszewnia-logo.investment-content__logo--white {
    height: 90px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Logo Szmaragdowego – usunięcie czarnego tła (blend na ciemnym tle) */
.investment-content__logo--szmaragdowe {
    mix-blend-mode: lighten;
}

.investment-content__header-texts {
    display: flex;
    flex-direction: column;
}

.investment-content__title {
    margin-bottom: 0;
}

.investment-content__description {
    margin-bottom: 0;
    color: #909ca9;
    opacity: 1;
    text-align: left;
}

.investment-title-text,
.investment-text-content {
    transition: opacity 0.6s ease;
    opacity: 1;
}

/* Investment Content */
.investment-content__wrapper {
    position: relative;
    min-height: 350px;
    height: 350px;
}

.investment-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    visibility: hidden;
}

.investment-content--active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.investment-content--fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.investment-content__title {
    transition: opacity 0.6s ease;
    color: #909ca9;
}

.investment-content__description {
    transition: opacity 0.6s ease;
}

.investment-content__text {
    transition: opacity 0.6s ease;
    color: #909ca9;
    padding-top: 2.5rem;
    margin-bottom: 2rem;
    text-align: justify;
}

.investment-title-text,
.investment-description-text,
.investment-text-content {
    transition: opacity 0.6s ease;
    opacity: 1;
}

.investment-text-content {
    padding-top: 1.5rem;
}

/* Volta Section - same style as about section */
.section--volta {
    color: #333;
    background-color: white;
    background-image: url('assets/img/dot-background-light.jpg');
    background-repeat: repeat-x;
    background-position: top;
}

.section--volta__container {
    padding: 3rem;
    margin: 0 auto;
}

.section--volta .section__title {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    position: relative;
    padding-left: 1.2rem;
    color: #12181e;
}

.section--volta .section__title-bullet {
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    background-color: #d00000;
    display: inline-block;
    margin-right: 0;
    color: transparent;
}

/* Investment Slider */
.investment-slider {
    position: relative;
    width: 100%;
}

.investment-slider__main {
    width: 100%;
    overflow: visible;
    margin-bottom: 1rem;
    position: relative;
}

.investment-slider__images {
    position: relative;
    width: 100%;
}

.investment-slider__image {
    width: 100%;
    height: auto;
    display: block;
}

.investment-slider__image--top {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.investment-slider__image--bottom {
    position: relative;
    opacity: 1;
    z-index: 1;
    /* No transition - always visible, no fade in */
}

.investment-slider__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 15;
}

.investment-slider__progress-bar {
    height: 100%;
    width: 0%;
    background-color: white;
    transition: width 0.05s linear;
}

.investment-slider__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
    display: none;
}

.investment-slider__spinner.loading {
    display: block;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.investment-slider__thumbnails {
    position: absolute;
    bottom: 2px;
    right: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    z-index: 20;
    transform: translateY(50%);
}

.investment-slider__thumbnail {
    width: 120px;
    height: 80px;
    cursor: pointer;
    border-radius: 0;
    overflow: hidden;
    border: 4px solid transparent;
    transition: border-color 0.4s ease, filter 0.4s ease;
    opacity: 1;
    filter: brightness(0.5);
}

.investment-slider__thumbnail:hover {
    filter: brightness(0.7);
}

.investment-slider__thumbnail.active {
    border-color: white;
    filter: brightness(1);
    border-radius: 0;
}

.investment-slider__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stats Block */
.stats {
    background: white;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.stats__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    object-fit: contain;
}

.stats__number {
    font-size: 72px;
    font-weight: normal;
    color: #000;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'Kanit', sans-serif;
}

.stats__title {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #6b7785;
    text-transform: lowercase;
    font-weight: normal;
}

/* Button Block */
.btn {
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.btn--primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn--primary:hover {
    background-color: #1a252f;
    color: white;
}

.btn--apartments {
    background-color: #f5f5f5;
    color: #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 300px;
    text-decoration: none;
    position: relative;
    border: none;
    font-family: 'Kanit', sans-serif;
    font-size: 24px;
}

.btn--apartments__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
    font-size: 24px;
    text-transform: none;
    font-family: 'Kanit', sans-serif;
}

.btn--apartments__text span {
    display: block;
}

.btn--apartments__arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.btn--apartments:hover {
    background-color: #eeeeee;
    color: #000;
    text-decoration: none;
}

.btn--white {
    background-color: white;
    color: var(--primary-blue);
}

.btn--white:hover {
    background-color: #f0f0f0;
    color: var(--primary-blue);
}

.btn--investments {
    background-color: #142fb7;
    color: white;
    border-radius: 0;
    margin-top: 40px;
}

.btn--investments:hover {
    background-color: #0f2399;
    color: white;
}

.investment-content__button-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: right;
    margin-left: auto;
}

.row > .col-lg-3:has(.investment-content__button-wrapper) {
    align-self: flex-start;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    .header__logo-mobile {
        display: block;
        order: 1;
    }
    
    .header .navbar-toggler {
        order: 2;
    }
    
    #navbarNav {
        padding-top: 2rem;
    }
    
    .investment-content__button-wrapper {
        justify-content: center;
        margin: 0 auto;
        margin-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .row > .col-lg-3:has(.investment-content__button-wrapper) {
        align-self: center;
        text-align: center;
    }
    
    .footer__logo.img-fluid,
    .footer__logo .img-fluid {
        max-width: 70%;
    }
}

/* Contact Block */
.contact {
    margin: 2rem 0;
}

.contact-row {
    border: 1px solid #e6eae9;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    line-height: 2.8;
    background-color: #fff;
}

.contact-row-divider {
    background-color: #eceeef;
    height: 50px;
    background-image: url('assets/img/dot-background-light.jpg');
    background-position: bottom;
    background-repeat: repeat-x;
    width: 100%;
}

#home {
    padding-bottom: 0;
}

.section--building-future .contact-row {
    background-color: #fff;
}

/* Management Description */
.management-description {
    margin-bottom: 2rem;
    margin-top: 0;
    padding: 0 4rem 4rem 4rem;
    font-family: 'Open Sans', sans-serif;
    color: #2a3037;
    text-align: justify;
}

.management-description-details {
    gap: 2rem;
}

.main-contact-banner__item {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #fff;
    height: 100%;
}

.main-contact-banner__label {
    font-family: 'Kanit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2a3037;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-contact-banner__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #738193;
    line-height: 1.6;
    margin: 0;
}

.main-contact-banner__link {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #142fb7;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.main-contact-banner__link:hover {
    color: #0f2399;
    text-decoration: underline;
}

.contact__item {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Contact Form */
.contact-form {
    padding: 2rem 0;
}

.contact-form .form-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #2a3037;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form .form-control {
    border: 1px solid #6c757d;
    border-radius: 4px;
    padding: 0.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #142fb7;
    box-shadow: 0 0 0 0.2rem rgba(20, 47, 183, 0.25);
    outline: none;
}

.contact-form .form-check-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #2a3037;
}

.contact-form .form-check-input:checked {
    background-color: #142fb7;
    border-color: #142fb7;
}

.contact-form__status {
    margin-top: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}

.contact-form__status--pending {
    color: #6b7785;
}

.contact-form__status--success {
    color: #27ae60;
}

.contact-form__status--error {
    color: #d00000;
}

.contact__label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: normal;
    color: rgb(51, 51, 51);
}

.contact__link {
    color: #12181e;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    font-size: 26px;
}

.contact__link:hover {
    color: #738193;
}

/* Eco Block */
.eco__icon {
    width: 150px;
    height: 150px;
    background-color: #e8f5e9;
    border-radius: 50%;
    margin: 0 auto 2rem;
}

/* Footer Block */
.footer {
    background-color: #12181e;
    color: white;
    padding: 2rem 0 0;
    background-image: url('assets/img/dot-background-dark.jpg');
    background-position: top;
    background-repeat: repeat-x;
}

.footer__logo.img-fluid,
.footer__logo .img-fluid {
    max-width: 80%;
}

.footer__column {
    position: relative;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    width: fit-content;
    margin-bottom: 2rem;
}

.footer__column p {
    margin-bottom: 0;
    color: #738193;
}

.footer__column p:last-of-type {
    margin-top: 1.5rem;
}

.footer .row {
    position: relative;
}

.footer__column::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    background-color: #212d37;
    height: calc(100% + 2rem);
}

.footer__column--right {
    padding-left: 2rem;
}

.footer__column--first {
    padding-left: 2rem;
    padding-right: 8rem;
}

.footer__column--first p {
    font-weight: bold;
}

.footer__title {
    margin-bottom: 2rem;
    color: white;
    position: relative;
    padding-left: 1rem;
    font-family: 'Kanit', sans-serif;
    font-size: 1.25rem;
}

.footer__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 8px;
    background-color: #d00000;
}

.footer__link {
    color: white;
    text-decoration: none;
}

.footer__link:hover {
    color: var(--accent-red);
}

/* Footer: keep 4 columns below 1463px by reducing first column padding */
@media (max-width: 1463px) {
    .footer__column--first {
        padding-left: 1rem;
        padding-right: 2rem;
    }
    
    .footer__column {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Footer: mobile layout (stacked columns) below 1191px */
@media (max-width: 1190.98px) {
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer__column {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        text-align: center;
    }
    
    .footer__column--first {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .footer__title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
        display: inline-block;
        width: auto;
    }
    
    .footer .row {
        flex-direction: column;
    }
    
    .footer__column::before {
        display: none;
    }
    
    .footer__column p {
        text-align: center;
    }
    
    .footer__column a,
    .footer__link {
        text-align: center;
        display: block;
    }
}

/* Responsive */
/* Tablet and below */
@media (max-width: 991.98px) {
    .hero__content {
        min-height: 800px;
    }
    
    .section--about {
        margin-top: -200px;
    }
    
    .section--about__container {
        padding: 2rem 1.5rem;
    }
    
    .section--eco .col-lg-7 {
        padding: 3rem 4rem 3rem 3rem;
    }
    
    .investment-content__header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .investment-content__header img {
        width: auto;
        max-width: 200px;
    }
    
    .footer__column {
        padding-left: 2rem;
        padding-right: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer__column--first {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .contact-row {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .contact__item {
        margin-bottom: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section__title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
        background-size: contain;
    }
    
    .hero__content {
        min-height: 200px;
        padding-top: 30px;
    }
    
    .hero__logo {
        display: none;
    }
    
    .header .container-fluid {
        display: flex;
        justify-content: flex-end;
    }
    
    .header .navbar-toggler {
        margin-left: auto;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section--about {
        margin-top: -100px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .section--about__container {
        padding: 1.5rem 1rem;
    }
    
    .section--dark {
        padding: 0 0 2rem 0;
    }
    
    .feature {
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .feature__subtitle {
        font-size: 1rem;
    }
    
    .section--eco .col-lg-7 {
        padding: 3rem;
    }
    
    .section--eco .section--eco__col-7 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section--eco .col-lg-5 {
        padding: 2rem 1rem;
    }
    
    .section--eco img {
        width: 100%;
        height: auto;
    }
    
    .investment-slider__main {
        margin-bottom: 0;
    }
    
    .investment-slider__images {
        margin-bottom: 0;
    }
    
    .investment-slider__progress {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        height: 4px;
        margin-top: 0;
        margin-bottom: 1rem;
        order: 2;
    }
    
    .investment-slider__thumbnails {
        position: relative;
        bottom: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 0;
        gap: 0.5rem;
        order: 3;
    }
    
    .investment-slider__thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .investment-content__wrapper {
        min-height: 200px;
    }
    
    .investment-content__header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .investment-content__header img {
        width: auto;
        max-width: 150px;
        margin: 0 auto;
    }
    
    .investment-content__header-texts {
        align-items: center;
        text-align: center;
    }
    
    .investment-content__title {
        text-align: center;
    }
    
    .investment-content__description {
        text-align: center;
    }
    
    .investment-content__text {
        padding-top: 1.5rem;
        padding: 3rem;
        font-size: 0.95rem;
        text-align: justify;
    }
    
    .project__description {
        padding-right: 0;
        font-size: 1rem;
        text-align: justify;
    }
    
    .project__description.investment-content__description {
        text-align: center;
    }
    
    .stats {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    
    .stats__number {
        font-size: 56px;
    }
    
    .stats__icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .btn--apartments {
        height: 200px;
        font-size: 18px;
    }
    
    .btn--apartments__text {
        font-size: 18px;
    }
    
    .project__image {
        height: 250px;
        padding: 1.5rem;
    }
    
    .project__image-img {
        height: 150px;
    }
    
    .contact-row {
        flex-direction: column;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .contact__item {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .contact__label {
        font-size: 16px;
    }
    
    .contact__link {
        font-size: 22px;
    }
    
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer__column {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        text-align: center;
    }
    
    .footer__column--first {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .footer__title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
        display: inline-block;
        width: auto;
    }
    
    .footer .row {
        flex-direction: column;
    }
    
    .footer__column::before {
        display: none;
    }
    
    .footer__column p {
        text-align: center;
    }
    
    .footer__column a,
    .footer__link {
        text-align: center;
        display: block;
    }
    
    .header__phone-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .header .navbar {
        flex-wrap: wrap;
    }
    
    .header .navbar-toggler {
        margin-left: auto;
        order: 2;
    }
    
    .header .navbar-collapse {
        order: 3;
        width: 100%;
    }
    
    .section--about__link {
        font-size: 0.9rem;
    }
    
    .btn--investments {
        width: 100%;
        margin-top: 1rem;
    }
    
    .investment-content__button-wrapper {
        padding-top: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .section__title {
        font-size: 1.5rem;
    }
    
    .hero__content {
        min-height: 200px;
        padding-top: 20px;
    }
    
    .hero__logo {
        display: none;
    }
    
    .section--about {
        margin-top: -50px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .section--about__container {
        padding: 1rem;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .feature__title {
        font-size: 12px;
    }
    
    .feature__subtitle {
        font-size: 0.95rem;
    }
    
    .stats {
        height: 200px;
    }
    
    .stats__number {
        font-size: 48px;
    }
    
    .stats__icon {
        width: 2rem;
        height: 2rem;
    }
    
    .btn--apartments {
        height: 150px;
        font-size: 16px;
    }
    
    .project__image {
        height: 200px;
        padding: 1rem;
    }
    
    .project__image-img {
        height: 120px;
    }
    
    .contact__link {
        font-size: 20px;
    }
    
    .footer__column {
        padding: 1rem;
    }
    
    .investment-content__header img {
        max-width: 120px;
    }
    
    #volta-sign,
    #szmaragdowe-sign,
    #kruszewnia-logo.investment-content__logo--white {
        height: 60px;
    }
}

/* Main Content Container */
.main-content-container {
    background-image: url('assets/img/subpage-main-section-background.jpg');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

/* Hero Title Section */
.section--hero-title {
    padding: 4rem 0 0;
}

/* Contact Information Section */
.section--contact-info {
    padding: 2rem 0;
}

.contact-info__item {
    text-align: left;
    padding: 2rem 3rem;
}

.contact-info__title {
    font-family: 'Kanit', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-info__phone {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-info__phone:hover {
    color: #738193;
    text-decoration: underline;
}

.hero-image-row {
    background-color: #00091f;
    margin-top: -30px;
}

.hero-image-row .col-12 {
    padding-left: 30px;
    padding-right: 0;
    text-align: right;
}

.hero-logo-link {
    display: inline-block;
    margin-left: 30px;
}

.hero-logo {
    height: auto;
}

.hero-title {
    font-size: 2rem;
    color: #fff;
    font-family: 'Kanit', sans-serif;
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.breadcrumb-prefix {
    color: #6b7785;
    font-size: 0.9rem;
    padding-left: 1.25rem;
    display: inline-block;
    margin-right: 0.5rem;
}

.breadcrumb-text {
    color: #fff;
    opacity: 0.8;
    font-size: 0.9rem;
    list-style: none;
    padding: 0 0 1rem 0;
    margin: 0;
    display: inline-block;
}

.breadcrumb-text li {
    display: inline;
}

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

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

.hero-top-image {
    margin-top: 2rem;
    max-width: 100%;
    height: auto;
    display: block;
}

/* About Us Section */
.section--about-us {
    padding: 0;
    margin-top: 0;
}

.section--about-us__col-left,
.section--about-us__col-right {
    background-color: #fff;
    padding: 2rem;
}

.section--about-us__col-right {
    flex: 1;
    padding-bottom: 0;
}

.section--about-us__col-left {
    background-color: #00091f;
    padding: 0;
    flex: 0 0 29%;
    max-width: 29%;
}

/* Company Info */
.company-info {
    text-align: center;
    padding: 0;
    padding-left: 2rem;
    padding-bottom: 0;
}

.company-info__wrapper {
    padding: 2rem 2rem 1rem 2rem;
    border-left: 1px solid #1a2439;
    border-top: 4px solid #d00000;
}

.company-info__logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.company-info__name {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: 'Kanit', sans-serif;
    padding-top: 0;
}

.company-info__address {
    color: #738193;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

/* Contact Details */
.contact-details {
    border-bottom: 1px solid #1a2439;
    padding: 0;
}

.contact-details__item {
    background-image: url('assets/img/contact-details-item-background.jpg');
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid #1a2439;
    padding-left: 2rem;
}

.contact-details__item-wrapper {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 2rem;
    border-left: 1px solid #1a2439;
}

.contact-details__item i {
    font-size: 1.5rem;
    color: #d00000;
}

.contact-details__icon {
    width: 42px;
    flex-shrink: 0;
    color: #acb5cb;
    fill: #acb5cb;
    filter: brightness(1) saturate(1);
}

#contact-details__icon--raport {
    margin-left: 10px;
}

.contact-details__label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #aab3c7;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
}

.contact-details__phone {
    color: #738193;
    margin-bottom: 0.25rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

/* Inwestycje page-specific layout tweaks */
.page-inwestycje .section--about-us__col-left {
    display: flex;
}

.page-inwestycje .contact-details {
    display: flex;
    height: 100%;
    flex: 1;
}

.page-inwestycje .contact-details__item {
    background-position: center 30px;
    background-size: auto;
    background-repeat: no-repeat;
    height: 100%;
    display: flex;
    flex: 1;
}

/* Now Building Section */
.now-building {
    border-bottom: 1px solid #1a2439;
    position: relative;
}

.now-building .section-label--orange {
    position: absolute;
    z-index: 1;
}

.now-building__project {
    position: relative;
}

.now-building__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 100px;
    z-index: 2;
}

.now-building__content p {
    margin-bottom: 0;
}

.now-building__image {
    width: 100%;
}

.now-building__logo {
    max-width: 120px;
    margin-bottom: 0.5rem;
}

.now-building__title {
    font-family: 'Kanit', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #373232;
    margin-bottom: 0.25rem;
}

.now-building__subtitle {
    font-family: 'Kanit', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #666;
    margin-bottom: 1rem;
}

.now-building__button {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #97989a !important;
    color: #fff;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    padding: 1.5rem 2rem !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.now-building__button:hover {
    background-color: #7a7b7c !important;
    text-decoration: none !important;
}

/* Section Labels */
.section-label {
    display: block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 1rem;
    text-align: right;
}

.section-label--orange {
    background-color: #d00000;
    color: #fff;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    border-radius: 0;
    display: block;
    width: fit-content;
    font-size: 22px;
    text-align: right;
    margin-left: auto;
}

.section-label--gray + .section-label--orange {
    font-size: 16px;
    padding: 0.5rem 1.5rem;
}

.section-label--gray {
    background-color: #eceeef;
    color: #1a2439;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    border-radius: 0;
    display: block;
    width: fit-content;
    font-size: 22px;
    text-align: right;
    margin-left: auto;
}

.section-label__street {
    font-size: 0.8em;
    font-weight: 400;
}

/* Investment details table */
.investment-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.investment-details-wrapper {
    width: 100%;
    overflow-x: auto;
}

.investment-details th,
.investment-details td {
    padding: 0.5rem 1rem;
    vertical-align: top;
    font-size: 0.95rem;
}

.investment-details th {
    font-weight: 600;
    white-space: nowrap;
    padding-right: 1rem;
    letter-spacing: 0.03em;
    background-color: #eceeef;
}

.investment-details td {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.investment-details tr + tr th,
.investment-details tr + tr td {
    border-top: 1px solid #d4d7dc;
}

/* Full-width bar: label as direct child of right column */
.section--about-us__col-right > .section-label--gray {
    width: 100%;
    max-width: none;
}

/* Section Buttons */
.section-btn {
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-btn--orange {
    background-color: #d00000;
    color: #fff;
    font-family: 'Kanit', sans-serif;
    font-size: 30px;
}

.section-btn--orange:hover {
    background-color: #a00000;
}

.section-btn--new {
    background-color: #27ae60;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-btn--new:hover {
    background-color: #229954;
}

.section-btn--blue {
    background-color: #142fb7;
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.section-btn--blue:hover {
    background-color: #0f1f8a;
    text-decoration: none;
}

/* Company Description */
.company-description {
    padding: 3rem 4rem;
    font-family: 'Open Sans', sans-serif;
    color: #2a3037;
    text-align: justify;
}

/* Empiro Info */
.empiro-info {
    text-align: center;
    margin-bottom: 2rem;
}

.empiro-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
}

.empiro-info a:hover .empiro-logo {
    opacity: 0.8;
}

.company-description strong a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-description strong a:hover {
    color: #142fb7;
    text-decoration: underline;
}

.company-description p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Investment thumbnails (inwestycje.html gallery) */
.investment-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.investment-thumbnails a {
    display: block;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
}

.investment-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform 0.2s ease;
}

.investment-thumbnails a:hover img {
    transform: scale(1.05);
}

/* Statistics Section */
.statistics-section {
    margin-bottom: 2rem;
    padding-left: 4rem;
    padding-right: 4rem;
}

.statistics-section .section-label--orange {
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 0 !important;
    text-align: left;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.1rem;
    background-color: #e2e2e3;
}

.statistics-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.statistics-item:hover {
    background-color: #e9ecef;
}

.statistics-item__number {
    font-size: 2.5rem;
    font-weight: 500;
    color: #2a3037;
    margin-bottom: 0.5rem;
    font-family: 'Kanit', sans-serif;
    padding: 5rem 1.5rem 0rem;
}

.statistics-item__label {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0;
    padding-bottom: 5rem;
}

/* Building Future Section */
.section--building-future {
    text-align: center;
    padding: 0;
}

.section--building-future .container {
    background-color: #000920;
    padding: 0 4rem 4rem 4rem;
}

.section--building-future__title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: 'Open Sans', sans-serif;
}

.section--building-future__text {
    color: #738193;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Portfolio Section */
.section--portfolio {
    background-color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.section--portfolio__text {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.portfolio-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.portfolio-logos__item {
    max-width: 200px;
    height: 160px;
    object-fit: contain;
}

.portfolio-logos__item:last-child {
    height: 140px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-logo-link {
        display: none;
    }
    
    .hero-top-image {
        display: none;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-logos {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section--about-us__col-left {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .section--about-us__col-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .section--about-us__col-right > .section-label--gray {
        width: 100%;
    }
    
    .statistics-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .company-description {
        padding: 1rem;
        text-align: center;
    }
    
    .section--hero-title {
        padding: 2rem 0 2rem 0;
    }

    .section--building-future .section-label--orange {
        background-color: #d00000;
        color: #fff;
        font-family: 'Kanit', sans-serif;
        font-weight: 400;
        border-radius: 0;
        display: block;
        font-size: 22px;
        text-align: center;
    }
    
    .section--building-future .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section--building-future .section-label--orange {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .section--building-future__title {
        padding-top: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .section--building-future__text {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .statistics-section .section-label--orange {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .section--portfolio__text {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .management-description {
        margin-top: 0;
        padding: 0 1rem 1rem 1rem;
        text-align: center;
    }
    
    .management-description-details {
        gap: 1.5rem;
    }
    
    .main-contact-banner__item {
        padding: 1.5rem 1rem;
    }
    
    .main-contact-banner__label {
        font-size: 1rem;
    }
    
    .main-contact-banner__text,
    .main-contact-banner__link {
        font-size: 0.9rem;
    }
}
