:root{

    --bg:#FAF7F2;

    --navy:#374151;

    --text:#5B6470;

    --accent:#D97E59;

    --accent-soft:#FFF1EA;

    --white:#ffffff;

}

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Outfit',sans-serif;

    background:var(--bg);

    color:var(--navy);

    overflow-x:hidden;

}

section{
    position:relative;
}

h1,h2,h3{

    font-family:'Playfair Display',serif;

    letter-spacing:-1px;

}

a{
    text-decoration:none;
}

/* NAVBAR */

.glass-nav{

    position:fixed;

    top:10px;

    left:50%;

    transform:translateX(-50%);

    width:calc(100% - 24px);

    max-width:1180px;

    z-index:1000;

    background:rgba(255,255,255,0.88);

    backdrop-filter:blur(16px);

    border-radius:100px;

    border:1px solid rgba(255,255,255,0.45);

    box-shadow:
        0 10px 35px rgba(0,0,0,0.05);

}

.nav-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:12px 24px;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo img{

    height:42px;

    display:block;

}

.nav-meta{

    color:#8B8B8B;

    font-size:0.82rem;

    letter-spacing:.4px;

    white-space:nowrap;

}

.nav-links{

    display:flex;

    gap:28px;

    margin-left:40px;

}

.nav-links a{

    color:var(--navy);

    font-size:0.95rem;

    font-weight:500;

    transition:0.3s;

}

.nav-links a:hover{
    color:var(--accent);
}

/* BUTTONS */

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:17px 32px;

    border-radius:100px;

    background:var(--accent);

    color:white;

    font-weight:700;

    transition:0.35s ease;

    box-shadow:
        0 10px 25px rgba(232,155,122,0.25);

}

.btn-primary:hover{

    transform:translateY(-4px);

    background:#de8864;

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:17px 30px;

    border-radius:100px;

    border:1.5px solid rgba(55,65,81,0.12);

    background:rgba(255,255,255,0.6);

    backdrop-filter:blur(10px);

    color:var(--navy);

    font-weight:700;

    transition:0.35s ease;

}

.btn-secondary:hover{

    transform:translateY(-4px);

    background:white;

    border-color:rgba(232,155,122,0.4);

    color:var(--accent);

}

/* HERO */

.hero{

    min-height:62vh;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:120px 10% 50px;

    background:
        url('/img/Hero_Background.png')
        center center/cover no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(250,247,242,0.0),
            rgba(250,247,242,0.70)
        );

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

}

.hero-kicker{

    display:inline-block;

    margin-bottom:22px;

    padding:10px 18px;

    border-radius:100px;

    background:rgba(255,255,255,0.8);

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:0.78rem;

    font-weight:700;

}

.hero h1{

    font-size:clamp(3.4rem,7vw,5.8rem);

    line-height:1;

    margin-bottom:26px;

}

.hero h1 span{

    font-style:italic;

    color:var(--accent);

    text-shadow:
        0 2px 15px rgba(255,255,255,0.9),
        0 0 30px rgba(255,255,255,0.6);
}

.hero p{

    max-width:720px;

    margin:0 auto 40px;

    font-size:1.18rem;

    line-height:1.8;

    color:var(--text);

}

.hero-actions{

    display:flex;

    justify-content:center;

    gap:24px;

}

/* TRUST BAR */

.trustbar{

    background:#F3ECE5;

    padding:22px 10%;

    display:flex;

    justify-content:center;

    gap:60px;

    flex-wrap:wrap;

    text-transform:uppercase;

    font-size:0.78rem;

    letter-spacing:1px;

    color:#7A6B61;

}

/* ABOUT */

.about-section{

    padding:80px 10%;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

}

.about-image {
    width: 100%;
    max-height: 800px;

    border-radius: 40px;

    overflow: hidden;

    position: relative;

    isolation: isolate;

}

.about-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 50% 30%;

    transform: scale(0.80);
    transform-origin: center;

    will-change: transform;

    backface-visibility: hidden;
}

.section-tag{

    display:inline-block;

    margin-bottom:20px;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:0.8rem;

    font-weight:700;

}

.about-text h2{

    font-size:clamp(2rem,3.8vw,3.2rem);

    line-height:1.15;

    margin-bottom:26px;

    max-width:700px;
}

.about-text p{

    font-size:1.05rem;

    line-height:1.9;

    color:var(--text);

    margin-bottom:20px;

}

 /*Ciekawostki*/

.insight-section{

    padding:20px 10% 70px;

}

.insight-card{

    max-width:760px;

    margin:0 auto;

    background:white;

    border-radius:28px;

    padding:38px 42px;

    border:1px solid rgba(232,155,122,0.15);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.035);

}

.insight-card h2{

    font-size:clamp(1.5rem,2vw,2.1rem);

    line-height:1.2;

    margin-bottom:18px;

    max-width:520px;

}

.insight-card p{

    font-size:0.98rem;

    line-height:1.75;

    color:var(--text);

    margin-bottom:14px;

}

.insight-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:28px;

    align-items:start;

}

/* CATEGORIES */

.categories{

    padding:20px 10% 80px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.category-card{

    background:white;
    padding:45px;
    border-radius:35px;
    /* Szybszy czas i agresywny, sprężysty profil ruchu przy najechaniu */
    transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.22s ease, border-color 0.22s ease;
    min-height:320px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border:1px solid rgba(232,155,122,0.18);
    box-shadow:
        0 12px 30px rgba(0,0,0,0.04);

}

.category-card:hover{

    /* POPRAWIONE: Wyraźne podniesienie w górę i potężny, przestrzenny, rozproszony cień */
    transform:translateY(-18px);
    box-shadow:
        0 35px 60px rgba(0,0,0,0.12);
    border-color:rgba(232,155,122,0.45);

}

.category-card:nth-child(2){
    background:#F2FAF0;
    border-color:#CFE8C9;
}

.category-card:nth-child(2):hover{
    border-color:#a1d894;
}

.category-card:nth-child(3){
    background:#FFF3E8;
    border-color:#FFD7B8;
}

.category-card:nth-child(3):hover{
    border-color:#ffbc85;
}

.featured{

    background:#FFE9DE !important;

    border:2px solid #F4B89D;

    box-shadow:
        0 18px 40px rgba(232,155,122,0.12);

}

.category-card span{

    color:var(--accent);

    text-transform:uppercase;

    font-size:0.75rem;

    letter-spacing:2px;

    font-weight:700;

}

.category-card h3{

    font-size:2.1rem;

    margin:18px 0;

}

.category-card p{

    color:var(--text);

    line-height:1.8;

}

.category-card a{

    margin-top:25px;

    color:var(--accent);

    font-weight:700;

}

/* BENEFITS */

.benefits{

    padding:0 10% 80px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.benefit{

    background:white;

    padding:40px;

    border-radius:30px;

}

.benefit h3{

    font-size:1.7rem;

    margin-bottom:18px;

}

.benefit p{

    line-height:1.8;

    color:var(--text);

}

/* FINAL CTA */

.final-cta{

    padding:90px 10%;

    text-align:center;

    background:#F3ECE5;

}

.final-cta span{

    display:inline-block;

    margin-bottom:20px;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:0.8rem;

    font-weight:700;

}

.final-cta h2{

    max-width:850px;

    margin:0 auto 35px;

    font-size:clamp(2.8rem,6vw,4.8rem);

    line-height:1.05;

}

/* FOOTER */

.footer{

    background:white;

    padding:80px 10% 35px;

    border-top:1px solid rgba(0,0,0,0.06);

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:55px;

    margin-bottom:50px;

}

.footer-logo{

    width:140px;

    margin-bottom:20px;

}

.footer-column h3{

    font-size:1rem;

    margin-bottom:20px;

    font-family:'Outfit',sans-serif;

}

.footer-column p,
.footer-column a{

    display:block;

    color:var(--text);

    line-height:1.9;

    margin-bottom:10px;

    font-size:0.95rem;

}

.footer-column a{

    transition:.25s ease;

}

.footer-column a:hover{

    color:var(--accent);

}

.footer-company-data{

    margin-top:18px;

}

.footer-bottom{

    padding-top:25px;

    border-top:1px solid rgba(0,0,0,0.06);

    text-align:center;

    color:#9CA3AF;

    font-size:0.9rem;

}

/* MOBILE */

@media(max-width:1100px){

    .about-section,
    .categories,
    .benefits{

        grid-template-columns:1fr;

    }

    .nav-meta{
        display:none;
    }

    .nav-links{

        display:flex;

        gap:18px;

    }

    .nav-links a{
        font-size:0.88rem;
    }

    .btn-primary{

        padding:12px 20px;

        font-size:0.9rem;

    }

    .hero-actions{

        flex-direction:column;

        align-items:center;

    }

}

@media(max-width:700px){

    .hero h1{
        font-size:3.2rem;
    }

    .hero p{
        font-size:1rem;
    }

    .glass-nav{

        width:calc(100% - 16px);

        top:8px;

        border-radius:24px;

    }

    .nav-container{

        padding:14px 18px;

    }

    .nav-links{
        display:none;
    }

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

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

}

/* ==========================================================
   INTERAKTYWNY MIŚ SENSORYCZNY (MICROSOFT TEAMS CELEBRATION)
   ========================================================== */
.peeking-bear {
    position: fixed;
    bottom: 0;
    right: 50px;
    width: 130px;
    height: 170px;
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.peeking-bear.state-0 {
    transform: translateY(106px);
}
.peeking-bear.state-0 .legs-sitting,
.peeking-bear.state-0 .legs-standing,
.peeking-bear.state-0 .arms-free {
    opacity: 0;
}
.peeking-bear.state-0 .arms-holding {
    opacity: 1;
}

.peeking-bear.state-1 {
    transform: translateY(46px);
}
.peeking-bear.state-1 .legs-sitting {
    opacity: 1;
}
.peeking-bear.state-1 .legs-standing,
.peeking-bear.state-1 .arms-free {
    opacity: 0;
}
.peeking-bear.state-1 .arms-holding {
    opacity: 1;
}

.peeking-bear.state-2 {
    transform: translateY(0px);
}
.peeking-bear.state-2 .legs-sitting,
.peeking-bear.state-2 .arms-holding {
    opacity: 0;
}
.peeking-bear.state-2 .legs-standing,
.peeking-bear.state-2 .arms-free {
    opacity: 1;
}

.peeking-bear.state-3 {
    animation: teamsCelebration 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.peeking-bear.state-3 .legs-sitting,
.peeking-bear.state-3 .arms-holding {
    opacity: 0;
}
.peeking-bear.state-3 .legs-standing,
.peeking-bear.state-3 .arms-free {
    opacity: 1;
}

@keyframes teamsCelebration {
    0% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
    30% {
        transform: translateY(-120px) scale(1.15) rotate(-10deg);
    }
    50% {
        transform: translateY(-140px) scale(1.15) rotate(15deg);
    }
    100% {
        transform: translateY(240px) scale(1) rotate(0deg);
    }
}

.legs-sitting, .legs-standing, .arms-holding, .arms-free {
    transition: opacity 0.2s ease-in-out;
}

@media (max-width: 1100px) {
    .peeking-bear {
        right: 15px !important;
        width: 100px !important;
        height: 130px !important;
    }
}

/* ==========================================================
   ORYGINALNE ANIMACJE UJAWNIANIA (REVEAL) I POZOSTAŁE STYLE
   ========================================================== */
.about-text, .reveal-left, .reveal-right, .reveal-bottom, .category-card, .benefit {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-bottom, .category-card, .benefit, .about-text { transform: translateY(50px); }

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

.benefit:nth-child(1) { transition-delay: 0.1s; }
.benefit:nth-child(2) { transition-delay: 0.2s; }
.benefit:nth-child(3) { transition-delay: 0.3s; }

.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

.about-image img.is-visible {
    transform: scale(1) !important;
    transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}