:root {
    --white: #ffffff;
    --blue: #eaf6fd;
    --accent: #ff6f61;
    --text: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: var(--white);
    color: var(--text);
    scroll-behavior: smooth;
}

/* HEADER */

header {
    background: var(--blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* wewnętrzna struktura nagłówka */

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* SOCIAL MEDIA */

.socials {
    position: absolute;
    left: 20px;
    display: flex;
    gap: 15px;
}

.socials svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
    transition: 0.3s;
}

.socials svg:hover {
    transform: scale(1.15);
}

/* MENU */

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--accent);
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* SEKCJE */

.section {
    padding: 120px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.alt {
    background: var(--blue);
}

.hero {
    background: linear-gradient(to right, var(--blue), var(--white));
}

/* TYPOGRAFIA */

h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

p {
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* BUTTON */

.btn {
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.85;
}

/* FOOTER */

footer {
    padding: 20px;
    text-align: center;
    background: var(--blue);
    font-size: 14px;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .socials {
        position: static;
        order: 2;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 26px;
    }

}
/* sekcja cennik */

.price-list{
    margin-top:30px;
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
}

.price-item{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #e6eef5;
    font-size:17px;
    transition:0.2s;
}

.price-item:hover{
    background:#f8fbff;
    padding-left:8px;
}

.price-item span{
    position:relative;
}

.price-item span::after{
    content:"";
    position:absolute;
    bottom:6px;
    left:0;
    width:100%;
    border-bottom:1px dotted #ccd8e2;
    z-index:-1;
}

.price-item strong{
    color:var(--accent);
    white-space:nowrap;
    font-weight:600;
    background:white;
    padding-left:10px;
}

.services-list{
list-style:none;
margin-top:20px;
}

.services-list li{
padding:8px 0;
font-size:18px;
border-bottom:1px solid #eef3f8;
}