:root {
    /* Paleta kolorów */
    --grey: #eeeeee;
    --dark-grey: #242424;
    --light-dark-grey: #3C3C3C;
    --white: #fff;
    --black: #000;
    --gold-light: #DBC29C;
    --gold-dark: #9C7A57;
    --gold-gradient: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
    --gold-gradient-hover: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    --gradient-transparent: linear-gradient(135deg, rgba(224, 186, 129, .90) 0%, rgba(0, 0, 0, .8) 45%);
    --font-family: "Roboto Condensed", sans-serif;
    --section-padding: 4rem 5vw 4.5rem 5vw;
    --section-max-width: 1600px;
    --title-size: clamp(1.7rem, 4vw + 1.2rem, 2.6rem);
    --big-title-size: clamp(3.1rem, 4vw + 1.2rem, 4rem);
    --small-title-size: clamp(.5rem, 1vw + .8rem, 1.5rem);
    --title-weight: 600;
    --title-color: transparent;
    --text-size: clamp(1rem, 2vw + .6rem, 1.35rem);
    --small-text-size: 1rem;
    --text-weight: 300;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background: var(--white);
    color: var(--black);
    margin: 0;
    padding: 0;
}


/* NAV MENU SECTION */

header {
    color: var(--white);
    position: fixed;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: auto;
    z-index: 17;
}

header.scrolled {
    background: #181818;
    box-shadow: 0 4px 16px #0002;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    width: 10rem;
    padding: 1rem 0 0.6rem 0.5rem;
}

.nav-links {
    display: flex;
    text-transform: uppercase;
    list-style: none;
    padding: 0;
    gap: 3rem;
    position: relative;
}

.nav-links>li {
    position: relative;
    padding: 1rem 0;
    font-weight: var(--text-weight);
}

.nav-links li a {
    color: var(--white);
    font-size: var(--small-text-size);
    font-weight: var(--text-weight);
    text-decoration: none;
}

.nav-links li i {
    margin-left: .5rem;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    z-index: 50;
    display: none;
    flex-direction: column;
    list-style: none;
    background-color: var(--dark-grey);
    border-radius: .7rem;
    padding: 0;
    min-width: 12rem;
}

.nav-links>li:hover>.nav-dropdown {
    display: flex;
}

.nav-links>li:hover>a .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

.nav-links>li>a .fa-chevron-down {
    transition: transform 0.3s;
}

.nav-dropdown li {
    display: flex;
}

.nav-dropdown li a {
    padding: .8rem 1.5rem;
    text-transform: none;
    width: 100%;
    border-radius: .5rem;
    transition: background-color .2s ease;
    transition: color .2s ease;
}

.nav-dropdown li a:hover {
    color: var(--gold-light);
    background-color: var(--light-dark-grey);
}


/* HAMBURGER SIDEBAR SECTION */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: .32rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    display: block;
    height: .25rem;
    background: var(--white);
    border-radius: .1rem;
    transition: .3s;
}

.sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 35%;
    min-width: 20rem;
    height: 100vh;
    background: var(--dark-grey);
    z-index: 120;
    padding: 3rem 1rem 1rem 1rem;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateX(100%);
    pointer-events: none;
    opacity: 0;
}

.sidebar.open {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    margin: 0;
    padding: 1rem;
}

.sidebar-links li {
    list-style: none;
    position: relative;
    text-transform: uppercase;
    font-weight: 200;
    width: 100%;
}

.sidebar-links li a {
    color: var(--white);
    text-decoration: none;
    font-size: var(--small-text-size);
    padding: 0.8rem 1rem;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    transition: background .2s, color .2s;
    font-weight: 500;
}

.sidebar-links li a i {
    margin-left: .5rem;
}

.sidebar-links li a:hover {
    color: var(--gold-light);
}

.sidebar-links .nav-dropdown {
    display: none;
    flex-direction: column;
    background: var(--light-dark-grey);
    margin-top: .4rem;
    border-radius: .6rem;
    box-shadow: 0 2px 6px #0001;
    padding: 0;
    position: static;
}

.sidebar-links .nav-dropdown li a {
    font-size: var(--small-text-size);
    font-weight: var(--text-weight);
    padding-left: 1.5rem;
}

.sidebar-europe {
    display: flex;
    padding: 1.5rem;
}

.sidebar-europe img {
    height: 2.5rem;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4;
}

.sidebar.open~.sidebar-backdrop {
    display: block;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    position: absolute;
    top: 1.7rem;
    right: 1.7rem;
    cursor: pointer;
    z-index: 130;
    transition: color 0.2s;
}

.sidebar-close:hover {
    color: var(--gold-light);
}

@media (max-width: 1000px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .europe {
        display: none;
    }
    .sidebar {
        display: flex;
    }
}


/* HERO SECTION */

.hero-bg-wrapper {
    position: relative;
    height: calc(100vh);
    overflow: hidden;
}

.hero-bg-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    -webkit-filter: grayscale(80%)
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    background: var(--gradient-transparent);
    pointer-events: none;
}

.hero-section>* {
    z-index: 3;
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    color: var(--white);
    font-family: 'Roboto Condensed';
    text-align: center;
    height: 100vh;
    box-sizing: border-box;
    padding: 2rem;
}

.hero-top {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-text h2 {
    font-size: var(--title-size);
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    word-break: break-word;
}

.hero-text p {
    font-size: var(--text-size);
    font-weight: var(--title-weight);
    margin: 1rem auto 0 auto;
    text-align: center;
    line-height: 1.5;
}

.hero-logo {
    width: min(80vw, 30rem);
    max-width: 576px;
    height: auto;
    margin: auto;
    display: block;
    transition: width 0.2s;
}

.hero-top p {
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    margin: 0;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.hero-more {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-more span {
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.hero-slider {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 30rem;
    font-weight: 300;
}

.hero-slider-text {
    height: 9rem;
    font-size: var(--small-text-size);
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: inline;
}

.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: var(--text-size);
}

.slider-arrow {
    cursor: pointer;
}

.slider-dot {
    display: inline-block;
    width: .8rem;
    height: .8rem;
    background: var(--white);
    border-radius: 50%;
    margin: 0 .5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.slider-dot.active {
    background: var(--gold-gradient);
}

.hero-socials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.5rem;
}

.hero-socials img {
    height: 5rem;
}

.hero-socials a {
    color: var(--white);
    text-decoration: none;
}


/* WELCOME SECTION */

.section {
    width: 100%;
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: var(--title-size);
    font-family: var(--font-family);
    background: var(--gold-gradient);
    color: var(--title-color);
    font-weight: var(--title-weight);
    text-align: center;
    background-clip: text;
    text-transform: uppercase;
    margin: 0;
}

.title-underline {
    width: 50%;
    height: .15rem;
    border: none;
    background: var(--grey);
    margin: 3rem auto;
}

.wrapper.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--section-max-width);
    height: 20rem;
    margin: 0 auto;
    gap: 5rem;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.35;
    width: 100%;
    height: 100%;
    min-height: 20rem;
    color: var(--dark-grey);
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    gap: 1rem;
}

.text-container {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

.cta-button-container {
    display: flex;
    justify-content: flex-start;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    min-height: 20rem;
    flex: 1 1 40%;
    min-width: 40%;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.cta-button {
    position: relative;
    overflow: hidden;
    display: flex;
    padding: .8rem 2rem;
    font-size: var(--text-size);
    width: fit-content;
    font-weight: 600;
    border: none;
    border-radius: 1rem;
    color: var(--white);
    background: var(--gold-gradient);
    text-decoration: none;
    transition: color 0.22s, box-shadow 0.22s;
    cursor: pointer;
    z-index: 1;
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(45deg, var(--gold-dark) 0%, var(--gold-light) 40%, var(--gold-dark) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(.5, .2, .7, 1), background-position 0.9s cubic-bezier(.45, .7, .4, 1);
    border-radius: 1rem;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.cta-button:hover::before,
.cta-button:focus::before {
    opacity: 1;
    background-position: 0 0;
}

.cta-button:hover,
.cta-button:focus {
    box-shadow: 0 4px 20px #e7dacf33;
}

@media (max-width: 1000px) {
    .wrapper.row {
        flex-direction: column-reverse;
        gap: 2.3rem;
        height: 100%;
        max-height: 45rem;
    }
    .img-wrapper {
        height: auto;
        min-height: auto;
    }
    .text {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .cta-button-container {
        margin-top: 4rem;
        justify-content: center;
    }
    .text {
        text-align: center;
    }
}


/* SERVICES SECTION */

.services-section {
    background: var(--grey);
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5rem 2.5rem;
    width: 100%;
    max-width: var(--section-max-width);
    margin: auto;
    justify-content: center;
}

.service-card {
    display: flex;
    gap: 2rem;
}

.service-icon-wrapper {
    flex-shrink: 0;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon {
    width: 10.5rem;
    height: 10.5rem;
    object-fit: contain;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-title {
    font-family: var(--font-family);
    text-transform: uppercase;
    font-size: var(--small-title-size);
    font-weight: var(--title-weight);
    color: var(--dark-grey);
    text-transform: uppercase;
}

.service-content p {
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    color: var(--dark-grey);
}

.service-link {
    color: var(--title-color);
    background: var(--gold-gradient-hover);
    background-clip: text;
    text-decoration: none;
    font-weight: var(--title-weight);
    font-size: var(--text-size);
    transition: color 0.15s;
}

.service-link:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

@media (max-width: 800px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 4rem 0;
    }
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        gap: 3rem;
    }
}


/* BENEFITS SECTION */

.benefits-section {
    background: var(--dark-grey);
    color: var(--white);
    text-align: center;
}

.benefits-section .subtitle {
    max-width: 65vh;
    margin: 0 auto 5rem auto;
    color: var(--white);
    font-size: var(--text-size);
    font-weight: var(--text-weight);
}

.benefits-grid {
    display: grid;
    grid-template-areas: "benefit-topleft center benefit-topright" "benefit-bottomleft center benefit-bottomright";
    grid-template-columns: 1fr 22rem 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem 2.5rem;
    align-items: start;
    justify-content: center;
    max-width: var(--section-max-width);
    margin: 0 auto;
    position: relative;
}

.benefit--top-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-area: benefit-topleft;
    justify-self: end;
    text-align: right;
}

.benefit--top-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-area: benefit-topright;
    justify-self: start;
    text-align: left;
}

.benefit--bottom-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-area: benefit-bottomleft;
    justify-self: end;
    text-align: right;
}

.benefit--bottom-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-area: benefit-bottomright;
    justify-self: start;
    text-align: left;
}

.benefit-title {
    color: var(--white);
    font-family: var(--font-family);
    font-weight: var(--title-weight);
    font-size: var(--small-title-size);
    text-transform: uppercase;
    border-right: .15rem solid var(--gold-light);
    padding-right: 1.5rem;
}

.benefit--top-right .benefit-title,
.benefit--bottom-right .benefit-title {
    border-left: .15rem solid var(--gold-light);
    border-right: none;
    padding-left: 1.5rem;
    padding-right: 0;
}

.benefit-desc {
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    color: var(--white);
    line-height: 1.25;
}

.benefits-center {
    grid-area: center;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.benefit-center-circle {
    flex-shrink: 0;
    background: var(--gold-gradient);
    width: 17rem;
    height: 17rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-center-circle img {
    width: 13rem;
    height: 13rem;
    object-fit: contain;
    display: block;
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-areas: "center center" "benefit-topleft benefit-topright" "benefit-bottomleft benefit-bottomright";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem 1rem;
        max-width: 98vw;
        align-items: start;
    }
    .benefit {
        text-align: center;
        gap: 2.5rem;
        border: solid .1rem var(--gold-light);
        padding: 1rem;
        border-radius: 1rem;
        height: 100%;
    }
    .benefits-section .subtitle {
        margin: 0 auto 3rem auto;
    }
    .benefits-center {
        margin-bottom: 2rem;
    }
    .benefit--top-right .benefit-title,
    .benefit--bottom-right .benefit-title,
    .benefit--top-left .benefit-title,
    .benefit--bottom-left .benefit-title {
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
    }
    .benefit-title {
        border: none;
        order-bottom: .15rem solid var(--gold-light);
    }
}

@media (max-width: 500px) {
    .benefits-grid {
        grid-template-areas: "center" "benefit-topleft" "benefit-topright" "benefit-bottomleft" "benefit-bottomright";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 1.5rem 0;
    }
}


/* TESTIMONIALS SECTION */

.testimonials-section {
    background: var(--white);
    width: 100%;
}

.testimonials-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--section-max-width);
    height: 100%;
    gap: 0 1.5rem;
    margin: 3rem auto 0 auto;
}

.testimonial.card {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.129);
    padding: 2rem;
    width: 100%;
    height: 20rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
    min-height: max-content;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    background: var(--grey);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -2rem;
    left: 2rem;
    box-shadow: 0 8px 18px #bda06d20;
    z-index: 22;
}

.testimonial-avatar img {
    width: 2.3rem;
    height: 2.3rem;
    object-fit: contain;
    opacity: 0.8;
}

.testimonial-quote-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 70%;
    height: 70%;
    background-repeat: no-repeat;
    background-position: right top;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-style: italic;
    position: relative;
    z-index: 2;
    width: 100%;
    font-size: var(--text-size);
    font-weight: var(--text-weight);
}

.testimonial-divider {
    border: none;
    border-top: .15rem solid var(--gold-light);
    margin: 2rem 0;
    width: 100%;
    opacity: 0.7;
}

.testimonial-author {
    font-size: var(--text-size);
    font-weight: var(--title-weight);
}

@media (max-width: 900px) {
    .testimonials-list {
        grid-template-columns: 1fr 1fr;
        gap: 4rem 2rem;
    }
    .testimonial.card:nth-child(3) {
        grid-column: 1 / 3;
        max-height: 12rem;
    }
    .testimonial-avatar {
        left: 1.2rem;
        top: -2rem;
    }
}

@media (max-width: 650px) {
    .testimonials-list {
        grid-template-columns: 1fr;
    }
    .testimonial.card {
        height: 16rem;
        max-height: unset;
    }
    .testimonial.card:nth-child(3) {
        grid-column: 1 / 1;
        max-height: unset;
        /* zajmuje obie kolumny */
    }
}


/* FOOTER SECTION */

.footer {
    background: var(--dark-grey);
    color: var(--grey);
    font-family: var(--font-family);
    font-size: var(--text-size);
    font-weight: var(--text-weight);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 2fr 1.3fr 1fr;
    gap: 2.5rem 2.5rem;
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

.footer-logo-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.footer-logo {
    width: 11rem;
    max-width: 80vw;
}

.footer-address {
    font-size: var(--small-text-size);
    color: var(--grey);
    line-height: 1.35;
}

.footer-title {
    color: var(--title-color);
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: var(--title-weight);
    font-size: var(--small-title-size);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.18s;
    font-size: var(--small-text-size);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-contact a {
    display: block;
    color: var(--white);
    margin-bottom: .6rem;
    text-decoration: none;
    transition: color 0.18s;
    font-size: var(--small-text-size);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: .8rem;
}

.footer-socials a {
    color: var(--white);
    font-size: 2rem;
    transition: color 0.22s;
}

.footer-socials a:hover {
    color: var(--gold-light);
}

.footer-copyright {
    background: var(--light-dark-grey);
    color: var(--grey);
    font-size: var(--small-text-size);
    padding: 1rem;
    text-align: center;
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.2rem;
    }
    .footer-logo-box,
    .footer-nav,
    .footer-contact,
    .footer-socials {
        align-items: flex-start;
    }
}

@media (max-width: 650px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem 0;
        text-align: center;
    }
    .footer-logo-box,
    .footer-nav,
    .footer-contact,
    .footer-socials {
        align-items: center;
        justify-content: center;
    }
    .footer-links {
        columns: 1;
    }
    .footer-title {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}


/* SERVICE PAGE SECTION */

.page-header {
    background: var(--black);
    position: relative;
    height: 33rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    background: var(--gradient-transparent);
    pointer-events: none;
    opacity: .8;
}

.page-header-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.8) grayscale(10%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem 1rem;
    background: var(--black);
}

.page-title {
    color: var(--title-color);
    background: var(--gold-gradient);
    background-clip: text;
    font-size: var(--big-title-size);
    font-weight: var(--title-weight);
    text-transform: uppercase;
    font-family: var(--font-family);
}

.page-subtitle {
    color: var(--title-color);
    background: var(--gold-gradient);
    background-clip: text;
    text-transform: uppercase;
    margin: .5rem 0;
    font-size: var(--small-title-size);
    font-weight: var(--title-weight);
    letter-spacing: .09em;
    display: block;
}

@media (max-width: 900px) {
    .page-header {
        height: 22rem;
    }
    .title-underline {
        margin: 1.5rem auto;
    }
}


/* BENEFITS LIST SECTION */

.benefits-list-section {
    background: var(--dark-grey);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.benefits-list-section .section {
    z-index: 2;
}

.benefits-list-section .title-underline {
    opacity: 0;
}

.benefits-watermark {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    min-height: 120vw;
    /* zapobiega wychodzeniu poza ekran na mobile */
    height: auto;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.benefits-list {
    max-width: var(--section-max-width);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.benefit-list-item {
    display: flex;
    gap: 1rem;
}

.benefit-list-num {
    font-size: var(--title-size);
    color: var(--gold-light);
    font-weight: var(--title-weight);
}

.benefit-list-desc {
    font-size: var(--text-size);
    font-weight: var(--text-weight);
}

.benefit-quote {
    font-size: var(--text-size);
    text-align: center;
    font-style: italic;
}

.benefits-about {
    margin-bottom: 5rem;
}

@media (max-width: 900px) {
    .benefits-list {
        grid-template-columns: repeat(2, 2fr);
    }
}

@media (max-width: 700px) {
    .benefits-list {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* CTA SLIDER SECTION */

.slider-cta-section {
    width: 100%;
    min-height: 40rem;
    background: var(--grey);
    padding: 0;
}

.slider-cta {
    position: relative;
    width: 100%;
    min-height: 40rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-cta-images {
    display: flex;
    width: 100%;
    height: 40rem;
}

.slider-cta-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40rem;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(.77, 0, .18, 1);
    border-radius: 1rem;
}

.slider-cta-img.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-cta-box {
    position: absolute;
    right: 5%;
    top: 45%;
    height: auto;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--dark-grey);
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    width: 30rem;
    box-shadow: 0 2px 24px #0002;
    z-index: 5;
    transition: all 0.3s;
}

.slider-cta-box .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.3;
    min-height: unset;
    gap: 2rem;
    margin-bottom: 2rem;
}

.slider-cta-box .title {
    font-size: var(--title-size);
    text-align: left;
}

.slider-cta-box .title-underline {
    margin: 1rem 0;
    width: 60%;
}

.slider-cta-section .slider-navigation {
    margin: 3rem auto 0 auto;
    gap: 1.5rem;
}

.slider-cta-section .slider-arrow {
    cursor: pointer;
    color: var(--light-dark-grey);
}

.slider-cta-section .slider-dot {
    background: var(--light-dark-grey);
}

.slider-cta-section .slider-dot.active {
    background: var(--gold-gradient);
}

@media (max-width: 1100px) {
    .slider-cta {
        width: 100%;
        padding: 0;
    }
    .slider-cta-section .slider-navigation {
        margin: 2rem auto 2rem auto;
    }
}

@media (max-width: 900px) {
    .slider-cta {
        flex-direction: column;
        height: auto;
    }
    .slider-cta-images {
        height: 55vw;
    }
    .slider-cta-img {
        width: 100%;
        height: 55vw;
        object-fit: cover;
    }
    .slider-cta-box {
        position: static;
        transform: none;
        width: 100%;
        max-height: min-content;
        box-shadow: unset;
        display: flex;
        flex-direction: column;
    }
    .slider-cta-box .title,
    .slider-cta-box .title-underline,
    .slider-cta-box .text,
    .slider-cta-box .cta-button {
        text-align: center;
        align-self: center;
    }
}


/* WHO SECTION */

.who-section {
    background: var(--dark-grey);
    color: var(--white);
    margin-bottom: 5rem;
    width: 100%;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 5rem 3rem;
    margin-top: 2.5rem;
    max-width: var(--section-max-width);
}

.who-card {
    padding: 0 0 0 1.5rem;
    text-align: left;
    border-left: .15rem solid var(--gold-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.who-title {
    color: var(--white);
    font-weight: var(--title-weight);
    font-size: var(--text-size);
    text-transform: uppercase;
}

.who-desc {
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    color: var(--white);
}

@media (max-width: 1100px) {
    .who-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .who-grid {
        grid-template-columns: 1fr;
    }
}


/* CERTIFICATE SECTION */

.certificate-section .title {
    text-align: left;
    font-size: 3.5rem;
}

.certificate-section .title-underline {
    margin: 1rem 0;
}

.certificate-section .wrapper.row {
    height: auto;
}

.certificate-section .text {
    align-self: flex-start;
    width: 40%;
}

.certificate-section .img-wrapper {
    flex: 1 1 100%;
    min-width: unset;
    width: 100%;
    height: auto;
    align-self: start;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.235);
}

.certificate-section .section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

@media (max-width: 1000px) {
    .certificate-section .wrapper.row {
        flex-direction: column-reverse;
        gap: 2.3rem;
        height: 100%;
        max-height: unset;
    }
    .certificate-section .title {
        text-align: center;
    }
    .certificate-section .text {
        justify-content: flex-start;
        width: 100%;
        text-align: center;
    }
    .certificate-section .title-underline {
        margin: 1rem auto;
    }
}


/* CONTACT-SECTION */

.contact-section .title {
    text-align: left;
}

.contact-section .title-underline {
    margin: 1rem 0;
}

.contact-section .wrapper.row {
    height: auto;
}

.contact-section .img-wrapper {
    width: 100%;
    height: 40rem;
    border-radius: 1rem;
    overflow: hidden;
    align-self: start;
}

.section-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: flex;
    border-radius: 1rem;
}

.contact-section .text {
    align-self: flex-start;
    width: 45%;
}

.contact-section .text-container img {
    width: 30%;
}

.contact-section .text-container {
    gap: 1.3rem;
}

.contact-section .text-container p:last-child {
    margin-bottom: 2rem;
}

.contact-section .section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

@media (max-width: 1000px) {
    .contact-section .wrapper.row {
        flex-direction: column-reverse;
        gap: 2.3rem;
        height: 100%;
        max-height: unset;
    }
    .contact-section .title {
        text-align: center;
    }
    .contact-section .text {
        justify-content: flex-start;
        width: 100%;
        text-align: center;
    }
    .contact-section .title-underline {
        margin: 1rem auto;
    }
    .contact-section .img-wrapper {
        height: 75vw;
    }
    .section-map {
        height: 75vw;
    }
}


/* ABOUT SECTION */

.about-section {
    width: 100%;
}

.about-section .section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.about-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.about-section .title-container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.about-section .title-container .title {
    text-align: center;
    margin: auto;
}

.about-section .text {
    justify-content: center;
    height: auto;
    min-height: 0;
}

.about-section .about-row .title {
    text-align: left;
}

.text-bar {
    width: 100%;
    background: var(--grey);
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
}

.text-bar .section .service-icon-wrapper,
.text-bar .section .service-icon-wrapper img {
    width: 12rem;
    height: 12rem;
}

.gallery-bar {
    width: 100%;
}

.gallery-bar .section {
    gap: 1rem;
    display: flex;
}

.gallery-bar .section .gallery-wrapper {
    width: 50%;
    height: 30rem;
    overflow: hidden;
    border-radius: 1rem;
}

.about-photo {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: top;
}


/* MOBILE/RESPONSYWNOŚĆ */

@media (max-width: 900px) {
    .about-section .section {
        flex-direction: column;
    }
    .about-section .text {
        text-align: center;
    }
    .about-section .about-row .title {
        text-align: center;
    }
    .gallery-bar .section .gallery-wrapper {
        width: 100%;
        height: 20rem;
        overflow: hidden;
        border-radius: 1rem;
    }
    .about-photo {
        object-fit: cover;
        width: 100%;
        height: 100%;
        object-position: top;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding-bottom: 2rem;
    }
    .about-feature-row {
        margin-bottom: 2.1rem;
    }
    .about-feature-bar {
        padding: 1.1rem 0.6rem;
    }
    .about-feature-icon {
        min-width: 5rem;
        min-height: 5rem;
        width: 5rem;
        height: 5rem;
    }
    .about-feature-title {
        font-size: 1.15rem;
        margin-bottom: .3rem;
    }
    .about-feature-desc {
        font-size: .97rem;
        max-width: unset;
    }
    .about-feature-gallery {
        flex-direction: column;
        gap: .7rem;
        padding: 1.1rem 0 0 0;
    }
    .about-photo {
        width: 100%;
        min-width: unset;
        max-width: 100vw;
        aspect-ratio: 16/10;
    }
}


/* TEAM SECTION */

.team-section {
    width: 100%;
}

.team-section .text {
    text-align: center;
    width: 60vw;
    max-width: 60rem;
    margin: 1rem auto;
    min-height: auto;
}

.team-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.team-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 3rem auto;
    justify-content: center;
}

.team-arrow {
    font-size: 2rem;
    cursor: pointer;
    color: var(--gold-light);
    transition: color .2s;
}

.team-arrow:hover {
    color: var(--gold-dark);
}

.team-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--grey);
    transition: width .35s, height .35s;
    box-shadow: 0 4px 24px #0001;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-icon-wrapper.main {
    width: 20rem;
    height: 20rem;
    z-index: 2;
    transition: width .35s, height .35s;
    cursor: default;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.385);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-photo.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(80%);
    box-shadow: none;
}

.team-arrow.disabled {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .team-container {
        gap: 1.4rem;
        flex-direction: column;
        margin: 1rem auto;
    }
    .team-arrow {
        rotate: 90deg;
        font-size: 2.5rem;
    }
    .main-icon-wrapper.main {
        width: 16.5rem;
        height: 16.5rem;
    }
    .team-photo {
        width: 8rem;
        height: 8rem;
    }
    .team-section .text {
        width: 100%;
    }
}


/* EU SECTION */

.eu-section {
    width: 100%;
    margin: 0 auto;
}

.eu-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.eu-logos {
    width: 100%;
    display: flex;
}

.eu-logos img {
    width: 50%;
}

.eu-title {
    font-size: var(--text-size);
}

.eu-desc {
    font-size: var(--small-text-size);
}

.eu-stats {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-size);
}

@media (max-width: 700px) {
    .eu-stats {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }
    .eu-logos {
        flex-direction: column;
        gap: 1rem;
    }
    .eu-logos img {
        width: 100%;
    }
}