/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#FCFBF8;
    color:#3F4A5A;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}
#logo1{
    width: 80px;
    height: 80px;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* =========================
   ZMIENNE
========================= */

:root{

    --primary:#1F3F73;
    --secondary:#4A90E2;

    --bg:#FCFBF8;
    --white:#FFFFFF;

    --text:#3F4A5A;

    --shadow:
        0 10px 30px rgba(31,63,115,.08);

    --shadow-hover:
        0 18px 40px rgba(31,63,115,.14);

    --radius-card:20px;
    --radius-btn:30px;

}
.container{
    width:min(1320px,92%);
    margin:auto;
}
.header{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:90px;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    border-bottom:1px solid #F0F2F5;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 40px;

    z-index:9999;

    transition:.3s;
}

.header.shrink{
    height:70px;
}

.logo-wrapper{
    display:flex;
    align-items:center; 
   
    
}

.logo-link{
    display:flex;
    align-items:center;
    gap:18px;
}

.logo{
    width:52px;
    height:auto;
}
#cale {
    width: 20px;
    height: 20px;
    float: right;
}
span {
    display: flex;
    flex-direction: row;
}
.hero {
    background-image: url('banerHERO.png ') ;
    width: 100%;
}
.hero-content {
    width: 100%;
}

    
    


.logo-text h2{

    font-family:'Cormorant Garamond',serif;

    font-size:clamp(1rem,2.5vw,2.5rem);

    color:var(--primary);

    font-weight:600;

    margin-bottom: 0px;
    width: 100%;

}
.logo-text h3 {
    color: #275db6;
}
.logo-text {
    width: 400px;
}
.logo-wrapper {
    
    width: 100%;
}

.logo-text span{

    display:block;

    margin-top:4px;

    font-size:clamp(0.5rem,1vw,1rem);;

    color:#1d5ea8 ;

    font-weight:500;

    margin-top: -130px;
}
.desktop-menu ul{

    display:flex;
    align-items:center;
    
    gap:45px;
}
#cos {
    width: 90px;
}
#cos a {
    width: 100%;
}
#cos1 {
    width: 70px;
}
#cos1 a {
    width: 100%;
}
.menu-link{

    position:relative;

    color:#243B67;

    font-size:20px;

    font-weight:500;

    transition:.3s;
}

.menu-link:hover{

    color:var(--primary);
}

.menu-link::after{

    content:'';

    position:absolute;

    left:50%;
    bottom:-8px;

    width:0;
    height:2px;

    background:var(--secondary);

    transition:.3s;
}

.menu-link:hover::after{

    width:100%;
    left:0;
}

.menu-link.active{

    font-weight:700;

    color:var(--primary);
}

.menu-link.active::after{

    width:100%;
    left:0;
}
.hamburger{

    display:none;

    border:none;
    background:none;

    font-size:34px;

    color:var(--primary);

    cursor:pointer;
}

.mobile-menu{

    position:fixed;

    top:70px;
    left:-100%;

    width:100%;

    background:white;

    padding:40px;

    transition:.4s;

    z-index:9000;
}

.mobile-menu.active{

    left:0;
}

.mobile-menu a{

    display:block;

    margin:15px 0;

    color:var(--primary);

    font-size:20px;
}
.hero{

    position:relative;

    min-height:100vh;

    background-image:url('../images/hero-home.jpg');

    background-position:center center;

    background-size:cover;

    display:flex;
    align-items:center;
}

.hero-overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(255,255,255,.25),
        rgba(255,255,255,.15)
    );
}

.hero-content{

    position:relative;

    z-index:2;

    margin-left:100px;

    max-width:700px;
}

.hero h1{

    font-family:'Cormorant Garamond',serif;

    color:var(--primary);

    font-size:72px;

    line-height:1.05;

    font-weight:600;
    width: 100%;
}
.hero-script{

    margin-top:20px;

    font-family:'Parisienne',cursive;

    font-size:48px;

    color:var(--primary);
}

.hero-heart{

    margin-top:12px;

    font-size:40px;
}

.hero p{

    margin-top:40px;

    font-size:24px;

    color:#333;

    line-height:1.5;
}
.hero-btn{

    display:inline-block;

    margin-top:35px;

    background:var(--primary);

    color:white;

    padding:16px 40px;

    border-radius:30px;

    font-size:22px;

    font-weight:600;

    transition:.3s;
}

.hero-btn:hover{

    background:#2C5AA0;

    transform:translateY(-2px);
}
.hero-gradient{

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:180px;

    background:
    linear-gradient(
        transparent,
        #FCFBF8
    );
}
/* =========================
   KAFELKI
========================= */

.cards-section{

    padding:120px 0;

    background:#FCFBF8;
}

.cards-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:35px;
}

.card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

    display:flex;

    flex-direction:column;

    min-height:720px;

    position:relative;
}

.card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);
}
.card-icon{

    padding-top:35px;

    display:flex;

    justify-content:center;
}

.card-icon img{

    width:70px;

    height:70px;

    object-fit:contain;
}

.card-heart{

    text-align:center;

    color:#8BB4F7;

    font-size:26px;

    margin-top:15px;
}
.card h2{

    font-family:
    'Cormorant Garamond',
    serif;

    color:var(--primary);

    font-size:38px;

    text-align:center;

    padding:25px 30px 10px;

    line-height:1.15;
    color: #1F3F73;
}

.card p{

    text-align:center;

    padding:10px 35px;

    font-size:18px;

    line-height:1.7;

    flex-grow:1;
}
.kaf {
    font-weight: bold;
    color:#3F4A5A;
    
    
}
.card-image{

    height:260px;

    overflow:hidden;
}

.card-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.5s;
}

.card:hover .card-image img{

    transform:scale(1.05);
}
.card-btn{

    width:85%;

    margin:25px auto 35px;

    text-align:center;

    background:var(--primary);

    color:white;

    padding:15px 20px;

    border-radius:30px;

    font-size:18px;

    font-weight:600;

    transition:.3s;
}

.card-btn:hover{

    background:#4A90E2;
}
/* =========================
   WARTOŚCI
========================= */

.value-bar{

    background:white;

    padding:100px 0;
}

.value-grid{

    display:grid;

    grid-template-columns:
    repeat(5,1fr);

    gap:25px;
}
.value-item{

    background:#FCFBF8;

    border-radius:20px;

    padding:35px;

    text-align:center;

    transition:.3s;

    color:inherit;
}

.value-item:hover{

    transform:translateY(-5px);

    box-shadow:var(--shadow);
}

.value-item img{

    width:65px;

    height:65px;

    margin:auto auto 20px;
}

.value-item h3{

    font-family:
    'Cormorant Garamond',
    serif;

    color:var(--primary);

    font-size:32px;

    margin-bottom:15px;
}

.value-item p{

    font-size:17px;

    line-height:1.6;
}
/* =========================
   CYTAT
========================= */

.quote-section{

    

    background:
    linear-gradient(
        180deg,
        #FCFBF8,
        #F3F5F7
    );
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

blockquote{

    max-width:1100px;

    margin:auto;

    text-align:center;

    font-family:
    'Cormorant Garamond',
    serif;

    color:var(--primary);

    font-size:44px;

    line-height:1.3;

    font-style:italic;
}
/* =========================
   FOOTER
========================= */

.footer{

    background:#1F3F73;

    color:white;

    
    height: 240px;
}

.footer-logo{

    text-align:center;
}

.footer-logo img{

    width:90px;

    margin:auto;
}

.footer-logo h3{

    margin-top:20px;

    font-family:
    'Cormorant Garamond',
    serif;

    font-size:32px;
}

.footer-logo p{

    margin-top:10px;

    color:#D6E5FF;
}
.footer-menu{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:30px;

    margin:45px 0;
}

.footer-menu a{

    color:white;

    font-size:18px;
}

.footer-menu a:hover{

    color:#8BB4F7;
}

.footer-copy{

    text-align:center;

    font-size:15px;

    opacity:.8;
}
@media(max-width:1200px){

.hero h1{
    font-size:60px;
}

.cards-grid{
    grid-template-columns:
    repeat(2,1fr);
}

.value-grid{
    grid-template-columns:
    repeat(2,1fr);
}

blockquote{
    font-size:48px;
}

}
@media(max-width:1500px){

.desktop-menu{
    display:none;
}

.hamburger{
    display:block;
}

.hero-content{

    margin:0 30px;
}

.hero h1{

    font-size:46px;
}

.hero-script{

    font-size:34px;
}

.hero p{

    font-size:20px;
}

.cards-grid{

    grid-template-columns:1fr;
}

.value-grid{

    grid-template-columns:1fr;
}

blockquote{

    font-size:34px;

    padding:0 20px;
}

.logo-text h2{

    font-size:26px;
}

.logo-text span{

    font-size:13px;
}

.header{

    padding:0 20px;
}

}
/* ==========================================
   KAFELEK 1
   PIERWSZA PRZYSTAŃ
========================================== */

/* BANER */

.subpage-hero{

    position:relative;

    min-height:350px;
    width: 100%;
    height: 400px;
    display:flex;

    align-items:center;
    justify-content:center;

    text-align:center;

    background-image:url('baner-pierwsza-przystan.jpg');

    background-size:cover;
    background-position:center;

    margin-top:90px;
}

.subpage-overlay{

    position:absolute;
    inset:0;
    
    background:
    linear-gradient(
        rgba(255,255,255,.35),
        rgba(255,255,255,.15)
    );
}

.subpage-content{

    position:relative;

    z-index:2;

    width:min(1000px,90%);
}

.subpage-content h1{

    font-family:'Cormorant Garamond',serif;

    color:#1F3F73;

    font-size:clamp(3rem,6vw,5rem);

    margin-bottom:20px;
}

.subpage-subtitle{

    font-size:clamp(1.1rem,2vw,1.8rem);

    color:#243B67;

    font-weight:500;
}

/* WPROWADZENIE */

.intro-section{

    padding:100px 0;
}

.intro-container{

    max-width:950px;
    
}

.intro-text{

    text-align:justify;

    line-height:1.9;

    font-size:20px;
}

.intro-text p{

    margin-bottom:28px;
}

.intro-text h3{

    margin-top:40px;

    color:#1F3F73;

    font-size:32px;

    font-family:'Cormorant Garamond',serif;
}

/* KAFELKI */

.direction-section{

    padding:40px 0 120px;
}

.direction-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

    max-width:1100px;

    margin:auto;
}

.direction-card{

    background:white;

    border-radius:20px;

    min-height:240px;

    display:flex;

    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    padding:40px;

    box-shadow:0 10px 30px rgba(31,63,115,.08);

    transition:.3s;

    color:#243B67;
}

.direction-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(31,63,115,.14);
}

.direction-icon{

    font-size:52px;

    margin-bottom:20px;
}

.direction-card h2{

    font-family:'Cormorant Garamond',serif;

    font-size:36px;

    color:#1F3F73;

    margin-bottom:25px;
}

.direction-card span{

    display:inline-block;

    background:#1F3F73;

    color:white;

    padding:12px 28px;

    border-radius:30px;

    font-size:16px;

    font-weight:600;
}

.direction-center{

    grid-column:1 / span 2;

    max-width:520px;

    width:100%;

    justify-self:center;
}

/* SEKCJA KOŃCOWA */

.closing-section{

    padding:50px 0;

    background:
    linear-gradient(
        180deg,
        #FCFBF8,
        #F3F5F7
    );
}

.closing-section blockquote{

    max-width:900px;

    margin:auto;

    text-align:center;

    font-family:'Cormorant Garamond',serif;

    color:#1F3F73;

    font-size:42px;

    line-height:1.4;

    font-style:italic;
}

/* RESPONSYWNOŚĆ */

@media(max-width:992px){

    .direction-grid{

        grid-template-columns:1fr;
    }

    .direction-center{

        grid-column:auto;

        max-width:none;
    }

    .direction-card{

        min-height:220px;
    }

}

@media(max-width:768px){

    .subpage-hero{

        min-height:500px;
    }

    .intro-section{

        padding:70px 0;
    }

    .intro-text{

        font-size:18px;
    }

    .intro-text h3{

        font-size:28px;
    }

    .direction-card h2{

        font-size:30px;
    }

    .closing-section blockquote{

        font-size:32px;

        padding:0 20px;
    }

}
/* ==========================================
   KAFELEK 1
   PIERWSZA PRZYSTAŃ
========================================== */

/* ---------- BANER ---------- */

.subpage-hero {

    position: relative;

    min-height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    margin-top: 90px;
}

.subpage-overlay {

    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(255,255,255,0.35),
        rgba(255,255,255,0.15)
    );
}

.subpage-content {

    position: relative;
    z-index: 2;

    width: min(1000px, 90%);
}

.subpage-content h1 {

    font-family: 'Cormorant Garamond', serif;

    color: #1F3F73;

    font-size: clamp(3rem, 6vw, 5rem);

    line-height: 1.1;

    margin-bottom: 20px;
}

.subpage-subtitle {

    font-size: clamp(1.2rem, 2vw, 1.8rem);

    color: #243B67;

    font-weight: 500;
}

/* ---------- WPROWADZENIE ---------- */

.intro-section {

    padding: 90px 0;
}

.intro-container {

    max-width: 950px;
}

.intro-text {

    text-align: justify;

    font-size: 20px;

    line-height: 1.9;

    color: #3F4A5A;
}

.intro-text p {

    margin-bottom: 28px;
}

.intro-text h3 {

    margin-top: 40px;

    color: #1F3F73;

    font-family: 'Cormorant Garamond', serif;

    font-size: 34px;
}

/* ---------- KAFELKI ---------- */

.direction-section {

    padding: 20px 0 120px;
}

.direction-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

    max-width: 1100px;

    margin: auto;
}
.direction-grid2 {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 35px;

    max-width: 1100px;

    margin: auto;
}
@media (max-width: 1100px) {

    .direction-grid2 {

        grid-template-columns: repeat(1, 1fr);
    }

    .direction-center {

        grid-column: auto;

        max-width: none;
    }
}

.direction-card {

    background: #ffffff;

    border-radius: 20px;

    min-height: 260px;

    padding: 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: #243B67;

    box-shadow: 0 10px 30px rgba(31,63,115,.08);

    transition: .35s;
}

.direction-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 40px rgba(31,63,115,.14);
}

.direction-icon {

    font-size: 54px;

    margin-bottom: 20px;
}

.direction-card h2 {

    font-family: 'Cormorant Garamond', serif;

    color: #1F3F73;

    font-size: 36px;

    line-height: 1.2;

    margin-bottom: 25px;
}

.direction-card span {

    display: inline-block;

    background: #1F3F73;

    color: white;

    padding: 14px 30px;

    border-radius: 30px;

    font-size: 16px;

    font-weight: 600;

    transition: .3s;
}

.direction-card:hover span {

    background: #4A90E2;
}

.direction-center {

    grid-column: 1 / span 2;

    max-width: 520px;

    width: 100%;

    justify-self: center;
}

/* ---------- CTA / KONTAKT ---------- */

.cta-section {

    padding: 100px 0;

    background: white;
}

.cta-box {

    max-width: 900px;

    margin: auto;

    background: #FCFBF8;

    border-radius: 24px;

    padding: 60px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(31,63,115,.08);
}

.cta-box h2 {

    color: #1F3F73;

    font-family: 'Cormorant Garamond', serif;

    font-size: 42px;

    margin-bottom: 20px;
}

.cta-box p {

    color: #3F4A5A;

    font-size: 20px;

    line-height: 1.8;

    margin-bottom: 35px;
}

.cta-btn {

    display: inline-block;

    background: #1F3F73;

    color: white;

    padding: 16px 38px;

    border-radius: 30px;

    font-weight: 600;

    transition: .3s;
}

.cta-btn:hover {

    background: #4A90E2;
}

/* ---------- CYTAT KOŃCOWY ---------- */

.closing-section {

    padding: 100px 0;

    background: linear-gradient(
        180deg,
        #FCFBF8,
        #F3F5F7
    );
}

.closing-section blockquote {

    max-width: 900px;

    margin: auto;

    text-align: center;

    font-family: 'Cormorant Garamond', serif;

    font-size: 42px;

    line-height: 1.4;

    font-style: italic;

    color: #1F3F73;
}

/* ---------- RESPONSYWNOŚĆ ---------- */

@media (max-width: 1100px) {

    .direction-grid {

        grid-template-columns: 1fr;
    }

    .direction-center {

        grid-column: auto;

        max-width: none;
    }
}

@media (max-width: 768px) {

    .subpage-hero {

        min-height: 500px;
    }

    .intro-section {

        padding: 70px 0;
    }

    .intro-text {

        font-size: 18px;
    }

    .intro-text h3 {

        font-size: 28px;
    }

    .direction-card {

        min-height: 220px;

        padding: 30px;
    }

    .direction-card h2 {

        font-size: 30px;
    }

    .cta-box {

        padding: 40px 25px;
    }

    .cta-box h2 {

        font-size: 32px;
    }

    .cta-box p {

        font-size: 18px;
    }

    .closing-section blockquote {

        font-size: 30px;

        padding: 0 20px;
    }
}

/* ===== ZDJĘCIA W ARTYKUŁACH PORTÓW I TYTUŁY I podtytuły z białym tłem===== */

.port-article-image {
    margin: 30px auto 36px;
    text-align: center;
}

.port-article-image img {
    width: auto;
    max-width: 100%;
    max-height: 620px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .port-article-image {
        margin: 24px auto 30px;
    }

    .port-article-image img {
        width: 100%;
        max-height: none;
        border-radius: 10px;
    }
}
.subpage-hero {
    position: relative;
    overflow: hidden;
}

.subpage-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.subpage-content {
    position: relative;
    z-index: 2;
}
.subpage-content h1 {
    color: #1F3F73;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-shadow:
        -1px -1px 1px rgba(255, 255, 255, 0.95),
         1px -1px 1px rgba(255, 255, 255, 0.95),
        -1px  1px 1px rgba(255, 255, 255, 0.95),
         1px  1px 1px rgba(255, 255, 255, 0.95),
         0 0 6px rgba(255, 255, 255, 0.8);
}

.subpage-subtitle,
.subpage-subtitle strong {
    color: #1F3F73;

    text-shadow:
        -1px -1px 1px rgba(255, 255, 255, 0.9),
         1px -1px 1px rgba(255, 255, 255, 0.9),
        -1px  1px 1px rgba(255, 255, 255, 0.9),
         1px  1px 1px rgba(255, 255, 255, 0.9),
         0 0 5px rgba(255, 255, 255, 0.75);
}

/* ===== KAFELEK 1 — ZWARTY TEKST ARTYKUŁÓW ===== */

.kafelek2-compact-section {
    padding: 45px 0 !important;
}

.kafelek2-compact-text {
    text-align: left !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
    max-width: 900px;
    margin: 0 auto;
}

.kafelek2-compact-text p {
    text-align: left !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
}

.kafelek2-compact-text b,
.kafelek2-compact-text strong {
    font-weight: 700;
}

.kafelek2-compact-text h3 {
    margin-top: 34px !important;
    margin-bottom: 16px !important;
    font-size: clamp(28px, 3vw, 36px) !important;
    line-height: 1.25 !important;
    color: #1F3F73;
}
