/*
Theme Name: Magemar Polska
Theme URI: https://magemar.com.pl
Author: Hubert Szwarczewski
Description: Motyw WordPress dla Magemar Polska
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: magemar
*/

/* ===================================
   BARLOW — LOCAL SELF-HOSTED
   =================================== */
 
@font-face
{
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/barlow-v13-latin_latin-ext-300.woff2') format('woff2');
}
 
@font-face
{
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/barlow-v13-latin_latin-ext-regular.woff2') format('woff2');
}
 
@font-face
{
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/barlow-v13-latin_latin-ext-500.woff2') format('woff2');
}
 
@font-face
{
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/barlow-v13-latin_latin-ext-600.woff2') format('woff2');
}
 
@font-face
{
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/barlow-v13-latin_latin-ext-700.woff2') format('woff2');
}

/* ===================================
   RESET I ROOT
   ===================================*/

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

/* =================================== */

:root
{
    --color-red: #d02c27;
    --color-light: rgb(235, 235, 235);
    --color-dark: #000000;
    --header-height: 100px;
    --max-width: 1400px;
    --font-main: 'Barlow', sans-serif;
}

/* =================================== */

body
{
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: #fff;
}

body.menu-open
{
    overflow: hidden;
}

/* ===================================
   HEADER
   ===================================*/

.site-header
{
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-light);
    position: relative;
    z-index: 1000;

    transition: transform 0.3s ease, box-shadow 0.3 ease;
}

.site-header.is-sticky
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    animation: slideDownNavbar 0.3s ease-out;
}

@keyframes slideDownNavbar
{
    from
    {
        transform: translateY(-100%);
        opacity: 0;
    }
    to
    {
        transform: translateY(0);
        opacity: 1;
    }
}

.site-header-placeholder 
{ 
    display: block;
    width: 100%;
    pointer-events: none;
}

.header-inner
{
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img
{
    height: 60px;
    width: auto;
    display: block;
}

.main-nav
{
    display: flex;
    align-items: center;
}

.menu
{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item
{
    position: relative;
}

.menu-item > a
{
    display: flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 16px;

    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;

    transition: background-color 0.3s, color 0.3s ease;
}

/* =================================== */

.menu-item > a:hover
{
    background-color: var(--color-red);
    color: var(--color-light);
}

.dropdown li a:hover
{
    background-color: var(--color-red);
    color: var(--color-light);
}

/* =================================== */

.dropdown
{
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 260px;
    background-color:  var(--color-light);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: opacity 0.3s ease, transform 0.3s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.dropdown li a
{
    display: block;
    padding: 12px 16px;

    text-decoration: none;
    color: var(--color-dark);
    font-weight: 400;

    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-item.has-dropdown:hover .dropdown
{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =================================== */

.language-switcher img
{
    height: 20px;
    width: auto;
    display: block;
}

.menu-item.has-dropdown.language-switcher .dropdown
{
    min-width: auto;
    width: 100%;
}

/* =================================== */

.hamburger
{
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;

    width: 28px;
    height: 20px;

    background: none;
    border: none;
    cursor: pointer;    
}

.hamburger span
{
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-dark);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.hamburger.is-active span:nth-child(1)
{
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2)
{
    opacity: 0;
}

.hamburger.is-active span:nth-child(3)
{
    transform: translateY(-8px) rotate(-45deg);
}

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

.hero
{
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 600px;

    background-color: rgb(52, 58, 64);
    background-image: linear-gradient(
        to top,
        rgb(52, 58, 64) 0px,
        rgb(52, 58, 64) 140px,
        transparent 140px
    );
    
    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;

    background-image: url('grafiki/start.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    filter: brightness(0.6);
    z-index: 0;
}

.hero::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;

    background: 
        linear-gradient(
            to right, 
            transparent 0%, 
            transparent 40%, 
            rgba(52, 58, 64, 0.7) 70%,
            rgb(52, 58, 64) 100%
        );

    pointer-events: none;
    z-index: 1;
}

/* =================================== */

.logistics-animation
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ship-icon-animated
{
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}
/*
.ship-dot
{
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
*/
.port-dot
{
    filter: drop-shadow(0 0 8px rgba(208, 44, 39, 0.8));
}

.land-route
{
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 2s ease-out forwards;
}

.route-1 { animation-delay: 0.2s; }
.route-2 { animation-delay: 0.4s; }
.route-3 { animation-delay: 0.6s; }
.route-4 { animation-delay: 0.8s; }
.route-5 { animation-delay: 1s; }

@keyframes drawLine
{
    to {
        stroke-dashoffset: 0;
    }
}

/* =================================== */

.hero-content
{
    position: relative;
    z-index: 2;

    max-width: var(--max-width);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 48px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding-top: 140px;
    padding-bottom: 60px;
}

.hero-text
{
    margin-left: auto;
    max-width: 650px;
    color: #fff;
    text-align: left;
}

.hero-tagline
{
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.95;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-title
{
    font-size: 5.45rem;
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-subtitle
{
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.hero-subtitle strong
{
    font-weight: 700;
}

.hero-bottom
{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.hero-cta-wrapper
{
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-cta-text
{
    max-width: 280px;
}

.cta-title
{
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cta-description
{
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.9;
}

.cta-button
{
    display: inline-block;
    padding: 16px 28px;

    background-color: var(--color-red);
    color: var(--color-light);

    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 5px;
    white-space: nowrap;

    transition: background-color 0.3s ease, color 0.2s ease;
}

.cta-button:hover
{
    background-color: var(--color-light);
    color: var(--color-red);
    transform: translateY(-2px);
}

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

.contact-link
{
    display: flex;
    align-items: center;
    gap: 8px;

    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    white-space: nowrap;

    transition: color 0.3s ease;
}

.contact-link:hover
{
    color: var(--color-red);
}

.contact-link span
{
    font-size: 1.2rem;
}

.hero-tagline, .hero-title, .hero-subtitle
{
    opacity: 0;
    transform: translateY(32px);
}

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

/* ===================================
    CZYM SIE ZAJMUJEMY
   =================================== */

.about-section
{
    position: relative;
    background-color: var(--color-light);
    padding: 120px 48px;
    overflow: hidden;
}

.about-container
{
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-watermark
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 60%;
    max-width: 700px;

    opacity: 0;
    z-index: 0;

    pointer-events: none;
}

.about-watermark img
{
    width: 100%;
    height: auto;
    opacity: 0.07;
}

.about-watermark.visible
{
    animation: fadeInWatermark 1.2s ease-out forwards;
}

@keyframes fadeInWatermark
{
    to
    {
        opacity: 1;
    }
}

.about-content
{
    position: relative;
    z-index: 2;

    opacity: 0;
    transform: translateX(-50px);
}

.about-content.visible
{
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft
{
    to
    {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-label
{
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-red);
    margin-bottom: 16px;
}

.about-title
{
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-description
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 32px;
}

.about-button
{
    display: inline-block;
    padding: 16px 32px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    border-radius: 5px;

    transition: all 0.3s ease;
}

.about-button:hover
{
    background-color: var(--color-dark);;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 44, 39, 0.3);
}

/*==================================*/

.about-stats
{
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 32px;

    opacity: 0;
    transform: translateX(50px);
}

.about-stats.visible
{
    animation: slideInRight 0.8s ease-out 0.2s forwards;
}

@keyframes slideInRight
{
    to
    {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-item
{
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover
{
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stat-number
{
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-number::after
{
    content: '+';
    font-size: 2.5rem;
    margin-left: 4px;
}

.stat-item:nth-child(3) .stat-number::after
{
    content: '+';
    font-size: 2rem;
}

.stat-label
{
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* ===================================
   USLUGI
   =================================== */

.services-section
{
    background-color: var(--color-red);
    padding: 100px 48px;
    position: relative;
    overflow: hidden;
}

.services-container
{
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-header
{
    text-align: center;
    margin-bottom: 60px;
    
    opacity: 0;
    transform: translateY(30px);
}

.services-header.visible
{
    animation: fadeInUp 0.8s ease-out forwards;
}

.services-title
{
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-subtitle
{
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card
{
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    
    position: relative;
    overflow: visible;

    margin: 12px 0;

    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible
{
    opacity: 1;
    transform: translateY(0);

    transition-property: transform, opacity, box-shadow, background-color;
    transition-duration: 0.6s, 0.6s, 0.3s, 0.3s;
    transition-timing-function: ease-out, ease-out, ease, ease;
    transition-delay: var(--anim-delay, 0s), var(--anim-delay, 0s), 0s, 0s;
}

.service-card:nth-child(1).visible { --anim-delay: 0.1s; }
.service-card:nth-child(2).visible { --anim-delay: 0.2s; }
.service-card:nth-child(3).visible { --anim-delay: 0.3s; }
.service-card:nth-child(4).visible { --anim-delay: 0.4s; }
.service-card:nth-child(5).visible { --anim-delay: 0.5s; }
.service-card:nth-child(6).visible { --anim-delay: 0.6s; }

.service-card:hover
{
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background-color: #fafafa;

    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-card.visible:not(:hover)
{
    transition-property: transform, opacity, box-shadow, background-color;
    transition-duration: 0.3s, 0.3s, 0.3s, 0.3s;
    transition-timing-function: ease, ease, ease, ease;
    transition-delay: 0s, 0s, 0s, 0s;
}

.service-icon
{
    width: 70px;
    height: 70px;
    background: #f5f5f5;
    border-radius: 12px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-bottom: 20px;
    
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .service-icon
{
    transform: scale(1.2);
    background-color: #c5c5c5;
}

.service-icon img
{
    width: 40px;
    height: auto;
    object-fit: contain;
    
    transition: filter 0.3s ease;
}

.service-card::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: -1;
}

.service-card:hover::after
{
    bottom: -14px;
}

.service-title
{
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-description
{
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link
{
    color: var(--color-red);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    
    display: inline-flex;
    align-items: center;
    gap: 4px;
    
    transition: gap 0.3s ease;
}

.service-link:hover
{
    gap: 8px;
    text-decoration: underline;
}

.services-watermark
{
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);

    width: 600px;
    height: 600px;

    opacity: 0.7;
    z-index: 0;

    pointer-events: none;
}

.services-watermark img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.07;
}

/* ===================================
   STATEK BEMBRIDGE
   =================================== */

.ship-section
{
    background-color: #fff;
    padding: 100px 48px;
    position: relative;
    overflow-x: hidden;
}

.ship-container
{
    max-width: var(--max-width);
    margin: 0 auto;

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

.ship-content
{
    position: relative;
    z-index: 2;

    opacity: 0;
    transform: translateX(-50px);
}

.ship-content.visible
{
    animation: slideInLeft 0.8s ease-out forwards;
}

.ship-title
{
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.ship-description
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.ship-description strong
{
    color: var(--color-red);
    font-weight: 600;
}

.ship-button
{
    display: inline-block;
    padding: 16px 32px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    border-radius: 5px;
    margin-top: 12px;

    transition: all 0.3s ease;
}

.ship-button:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 44, 39, 0.3);
}

.ship-image
{
    position: relative;
    z-index: 2;

    opacity: 0;
}

.ship-image.visible
{
    opacity: 1;
}

.ship-image img
{
    width: 130%;
    height: auto;
    display: block;

    transform: translateX(150%);
    transition: transform 1.4s cubic-bezier(0.22, 0.68, 0.28, 0.99);
}

.ship-image.visible img
{
    transform: translateX(0);
    animation: gentleFloat 4s ease-in-out 1.6s infinite;
}

@keyframes gentleFloat
{
    0%, 100%
    {
        transform: translateY(0px) rotate(0deg);
    }
    50%
    {
        transform: translateY(-8px) rotate(0.5deg);
    }
}

/* ===================================
   BLOG
   =================================== */

.blog-section
{
    background-color: #fff;
    padding: 100px 48px;
    position: relative;
    overflow: hidden;
}

.blog-container
{
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-watermark
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 60%;
    max-width: 700px;

    opacity: 0;
    z-index: 0;

    pointer-events: none;
}

.blog-watermark img
{
    width: 100%;
    height: auto;
    opacity: 0.04;
}

.blog-watermark.visible
{
    animation: fadeInWatermark 1.2s ease-out forwards;
}

.blog-header
{
    text-align: center;
    margin-bottom: 60px;

    opacity: 0;
    transform: translateY(30px);
}

.blog-header.visible
{
    animation: fadeInUp 0.8s ease-out forwards;
}

.blog-title
{
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-subtitle
{
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.blog-card
{
    background: #fff;
    border-radius: 12px;
    overflow: visible;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    opacity: 0;
    transform: translateY(30px);
}

.blog-card.visible
{
    opacity: 1;
    transform: translateY(0);

    transition-property: transform, opacity, box-shadow;
    transition-duration: 0.6s, 0.6s, 0.3s;
    transition-timing-function: ease-out, ease-out, ease;
    transition-delay: var(--card-delay, 0s), var(--card-delay, 0s), 0s;
}

.blog-card:nth-child(1).visible { --card-delay: 0.1s; }
.blog-card:nth-child(2).visible { --card-delay: 0.2s; }
.blog-card:nth-child(3).visible { --card-delay: 0.3s; }

.blog-card:hover
{
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card.visible:not(:hover)
{
    transition-property: transform, opacity, box-shadow;
    transition-duration: 0.3s, 0.3s, 0.3s;
    transition-timing-function: ease, ease, ease;
    transition-delay: 0s, 0s, 0s;
}

.blog-image
{
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img
{
    transform: scale(1.08);
}

.blog-category
{
    position: absolute;
    top: 16px;
    left: 16px;

    padding: 6px 12px;
    background-color: var(--color-red);
    color: #fff;

    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 4px;
}

.blog-content
{
    padding: 24px;
}

.blog-date
{
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 12px;
}

.blog-post-title
{
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.3;

    transition: color 0.3s ease;
}

.blog-card:hover .blog-post-title
{
    color: var(--color-red);
}

.blog-excerpt
{
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link
{
    display: inline-flex;
    align-items: center;
    gap: 4px;

    color: var(--color-red);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;

    transition: gap 0.3s ease;
}

.blog-link:hover
{
    gap: 8px;
    text-decoration: underline;
}

.blog-cta
{
    text-align: center;

    opacity: 0;
    transform: translateY(20px);
}

.blog-cta.visible
{
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.blog-button
{
    display: inline-block;
    padding: 16px 32px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    border-radius: 5px;

    transition: all 0.3s ease;
}

.blog-button:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 44, 39, 0.3);
}

/* ===================================
   KONTAKT
   =================================== */

.contact-section
{
    background-color: var(--color-red);
    padding: 100px 48px;
    position: relative;
    overflow: hidden;
}

.contact-container
{
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-watermark
{
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);

    width: 50%;
    max-width: 600px;

    opacity: 0;
    z-index: 0;

    pointer-events: none;
}

.contact-watermark img
{
    width: 100%;
    height: auto;
    opacity: 0.08;
}

.contact-watermark.visible
{
    animation: fadeInWatermark 1.2s ease-out forwards;
}

.contact-info
{
    color: #fff;

    opacity: 0;
    transform: translateX(-50px);
}

.contact-info.visible
{
    animation: slideInLeft 0.8s ease-out forwards;
}

.contact-title
{
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-description
{
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.contact-features
{
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-bottom: 40px;
}

.contact-feature
{
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon
{
    width: 48px;
    height: 48px;

    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;

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

    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text
{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-text strong
{
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.feature-text span
{
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-alternative
{
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #fff;
}

.contact-alternative p
{
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-phone
{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;

    transition: transform 0.3s ease;
}

.contact-phone:hover
{
    transform: translateX(5px);
}

.contact-form-wrapper
{
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

    opacity: 0;
    transform: translateX(50px);
}

.contact-form-wrapper.visible
{
    animation: slideInRight 0.8s ease-out 0.2s forwards;
}

.contact-form
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group-full
{
    grid-column: 1 / -1;
}

.form-group label
{
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea
{
    padding: 12px 16px;

    border: 2px solid #e0e0e0;
    border-radius: 6px;

    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-dark);

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus
{
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(208, 44, 39, 0.1);
}

.form-group textarea
{
    resize: vertical;
    min-height: 120px;
}

.checkbox-label
{
    display: flex;
    align-items: flex-start;
    gap: 12px;

    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]
{
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-red);
}

.checkbox-label a
{
    color: var(--color-red);
    text-decoration: underline;
}

.form-submit
{
    width: 100%;
    padding: 16px 32px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border: none;
    border-radius: 6px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.form-submit:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.form-submit:active
{
    transform: translateY(0);
}

/* ===================================
   STOPKA
   =================================== */

.site-footer
{
    background-color: #2c3136;
    color: rgba(255, 255, 255, 0.8);
}

.footer-main
{
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container
{
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
    gap: 60px;

    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-about
{
    display: flex;
    flex: 0 0 340px;
    flex-direction: column;
    gap: 20px;
}

.footer-logo
{
    height: 60px;
    width: auto;
    margin-bottom: 8px;
}

.footer-description
{
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-badges
{
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.badge
{
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.footer-column
{
    display: flex;
    flex-direction: column;
}

.footer-heading
{
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li
{
    margin: 0 !important;
    padding: 0 !important;
}

.footer-links a
{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;

    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover
{
    color: var(--color-red);
    transform: translateX(4px);
}

.footer-contact
{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item
{
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
}

.contact-icon
{
    font-size: 1.2rem;
    line-height: 1.4;
}

.contact-item > div
{
    line-height: 1.6;
}

.contact-item strong
{
    display: inline;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item a
{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover
{
    color: var(--color-red);
}

.footer-social
{
    display: flex;
    gap: 12px;
}

.social-link
{
    width: 40px;
    height: 40px;

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

.social-link:hover
{
    transform: translateY(-4px);
}

.social-link img
{
    width: 20px;
    height: 20px;
}

.footer-bottom
{
    padding: 24px 0;
    background-color: #24272b;
}

.footer-bottom .footer-container
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright
{
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal
{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-legal a
{
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover
{
    color: var(--color-red);
}

.separator
{
    color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   HOVER FLICKER FIX
   =================================== */

.about-button,
.ship-button,
.blog-button,
.form-submit,
.stat-item,
.blog-card
{
    position: relative;
}

.about-button::after,
.ship-button::after,
.blog-button::after,
.form-submit::after,
.stat-item::after,
.blog-card::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.about-button:hover::after,
.ship-button:hover::after,
.blog-button:hover::after,
.form-submit:hover::after
{
    bottom: -10px;
}

.stat-item:hover::after
{
    bottom: -12px;
}

.blog-card:hover::after
{
    bottom: -14px;
}

.service-card:hover::after
{
    bottom: -14px;
}

/* ===================================
   FIX: niskie viewporty przy duzej szerokosci
   =================================== */

@media (max-height: 850px) and (min-width: 1025px)
{
    .hero-content
    {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-title
    {
        font-size: 4rem;
        margin-bottom: 16px;
    }

    .hero-subtitle
    {
        font-size: 1.1rem;
    }

    .hero-tagline
    {
        margin-bottom: 12px;
    }

    .hero-bottom
    {
        gap: 32px;
    }

    .cta-title
    {
        font-size: 1.1rem;
    }

    .cta-description
    {
        font-size: 0.8rem;
    }

    .cta-button
    {
        padding: 12px 22px;
        font-size: 0.85rem;
        position: relative;
    }

    .cta-button::after
    {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
    }

    .cta-button:hover::after
    {
        bottom: -10px;
    }

    
}

@media (max-height: 600px) and (min-width: 1025px)
{
    .hero-content
    {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .hero-title
    {
        font-size: 3rem;
        margin-bottom: 12px;
    }

    .hero-subtitle
    {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-cta-text
    {
        max-width: 220px;
    }

    .hero-bottom
    {
        gap: 24px;
    }
}

/* ===================================
   RESPONSYWNOSC
   =================================== */

@media (max-width: 1024px)
{
    .logo img
    {
        height: 50px;
    }
    
    .menu
    {
        position: fixed;
        top: 0;
        right: 0;

        width: 320px;
        height: 100vh;

        flex-direction: column;
        align-items: stretch;

        background-color: var(--color-light);
    
        transform: translateX(100%);
        transition: transform 0.35s ease;

        padding-top: var(--header-height);
        z-index: 999;
    }

    .menu.is-open
    {
        transform: translateX(0);
    }

    .menu-item > a
    {
        height: auto;
        padding: 14px 24px;
    }

    .hamburger
    {
        display: flex;
    }

    .dropdown
    {
        position: static;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: transparent;
        min-width: auto;
        width: 100%;
    }

    .menu-item.has-dropdown:hover .dropdown
    {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown li a
    {
        padding: 10px 32px;
        background-color: var(--color-light);
        font-size: 0.95rem;
    }

    .menu-item.has-dropdown .dropdown
    {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-item.has-dropdown.is-open .dropdown
    {
        max-height: 600px;
    }

    .menu-item.has-dropdown > a
    {
        position: relative;
    }

    .menu-item.has-dropdown > a::after
    {
        content: '▼';
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .menu-item.has-dropdown.is-open > a::after
    {
        transform: rotate(-180deg);
    }

    .menu-item.language-switcher
    {
        margin-top: 24px;
        align-self: center;
    }

    .menu-item.language-switcher > a
    {
        justify-content: center;
        padding-right: 24px;
        gap: 8px;
    }

    .menu-item.language-switcher .dropdown
    {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-item.language-switcher.is-open .dropdown
    {
        max-height: 200px;
    }

    /*==================================*/

    .hero-content
    {
        padding: 0 32px;
        padding-top: 120px;
        padding-bottom: 32px;
    }

    .hero-text
    {
        max-width: 550px;
    }

    .hero-tagline
    {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .hero-title
    {
        font-size: 4rem;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    .hero-subtitle
    {
        font-size: 1.05rem;
    }

    .hero-bottom
    {
        gap: 40px;
    }

    .hero-cta-wrapper
    {
        gap: 24px;
    }

    .hero-cta-text
    {
        max-width: 240px;
    }
    
    .cta-title
    {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .cta-description
    {
        font-size: 0.85rem;
    }

    .cta-button
    {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-contact
    {
        gap: 24px;
        flex-direction: column;
        align-items: flex-end;
    }

    .contact-link
    {
        font-size: 0.9rem;
    }

    .hero::after
    {
        width: 100%;
        height: 100%;
    }

    .hero::before
    {
        width: 100%;
        height: 100%;
    }

    /*==================================*/

    .route-4, .route-5, .route-6, .dot-4, .dot-5, .dot-6
    {
        display: none;
    }

    /*==================================*/

    .about-section
    {
        padding: 80px 32px;
    }

    .about-container
    {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-watermark
    {
        width: 80%;
    }

    .about-title
    {
        font-size: 2.2rem;
    }

    .about-stats
    {
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-item
    {
        flex: 1;
        padding: 24px 16px;
    }

    .stat-number
    {
        font-size: 2.5rem;
    }

    /*==================================*/

    .services-section
    {
        padding: 80px 32px;
    }

    .services-title
    {
        font-size: 2.2rem;
    }

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

    /*==================================*/
    
    .ship-section
    {
        padding: 80px 32px;
    }

    .ship-container
    {
        gap: 60px;
    }

    .ship-title
    {
        font-size: 2.2rem;
    }

    .ship-description
    {
        font-size: 1rem;
    }

    /*==================================*/

    .blog-section
    {
        padding: 80px 32px;
    }

    .blog-title
    {
        font-size: 2.2rem;
    }

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

    .blog-card:nth-child(3)
    {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    /*==================================*/

    .contact-section
    {
        padding: 80px 32px;
    }

    .contact-container
    {
        gap: 60px;
    }

    .contact-title
    {
        font-size: 2.2rem;
    }

    .contact-form-wrapper
    {
        padding: 32px;
    }

    /*==================================*/

    .footer-main
    {
        padding: 60px 32px 40px;
    }

    .footer-container
    {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-about
    {
        grid-column: 1 / -1;
    }

    .footer-bottom
    {
        padding: 20px 32px;
    }
}

/* ===================================
   RESPONSYWNOSC PRZEJSCIOWA
   =================================== */

@media (max-width: 995px) {

    .footer-main
    {
        padding: 40px 20px 32px;
    }

    .footer-container
    {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .footer-about,
    .footer-column,
    .footer-column:last-child
    {
        flex: 1 1 auto;
        width: 100%;
    }

    .footer-social
    {
        align-self: center;
    }

    .footer-about
    {
        text-align: center;
        align-items: center;
    }

    .footer-logo
    {
        height: 45px;
    }

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

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

    .footer-column:last-child
    {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .footer-links a:hover
    {
        transform: none;
    }

    .footer-contact
    {
        align-items: flex-start;
        width: auto;
        max-width: 280px;
    }

    .contact-item
    {
        text-align: left;
    }

    .footer-bottom .footer-container
    {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-legal
    {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===================================
   RESPONSYWNOSC MOBILE
   =================================== */

@media (max-width: 768px)
{
     .logo img
    {
        height: 40px;
    }
    
    :root
    {
        --header-height: 70px;
    }

    .hamburger
    {
        width: 24px;
        height: 18px;
    }

    .hamburger span
    {
        height: 2px;
    }

    .hero::after
    {
        width: 100%;
        height: 100%;
        background-position: center center;
        background-image: url('grafiki/start-mobile.webp');
    }

    .hero::before
    {
        width: 100%;
        height: 100%;
        background: 
            linear-gradient(
                to bottom, 
                transparent 0%, 
                transparent 40%,
                rgba(52, 58, 64, 0.6) 70%,
                rgb(52, 58, 64) 100%
            );
    }

    .hero-content
    {
        padding: 0 20px;
        padding-top: 100px;
        padding-bottom: 24px;
        justify-content: flex-end;
    }

    .hero-text
    {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        text-align: center;
        margin-bottom: auto;
    }
    
    .hero-tagline
    {
        font-size: 0.75rem;
        margin-bottom: 12px;
        letter-spacing: 0.3px;
    }

    .hero-title
    {
        font-size: 2.5rem;
        margin-bottom: 16px;
        letter-spacing: 1.5px;
    }

    .hero-subtitle
    {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-bottom
    {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .hero-cta-text
    {
        display: none;
    }

    .hero-contact
    {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .cta-button
    {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 16px 24px;
        font-size: 0.9rem;
        order: -1;
    }

    .hero-contact::after
    {
        content: '';
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .contact-link
    {
        font-size: 0.85rem;
        display: block;
        text-align: center;
    }

    /*==================================*/

    .dashed-route, .ship-dot, .port-dot, .land-route, .distribution-dot, .ship-icon-animated
    {
        display: none !important;
    }

    .wave-path
    {
        display: block;
    }

    /*==================================*/

    .about-section
    {
        padding: 60px 20px;
    }

    .about-title
    {
        font-size: 1.8rem;
        text-align: center;
    }

    .section-label
    {
        display: block;
        text-align: center;
    }

    .aobut-description
    {
        font-size: 1rem;
        text-align: center;
    }

    .about-button
    {
        display: block;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-watermark
    {
        width: 100%;
        opacity: 0.5;
    }

    .about-stats
    {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number
    {
        font-size: 2.5rem;
    }

    /*==================================*/

    .services-section
    {
        padding: 60px 20px;
    }

    .services-header
    {
        margin-bottom: 40px;
    }

    .services-title
    {
        font-size: 1.8rem;
    }

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

    .service-card
    {
        padding: 0;
        border-radius: 8px;
        cursor: pointer;
        overflow: hidden;

        transform: none;
        opacity: 1;
    }

    .service-card:hover
    {
        transform: none;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .service-card-header
    {
        padding: 20px;

        display: flex;
        align-items: center;
        gap: 16px;

        background: #fff;

        transition: background-color 0.3s ease;
    }

    .service-card.active .service-card-header
    {
        background-color: #f8f8f8;
    }

    .service-card .service-icon
    {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .service-icon img
    {
        width: 28px;
        height: 28px;
    }

    .service-card-title-wrapper
    {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .service-card .service-title
    {
        font-size: 1.05rem;
        margin-bottom: 0;
    }

    .service-description
    {
        padding-top: 15px;
    }

    .service-toggle
    {
        width: 24px;
        height: 24px;

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

        color: var(--color-red);
        font-size: 1.2rem;
        font-weight: bold;

        transition: transform 0.3s ease;
    }

    .service-card.active .service-toggle
    {
        transform: rotate(180deg);
    }

    .service-card-content
    {
        max-height: 0;
        overflow: hidden;

        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .service-card.active .service-card-content
    {
        max-height: 300px;
        padding: 0 20px 20px 20px;
    }

    .service-card .service-description
    {
        margin-bottom: 16px;
        font-size: 0.9rem;
    }

    .service-card .service-link
    {
        font-size: 0.9rem;
    }

    .service-card:hover .service-icon
    {
        transform: none;
        background-color: #f5f5f5;
    }

    .service-card:hover .service-icon img
    {
        filter: none;
    }

    .services-watermark
    {
        display: none;
    }

    /*==================================*/
    
    .ship-section
    {
        padding: 60px 20px;
    }

    .ship-container
    {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ship-content
    {
        text-align: center;
        transform: translateX(0);
    }

    .ship-content.visible
    {
        animation: fadeIn 0.8s ease-out forwards;
    }

    @keyframes fadeIn
    {
        from
        {
            opacity: 0;
        }
        to
        {
            opacity: 1;
        }
    }

    .ship-title
    {
        font-size: 1.8rem;
    }

    .ship-description
    {
        font-size: 0.95rem;
    }

    .ship-button
    {
        display: block;
        max-width: 300px;
        margin: 20px auto 0;
        text-align: center;
    }

    .ship-image
    {
        transform: translateY(50px);
        order: -1;
    }

    .ship-image.visible
    {
        transform: translateY(0);
    }

    .ship-image img
    {
        animation: none;
    }

    /*==================================*/

    .blog-section
    {
        padding: 60px 20px;
    }
    
    .blog-header
    {
        margin-bottom: 40px;
    }
    
    .blog-title
    {
        font-size: 1.8rem;
    }
    
    .blog-subtitle
    {
        font-size: 1rem;
    }
    
    .blog-grid
    {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .blog-card
    {
        opacity: 1;
        transform: none;
    }

    .blog-card:nth-child(3)
    {
        max-width: none;
        margin: 0;
    }
    
    .blog-image
    {
        height: 200px;
    }
    
    .blog-content
    {
        padding: 20px;
    }
    
    .blog-post-title
    {
        font-size: 1.15rem;
    }
    
    .blog-excerpt
    {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .blog-watermark
    {
        width: 100%;
        opacity: 0.5;
    }

    .blog-cta
    {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .blog-button
    {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    /*==================================*/

    .contact-section
    {
        padding: 60px 20px;
    }

    .contact-container
    {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info
    {
        text-align: center;
        transform: translateX(0);
    }

    .contact-info.visible
    {
        animation: fadeIn 0.8s ease-out forwards;
    }

    .contact-title
    {
        font-size: 1.8rem;
    }

    .contact-description
    {
        font-size: 1rem;
    }

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

    .contact-feature
    {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .contact-form-wrapper
    {
        padding: 24px;
        transform: translateX(0);
    }

    .contact-form-wrapper.visible
    {
        animation: fadeIn 0.8s ease-out 0.2s forwards;
    }

    .contact-form
    {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-watermark
    {
        width: 80%;
    }
}

/* ===================================
   RESPONSYWNOSC MOBILE SMALL
   =================================== */

@media (max-width: 480px)
{
    .hero-title
    {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle
    {
        font-size: 0.9rem;
    }

    .cta-button
    {
        max-width: 100%;
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    .contact-link
    {
        font-size: 0.8rem;
    }
}

/* ===================================
   PODSTRONY USLUG
   =================================== */

.sp-hero
{
    background-color: var(--color-dark);
    padding: 16px 48px;
}

.sp-hero-inner
{
    max-width: var(--max-width);
    margin: 0 auto;
}

.sp-breadcrumbs
{
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.sp-breadcrumbs a
{
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sp-breadcrumbs a:hover
{
    color: #fff;
}

.sp-breadcrumb-sep
{
    margin: 0 8px;
    opacity: 0.4;
}

.sp-breadcrumb-current
{
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/*==================================*/

.sp-header
{
    background-color: var(--color-light);
    padding: 80px 48px 60px;
    text-align: center;
}

.sp-header-inner
{
    max-width: 800px;
    margin: 0 auto;
}

.sp-header-icon
{
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    padding: 18px;

    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sp-header-icon img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sp-header-divider
{
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    border-radius: 2px;
    margin: 0 auto 28px;
}

.sp-title
{
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.sp-lead
{
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/*==================================*/

.sp-content
{
    background-color: var(--color-light);
    padding: 20px 48px 80px;
    position: relative;
    overflow: hidden;
}

.sp-container
{
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
}

/*==================================*/

.sp-watermark
{
    position: absolute;
    top: 10%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 55%;
    max-width: 650px;
    z-index: 0;
    pointer-events: none;
}

.sp-watermark img
{
    width: 100%;
    height: auto;
    opacity: 0.06;
}

/*==================================*/

.sp-block
{
    max-width: 650px;
    min-width: 650px;
    position: relative;
    z-index: 2;
}

.sp-block:first-child
{
    margin-top: 0;
}

.sp-overlap
{
    margin-top: -10%;
}

.sp-block-right
{
    margin-left: auto;
    margin-right: 0;
}

.sp-block-left
{
    margin-left: 0;
    margin-right: auto;
}

.sp-block-inner
{
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.sp-block:nth-child(1) { z-index: 2; }
.sp-block:nth-child(2) { z-index: 3; }
.sp-block:nth-child(3) { z-index: 4; }
.sp-block:nth-child(4) { z-index: 5; }
.sp-block:nth-child(5) { z-index: 6; }
.sp-block:nth-child(6) { z-index: 7; }

/*==================================*/

.sp-section-label
{
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.sp-section-label::after
{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-red);
    border-radius: 2px;
}

/*==================================*/

.sp-text p
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.sp-text p:last-child
{
    margin-bottom: 0;
}

/*==================================*/

.sp-scope-list
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-scope-list li
{
    display: flex;
    align-items: flex-start;
    gap: 12px;

    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;

    padding: 10px 14px;
    background: var(--color-light);
    border-radius: 6px;
    border-left: 3px solid var(--color-red);
}

.sp-scope-list li::before
{
    content: '→';
    color: var(--color-red);
    font-weight: 700;
    flex-shrink: 0;
}

/*==================================*/

.sp-image
{
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.sp-image img
{
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/*==================================*/

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

.sp-step
{
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 16px;
    background: var(--color-light);
    border-radius: 8px;

    transition: transform 0.3s ease;
}

.sp-step:hover
{
    transform: translateX(6px);
}

.sp-step-num
{
    width: 44px;
    height: 44px;
    min-width: 44px;

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

    background-color: var(--color-red);
    color: #fff;

    font-size: 1.2rem;
    font-weight: 700;

    border-radius: 50%;
}

.sp-step p
{
    font-size: 1.05rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

/*==================================*/

.sp-why-list
{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-why-item
{
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 12px 16px;
    background: var(--color-light);
    border-radius: 8px;

    transition: transform 0.3s ease;
}

.sp-why-item:hover
{
    transform: translateX(6px);
}

.sp-why-check
{
    width: 28px;
    height: 28px;
    min-width: 28px;

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

    background-color: var(--color-red);
    color: #fff;

    font-size: 0.85rem;
    font-weight: 700;

    border-radius: 50%;
}

.sp-why-item p
{
    font-size: 1.05rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

/*==================================*/

.sp-cta
{
    background-color: var(--color-light);
    padding: 20px 48px 100px;
}

.sp-cta-inner
{
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.sp-cta-text
{
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 24px;
}

.sp-cta-button
{
    display: inline-block;
    padding: 16px 40px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 5px;

    transition: all 0.3s ease;
    position: relative;
}

.sp-cta-button::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.sp-cta-button:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(208, 44, 39, 0.3);
}

.sp-cta-button:hover::after
{
    bottom: -10px;
}

.sp-banner
{
    position: relative;
    width: 100%;
    height: 18vh;
    max-height: 220px;
    min-height: 140px;
    overflow: hidden;
}

.sp-banner-img
{
    width: 100%;
    height: 100%;
}

.sp-banner-img img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    display: block;
    filter: brightness(0.7);
}

.sp-banner-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(52, 58, 64, 0.3) 0%,
        var(--color-light) 100%
    );
}

/* =================================== */

.sp-routes
{
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===================================
   PODSTRONY USLUG - RESPONSYWNOSC
   =================================== */

@media (max-width: 1420px)
{
    .sp-hero
    {
        padding: 14px 32px;
    }

    .sp-header
    {
        padding: 60px 32px 48px;
    }

    .sp-header-icon
    {
        width: 80px;
        height: 80px;
        padding: 14px;
    }

    .sp-title
    {
        font-size: 2.2rem;
    }

    .sp-content
    {
        padding: 20px 32px 60px;
    }

    .sp-block
    {
        max-width: 560px;
        min-width: 0;
    }

    .sp-overlap
    {
        margin-top: 40px;
    }

    .sp-block-inner
    {
        padding: 32px;
    }

    .sp-image img
    {
        height: 300px;
    }

    .sp-cta
    {
        padding: 20px 32px 80px;
    }

    .sp-banner
    {
        height: 15vh;
        min-height: 120px;
    }
}

@media (max-width: 768px)
{
    .sp-hero
    {
        padding: 12px 20px;
    }

    .sp-breadcrumbs
    {
        font-size: 0.8rem;
    }

    .sp-header
    {
        padding: 48px 20px 36px;
    }

    .sp-header-icon
    {
        width: 64px;
        height: 64px;
        padding: 12px;
        margin-bottom: 16px;
    }

    .sp-header-divider
    {
        width: 48px;
        height: 3px;
        margin-bottom: 20px;
    }

    .sp-title
    {
        font-size: 1.8rem;
    }

    .sp-lead
    {
        font-size: 1rem;
    }

    .sp-content
    {
        padding: 20px 20px 48px;
    }

    .sp-block,
    .sp-block-left,
    .sp-block-right
    {
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .sp-overlap
    {
        margin-top: 24px;
    }

    .sp-block:first-child
    {
        margin-top: 0;
    }

    .sp-block-inner
    {
        padding: 24px;
    }

    .sp-section-label
    {
        font-size: 1.35rem;
    }

    .sp-image img
    {
        height: 220px;
    }

    .sp-step
    {
        padding: 14px;
        gap: 12px;
    }

    .sp-step-num
    {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }

    .sp-watermark
    {
        width: 80%;
    }

    .sp-cta
    {
        padding: 20px 20px 60px;
    }

    .sp-cta-text
    {
        font-size: 1.05rem;
    }

    .sp-cta-button
    {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .sp-banner
    {
        height: 12vh;
        min-height: 100px;
    }

    .sp-routes
    {
        display: none;
    }
}

/* ===================================
   BLOG - ARCHIWUM
   =================================== */

.blog-archive-hero
{
    background-color: var(--color-dark);
    padding: 60px 48px 48px;
    text-align: center;
}

.blog-archive-hero-inner
{
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-archive-title
{
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.blog-search-query
{
    color: var(--color-red);
}

.blog-archive-divider
{
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    border-radius: 2px;
    margin: 0 auto 32px;
}

/* =================================== */

.blog-search-bar
{
    max-width: 480px;
    margin: 0 auto 28px;
}

.blog-search-wrapper
{
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease;
}

.blog-search-wrapper:focus-within
{
    border-color: var(--color-red);
}

.blog-search-input
{
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.blog-search-input::placeholder
{
    color: rgba(255, 255, 255, 0.4);
}

.blog-search-button
{
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
}

.blog-search-button:hover
{
    color: var(--color-red);
}

/* =================================== */

.blog-categories-bar
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-cat-link
{
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.blog-cat-link:hover
{
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.blog-cat-link.active
{
    background: var(--color-red);
    color: #fff;
    border-color: var(--color-red);
}

/* =================================== */

.blog-archive-content
{
    background-color: var(--color-light);
    padding: 60px 48px 80px;
}

.blog-archive-container
{
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-archive-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* =================================== */

.blog-archive-card
{
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.blog-archive-card::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.blog-archive-card:hover
{
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.blog-archive-card:hover::after
{
    bottom: -12px;
}

.blog-archive-card-link
{
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-archive-card-image
{
    height: 200px;
    overflow: hidden;
}

.blog-archive-card-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-archive-card:hover .blog-archive-card-image img
{
    transform: scale(1.05);
}

.blog-archive-card-body
{
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-archive-card-meta-top
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-archive-card-cat
{
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-archive-card-reading
{
    font-size: 0.8rem;
    color: #999;
}

.blog-archive-card-title
{
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-archive-card-excerpt
{
    font-size: 0.92rem;
    line-height: 1.6;
    color: #666;
    flex: 1;
    margin-bottom: 16px;
}

.blog-archive-card-meta-bottom
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666666;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

/* =================================== */

.blog-archive-pagination
{
    margin-top: 48px;
    text-align: center;
}

.blog-archive-pagination .nav-links
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-archive-pagination .page-numbers
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.blog-archive-pagination .page-numbers:hover
{
    color: var(--color-red);
    border-color: var(--color-red);
}

.blog-archive-pagination .page-numbers.current
{
    background: var(--color-red);
    color: #fff;
    border-color: var(--color-red);
}

.blog-archive-pagination .prev,
.blog-archive-pagination .next
{
    font-weight: 600;
}

/* =================================== */

.blog-archive-empty
{
    text-align: center;
    padding: 80px 20px;
}

.blog-archive-empty p
{
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 24px;
}

.blog-archive-back-link
{
    color: var(--color-red);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.blog-archive-back-link:hover
{
    opacity: 0.7;
}

/* ===================================
   BLOG - SINGLE POST
   =================================== */

.blog-single-hero
{
    background-color: var(--color-dark);
    padding: 16px 48px;
}

.blog-single-hero-inner
{
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-single-breadcrumbs
{
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.blog-single-breadcrumbs a
{
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-single-breadcrumbs a:hover
{
    color: #fff;
}

.blog-breadcrumb-sep
{
    margin: 0 8px;
    opacity: 0.4;
}

.blog-breadcrumb-current
{
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* =================================== */

.blog-single-content
{
    background-color: #fff;
    padding: 60px 48px 80px;
}

.blog-single-container
{
    max-width: var(--max-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

/* =================================== */

.blog-single-main
{
    min-width: 0;
}

.blog-single-header
{
    margin-bottom: 32px;
}

.blog-single-meta-top
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.blog-single-category
{
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--color-red);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.blog-single-category:hover
{
    background: var(--color-red);
    color: #fff;
}

.blog-single-reading
{
    font-size: 0.85rem;
    color: #999;
}

.blog-single-title
{
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.blog-single-meta-bottom
{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #888;
}

.blog-single-meta-bottom strong
{
    color: var(--color-dark);
}

/* =================================== */

.blog-single-featured
{
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-single-featured img
{
    width: 100%;
    height: auto;
    display: block;
}

/* =================================== */

.blog-single-body
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.blog-single-body h2
{
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 40px 0 16px;
}

.blog-single-body h3
{
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 32px 0 12px;
}

.blog-single-body p
{
    margin-bottom: 16px;
}

.blog-single-body img
{
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-single-body ul,
.blog-single-body ol
{
    margin: 16px 0;
    padding-left: 24px;
}

.blog-single-body li
{
    margin-bottom: 8px;
}

.blog-single-body blockquote
{
    border-left: 4px solid var(--color-red);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.blog-single-body a
{
    color: var(--color-red);
    text-decoration: underline;
}

/* =================================== */

.blog-single-tags
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
}

.blog-single-tags-label
{
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.blog-single-tag
{
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    background: var(--color-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.blog-single-tag:hover
{
    color: var(--color-red);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* =================================== */

.blog-single-nav
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.blog-nav-prev,
.blog-nav-next
{
    padding: 20px;
    background: var(--color-light);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.blog-nav-prev:hover,
.blog-nav-next:hover
{
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.blog-nav-next
{
    text-align: right;
}

.blog-nav-label
{
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-nav-prev a,
.blog-nav-next a
{
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-nav-prev a:hover,
.blog-nav-next a:hover
{
    color: var(--color-red);
}

/* ===================================
   BLOG - SIDEBAR
   =================================== */

.blog-sidebar
{
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 120px;
}

.blog-sidebar-widget
{
    background: var(--color-light);
    padding: 24px;
    border-radius: 12px;
}

.blog-sidebar-title
{
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-red);
}

/* =================================== */

.blog-sidebar-search
{
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.blog-sidebar-search-input
{
    flex: 1;
    padding: 10px 14px;
    border: none;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    background: #fff;
}

.blog-sidebar-search-btn
{
    padding: 10px 14px;
    background: var(--color-red);
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-sidebar-search-btn:hover
{
    background: var(--color-dark);
}

/* =================================== */

.blog-sidebar-categories
{
    list-style: none;
}

.blog-sidebar-categories li
{
    border-bottom: 1px solid #eee;
}

.blog-sidebar-categories li:last-child
{
    border-bottom: none;
}

.blog-sidebar-categories a
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar-categories a:hover
{
    color: var(--color-red);
}

.blog-sidebar-count
{
    font-size: 0.85rem;
    color: #999;
}

/* =================================== */

.blog-sidebar-recent
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-sidebar-recent-item a
{
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.blog-sidebar-recent-item a:hover
{
    opacity: 0.8;
}

.blog-sidebar-recent-thumb
{
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.blog-sidebar-recent-thumb img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-sidebar-recent-info
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.blog-sidebar-recent-title
{
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.3;
}

.blog-sidebar-recent-date
{
    font-size: 0.8rem;
    color: #999;
}

/* =================================== */

.blog-sidebar-tags
{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-sidebar-tag
{
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    background: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.blog-sidebar-tag:hover
{
    color: var(--color-red);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ===================================
   BLOG - RESPONSYWNOSC
   =================================== */

@media (max-width: 1024px)
{
    .blog-archive-hero
    {
        padding: 48px 32px 36px;
    }

    .blog-archive-title
    {
        font-size: 2rem;
    }

    .blog-archive-content
    {
        padding: 48px 32px 60px;
    }

    .blog-archive-grid
    {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-single-content
    {
        padding: 48px 32px 60px;
    }

    .blog-single-container
    {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }

    .blog-single-title
    {
        font-size: 2rem;
    }
}

@media (max-width: 768px)
{
    .blog-archive-hero
    {
        padding: 36px 20px 28px;
    }

    .blog-archive-title
    {
        font-size: 1.6rem;
    }

    .blog-categories-bar
    {
        gap: 6px;
    }

    .blog-cat-link
    {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .blog-archive-content
    {
        padding: 32px 20px 48px;
    }

    .blog-archive-grid
    {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-single-hero
    {
        padding: 12px 20px;
    }

    .blog-single-content
    {
        padding: 32px 20px 48px;
    }

    .blog-single-container
    {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar
    {
        position: static;
    }

    .blog-single-title
    {
        font-size: 1.6rem;
    }

    .blog-single-nav
    {
        grid-template-columns: 1fr;
    }

    .blog-archive-card-image
    {
        height: 180px;
    }
}

/* ===================================
   PODSTRONA KONTAKT
   =================================== */

.contact-top
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;

    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);

    position: relative;
    z-index: 2;
}

/* =================================== */

.contact-company
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.contact-company-item
{
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-company-icon
{
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.contact-company-item div
{
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.contact-company-item strong
{
    color: var(--color-dark);
    font-size: 1.05rem;
}

.contact-company-item a
{
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-company-item a:hover
{
    color: var(--color-red);
}

/* =================================== */

.contact-form
{
    display: flex;
    flex-direction: column;
}

.contact-form-title
{
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.contact-form-divider
{
    width: 50px;
    height: 3px;
    background-color: var(--color-red);
    border-radius: 2px;
    margin-bottom: 28px;
}

.contact-form-fallback
{
    font-size: 0.95rem;
    color: #999;
    text-align: center;
    padding: 40px 20px;
    background: var(--color-light);
    border-radius: 8px;
}

/* =================================== */

.contact-form .wpcf7-form
{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .wpcf7-form label
{
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form textarea
{
    width: 100%;
    padding: 12px 16px;

    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-dark);

    background: var(--color-light);
    border: 1px solid #ddd;
    border-radius: 6px;

    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form textarea:focus
{
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(208, 44, 39, 0.1);
}

.contact-form .wpcf7-form textarea
{
    min-height: 140px;
    resize: vertical;
}

.contact-form .wpcf7-form input[type="submit"]
{
    align-self: flex-start;
    padding: 14px 36px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border: none;
    border-radius: 5px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.contact-form .wpcf7-form input[type="submit"]:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(208, 44, 39, 0.3);
}

.contact-form .wpcf7-not-valid-tip
{
    font-size: 0.8rem;
    color: var(--color-red);
    margin-top: 4px;
}

.contact-form .wpcf7-response-output
{
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 12px;
}

/* =================================== */

.contact-team
{
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    margin-top: 48px;

    position: relative;
    z-index: 2;
}

.contact-team-title
{
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 8px;
}

.contact-team-divider
{
    width: 60px;
    height: 3px;
    background-color: var(--color-red);
    border-radius: 2px;
    margin: 0 auto 40px;
}

/* =================================== */

.contact-dept
{
    margin-bottom: 36px;
}

.contact-dept:last-child
{
    margin-bottom: 0;
}

.contact-dept-name
{
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--color-red);
}

/* =================================== */

.contact-people
{
    display: flex;
    flex-direction: column;
}

.contact-person
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.contact-person:last-child
{
    border-bottom: none;
}

.contact-person-name
{
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    min-width: 200px;
}

.contact-person-details
{
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-person-email
{
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-person-email:hover
{
    color: var(--color-red);
}

.contact-person-phone
{
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.contact-person-phone:hover
{
    color: var(--color-red);
}

/* =================================== */

.contact-map
{
    width: 100%;
    line-height: 0;
}

.contact-map iframe
{
    width: 100%;
    height: 450px;
    display: block;
    filter: grayscale(20%);
}

/* ===================================
   KONTAKT - RESPONSYWNOSC
   =================================== */

@media (max-width: 1024px)
{
    .contact-top
    {
        padding: 36px;
        gap: 40px;
    }

    .contact-team
    {
        padding: 36px;
    }
}

@media (max-width: 768px)
{
    .contact-top
    {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 36px;
    }

    .contact-team
    {
        padding: 28px;
        margin-top: 32px;
    }

    .contact-team-title
    {
        font-size: 1.5rem;
    }

    .contact-person
    {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .contact-person-name
    {
        min-width: auto;
    }

    .contact-person-details
    {
        flex-direction: column;
        gap: 4px;
    }

    .contact-form-title
    {
        font-size: 1.35rem;
    }

    .contact-map iframe
    {
        height: 320px;
    }

    .contact-form .wpcf7-form input[type="submit"]
    {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   CF7 — SEKCJA KONTAKT (STRONA GLOWNA)
   =================================== */

.contact-form-wrapper .wpcf7-form
{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf7-row
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cf7-col,
.cf7-full
{
    display: flex;
    flex-direction: column;
}

.contact-form-wrapper .wpcf7-form label
{
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form textarea
{
    width: 100%;
    padding: 12px 16px;

    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-dark);

    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;

    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form-wrapper .wpcf7-form input:focus,
.contact-form-wrapper .wpcf7-form textarea:focus
{
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(208, 44, 39, 0.15);
}

.contact-form-wrapper .wpcf7-form input::placeholder,
.contact-form-wrapper .wpcf7-form textarea::placeholder
{
    color: #999;
}

.contact-form-wrapper .wpcf7-form label
{
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-wrapper .wpcf7-form textarea
{
    min-height: 140px;
    resize: vertical;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]
{
    width: 100%;
    padding: 16px;

    background: var(--color-red);
    color: #fff;

    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;

    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover
{
    background: #fff;
    color: var(--color-dark);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper .wpcf7-not-valid-tip
{
    font-size: 0.8rem;
    color: #ff6b6b;
    margin-top: 4px;
}

.contact-form-wrapper .wpcf7-response-output
{
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px)
{
    .cf7-row
    {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PODSTRONA CERTYFIKATY
   =================================== */

.cert-wrapper
{
    display: flex;
    flex-direction: column;
    gap: 32px;

    position: relative;
    z-index: 2;
}

/* --- KARTA CERTYFIKATU --- */

.cert-card
{
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    position: relative;
}

.cert-card-featured
{
    border: 2px solid var(--color-red);
}

.cert-card-badge
{
    position: absolute;
    top: 0;
    right: 32px;

    padding: 6px 16px;
    background: var(--color-red);
    color: #fff;

    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 0 0 6px 6px;
}

.cert-card-header
{
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px 40px 0;
}

.cert-card-icon
{
    width: 72px;
    height: 72px;
    min-width: 72px;

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

    background: var(--color-light);
    border-radius: 14px;

    overflow: hidden;
}

.cert-card-icon img
{
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.cert-icon-text
{
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-red);
    letter-spacing: 1px;
}

.cert-icon-small
{
    font-size: 1.3rem;
}

.cert-card-title
{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
}

/* --- BODY KARTY --- */

.cert-card-body
{
    padding: 24px 40px 40px;
}

.cert-card-desc
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.cert-card-highlight
{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    padding: 16px 20px;
    background: var(--color-light);
    border-left: 4px solid var(--color-red);
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
}

.cert-card-subtitle
{
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 14px;
}

.cert-card-list
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cert-card-list li
{
    display: flex;
    align-items: flex-start;
    gap: 12px;

    font-size: 1rem;
    line-height: 1.6;
    color: #444;

    padding: 10px 14px;
    background: var(--color-light);
    border-radius: 6px;
}

.cert-card-list li::before
{
    content: '✓';
    color: var(--color-red);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.cert-card-note
{
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

/* --- DLACZEGO CERTYFIKATY --- */

.cert-why
{
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    margin-top: 32px;
    text-align: center;

    position: relative;
    z-index: 2;
}

.cert-why-title
{
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.cert-why-divider
{
    width: 60px;
    height: 3px;
    background-color: var(--color-red);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.cert-why-desc
{
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 32px;
}

.cert-why-grid
{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.cert-why-item
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--color-light);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-why-item:hover
{
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cert-why-icon
{
    font-size: 2rem;
    line-height: 1;
}

.cert-why-item p
{
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    text-align: center;
}

/* ===================================
   CERTYFIKATY - RESPONSYWNOSC
   =================================== */

@media (max-width: 1024px)
{
    .cert-card-header
    {
        padding: 28px 32px 0;
    }

    .cert-card-body
    {
        padding: 20px 32px 32px;
    }

    .cert-why
    {
        padding: 36px;
    }

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

@media (max-width: 768px)
{
    .cert-card-header
    {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 24px 0;
    }

    .cert-card-icon
    {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .cert-card-icon img
    {
        width: 32px;
        height: 32px;
    }

    .cert-icon-text
    {
        font-size: 1.3rem;
    }

    .cert-card-title
    {
        font-size: 1.25rem;
    }

    .cert-card-body
    {
        padding: 16px 24px 28px;
    }

    .cert-card-badge
    {
        right: 16px;
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .cert-why
    {
        padding: 28px;
    }

    .cert-why-title
    {
        font-size: 1.5rem;
    }

    .cert-why-grid
    {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cert-why-item
    {
        padding: 20px 12px;
    }
}

@media (max-width: 480px)
{
    .cert-why-grid
    {
        grid-template-columns: 1fr;
    }
}

/* ===================================
STRONA O FIRMIE
=================================== */

.about-page-wrapper
{
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-page-section
{
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 32px;

    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);

    opacity: 0;
    transform: translateY(30px);
}

.about-page-section.visible
{
    animation: fadeInUp 0.6s ease-out forwards;
}

.about-page-text
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.about-page-text:last-child
{
    margin-bottom: 0;
}

.about-page-link
{
    color: var(--color-red);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.about-page-link:hover
{
    text-decoration: underline;
}

/* --- uslugi lista --- */

.about-page-services
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-page-service-item
{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;

    background: #f8f8f8;
    border-radius: 8px;

    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 1rem;

    transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-page-service-item:hover
{
    background: var(--color-red);
    color: #fff;
    transform: translateX(4px);
}

.about-page-service-icon
{
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

.about-page-service-item:hover .about-page-service-icon
{
    filter: brightness(0) invert(1);
}

.about-page-service-arrow
{
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-page-service-item:hover .about-page-service-arrow
{
    opacity: 1;
}

/* --- przycisk --- */

.about-page-btn
{
    display: inline-block;
    padding: 14px 28px;
    margin-top: 20px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;

    border-radius: 5px;

    transition: all 0.3s ease;
}

.about-page-btn:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 44, 39, 0.3);
}

/* --- kontakt --- */

.about-page-contact
{
    margin-bottom: 8px;
}

.contact-cta
{
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: -10px;
    color: #555;
}

.about-page-contact p
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.about-page-contact-links
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-page-contact-links a
{
    color: var(--color-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.about-page-contact-links a:hover
{
    color: var(--color-red);
}

/* --- social media --- */

.about-page-socials
{
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.about-page-social-btn
{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;

    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;

    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;

    transition: all 0.3s ease;
}

.about-page-social-btn img
{
    width: 20px;
    height: 20px;
    filter: brightness(0);
    transition: filter 0.3s ease;
}

.about-page-social-btn:hover
{
    border-color: var(--color-red);
    color: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-page-social-btn:hover img
{
    filter: brightness(0) saturate(100%) invert(22%) sepia(95%) saturate(5765%) hue-rotate(355deg) brightness(88%) contrast(90%);
}

/* --- opinie google --- */

.about-page-review
{
    background-color: var(--color-light);
    padding: 80px 48px;
}

.about-page-review-inner
{
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-page-review-title
{
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.about-page-review-desc
{
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.about-page-review-actions
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.about-page-review-btn
{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;

    background-color: var(--color-red);
    color: #fff;

    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;

    border-radius: 5px;

    transition: all 0.3s ease;
}

.about-page-review-btn:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 44, 39, 0.3);
}

.about-page-review-qr
{
    text-align: center;
}

.about-page-review-qr img
{
    width: 140px;
    height: 140px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.about-page-review-qr span
{
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 8px;
}

/* --- responsive --- */

@media (max-width: 768px)
{
    .about-page-section
    {
        padding: 28px 20px;
        margin-bottom: 20px;
    }

    .about-page-review
    {
        padding: 60px 20px;
    }

    .about-page-review-title
    {
        font-size: 1.6rem;
    }

    .about-page-review-actions
    {
        gap: 32px;
    }

    .about-page-review-btn
    {
        padding: 16px 28px;
        font-size: 0.95rem;
    }

    .about-page-socials
    {
        flex-direction: column;
    }

    .about-page-social-btn
    {
        justify-content: center;
    }
}

/* ===================================
PROJEKT UE
=================================== */

.ue-wrapper
{
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ue-banner
{
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.ue-banner img
{
    max-width: 100%;
    height: auto;
}

.ue-content
{
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.ue-text
{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.ue-text:last-child
{
    margin-bottom: 0;
}

.ue-project-title
{
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.4;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.ue-numbers
{
    display: flex;
    gap: 24px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.ue-number-item
{
    flex: 1;
    min-width: 200px;
    background: var(--color-light);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    border-left: 3px solid var(--color-red);
}

.ue-number-label
{
    display: block;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ue-number-value
{
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

@media (max-width: 768px)
{
    .ue-content
    {
        padding: 28px 20px;
    }

    .ue-banner
    {
        padding: 20px;
    }

    .ue-numbers
    {
        flex-direction: column;
    }

    .ue-project-title
    {
        font-size: 1.2rem;
    }
}

/* ===================================
   CF7 — CHECKBOXY RODO I KLAUZULA
   =================================== */

.cf7-consents
{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.cf7-consent-item
{
    font-size: 0.82rem;
    line-height: 1.5;
    color: #666;
}

/* usuniecie marginesu z <p> generowanego przez CF7 */
.cf7-consent-item p
{
    margin: 0;
    padding: 0;
}

/* wszystkie wrappery CF7 — przezroczyste w ukladzie */
.cf7-consent-item .wpcf7-form-control-wrap,
.cf7-consent-item .wpcf7-acceptance,
.cf7-consent-item .wpcf7-list-item
{
    display: contents;
}

/* label = checkbox + tekst obok siebie */
.cf7-consent-item .wpcf7-list-item label
{
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.cf7-consent-item .wpcf7-list-item label input[type="checkbox"]
{
    margin: 3px 0 0 0;
    padding: 0;
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    accent-color: var(--color-red);
    cursor: pointer;
}

.cf7-consent-item a
{
    color: var(--color-red);
    text-decoration: underline;
}

.cf7-consent-item a:hover
{
    text-decoration: none;
}

.cf7-required
{
    color: var(--color-red);
    font-weight: 700;
}

/* --- klauzula administratora --- */

.cf7-admin-notice
{
    margin-top: 10px;
    padding: 12px 14px;
    background: var(--color-light);
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

.cf7-admin-notice-main
{
    margin-top: -20px;
    padding: 12px 14px;
    background: var(--color-light);
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

.cf7-admin-notice-main p
{
    font-size: 0.7rem;
    line-height: 1.5;
    color: #747474;
    margin-bottom: 4px;
}

.cf7-admin-notice p
{
    font-size: 0.7rem;
    line-height: 1.5;
    color: #747474;
    margin-bottom: 4px;
}

.cf7-admin-notice p:last-child
{
    margin-bottom: 0;
}

.cf7-admin-notice a
{
    color: var(--color-red);
    text-decoration: underline;
}

.cf7-admin-notice-main p:last-child
{
    margin-bottom: 0;
}

.cf7-admin-notice-main a
{
    color: var(--color-red);
    text-decoration: underline;
}

/* --- wersja strona glowna --- */

.contact-form-wrapper .cf7-consent-item .wpcf7-list-item label
{
    font-size: 0.78rem;
    color: #888;
}

.contact-form-wrapper .cf7-admin-notice
{
    background: #f0f0f0;
    border-left-color: #ddd;
}

.contact-form-wrapper .cf7-admin-notice p
{
    color: #747474;
    font-size: 0.68rem;
}

/* --- fix: komunikat bledu CF7 --- */

.contact-form-wrapper .wpcf7-response-output,
.contact-form .wpcf7-response-output
{
    color: var(--color-red) !important;
    background: #fff3f3 !important;
    border: 1px solid var(--color-red) !important;
    border-radius: 6px;
    font-size: 0.85rem;
    padding: 12px 16px;
}

.wpcf7 form.sent .wpcf7-response-output
{
    color: #2e7d32 !important;
    background: #f0f9f0 !important;
    border-color: #2e7d32 !important;
}






/* ===================================
   STRONA W BUDOWIE
   =================================== */

.wip-section
{
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 48px;
}

.wip-container
{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.wip-content
{
    background: #fff;
    padding: 60px 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    text-align: center;
}

.wip-icon
{
    margin-bottom: 24px;
    opacity: 0.9;
}

.wip-title
{
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.wip-divider
{
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.wip-text
{
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 36px;
}

.wip-actions
{
    display: flex;
    justify-content: center;
    gap: 16px;
}

.wip-btn
{
    display: inline-block;
    padding: 14px 32px;

    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 5px;
    transition: all 0.3s ease;
}

.wip-btn-primary
{
    background-color: var(--color-red);
    color: #fff;
}

.wip-btn-primary:hover
{
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(208, 44, 39, 0.3);
}

.wip-btn-secondary
{
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.wip-btn-secondary:hover
{
    background-color: var(--color-dark);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px)
{
    .wip-section
    {
        padding: 48px 20px;
    }

    .wip-content
    {
        padding: 40px 24px;
    }

    .wip-title
    {
        font-size: 1.6rem;
    }

    .wip-actions
    {
        flex-direction: column;
    }

    .wip-btn
    {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   CF7 — LABEL Z GWIAZDKA I OPCJONALNE
   =================================== */

.cf7-label-text
{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: -20px;
}

.cf7-optional
{
    font-weight: 400;
    color: #999;
    font-size: 0.8em;
}