/* ========================================
   RESET
======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

/* ========================================
   HEADER
======================================== */

.header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:100;
}

.header-container{
    display:flex;
    align-items:center;
    height:100px;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:45px;
    width:auto;
}

body{

    font-family:"Segoe UI",sans-serif;

    background:
        radial-gradient(
            circle at top right,
            rgba(215,166,92,.08),
            transparent 35%
        ),

        linear-gradient(
            180deg,
            #05070b 0%,
            #08101a 35%,
            #09162b 60%,
            #08101a 85%,
            #05070b 100%
        );

    color:#fff;

    line-height:1.7;

    overflow-x:hidden;
}

/* ========================================
   GLOBAL
======================================== */

:root{

    --bg:#05070b;
    --bg-secondary:#0b1018;

    --card:#0c121c;

    --gold:#d7a65c;
    --gold-hover:#e0b675;

    --text:#ffffff;
    --text-secondary:#9ca7b8;

    --border:rgba(255,255,255,0.08);

    --container:1300px;
}

.problems,
.services,
.approach,
.why-novako{
    background:none;
}

.container{
    width:min(90%, var(--container));
    margin:auto;
}

section{
    padding:120px 0;
    position:relative;
}

section::after{

    content:"";

    position:absolute;

    bottom:0;
    left:50%;

    transform:translateX(-50%);

    width:70%;

    height:1px;

    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.06),
        transparent
    );
}

.section-label{
    display:block;
    color:var(--gold);
    font-size:.75rem;
    letter-spacing:3px;
    margin-bottom:20px;
}

.hero h1{
    font-size:clamp(3rem,5vw,5rem);
    line-height:1.1;
    font-weight:700;
}

h2{
    font-size:clamp(2rem,3vw,3rem);
    line-height:1.2;
    margin-bottom:25px;
}

h3{
    font-size:1.2rem;
    margin-bottom:15px;
}

span{
    transition:.3s;
}

h1 span,
h2 span{
    color:var(--gold);
}

p{
    color:var(--text-secondary);
}

img{
    width:100%;
    display:block;
}

/* ========================================
   HERO
======================================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(215,166,92,.15),
    transparent 35%);

    pointer-events:none;
}

.hero-kicker{

    display:block;

    color:var(--gold);

    font-size:.85rem;

    letter-spacing:3px;

    margin-bottom:25px;

    font-weight:600;
}

.hero h1{

    font-size:clamp(3rem, 4.5vw, 5rem);

    line-height:1.05;

    max-width:700px;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.hero-text p{
    max-width:650px;
    margin:30px 0;
    font-size:1.1rem;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-bottom:40px;
}

.btn-primary{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:18px 34px;

    background:var(--gold);

    color:#05070b;

    text-decoration:none;

    font-weight:700;

    border-radius:14px;

    box-shadow:
        0 10px 30px rgba(215,166,92,.18);

    transition:.3s;
}

.btn-primary:hover{

    background:var(--gold-hover);

    transform:translateY(-2px);

    box-shadow:
        0 16px 40px rgba(215,166,92,.25);
}

.btn-secondary{

    display:inline-flex;
    align-items:center;

    padding:18px 28px;

    background:
        rgba(255,255,255,.02);

    border:1px solid rgba(255,255,255,.08);

    color:#d5dbe4;

    text-decoration:none;

    border-radius:14px;

    backdrop-filter:blur(10px);

    transition:.3s;
}

.btn-secondary:hover{

    transform:translateY(-2px);

    border-color:
        rgba(215,166,92,.25);

    color:#fff;

    background:
        rgba(255,255,255,.04);
}

.hero-benefits{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
}

.hero-benefits span{
    color:var(--text-secondary);
    font-size:.95rem;
}

.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image img{
    width:90%;
    max-width:900px;
}

/* ========================================
   PROBLEMS
======================================== */

.problems .service-card{

    border-top:3px solid #8f4c4c;
}

.problems .service-card:hover{

    border-top-color:#b96363;

    border-right-color:rgba(185,99,99,.3);
    border-bottom-color:rgba(185,99,99,.3);
    border-left-color:rgba(185,99,99,.3);
}

/* ========================================
   SERVICES
======================================== */

.services h2{
    text-align:left;
    margin-bottom:70px;
}

.services .section-label{
    text-align:left;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.service-card{

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.02),
        rgba(255,255,255,.01)
    );

    border:1px solid var(--border);
    border-top:3px solid var(--gold);

    border-radius:18px;

    padding:40px 35px;

    text-align:left;

    transition:.3s;
}

.service-card:hover{

    transform:translateY(-8px);

    border-top-color:var(--gold-hover);

    border-right-color:rgba(215,166,92,.3);
    border-bottom-color:rgba(215,166,92,.3);
    border-left-color:rgba(215,166,92,.3);
}

.service-card h3{

    font-size:1.45rem;

    line-height:1.35;

    margin-bottom:20px;

    color:#fff;
}

.service-card p{

    font-size:1rem;

    color:var(--text-secondary);

    line-height:1.8;
}

/* ========================================
   APPROACH
======================================== */

.approach-grid{

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:100px;

    align-items:start;
}

.approach-content p{

    max-width:550px;

    margin-top:30px;

    font-size:1.05rem;
}

.approach-process{

    display:flex;
    flex-direction:column;

    gap:25px;
}

.process-card{

    display:flex;

    align-items:center;

    gap:25px;

    padding:30px;

    border:1px solid var(--border);

    border-radius:18px;

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.02),
        rgba(255,255,255,.01)
    );

    transition:.3s;
}

.process-card:hover{

    transform:translateY(-4px);

    border-color:
    rgba(215,166,92,.3);
}

.process-number{

    color:rgba(215,166,92,.85);

    font-size:3rem;

    font-weight:800;

    line-height:1;

    min-width:80px;
}

.process-card h3{

    margin-bottom:8px;

    color:#fff;
}

.process-card p{

    color:var(--text-secondary);

    margin:0;
}

.approach-benefits{

    margin-top:40px;

    display:flex;
    flex-direction:column;
    gap:16px;
}

.benefit-item{

    color:#d7a65c;

    font-weight:600;

    font-size:1rem;
}

/* ========================================
   WARUM NOVAKO
======================================== */
.why-novako .service-grid{
    margin-top:50px;
}

.why-intro{
    max-width:900px;
    margin-bottom:60px;
}

.why-novako h2{
    margin-bottom:30px;
}

.why-novako .service-card{

    border-top:3px solid #4f7f69;
}

.why-novako .service-card:hover{

    border-top-color:#67a286;

    border-right-color:rgba(103,162,134,.3);
    border-bottom-color:rgba(103,162,134,.3);
    border-left-color:rgba(103,162,134,.3);
}

/* ========================================
   CONTACT
======================================== */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
}

.contact-details{
    margin-top:40px;
}

.contact-details div{
    margin-bottom:30px;
}

.contact-details h4{
    margin-bottom:8px;
    color:var(--gold);
}

.contact-form{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.contact-form input,
.contact-form textarea{

    background:var(--card);

    border:1px solid var(--border);

    color:white;

    padding:18px;

    border-radius:10px;

    outline:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:rgba(215,166,92,.4);
}

.contact-form textarea{
    grid-column:1 / -1;
    resize:none;
}

.contact-form button{

    grid-column:1 / -1;

    background: rgb(255, 221, 147);

    border:none;

    padding:18px;

    border-radius:10px;

    font-weight:600;

    cursor:pointer;
}

.contact-form button:hover{
    background:var(--gold-hover);
}

.checkbox-consent a{

    color:var(--gold);

    text-decoration:underline;

    text-underline-offset:3px;

    transition:.3s;
}

.checkbox-consent a:hover{

    color:var(--gold-hover);
}

.checkbox-consent{
    grid-column:1 / -1;

    display:flex;
    align-items:flex-start;
    gap:10px;

    font-size:.9rem;
    color:var(--text-secondary);

    line-height:1.5;
}

.checkbox-consent input{

    width:18px;
    height:18px;

    min-width:18px;

    margin-top:2px;

    accent-color:var(--gold);

    cursor:pointer;

    padding:0;
}

.checkbox-consent label{

    flex:1;

    cursor:pointer;
}


/* ========================================
   FOOTER DIVIDER
======================================== */

.contact::after{
    display:none;
}

.footer-divider{
    width:100%;
    margin:0;
    line-height:0;
}

.footer-divider img{
    width:100%;
    height:auto;
    display:block;
}

/* ========================================
   FOOTER
======================================== */

footer{

    background:
    linear-gradient(
        180deg,
        rgba(11,16,24,0) 0%,
        rgba(11,16,24,.35) 8%,
        rgba(11,16,24,.75) 18%,
        #0b1018 35%,
        #0b1018 100%
    );
}

.footer-main{

    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    padding:35px 0 50px;

    border-bottom:1px solid var(--border);
}

.footer-left p{

    color:var(--text-secondary);
    margin-bottom:8px;
}

.footer-right-links a:hover{
    color:var(--gold);
}

.footer-right{

    display:flex;
    flex-direction:column;
    align-items:flex-end;
}

.footer-right img{
    width:220px;
    height:auto;

    opacity:.85;

    margin-bottom:35px;
}

.footer-right-links{

    display:flex;
    gap:20px;
}

.footer-right-links a{

    color:var(--text-secondary);

    text-decoration:underline;
    text-underline-offset:4px;

    transition:.3s;
}

.footer-right-links a:hover{
    color:var(--gold);
}

.footer-bottom{

    padding:22px 0;
}

.footer-bottom p{

    color:#7f8794;
    font-size:.95rem;
}

/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:1100px){

    .hero-content{
        grid-template-columns:1fr;
        gap:40px;
    }

    .hero-image{
        order:2;
    }

    .hero-image img{
        width:280px;
        max-width:60vw;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .testimonial-grid{
        grid-template-columns:1fr;
    }

    .approach-grid{

    grid-template-columns:1fr;

    gap:50px;
}
}

@media(max-width:768px){

    .logo img{
        height:35px;
    }

    .header-container{
        height:70px;
    }

    .hero{
        min-height:auto;
        padding-top:140px;
    }

    .hero-image{
        display:none;
    }
    
    .hero-benefits{
        flex-direction:column;
        gap:12px;
        align-items:flex-start;
    }

    section{
        padding:80px 0;
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .contact-form{
        grid-template-columns:1fr;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .approach-image{
        display:none;
    }

    .partner-logos{
        justify-content:center;
    }

    h1{
        font-size:3rem;
    }

     .footer-main{

        flex-direction:column;
        gap:40px;
    }

    .footer-right img{
        width:180px;
    }

  .footer-right-links{
    flex-direction:column;
    gap:10px;
}
}

/* ========================================
   LEGAL PAGES
======================================== */

.legal-page{

    min-height:100vh;

    padding-top:180px;
    padding-bottom:120px;
}

.legal-container{

    width:min(90%,8500px);
    margin:auto;
}

.legal-content{

    margin-top:50px;
}

.legal-content h1{

    margin-bottom:20px;
}

.legal-content h2{

    margin-top:55px;
    margin-bottom:18px;

    font-size:1.5rem;

    color:var(--gold);
}

.legal-content h3{

    margin-top:35px;
    margin-bottom:12px;

    font-size:1.15rem;

    color:#fff;
}

.legal-content p{

    margin-bottom:22px;

    color:var(--text-secondary);

    line-height:1.9;
}

.legal-content ul{

    margin:0 0 25px 22px;

    color:var(--text-secondary);

    line-height:1.9;
}

.legal-content li{

    margin-bottom:8px;
}

.legal-content strong{

    color:#fff;

    font-weight:600;
}

.legal-content a{

    color:var(--gold);

    text-decoration:underline;

    text-underline-offset:3px;

    transition:.3s;

    overflow-wrap:anywhere;
}

.legal-content a:hover{

    color:var(--gold-hover);
}

.legal-content code{

    display:inline-block;

    padding:2px 6px;

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

    border-radius:6px;

    color:#fff;

    font-size:.95rem;
}

.legal-content pre{

    margin:25px 0;

    padding:20px;

    background:rgba(255,255,255,.03);

    border:1px solid var(--border);

    border-radius:14px;

    overflow-x:auto;
}

.legal-content table{

    width:100%;

    border-collapse:collapse;

    margin:30px 0;
}

.legal-content th,
.legal-content td{

    padding:14px 16px;

    border:1px solid var(--border);

    text-align:left;
}

.legal-content th{

    background:rgba(255,255,255,.04);

    color:#fff;
}

.legal-content td{

    color:var(--text-secondary);
}

/* ========================================
   RESPONSIVE LEGAL
======================================== */

@media(max-width:768px){

    .legal-page{

        padding-top:120px;
        padding-bottom:80px;
    }

    .legal-container{

        width:94%;
    }

    .legal-page h1{

        font-size:2.2rem;

        line-height:1.15;

        margin-bottom:30px;
    }

    .legal-content{

        margin-top:35px;
    }

    .legal-content h2{

        font-size:1.25rem;

        margin-top:36px;
        margin-bottom:14px;
    }

    .legal-content h3{

        font-size:1.05rem;

        margin-top:28px;
    }

    .legal-content p,
    .legal-content li{

        font-size:.95rem;

        line-height:1.75;
    }

    .legal-content ul{

        margin:0 0 22px 18px;
    }

    .legal-content a{

        word-break:break-word;
        overflow-wrap:anywhere;
    }

}
