/* ==================================================
   RESET / BASE
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0052cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==================================================
   LAYOUT
================================================== */

.container {
    max-width: 1360px; /* ustalone wcześniej */
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================================================
   HEADER – STRUCTURE
================================================== */

.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* ==================================================
   HEADER TOP – utility bar
================================================== */

.header-top {
    background: #f4f6f8;
    font-size: 14px;
    color: #333;
}

.header-top__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-top__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top__phone a,
.header-top__email a {
    color: #1a1a1a;
    font-weight: 500;
}

.header-top__cta a {
    background: #0052cc;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.header-top__cta a:hover {
    background: #003d99;
    text-decoration: none;
}

/* ==================================================
   HEADER MIDDLE – branding
================================================== */

.header-middle {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}

.header-middle__inner {
    min-height: 110px;
    display: flex;
    align-items: center;
}

.site-branding {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: #1a1a1a;
}

.site-description {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* ==================================================
   HEADER NAV – main menu
================================================== */

.header-nav {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-nav__inner {
    min-height: 56px;
    display: flex;
    align-items: center;
}

/* WordPress menu */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    color: #1a1a1a;
}

.main-navigation a:hover {
    color: #0052cc;
    text-decoration: none;
}

/* ==================================================
   CONTENT
================================================== */

.site-content {
    padding: 40px 0;
}

.site-content h1,
.site-content h2,
.site-content h3 {
    line-height: 1.3;
}

.site-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.site-content h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.site-content p {
    margin-bottom: 16px;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
    background: #f4f6f8;
    margin-top: 60px;
    padding: 40px 0;
    font-size: 14px;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-footer a {
    color: #0052cc;
}

/* ==================================================
   WORDPRESS DEFAULTS (BASIC)
================================================== */

.wp-block {
    max-width: 100%;
}

.alignwide {
    max-width: 1200px;
}

.alignfull {
    max-width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
