html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: #0d1b2a;
    padding: 20px 0;
    color: white;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 800;
    transition: 0.3s;
}

nav a:hover {
    color: #c8a96a;
}

/* SEKCJA HERO */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(13,27,42,0.7);
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero-content .btn {
    font-size: 20px;
    padding: 18px 40px;
    border-radius: 50px;
}


/* SEKCJA O MNIE */
.about-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap; 
    justify-content: center; 
}

.about-image img {
    width: 120%;         
    max-width: 250px;    
    height: auto;        
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    object-fit: cover;
    display: block;
    margin: 0 auto;      
}

.about-text {
    column-count: 1;     
    column-gap: 40px;      
}

.about-text h2 {
    column-span: all;    
    margin-bottom: 30px;
    font-size: 32px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}


.btn-small {
    display: inline-block;
    background: #c8a96a;
    color: white;
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-small:hover {
    background: #a8894f;
}


@media(max-width:768px){
    .about-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .about-image img {
        max-width: 180px;
        margin-bottom: 20px;
    }

    .about-text {
        column-count: 1;
    }
}






/* PRZYCISK (CTA) */
.btn {
    display: inline-block;
    background: #c8a96a;
    color: white;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 25px;
    transition: 0.3s;
    font-weight: 600;
}

.btn:hover {
    background: #a8894f;
}

/* OGÓLNE SEKCJE STRONY */
section {
    padding: 80px 0;
}

/* SEKCJA USŁUG */
.services {
    position: relative; 
    padding: 120px 0;
    overflow: hidden; 
}

.services-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    position: relative; 
    z-index: 1;
}

.services-title {
    font-size: 45px;
    flex: 1 1 200px;
    line-height: 1.2;
    white-space: nowrap;
    margin-top: 175px;
    position: relative;
    z-index: 1;
    color: #333;

    display: inline-block; 
    border: 3px solid #333; 
    padding: 10px 25px; 
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7); 
}


.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    flex: 3 1 600px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    line-height: 1.7;
}

.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 12s infinite;
}

.background-slider .slide:nth-child(1) { animation-delay: 0s; }
.background-slider .slide:nth-child(2) { animation-delay: 4s; }
.background-slider .slide:nth-child(3) { animation-delay: 8s; }

@keyframes slideAnimation {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
}

@media(max-width: 1024px){
    .services-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .services-title {
        margin-top: 50px;
        text-align: center;
    }
    .card {
        padding: 30px;
    }
}

.btn-small {
    display: inline-block;
    background: #c8a96a;
    color: white;
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-small:hover {
    background: #a8894f;
}





/* SEKCJA MAPY */
.map-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.map-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0d1b2a;
}

.map-section p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}


/* SEKCJA KONTAKT */
.contact {
    background: #0d1b2a;
    color: white;
    text-align: center;
}

footer {
    background: #000814;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-credit {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.78;
}

.footer-credit a {
    color: #c8a96a;
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    color: white;
    text-decoration: underline;
}

@media(max-width:768px){
    .nav{
        flex-direction: column;
    }
    nav{
        margin-top:15px;
    }
    .hero h2{
        font-size:28px;
    }
}


.reveal {
    opacity: 0;
    transform: translateY(60px); 
    transition: all 1s ease-out;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-bottom {
    transform: translateY(60px);
}

.reveal.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.card.reveal {
    transition: all 0.8s ease-out;
}

.card.reveal:nth-child(1) { transition-delay: 0.2s; }
.card.reveal:nth-child(2) { transition-delay: 0.4s; }
.card.reveal:nth-child(3) { transition-delay: 0.6s; }
.card.reveal:nth-child(4) { transition-delay: 0.8s; }

.reveal-bottom {
    transition: all 0.8s ease-out;
    transition-delay: 0.1s;
}





.stats-section{
    padding:100px 20px;
    background:#f4f6f8;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.stat-box{
    background:white;
    padding:50px 30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.stat-box h3{
    font-size:52px;
    color:#c8a96a;
    margin-bottom:15px;
}

.stat-box p{
    font-size:18px;
    color:#14213d;
}



.quote-section{
    background:linear-gradient(135deg,#14213d,#1f4068);
    color:white;
    padding:120px 20px;
    text-align:center;
}

.quote-section blockquote{
    font-size:34px;
    line-height:1.6;
    max-width:900px;
    margin:auto;
    font-weight:600;
}




/*  PODSTRONA O MNIE  */
.about-page {
    background: #f9fafc;
}

.about-header {
    background: #14213d;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.about-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-nav nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-nav nav a {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 5px 0;
    transition: 0.3s;
}

.about-nav nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #c8a96a;
    transition: 0.3s ease;
}

.about-nav nav a:hover::after {
    width: 100%;
}

.about-nav nav a.active {
    color: #c8a96a;
}

.about-nav nav a.active::after {
    width: 100%;
}

@media(max-width: 768px) {

    .about-nav {
        flex-direction: column;
        gap: 15px;
    }

    .about-logo {
        font-size: 18px;
    }

    .about-nav nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

}

.about-hero {
    background: linear-gradient(135deg, #14213d, #1f4068);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.about-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
}

.about-content {
    padding: 100px 0;
}

.about-wrapper-new {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-image-new img {
    width: 300px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-text-new {
    max-width: 700px;
}

.about-text-new h3 {
    font-size: 30px;
    margin-bottom: 25px;
    color: #14213d;
}

.about-text-new p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 17px;
    color: #333;
}

.about-footer {
    background: #0d1b2a;
    color: white;
    text-align: center;
    padding: 20px;
}

@media(max-width: 900px) {
    .about-wrapper-new {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image-new img {
        width: 220px;
    }
}




.trust-section{
    padding:100px 20px;
    background:#f4f6f8;
    text-align:center;
}

.trust-section h2{
    font-size:40px;
    margin-bottom:60px;
    color:#14213d;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.trust-box{
    background:white;
    padding:40px 30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.trust-box:hover{
    transform:translateY(-6px);
}

.trust-box h3{
    color:#14213d;
    margin-bottom:15px;
    font-size:24px;
}

.trust-box p{
    line-height:1.7;
}


.quote-author{
    display:block;
    margin-top:30px;
    font-size:18px;
    opacity:0.8;
    letter-spacing:1px;
}


/* PODSTRONA USŁUGI */
.services-page {
    background: #f4f6f8;
}

.services-header{
    background:#14213d;
    padding:18px 0;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.services-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.services-logo{
    color:white;
    font-size:20px;
    font-weight:600;
}

.services-nav nav{
    display:flex;
    gap:30px;
}

.services-nav nav a{
    color:white;
    text-decoration:none;
    position:relative;
    font-weight:500;
    transition:0.3s;
}

.services-nav nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#c8a96a;
    transition:0.3s;
}

.services-nav nav a:hover::after{
    width:100%;
}

.services-nav nav a.active{
    color:#c8a96a;
}

.services-hero{
    background:linear-gradient(135deg,#14213d,#1f4068);
    color:white;
    text-align:center;
    padding:110px 20px;
}

.services-hero h2{
    font-size:48px;
    margin-bottom:20px;
}

.services-hero p{
    font-size:19px;
    opacity:0.9;
}

.services-content{
    position:relative;
    padding:100px 0;
}

.services-content::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:url('img/usl_1.png');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    opacity:1;
}

.cards-wrapper{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.card-new{
    background:rgba(255,255,255,0.88);
    backdrop-filter:blur(10px);

    border-radius:22px;
    padding:35px;

    box-shadow:0 12px 25px rgba(0,0,0,0.08);

    transition:0.4s;
}

.card-new:hover{
    transform:translateY(-8px) scale(1.02);

    box-shadow:
    0 20px 40px rgba(0,0,0,0.15),
    0 0 20px rgba(200,169,106,0.2);
}

.card-icon{
    width:70px;
    height:70px;

    background:linear-gradient(135deg,#14213d,#1f4068);

    color:white;

    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:28px;

    margin-bottom:25px;
}

.card-new h3{
    font-size:23px;
    color:#14213d;
    margin-bottom:18px;
}

.card-new p{
    line-height:1.7;
    color:#444;
}

.service-btn{
    display:inline-block;

    margin-top:25px;

    padding:12px 22px;

    background:#c8a96a;
    color:white;

    border-radius:12px;

    text-decoration:none;
    font-weight:600;

    transition:0.3s;
}

.service-btn:hover{
    background:#b8934f;
    transform:translateY(-2px);
}

.symptoms-section{
    padding:100px 20px;
    background:white;
    text-align:center;
}

.symptoms-section h2{
    font-size:40px;
    color:#14213d;
    margin-bottom:60px;
}

.symptoms-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.symptom-box{
    background:#f4f6f8;
    padding:35px;
    border-radius:20px;
    transition:0.3s;
}

.symptom-box:hover{
    transform:translateY(-5px);
}

.symptom-box span{
    font-size:42px;
    display:block;
    margin-bottom:20px;
}


.cta-section{
    background:linear-gradient(135deg,#14213d,#1f4068);
    color:white;
    text-align:center;
    padding:110px 20px;
}

.cta-section h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta-section p{
    font-size:18px;
    margin-bottom:35px;
}

.cta-btn{
    display:inline-block;

    padding:16px 34px;

    background:#c8a96a;
    color:white;

    border-radius:14px;

    text-decoration:none;
    font-weight:700;

    transition:0.3s;
}

.cta-btn:hover{
    background:#b8934f;
    transform:translateY(-3px);
}

.services-footer{
    background:#0d1b2a;
    color:white;
    text-align:center;
    padding:22px;
}

.reveal{
    opacity:0;
    transition:1s ease;
}

.reveal-left{
    transform:translateX(-80px);
}

.reveal-right{
    transform:translateX(80px);
}

.reveal-bottom{
    transform:translateY(80px);
}

.reveal.active{
    opacity:1;
    transform:translate(0,0);
}





/* PODSTRONA KONTAKT  */
.contact-page {
    background: #f4f6f8;
}

.contact-header {
    background: #14213d;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-nav nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-nav nav a {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 5px 0;
    transition: 0.3s;
}

.contact-nav nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #c8a96a;
    transition: 0.3s ease;
}

.contact-nav nav a:hover::after {
    width: 100%;
}

.contact-nav nav a.active {
    color: #c8a96a;
}

.contact-nav nav a.active::after {
    width: 100%;
}

.contact-hero {
    background: linear-gradient(135deg, #14213d, #1f4068);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.contact-hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 18px;
    margin: 5px 0;
    opacity: 0.9;
}

.btn-contact {
    display: inline-block;
    background: #c8a96a;
    color: white;
    padding: 14px 35px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #a8894f;
}

.contact-map {
    padding: 60px 0;
    text-align: center;
}

.contact-map h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #14213d;
}

.contact-footer {
    background: #0d1b2a;
    color: white;
    text-align: center;
    padding: 20px;
}

@media(max-width: 768px){
    .contact-nav {
        flex-direction: column;
        gap: 15px;
    }

    .contact-logo {
        font-size: 18px;
    }

.contact-nav nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Uspokojony styl i poprawki mobilne */
.card,
.card-new,
.stat-box,
.trust-box,
.symptom-box,
.about-image img,
.about-image-new img {
    border-radius: 10px;
}

.btn,
.btn-small,
.btn-contact,
.service-btn,
.cta-btn {
    border-radius: 8px;
}

.card:hover,
.card-new:hover,
.trust-box:hover,
.symptom-box:hover,
.service-btn:hover,
.cta-btn:hover {
    transform: translateY(-3px);
}

.card-new:hover {
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.card-icon {
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
}

.card-icon span {
    display: block;
    line-height: 1;
}

@media(max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .container {
        width: min(92%, 100% - 28px);
    }

    header,
    .about-header,
    .services-header,
    .contact-header {
        padding: 12px 0;
    }

    .nav,
    .about-nav,
    .services-nav,
    .contact-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    header h1,
    .about-logo,
    .services-logo,
    .contact-logo {
        font-size: 17px;
        line-height: 1.35;
    }

    nav,
    .about-nav nav,
    .services-nav nav,
    .contact-nav nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 18px;
        margin-top: 0;
    }

    nav a,
    .about-nav nav a,
    .services-nav nav a,
    .contact-nav nav a {
        margin-left: 0;
        font-size: 14px;
        padding: 4px 0;
    }

    section {
        padding: 56px 0;
    }

    .hero {
        min-height: 680px;
        height: auto;
        padding: 120px 0 80px;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 4px;
    }

    .hero-content h2,
    .hero h2 {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-content .btn,
    .btn {
        font-size: 16px;
        padding: 13px 22px;
    }

    .services {
        padding: 70px 0;
    }

    .services-title {
        width: 100%;
        white-space: normal;
        margin-top: 0;
        font-size: 30px;
        text-align: center;
        line-height: 1.25;
        padding: 10px 16px;
    }

    .cards,
    .cards-wrapper,
    .stats-grid,
    .trust-grid,
    .symptoms-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .card,
    .card-new,
    .stat-box,
    .trust-box,
    .symptom-box {
        padding: 26px 22px;
    }

    .quote-section {
        padding: 70px 20px;
    }

    .quote-section blockquote {
        font-size: 23px;
        line-height: 1.45;
    }

    .about-hero,
    .services-hero,
    .contact-hero,
    .cta-section {
        padding: 70px 20px;
    }

    .about-hero h2,
    .services-hero h2,
    .contact-hero h2,
    .cta-section h2,
    .trust-section h2,
    .symptoms-section h2 {
        font-size: 30px;
        line-height: 1.25;
    }

    .services-hero p,
    .about-hero p,
    .cta-section p {
        font-size: 17px;
    }

    .services-content {
        padding: 64px 0;
    }

    .services-content::before {
        background-attachment: scroll;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-bottom {
        transform: translateY(28px);
    }

    .reveal.active {
        transform: translateY(0);
    }
}
