@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-width: 320px;
}

body {
    font-family: 'Source Sans 3', Arial, sans-serif;
}

/* ===============================
   HERO
================================= */

.hero {
    position: relative;
    background: #39466c;
    color: #ffffff;
    overflow: hidden;
    padding: 80px 0 10px;
}

/* ===============================
   SVG NETWORK (max 1600px)
================================= */

.hero-network {
    position: absolute;
    inset: 0;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

/* =========================================
   HERO SIDE IMAGES – SAFE CENTER LAYOUT
========================================= */

.hero-side {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* połowa ekranu minus połowa kontenera (800px / 2 = 400px) */
.hero-left {
    left: 0;
    width: calc(50% - 300px);
}

.hero-right {
    right: 0;
    width: calc(50% - 300px);
}

.hero-left img,
.hero-right img {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    height: 120%;
    width: auto;
}

/* przyklejenie do krawędzi */
.hero-left img {
    right: 0;
}

.hero-right img {
    left: 0;
}


/* ===============================
   CONTENT
================================= */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-logo {
    margin-bottom: 60px;
}

.hero-logo img {
    height: 120px;
}

.hero-years {
    margin-bottom: 35px;
}

.hero-years img {
    height: 120px;
}

.hero h1 {
    font-size: 48px;
    letter-spacing: 6px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 48px;
}

/* =========================================
   HERO CONTINUATION
   ========================================= */

.hero-continuation {
    position: relative;
    background: #39466c;
    padding: 30px 40px 70px 40px;
    overflow: hidden;
}

/* SUBTELNE PRZEJŚCIE W BIEL */
.hero-continuation::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px; /* regulujesz długość przejścia */

    background: linear-gradient(
            to bottom,
            rgba(57, 70, 108, 0) 0%,
            rgba(255, 255, 255, 0.03) 40%,
            rgba(255, 255, 255, 0.06) 70%,
            rgba(255, 255, 255, 0.12) 100%
    );

    pointer-events: none;
}

.hero-continuation-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.hero-continuation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* IMAGE */

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

/* TEXT */

.hero-continuation-content h2 {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
}

/* GÓRNY TEKST */

.hero-continuation-intro {
    text-align: center;
    margin: 40px 0 70px 0;
}

.hero-continuation-intro p {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600;
    color: #ffffff;
    margin: 0 auto;
    max-width: 1200px;
}

/* =========================================
   CENTERED WHITE SECTION
   ========================================= */

.section-centered-white {
    background: #ffffff;
    padding: 80px 20px;
}

.section-centered-white-inner {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 27px;
    line-height: 1.35;
    font-weight: 300;
    color: #2f2f2f;
    margin: 0 auto;
    max-width: 1300px;
}

/* pierwsze zdanie */
.section-title-lead {
    font-size: 35px;
    display: block;
    font-weight: 600;
    margin-bottom: 25px;
}

/* reszta tekstu */
.section-title-rest {
    display: block;
    line-height: 1.6;
}

/* =========================================
   SPLIT FULL WIDTH IMAGES 50/50
   ========================================= */

.split-images-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.split-image {
    position: relative;
    overflow: hidden;
    height: 650px; /* kontrolujesz wysokość sekcji */
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* kluczowe */
    object-position: center; /* skalowanie od środka */
    display: block;
}

/* =========================================
   BRAND EVOLUTION SECTION
   ========================================= */

.brand-evolution {
    background: #ffffff;
    padding: 80px 20px 120px 20px;
}

.brand-evolution-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* TITLE */

.brand-evolution-title {
    font-size: 35px;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 70px;
}

/* LOGOS */

.brand-evolution-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    margin-bottom: 80px;
}

.brand-logo img {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.brand-logo span {
    font-size: 20px;
    font-weight: 600;
    color: #2f2f2f;
}

/* LEAD */

.brand-evolution-lead {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
    margin: 40px 0 40px 0;
    color: #2f2f2f;
}

/* BODY */

.brand-evolution-text {
    font-size: 27px;
    line-height: 1.6;
    color: #555555;
    max-width: 1200px;
    font-weight: 300;
    margin: 0 auto;
}

/* =========================================
   SUCCESSION SECTION
   ========================================= */

.succession-section {
    position: relative; /* konieczne dla pseudo-elementu */
    background: #39466c;
    padding: 160px 40px 30px;
    overflow: visible;
}

/* bardzo lekkie rozjaśnienie dołu */
.succession-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px; /* regulujesz długość przejścia */

    background: linear-gradient(
            to bottom,
            rgba(57, 70, 108, 0) 0%,
            rgba(255, 255, 255, 0.02) 40%,
            rgba(255, 255, 255, 0.05) 75%,
            rgba(255, 255, 255, 0.10) 100%
    );

    pointer-events: none;
}

.succession-inner {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
}


/* =========================================
   WRAPPER – WYŚRODKOWANA KOMPOZYCJA
   ========================================= */

.succession-wrapper {
    display: flex;
    justify-content: center; /* całość wyśrodkowana */
    align-items: flex-start;
    position: relative;
}

/* =========================================
   BLOKI
   ========================================= */

.succession-person {
    position: relative;
    width: 620px;
}

/* =========================================
   ANDRZEJ
   ========================================= */

.succession-andrzej {
    z-index: 1;
    top: -205px
}

.succession-andrzej img {
    width: 700px;
    height: auto;
    display: block;
}

/* =========================================
   EWA – NACHODZENIE BLOKU
   ========================================= */

.succession-ewa {
    margin-left: -120px; /* regulacja overlap */
    top: -50px;
    z-index: 2;
}

.succession-ewa img {
    width: 440px;
    height: auto;
    display: block;
}

/* =========================================
   TEKST
   ========================================= */

.person-text {
    margin-top: 40px;
    text-align: left;
}

.person-text.andrzej {
    width: 450px;
}

.person-text h3 {
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
}

.person-text p {
    font-size: 22px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.succession-note {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* =========================================
   LINK – POBIERZ KODEKS
   ========================================= */

.kodeks-link {
    position: absolute;
    top: -100px;
    right: 170px;
    z-index: 1000;

    width: 200px;
    height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 25px;

    background-color: #ffffff;
    color: #c7151d;

    border: 6px solid #d23c35;
    border-radius: 50%;

    font-family: 'Oswald', sans-serif;
    font-size: 27px;
    font-weight: 500;

    line-height: 1.15;
    letter-spacing: 3px;
    text-transform: uppercase;

    text-decoration: none;

    transition: background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* BARDZO SUBTELNY HOVER */
.kodeks-link:hover {
    background-color: #fafbff; /* ledwo zauważalny chłodny odcień */
    border-color: #676d87;
    color: #3e4669;

    box-shadow: inset 0 0 0 10px rgba(62, 70, 105, 0.06);
}

@media (max-width: 1350px) {

    .kodeks-link {
        position: static; /* wychodzi z absolute */
        margin: -160px auto 80px auto;
        display: flex;
    }

    .succession-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .succession-section {
        padding: 40px 40px 30px;
    }

    .brand-evolution {
        padding: 80px 20px 220px 20px;
    }
}

/* =========================================
   PARTNERS SECTION
   ========================================= */

.partners-section {
    background: #ffffff;
    padding: 100px 40px 140px 40px;
}

.partners-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   TITLE
   ========================================= */

.partners-title {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
    color: #2f2f2f;
    margin-bottom: 30px;
}

/* =========================================
   GRID 3 x 2
   ========================================= */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.partners-card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

/* =========================================
   PARTNERS SECTION
   ========================================= */

.partners-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   LOGOS GRID
   ========================================= */

.partner-logo {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-height: 100%;
    width: auto;
}

/* =========================================
   GRANATOWY STRIP
   ========================================= */

.partners-strip {
    background: #39466c;
    padding: 60px 40px;
    margin-bottom: 70px;
}

.partners-strip-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    font-size: 27px;
    line-height: 1.6;
    font-weight: 300;
}

/* =========================================
   GRID OBRAZKÓW
   ========================================= */

.partners-card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

/* =========================================
   TEXT
   ========================================= */

.partners-upper-text {
    text-align: center;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 1100px;
    margin: 30px auto 50px auto;
}

.partners-bottom-text {
    text-align: center;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 1250px;
    margin: 30px auto 10px auto;
}

.partners-highlight {
    font-size: 30px;
    font-weight: 600;
    color: #2f2f2f;
    padding-top: 30px;
}

/* =========================================
   LOGOS
   ========================================= */
.partners-logos {
    max-width: 1200px; /* trochę węższa dla lepszego balansu */
    margin: 0 auto 70px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 100px; /* pion / poziom */
}

/* wspólna wysokość wizualna */
.partner-logo {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* neutralna baza */
.partner-logo img {
    height: auto;
    width: auto;
    max-height: 100%;
}

/* KONKRETNE LOGA */
.partner-logo img.logo-pma {
    height: 50px;
}

.partner-logo img.logo-harnessflex {
    height: 50px;
}

.partner-logo img.logo-gimota {
    height: 55px;
}

.partner-logo img.logo-huber {
    height: 28px;
}

.partner-logo img.logo-hellermann {
    height: 34px;
}

.partner-logo img.logo-tst {
    height: 50px;
}

.partner-logo img.logo-kss {
    height: 85px;
}

.partner-logo img.logo-defem {
    height: 50px;
}

.partner-logo img.logo-bandit {
    height: 33px;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */


.testimonials-image img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

.testimonial-text {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 20px;
    transition: opacity 0.4s ease;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 15px;
}

.testimonial-btn {
    background: #2e4f8f;
    color: #fff;
    border: 1px solid transparent;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.testimonial-btn:hover {
    background: #fff;
    color: #2e4f8f;
    border-color: #2e4f8f;
}

.fade-out {
    opacity: 0;
}

.testimonials-section {
    position: relative;
    background: #39466c;
    padding: 80px 0 60px;
    overflow: visible;
}

.testimonials-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* =========================================
   IMAGE – wystaje góra/dół
   ========================================= */

.testimonials-image {
    position: absolute;
    left: 0;
    top: -120px; /* REGULUJESZ efekt wystawania */

    width: 500px;
    height: 500px; /* Duży format jak wcześniejsze 800x800 */

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;
    box-sizing: border-box;

    border-radius: 3px;

    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* =========================================
   TEXT
   ========================================= */

.testimonials-content {
    flex: 0 0 50%;
    color: #ffffff;
    text-align: left;
    margin-left: 600px; /* musi być większe niż szerokość boxa */
    max-width: 600px;
}

.testimonial-author {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.85;
}

.testimonials-section {
    display: none;
}

/* ==========================================
   PARTNERS OPINION SECTION
   ========================================== */

.partners-opinion-section {
    background: #39466c;
    padding: 30px 40px;
    position: relative;
    overflow: visible;
}

.partners-opinion-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.partners-opinion-grid {
    display: grid;
    grid-template-columns: 650px 1fr;
    align-items: center;
    gap: 100px;
}

/* IMAGE */

.partners-opinion-image img {
    width: 100%;
    height: auto;
    display: block;

    /* efekt wyjścia poza sekcję */
    transform: translateY(-80px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15);
}

.partners-opinion-image {
    margin-bottom: -155px;
}

/* CONTENT */

.partners-opinion-content {
    color: #ffffff;
}

.partners-opinion-content h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 40px;
}

.partners-opinion-content p {
    font-size: 27px;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 50px;
    max-width: 600px;
}

/* BUTTON */

.partners-opinion-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ffffff;
    color: #394a86;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.partners-opinion-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* ===============================
   MODAL
   =============================== */

.opinion-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
}

.opinion-modal.active {
    display: block;
}

.opinion-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

.opinion-modal-box {
    position: relative;
    max-width: 650px;
    width: 90%;
    max-height: 85vh; /* kluczowe */
    overflow-y: auto; /* scroll wewnętrzny */
    margin: 40px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 6px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
    animation: modalFade 0.35s ease;
}

.form-consent {
    margin-top: 25px;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CLOSE */

.opinion-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.opinion-modal-close:hover {
    color: #39466c;
}

/* FORM */

.opinion-modal-box h3 {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #39466c;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 17px;
    margin-bottom: 5px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #39466c;
}

/* SUBMIT */

.modal-submit-btn {
    padding: 14px 28px;
    background: #39466c;
    color: #ffffff;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal-submit-btn:hover {
    background: #ffffff;
    color: #39466c;
    border-color: #39466c;
}

/* =========================================
   RESPONSIBILITY SECTION
   ========================================= */

.responsibility-section {
    background: #ffffff;
    padding: 140px 40px 70px 40px;
}

.responsibility-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   TITLE
   ========================================= */

.responsibility-title {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.6;
    color: #2f2f2f;
    margin-bottom: 50px;
}

/* =========================================
   IMAGE
   ========================================= */

.responsibility-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================
   CSR SECTION
   ========================================= */

.csr-section {
    background: #ffffff;
    padding: 0 40px 70px 40px;
}

.csr-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   TOP 2-COLUMN
   ========================================= */

.csr-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 70px;
}

.csr-text p {
    font-size: 27px;
    line-height: 1.6;
    font-weight: 300;
    color: #2f2f2f;
}

.csr-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.csr-project-logo {
    text-align: right;
}

.csr-project-logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

.csr-project-logo a {
    display: inline-block;
    text-decoration: none;
}


/* =========================================
   GRID 4
   ========================================= */

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

.csr-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 15px;
}

.csr-card h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2f2f2f;
}

.csr-card p {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    color: #555555;
}

/* =========================================
   FINAL SECTION
   ========================================= */

.final-section {
    background: #ffffff;
    padding: 70px 40px;
}

.final-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* =========================================
   IMAGE – 70% WIDTH
   ========================================= */

.final-image img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 60px auto;
}

/* =========================================
   TEXT
   ========================================= */

.final-text p {
    font-size: 30px;
    line-height: 1.6;
    color: #2f2f2f;
    margin-bottom: 70px;
    font-weight: 600;
}

/* =========================================
   ANNIVERSARY LOGO
   ========================================= */

.final-anniversary img {
    max-width: 350px;
    width: 100%;
    height: auto;
}

/* =========================================
   INDUSTRIES SECTION
   ========================================= */

.industries-section {
    background: #ffffff;
    padding: 0;
}

.industries-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.industries-inner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #39466c;
    color: #ffffff;
    padding: 60px 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 28px;
    line-height: 1.6;
    margin: 0;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-social-text {
    font-size: 28px;
    line-height: 1.4;
}

.footer-social-icons a {
    font-size: 50px;
    color: #ffffff;
    margin-left: 35px;
    text-decoration: none;
}

.footer-social-icons a:hover {
    opacity: 0.8;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {

    .section-centered-white {
        padding: 100px 30px;
    }

    .partners-opinion-grid {
        grid-template-columns: 600px 1fr;
        gap: 50px;
    }

}

@media (max-width: 1100px) {

    body {
        /*display: none;*/
    }

    .brand-evolution {
        padding: 80px 20px 70px 20px;
    }

    .person-text.andrzej {
        width: unset;
    }

    .succession-section {
        padding: 40px 15px 35px;
    }

    .succession-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }

    .succession-person {
        width: 100%;
        max-width: 520px;
        text-align: center;
    }

    /* usunięcie desktopowych przesunięć */
    .succession-andrzej {
        top: 0;
    }

    .succession-ewa {
        margin-left: 0;
        margin-top: 0;
        top: 0;
    }

    /* obrazy skalują się naturalnie */
    .succession-andrzej img,
    .succession-ewa img {
        width: 100%;
        margin: 0 auto;
    }

    .succession-ewa img {
        max-width: 340px;
    }

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

    .succession-ewa {
        margin-top: 0;
        margin-left: 0;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-logos {
        justify-content: center;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 40px;
        max-width: 900px;
    }

    .partner-logo {
        height: 90px;
    }

    .testimonials-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .testimonials-image img {
        transform: translateY(0);
    }

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

    .succession-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .partners-opinion-grid {
        grid-template-columns: 460px 1fr;
        gap: 50px;
    }

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

    .csr-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .csr-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .succession-images {
        flex-direction: column;
        align-items: center;
    }

    .image-right {
        margin-left: 0;
        margin-top: -60px;
    }

    .succession-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .csr-project-logo {
        text-align: center;
        margin-top: 30px;
    }

    .csr-project-logo img {
        max-width: 260px;
        margin: 0 auto;
        display: block;
    }

}

@media (max-width: 992px) {

    .hero {
        padding: 80px 0 60px;
    }

    .container {
        max-width: 450px;
    }

    .hero-left {
        left: 0;
        width: calc(50% - 200px);
    }

    .hero-right {
        right: 0;
        width: calc(50% - 200px);
    }

    .hero-years .number {
        font-size: 70px;
    }

    .hero h1 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .hero-network {
        display: none;
    }

    .split-images-full {
        grid-template-columns: 1fr;
    }

    .split-image {
        height: 450px;
    }

    .brand-evolution {
        padding: 100px 30px;
    }

    .brand-evolution-logos {
        flex-direction: column;
        gap: 60px;
    }

    .brand-evolution-title {
        font-size: 32px;
    }

    .brand-evolution-lead {
        font-size: 25px;
    }

    .brand-evolution-text {
        font-size: 22px;
    }

    .partners-opinion-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .partners-section {
        padding: 50px 15px 50px 15px;
    }

    .partners-opinion-image img {
        max-width: 50%;
        height: auto;
        display: block;
        margin: 0 auto;
        transform: none;
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    }

    .partners-opinion-image {
        margin-bottom: 0;
    }

    .partners-opinion-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .industries-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .industries-inner img {
        height: 140px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-right {
        flex-direction: column;
        gap: 20px;
    }

    .footer-social-icons a {
        margin: 0 15px;
    }

    .hero h1 {
        line-height: 30px;
    }

    .hero-continuation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-continuation-image img {
        max-width: 100%;
        height: auto;
    }

    .hero-continuation-content {
        text-align: center;
    }

}

@media (max-width: 768px) {

    .container {
        max-width: 350px;
    }

    .hero-left {
        left: 0;
        width: calc(50% - 125px);
    }

    .hero-right {
        right: 0;
        width: calc(50% - 125px);
    }

    .person-text h3 {
        font-size: 25px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .partners-title {
        font-size: 25px;
    }

    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 30px;
        max-width: 600px;
        justify-items: center;
    }

    .partners-logos .partner-logo:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .partner-logo {
        height: 70px;
    }

    /* KONKRETNE LOGA */
    .partner-logo img.logo-pma {
        height: 31px;
    }

    .partner-logo img.logo-harnessflex {
        height: 34px;
    }

    .partner-logo img.logo-gimota {
        height: 37px;
    }

    .partner-logo img.logo-huber {
        height: 17px;
    }

    .partner-logo img.logo-hellermann {
        height: 22px;
    }

    .partner-logo img.logo-tst {
        height: 33px;
    }

    .partner-logo img.logo-kss {
        height: 55px;
    }

    .partner-logo img.logo-defem {
        height: 32px;
    }

    .partner-logo img.logo-bandit {
        height: 20px;
    }

    .partners-bottom-text, .partners-upper-text {
        font-size: 22px;
    }

    .opinion-modal-box {
        padding: 30px;
        margin: 40px auto;
        max-height: 90vh;
    }

    .opinion-modal-box h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .modal-submit-btn {
        width: 100%;
    }

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

    .csr-text p {
        font-size: 22px;
        text-align: center;
    }

    .section-centered-white h2 {
        font-size: 28px;
        line-height: 1.4;
    }

    .industries-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 0px;
        padding: 0 10px;
    }

    .industries-inner img {
        height: 90px;
    }

    .footer-left p {
        font-size: 22px;
    }

    .footer-social-text {
        font-size: 22px;
    }

    .footer-social-icons a {
        font-size: 36px;
    }

    .hero-continuation-content h2 {
        font-size: 22px;
        line-height: 1.5;
    }

    .hero-continuation-intro {
        margin: 20px 0 40px 0;
    }

    .hero {
        padding: 40px 0 10px;
    }

    .hero-continuation-intro p {
        font-size: 25px;
    }

    .hero h1 {
        margin-bottom: 0;
    }

    .hero-years img {
        height: 100px;
    }

    .section-title-lead {
        font-size: 25px;
    }

    .hero-continuation {
        padding: 30px 15px 70px 15px;
    }

    .brand-logo img {
        width: 180px;
    }

    .section-centered-white {
        padding: 60px 15px;
    }

    .section-centered-white h2 {
        font-size: 22px;
    }

    .brand-evolution-title {
        font-size: 25px;
        margin-bottom: 40px;
    }

    .brand-evolution-logos {
        gap: 40px;
        margin-bottom: 40px;
    }

    .brand-evolution {
        padding: 60px 15px;
    }

    .responsibility-section {
        padding: 60px 15px 40px 15px;
    }

    .responsibility-title {
        font-size: 25px;
        line-height: 1.3;
        margin-bottom: 40px;
    }

    .csr-top {
        gap: 10px;
    }

    .csr-section {
        padding: 0 15px 30px 15px
    }

    .csr-project-logo {
        margin-top: 0px;
    }

    .csr-card h3 {
        font-size: 25px;
        text-align: center;
    }

    .csr-card p {
        font-size: 22px;
        text-align: center;
    }

    .csr-grid {
        gap: 40px;
    }

    .partners-opinion-image img {
        max-width: 80%;
    }

    .partners-opinion-content h2 {
        font-size: 26px;
    }

    .partners-opinion-content p {
        font-size: 20px;
    }

    .final-section {
        background: #ffffff;
        padding: 40px 15px 60px 15px;
    }

    .final-text p {
        font-size: 25px;
        line-height: 1.3;
        margin-bottom: 40px;
    }

    .final-image img {
        width: 100%;
        margin-bottom: 40px;
    }

    .final-anniversary img {
        width: 65%;
    }

    .partners-strip {
        padding: 60px 15px;
    }

    .partners-strip-inner {
        font-size: 22px;
        line-height: 1.4;
    }

}