/*-----------------------------------------------------------------------------------*/
/*---------------------CSS TAKI SAM DLA WSZYSTKICH PODSTRON--------------------------*/
/*-----------------------------------------------------------------------------------*/



/*----------------CZCIONKI-----------------*/



/* HANKEN GROTESK */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/hanken-grotesk-v12-latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/hanken-grotesk-v12-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/hanken-grotesk-v12-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/hanken-grotesk-v12-latin-800.woff2') format('woff2');
}

/* INTER */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
}

/* MATERIAL SYMBOLS OUTLINED (IKONY) */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  src: url('fonts/MaterialSymbolsOutlined.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px; 
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}




/*Reset i ustawienia ogólne*/
*, *::before, *::after 
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html 
{
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}
body 
{
    background-color: #FFFFFF;
    color: #191c1e;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/*Główny kontener*/
.container-max 
{
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}



/*HEADER / NAGŁÓWEK*/
.nav-bar 
{
    background-color: #0D1240;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo 
{
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 35px;
    line-height: 40px;
    font-weight: 700;
    color: #FFFFFF;
}

.nav-links 
{
    display: none;
    align-items: center;
    gap: 42px;
}

.nav-link 
{
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease-in-out;
}

.nav-link:hover 
{
    color: #FFFFFF;
}

/*Przyciski*/
.btn-secondary 
{
    background-color: #FFFFFF;
    color: #0D1240;
    padding: 12px 24px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 0.125rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-secondary:hover 
{
    background-color: #e0e3e6;
}

.home-btn-primary-hero {
    display: inline-block;
    text-decoration: none; 
    background-color: #000666;
    color: #FFFFFF; 
    padding: 14px 28px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-btn-primary-hero:hover {
    background-color: #0d1240;
    color: #FFFFFF; 
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.home-btn-outline-hero {
    display: inline-block; 
    text-decoration: none;  
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF; 
    padding: 12px 26px; 
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-btn-outline-hero:hover {
    background-color: #FFFFFF;
    color: #0D1240; 
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
}

.btn-banner 
{
    background-color: #000666;
    color: #FFFFFF;
    padding: 16px 32px;
    border: none;
    border-radius: 0.25rem;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.btn-banner:hover 
{
    opacity: 0.9;
}

.btn-banner:active 
{
    transform: scale(0.95);
}



/*Menu rozwijane na telefony*/
.menu-toggle-checkbox 
{
    display: none;
}

/* Stylizacja ikony hamburgera */
.hamburger-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 60; /* Wyżej niż menu */
    position: relative;
}

.hamburger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Domyślne style menu dla urządzeń mobilnych (pionowa kurtyna) */
.nav-menu {
    position: absolute;
    top: 85px; /* Wysokość Twojego headeru */
    left: 0;
    width: 100%;
    background-color: #0D1240;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    
    /* Ukrycie menu poprzez zwinięcie go w górę i zmianę opacity */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, visibility 0.4s;
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
}

/* Linki w menu mobilnym */
.nav-menu .nav-link {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ukrywanie linku "Strona główna" na komputerach */
@media (min-width: 768px) {
    .nav-link-mobile-only {
        display: none !important;
    }
}

/* 1. Rozwiń menu */
.menu-toggle-checkbox:checked ~ .nav-menu {
    max-height: 300px; /* Bezpieczna wysokość dla 3 linków */
    opacity: 1;
    visibility: visible;
    border-bottom: 2px solid #152b73; /* Akcent w kolorze Twojego przycisku */
}

/* 2. Animacja hamburgera w krzyżyk (X) */
.menu-toggle-checkbox:checked ~ .hamburger-label .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle-checkbox:checked ~ .hamburger-label .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle-checkbox:checked ~ .hamburger-label .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* PRZYWRÓCENIE MENU DESKTOPOWEGO (Od 768px w górę)
*/
@media (min-width: 768px) {
    .hamburger-label {
        display: none; /* Chowamy hamburger */
    }

    .nav-menu {
        /* Resetujemy mobilne pozycjonowanie */
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 42px;
        width: auto;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background-color: transparent;
        border-bottom: none;
        padding: 0;
    }

    .nav-menu .nav-link {
        width: auto;
        padding: 0;
        border-top: none;
    }
}



/*STOPKA*/
.footer 
{
    background-color: #0D1240;
    width: 100%;
    margin-top: 0;
    color: #FFFFFF;
}
.footer-container 
{
    padding-top: 64px;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.footer-brand 
{
    max-width: 20rem;
}
.footer-brand-title 
{
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.footer-brand-text 
{
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #e0e3e6;
    opacity: 0.7;
}
.footer-columns-wrapper 
{
    display: flex;
    flex-direction: column;
    gap: 48px;
    flex-grow: 1;
    width: 100%;
}

.footer-grid-links 
{
    display: flex;
    gap: 48px;
}

.footer-column-box 
{
    min-width: 120px;
}

.footer-heading 
{
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.footer-links 
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.footer-links a 
{
    color: #e0e3e6;
    opacity: 0.7;
    text-decoration: none;
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.footer-links a:hover 
{
    opacity: 1;
    color: #8ef4e9;
}

.contact-column 
{
    display: flex;
    flex-direction: column;
}

.contact-address 
{
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item 
{
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #e0e3e6;
    opacity: 0.7;
}

.contact-item .material-symbols-outlined 
{
    font-size: 16px;
}

.footer-bottom
{
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 10px;  
    padding-right: 10px; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
    display: flex;
    flex-direction: column;
    gap: 8px;           
    text-align: left;    
    align-items: flex-start;
}

.footer-bottom p 
{
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #e0e3e6;
    opacity: 0.7;
    margin: 0;
}

@media (max-width: 768px)
{
    .footer-bottom p
    {
        font-size: 11px;
    }
}

.footer-author
{
    font-size: 13px;       
    opacity: 0.5;         
}

/*Responsywność stopki*/
@media (min-width: 768px) 
{
    .nav-links 
    {
        display: flex;
        margin-left: auto;
    }
    .product-grid 
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cta-flex 
    {
        flex-direction: row;
        text-align: left;
    }
    .cta-content 
    {
        text-align: left;
    }
    .footer-container 
    {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .footer-columns-wrapper 
    {
        flex-direction: row;
        justify-content: flex-end;
        gap: 96px;
        width: auto;
    }
    .footer-grid-links 
    {
        gap: 96px;
    }
    .footer-bottom 
    {
        flex-direction: row;           
        justify-content: space-between;
        text-align: left;              
    }
}



/*-----------------------------------------------------------------------------------*/
/*---------------------STRONA GŁÓWNA - CSS-------------------------------------------*/
/*-----------------------------------------------------------------------------------*/



/*SEKCJA HERO*/
.home-hero-section {
    position: relative;
    min-height: 500px; /* Na telefonach wysokość dostosuje się sama, ale minimum to 500px */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
}
.home-hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.home-hero-bg {
    width: 100%;
    height: 100%;
    background-image: url('obrazy/zdjecie-glowne.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}
.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 18, 64, 0.4);
}
.home-hero-content {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    color: #FFFFFF;
    /* Usunięto ujemne marginesy i przesunięcia, kontener załatwia sprawę */
}
.home-hero-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 32px; /* Mniejsza, zgrabna czcionka na telefon (zgodnie z image_c2cde4.png) */
    line-height: 40px;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 16px;
}
.home-hero-desc {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}
.home-hero-buttons {
    display: flex;
    flex-wrap: wrap; /* W razie bardzo małych ekranów przyciski wskoczą jeden pod drugi */
    gap: 12px;
}
.home-btn-primary-hero {
    background-color: #000666;
    color: #FFFFFF;
    padding: 14px 28px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.home-btn-primary-hero:hover {
    opacity: 0.9;
}
.home-btn-outline-hero {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 14px 28px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.home-btn-outline-hero:hover {
    background-color: #FFFFFF;
    color: #0D1240;
}
@media (min-width: 768px) {
    .home-hero-section {
        height: 650px; 
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 60px;
    }
    .home-hero-title {
        font-size: 48px; 
        line-height: 56px;
        margin-bottom: 24px;
    }
    .home-hero-desc {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 32px;
    }
    .home-hero-buttons {
        gap: 16px;
    }
    .home-btn-primary-hero, .home-btn-outline-hero {
        padding: 16px 32px;
        font-size: 14px;
    }
}



/*SEKCJA O NAS*/
.home-about-section {
    padding-top: 120px; 
    padding-bottom: 125px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #FFFFFF;
}
.home-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px; 
    align-items: center;
}
@media (min-width: 768px) {
    .home-about-grid {
        grid-template-columns: 1fr 1fr; 
    }
}
.home-about-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.home-section-tag {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #878505;
}
.home-section-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: #0D1240;
    margin-bottom: 24px;
}
.home-about-desc-wrapper {
    color: #454652;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.home-about-images {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 16px; 
}
.home-img-wrapper {
    aspect-ratio: 1 / 1;
    background-color: #f2f4f7;
    border-radius: 8px;
    overflow: hidden;
}
.home-img-wrapper.home-offset-top {
    margin-top: 32px; 
}
.home-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}



/*SEKCJA STATYSTYK*/
.home-stats-section {
    background-color: #0D1240;
    padding: 60px 24px; /* Odpowiedni oddech od górnej/dolnej krawędzi sekcji */
}

.home-stats-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Odstęp między kartami na telefonie */
}

/* KARTA STATYSTYKI NA TELEFONIE */
.home-stat-item {
    background: rgba(255, 255, 255, 0.04); /* Subtelne, półprzezroczyste tło */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Delikatna ramka rozświetlająca kartę */
    border-radius: 12px; /* Nowoczesne, zaokrąglone rogi */
    padding: 32px 24px; /* Wewnętrzny oddech w karcie */
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Efekt delikatnego uniesienia po dotknięciu/najechaniu */
.home-stat-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.home-stat-number {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 40px; /* Duża, czytelna liczba */
    line-height: 1;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.home-stat-label {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6); 
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* STYL DLA KOMPUTERÓW (DESKTOP) - od 768px w górę */
@media (min-width: 768px) {
    .home-stats-section {
        padding: 60px 48px;
    }
    .home-stats-container {
        flex-direction: row; /* Powrót do układu poziomego */
        justify-content: space-between;
        align-items: center;
        gap: 32px;
        max-width: 1200px;
        margin: 0 auto;
    }
    /* Na desktopie usuwamy tła kart, aby zachować Twój pierwotny, minimalistyczny styl */
    .home-stat-item {
        flex: 1;
        background: none;
        border: none;
        padding: 0;
        border-radius: 0;
    }
    .home-stat-item:hover {
        background: none;
        transform: none;
    }
    .home-stat-number {
        font-size: 45px; /* Na komputerze liczby mogą być ciut większe */
        margin-bottom: 12px;
    }
    .home-stat-label {
        font-size: 13px;
    }
}



/*SEKCJA PRODUKTÓW*/
.home-products-section {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #f7f9fc;
}
.home-products-header {
    text-align: center;
    margin-bottom: 64px; /* mb-16 */
}
.home-products-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: #0D1240;
    margin-bottom: 16px; /* mb-4 */
}
.home-title-underline {
    height: 4px;
    width: 96px; /* w-24 */
    background-color: #000666;
    margin-left: auto;
    margin-right: auto;
}
.home-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    gap: 60px; /* gap-[60px] */
}
@media (min-width: 768px) {
    .home-products-grid {
        grid-template-columns: 1fr 1fr; /* md:grid-cols-2 */
    }
}
.home-product-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(198, 197, 212, 0.3);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s duration-300;
}
.home-product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.home-product-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #eceef1;
}
.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-product-info {
    padding: 32px; /* p-8 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.home-product-info .home-product-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 24px; /* text-2xl */
    line-height: 32px;
    color: #0D1240;
    margin-bottom: 16px; /* mb-4 */
    font-weight: 600;
}
.home-product-description {
    color: #454652;
    font-size: 14px; /* text-sm */
    line-height: 20px;
    margin-bottom: 24px; /* mb-6 */
    flex-grow: 1;
}
.home-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* gap-2 */
    margin-bottom: 32px; /* mb-8 */
}
.home-tag {
    background-color: #eceef1;
    color: #0D1240;
    padding: 4px 12px; /* py-1 px-3 */
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.home-btn-product {
    width: 100%;
    background-color: #0D1240;
    color: #FFFFFF;
    padding: 12px 0; /* py-3 */
    border: none;
    border-radius: 4px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.home-btn-product:hover {
    background-color: #070e6e;
}



/* Kontener centrujący przycisk pod siatką produktów */
.products-action-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 56px; /* Odpowiedni odstęp od spodu kart produktowych */
}
/* Przycisk "Wszystkie produkty" w eleganckiej, głębokiej zieleni */
.btn-all-products {
    display: inline-block;
    text-decoration: none;
    background-color: #152b73; /* Szlachetna, matowa zieleń - świeża, ale profesjonalna */
    border: none;
    color: #FFFFFF; /* Biały tekst dla pełnej czytelności */
    padding: 16px 40px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(42, 111, 68, 0.15); /* Subtelny, zielonkawy cień */
    transition: all 0.25s ease-in-out;
}
/* Efekt po najechaniu myszką - kolor delikatnie głębokie, dając elegancki kontrast */
.btn-all-products:hover {
    background-color: #2029d7; /* Ciemniejsza, głęboka zieleń butelkowa */
    transform: translateY(-1px); /* Bardzo delikatne uniesienie */
    box-shadow: 0 6px 12px -3px rgba(30, 80, 48, 0.25);
}

/* Reakcja na kliknięcie */
.btn-all-products:active {
    transform: translateY(0);
}



/*-----------------------------------------------------------------------------------*/
/*---------------------STRONA "O NAS" - CSS------------------------------------------*/
/*-----------------------------------------------------------------------------------*/



/*AKAPITY I ELEMENTY TYPOGRAFICZNE*/
.about-font-headline-xl {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.about-font-headline-lg {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.about-font-label-bold {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.about-font-body-md {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.about-font-body-sm {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}


/*SEKCJA O NAS*/
.about-about {
    padding-top: 75px;
    padding-bottom: 90px;
}

.about-grid-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.about-about-content {
    padding-right: 0;
}

.about-about-content .about-mb-8 {
    margin-bottom: 32px;
}

.about-section-label {
    color: #878505;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.about-section-title {
    margin-bottom: 24px;
    color: #191c1e;
}

.about-section-text {
    color: #454652;
    line-height: 1.625;
    font-size: 17px;
}

.about-section-text p + p {
    margin-top: 24px;
}

.about-image-wrapper {
    position: relative;
    border: 1px solid #c6c5d4;
    padding: 16px;
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media (max-width: 780px)
{
    .about-image-wrapper
    {
        height: 335px;
    }
    .about-main-image
    {
        max-height: 300px;
    }
}

.about-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0.125rem;
}

.about-stats-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background-color: #000666;
    color: #FFFFFF;
    padding: 32px;
    border-radius: 0.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: none;
}

.about-stat-number {
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 4px;
}



/*SEKCJA WARTOŚCI FIRMY*/
.about-values {
    background-color: #e0e3e7;
    padding-top: 120px;
    padding-bottom: 120px;
}

.about-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.about-section-description {
    color: #454652;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.about-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.about-value-card {
    padding: 32px;
    border-radius: 0.125rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s ease;
}

.about-value-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.about-value-card-white {
    background-color: #FFFFFF;
    border: 1px solid #c6c5d4;
}

.about-value-card-navy {
    background-color: #0D1240;
}

.about-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-icon-box-primary {
    background-color: #1a237e;
}

.about-icon-box-white {
    background-color: #FFFFFF;
}

.about-value-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.about-value-title-white {
    color: #FFFFFF;
}

.about-value-desc {
    color: #454652;
}

.about-value-desc-light {
    color: #e0e3e6;
    opacity: 0.8;
}



/*SEKCJA SPEZJALIZACJE FIRMY*/
.about-features {
    padding-top: 120px;
    padding-bottom: 120px;
}

.about-grid-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

.about-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #c6c5d4;
}

.about-feature-list-container > * + * {
    margin-top: 32px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
}

.about-feature-item .about-icon {
    margin-top: 4px;
}

.about-feature-item .about-icon .material-symbols-outlined {
    color: #000666;
}

.about-feature-label {
    margin-bottom: 8px;
    color: #191c1e;
}

.about-feature-desc {
    color: #454652;
}



/*RESPONSYWNOŚĆ*/
@media (min-width: 768px) {
    .about-nav-menu {
        display: flex;
    }

    .about-grid-about {
        grid-template-columns: repeat(12, 1fr);
    }
    .about-about-content {
        grid-column: span 7;
        padding-right: 48px;
    }
    .about-about-visual {
        grid-column: span 5;
    }

    .about-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-stats-badge {
        display: block;
    }
}

@media (max-width: 767px) {
    .about-hero-title {
        font-size: 28px;
        line-height: 36px;
        font-weight: 600;
    }
}



/*-----------------------------------------------------------------------------------*/
/*---------------------STRONA "PRODUKTY" - CSS---------------------------------------*/
/*-----------------------------------------------------------------------------------*/



/*SEKCJA HERO*/
.products-page-header {
    background-color: #e0e4e9;
    padding-top: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(198, 197, 212, 0.3);
}

.products-page-header .products-text-center {
    text-align: center;
}

.products-headline-xl {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #0D1240;
    margin-bottom: 16px;
}

.products-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #454652;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}



/*SEKCJA PRODUKTÓW (grid)*/
.products-product-grid-section {
    max-width: 1120px !important;
    padding-top: 120px;
    padding-bottom: 120px;
}

.products-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.products-product-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(13, 18, 64, 0.15); 
    border-radius: 0.15rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.06); 
}

.products-product-card:hover {
    box-shadow: 0 20px 25px -2px rgba(0, 0, 0, 0.2);
}

.products-product-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #eceef1;
}

.products-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-product-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.products-product-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: #0D1240;
    margin-bottom: 16px;
}

.products-product-description {
    font-family: 'Inter', sans-serif;
    color: #454652;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.products-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.products-tag {
    background-color: #d4d9e0;
    color: #0D1240;
    padding: 4px 12px;
    border-radius: 0.125rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/*Przycsiki w karcie produktu*/
.products-btn-primary 
{
    width: 100%;
    background-color: #0a1150;
    color: #FFFFFF;
    padding: 12px 0;
    border: none;
    border-radius: 0.3rem;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.products-btn-primary:hover 
{
    background-color: #1d25a3;
}

/* Styl dla komputerów i dużych ekranów (od 992px szerokości wzwyż) */
@media (min-width: 992px) 
{
    .products-product-grid 
    {
        /* 1. Zmiana na 2 kolumny (były pionowo, teraz będą obok siebie) */
        grid-template-columns: repeat(2, 1fr); 
        /* 2. WIĘKSZY ODSTĘP: Zwiększamy przerwę między blokami z 60px na np. 100px */
        gap: 100px; 
    }
    
}



/*SEKCJA DODATKOWEGO BANERA KONTAKTOWEGO*/
.products-cta-banner {
    background-color: #e5e8ee;
    border-top: 1px solid #c6c5d4;
    border-bottom: 1px solid #c6c5d4;
    padding-top: 80px;
    padding-bottom: 80px;
}

.products-cta-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.products-cta-content {
    max-width: 36rem;
    text-align: center;
}

.products-cta-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: #000666;
    margin-bottom: 16px;
}

.products-cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #454652;
}

.products-cta-actions {
    display: flex;
    gap: 16px;
}

/*Przycisk dodatkowego banera kontaktowego*/
.products-btn-banner 
{
    background-color: #000666;
    color: #FFFFFF;
    padding: 16px 32px;
    border: none;
    border-radius: 0.25rem;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.products-btn-banner:hover 
{
    opacity: 0.9;
}

.products-btn-banner:active 
{
    transform: scale(0.95);
}



/*RESPONSYWNOŚĆ*/
@media (min-width: 768px) {
    .products-nav-links {
        display: flex;
    }

    .products-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-cta-flex {
        flex-direction: row;
        text-align: left;
    }

    .products-cta-content {
        text-align: left;
        padding-left: 30px;
    }
    .products-cta-actions {
        text-align: left;
        padding-right: 30px;
    }
}



/* STYLIZACJA OKIENKA MODALNEGO (NOWY STYL - 100% RESPONSYWNY) */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px; /* Mniejszy padding na mobile, żeby wykorzystać przestrzeń */
    box-sizing: border-box;
}

.product-modal-overlay.active,
.product-modal-overlay:target {
    display: flex;
}

.product-modal-box {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 960px;
    border-radius: 0px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    
    /* GŁÓWNA ZMIANA MOBILE-FIRST */
    display: flex;
    flex-direction: column; /* Na telefonie: zdjęcie na górze, treść na dole */
    max-height: calc(100vh -40px); /* Blokada, żeby modal nigdy nie wystawał poza ekran telefonu */
    overflow-y: auto; /* Włącza przewijanie wewnątrz modala, jeśli tekst się nie mieści na małym ekranie */
    
    animation: modalFadeIn 0.3s ease-out;
}

/* Kolumna ze zdjęciem (Mobile) */
.product-modal-image {
    width: 100%;
    height: 200px; /* Ograniczona wysokość na telefonie, żeby nie zajęło całego ekranu */
    background-color: #f3f4f6;
    flex-shrink: 0; /* Blokuje kurczenie się zdjęcia */
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Kolumna z treścią (Mobile) */
.product-modal-content {
    padding: 24px; /* Mniejszy, zgrabny padding na telefonie */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Przycisk zamknięcia modala (krzyżyk) */
.product-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 32px;
    color: #454652;
    text-decoration: none;
    line-height: 1;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8); /* Tło pod krzyżykiem, by był widoczny na zdjęciu */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.product-modal-close:hover {
    color: #0A1150;
    background-color: #ffffff;
}

/* Detale typograficzne */
.modal-badge {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #1d25a3;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.modal-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 24px; /* Mniejsza czcionka na mobile, żeby tytuł się nie łamał brzydko */
    line-height: 30px;
    color: #0D1240;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.modal-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: #454652;
    margin: 0 0 24px 0;
}

.modal-features-grid {
    display: flex;
    flex-direction: column; 
    border-top: 1px solid #E5E8EE;
    padding-top: 20px;
}

/* Animacja otwierania */
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
    .product-modal-box {
        flex-direction: row; /* Zmiana układu na poziomy */
        max-height: 90vh; /* Na desktopie rozsądna wysokość max */
        overflow: hidden; /* Wyłączamy główny scroll, jeśli nie jest potrzebny */
    }
    
    .product-modal-image {
        width: 45%; /* Zdjęcie zajmuje 45% szerokości */
        height: auto; /* Resetujemy sztywną wysokość z mobile */
    }
    
    .product-modal-content {
        width: 55%; /* Treść zajmuje 55% szerokości */
        padding: 56px; /* Przestronny, elegancki padding */
        overflow-y: auto; /* Gdyby opis na desktopie był gigantyczny, przewija się tylko tekst */
    }

    .product-modal-close {
        top: 24px;
        right: 24px;
        background-color: transparent; /* Na desktopie krzyżyk jest na białym tle tekstu, nie potrzebuje kółka */
    }

    .modal-title {
        font-size: 32px;
        line-height: 40px;
    }

    .modal-features-grid {
        flex-direction: row; /* Parametry techniczne obok siebie */
        gap: 40px;
    }
}
.product-modal-overlay:target 
{
    display: flex;
}
.product-modal-overlay.active 
{
    display: flex;
}



/*-----------------------------------------------------------------------------------*/
/*---------------------STRONA "KONTAKT" - CSS----------------------------------------*/
/*-----------------------------------------------------------------------------------*/




/*SEKCJA HERO*/
.contact-hero-section {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #eff0f3;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #eff0f3;
    background-size: cover;
    background-position: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background-color: #eff0f3;
}

.contact-hero-content {
    position: relative;
    z-index: 20;
    padding-top: 30px;
    padding-bottom: 10px;
    width: 100%;
}

.contact-hero-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #051455;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.contact-hero-desc {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: #051559;
    opacity: 0.9;
    font-size: 18px;
    line-height: 28px;
}



/*SEKCJA INFORMACYJNA*/
.contact-info-section {
    background-color: #eff0f3;
    padding-top: 50px;
    padding-bottom: 120px;
}

.contact-section-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #0D1240;
    text-align: center;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.contact-card {
    background-color: #FFFFFF;
    border: 1px solid #c6c5d4;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    border-radius: 0.125rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-icon-wrapper {
    background-color: #0D1240;
    color: #FFFFFF;
    padding: 16px;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-label {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #767683;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-card-value {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #0D1240;
    text-decoration: none;
}

.contact-space-y-4 > * + * {
    margin-top: 16px;
}



/*RESPONSYWNOŚĆ (reguły RWD)*/
@media (min-width: 768px) {
    .contact-grid-container 
    {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav 
    {
        display: none; 
    }
    .contact-card-label
    {
        font-size: 12px;
    }
    .contact-card-value
    {
        font-size: 17px;
    }
}



/*-----------------------------------------------------------------------------------*/
/*---------------------STRONA "POLITYKA PRYWATNOŚCI" - CSS---------------------------*/
/*-----------------------------------------------------------------------------------*/



.polityka-prywatnosci 
{
    max-width: 800px;           
    margin: 40px auto;          
    padding: 0 20px;            
    font-family: 'Inter', sans-serif; 
    color: #333333;            
    line-height: 1.6;           
}
.polityka-prywatnosci h1 
{
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 5px;
    text-align: center;        
}
.polityka-prywatnosci h2 
{
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 1.4rem;
    color: #222222;
    margin-top: 30px;           
    margin-bottom: 15px;       
}
.polityka-prywatnosci h2.subtitle 
{
    font-size: 1.2rem;
    color: #666666;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    font-weight: 500;
}
.polityka-prywatnosci ul 
{
    list-style-type: disc;
    padding-left: 20px;        
}
.polityka-prywatnosci li 
{
    margin-bottom: 12px;     
}










