/* ====== RESET ====== */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}
 html {
     scroll-behavior: smooth;
}
 body {
     font-family: "Baskerville ", serif;
     letter-spacing: 0.1rem;
     color: #222;
     background-color: #fff;
     line-height: 1.6;
}
/* ====== KONTAINER ====== */
 .main {
     width: 90%;
     max-width: 1200px;
     margin: 0 auto;
}
 .container {
     width: 90%;
     max-width: 1200px;
     margin: 0 auto;
}
/* ====== NAWIGACJA ====== */
 nav {
     background: #1b2a49;
     color: #fff;
     position: sticky;
     top: 0;
     z-index: 999;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
 .nav-inner {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 0;
}
 .nav-inner img {
     height: 50px;
     margin-right: 10px;
}
 .nav-links a {
     color: #fff;
     text-decoration: none;
     margin: 0 10px;
     padding: 6px 8px;
     font-weight: 500;
     transition: color 0.3s, background-color 0.3s;
     border-radius: 4px;
}
 .nav-links a:hover {
     background-color: #324a7a;
}
/* ====== HEADER ====== */
 header {
     background: #1B5E20;
     color: #fff;
     text-align: center;
     padding: 120px 20px 120px;
     position: relative;
}
 header::before {
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(27, 42, 73, 0.6);
}
 header .container {
     position: relative;
     z-index: 2;
}
 header .logo {
     max-width: 250px;
     margin-bottom: 20px;
}
 header h1 {
     font-size: 2.2rem;
     margin-bottom: 10px;
     letter-spacing: 1px;
}
 header .tagline {
     font-style: italic;
     font-size: 1.1rem;
     margin-bottom: 20px;
     color: #f0d58c;
}
 header .intro {
     font-size: 1rem;
     max-width: 700px;
     margin: 0 auto;
}
/* ====== SEKCJE ====== */
 section {
     padding: 80px 0;
     border-bottom: 1px solid #eee;
}
 h2 {
     font-size: 1.8rem;
     color: #1b2a49;
     margin-bottom: 20px;
     text-align: center;
}
 h3 {
     color: #1b2a49;
     margin-bottom: 8px;
}
 .muted {
     color: #555;
     text-align: center;
}
 ul {
     margin: 10px 0 20px 25px;
}
/* ====== KARTY ====== */
 .grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
     gap: 20px;
     margin-top: 30px;
}
 .card {
     background-color: #f0d58c;
     border-radius: 10px;
     padding: 20px;
     transition: all 0.3s ease;
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
     text-align: center;
}
 .card:hover {
     transform: translateY(-5px);
     background-color: #fff;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
/* ====== OPŁATY ====== */
 .fees ul {
     list-style-type: disc;
     margin-left: 40px;
}
/* ====== DOKUMENTY ====== */
 .docs-list ul {
     list-style-type: square;
     margin-left: 40px;
}
/* ====== KONTAKT ====== */
 .contact-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
     gap: 30px;
     align-items: start;
}
 .contact-card p {
     margin-bottom: 10px;
}
 .contact-card a {
     color: #1b2a49;
     text-decoration: none;
}
 .contact-card a:hover {
     text-decoration: underline;
}
 .map-container {
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
 .map-note {
     font-size: 0.9rem;
     text-align: center;
     color: #555;
     margin-top: 10px;
}
/* ====== FOOTER ====== */
 footer {
     background-color: #1B3F39;
     color: #fff;
     text-align: center;
     padding: 25px 10px;
     font-size: 0.9rem;
}
/* ====== RESPONSYWNOŚĆ ====== */
 @media (max-width: 768px) {
     header {
         padding: 120px 20px 100px;
    }
     header h1 {
         font-size: 1.8rem;
    }
     .nav-links {
         display: flex;
         flex-wrap: wrap;
         justify-content: center;
    }
     .nav-links a {
         margin: 5px;
    }
     .grid {
         grid-template-columns: 1fr;
    }
     .contact-grid {
         grid-template-columns: 1fr;
    }
}
/* ====== MENU ====== */
 .menu {
     background: #1B3F39;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
     padding: 12px 10px;
     position: sticky;
     top: 0;
     z-index: 1000;
     box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
 .menu a {
     color: #fff;
     text-decoration: none;
     font-weight: 500;
     margin: 6px 10px;
     padding: 8px 14px;
     border-radius: 4px;
     transition: background-color 0.3s, color 0.3s;
}
 .menu a:hover {
	 color: #000;
     background-color: #fff;
}
 .menu a.pill {
     background-color: #f0d58c;
     color: #1b2a49;
     font-weight: 600;
     border-radius: 20px;
     padding: 8px 18px;
}
 .menu a.pill:hover {
     background-color: #ffe58f;
}
/* Mobile */
 @media (max-width: 768px) {
     .menu {
         flex-direction: column;
    }
     .menu a {
         margin: 6px 0;
    }
     #dokumenty .docs-list {
         flex-direction: column;
    }
     #dokumenty .signing {
         margin-top: 20px;
         flex: 1 1 100%;
    }
}
 .contact-item {
     display: flex;
     align-items: flex-start;
     margin-bottom: 15px;
}
 .contact-item .icon {
     flex: 0 0 32px;
     margin-right: 10px;
}
 .contact-item svg {
     display: block;
     width: 24px;
     height: 24px;
}
 .contact-item .text a {
     color: #1b2a49;
     text-decoration: none;
}
 .contact-item .text a:hover {
     text-decoration: underline;
}
 #dokumenty .docs-list {
     display: flex;
     flex-wrap: wrap;
    /* dla responsywności */
     align-items: flex-start;
     gap: 20px;
    /* odstęp między kolumnami */
}
/* Lista dokumentów po lewej */
 #dokumenty .docs-list ul {
     flex: 1 1 300px;
    /* elastyczna szerokość, minimum 300px */
     margin-left: 0;
    /* usuń standardowy margin, bo flex daje odstęp */
     list-style-type: square;
}
/* Obrazek po prawej */
 #dokumenty .signing {
     flex: 0 0 300px;
    /* stała szerokość dla obrazka */
     max-width: 40%;
     height: auto;
     border-radius: 10px;
     box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
 #kontakt {
     background-color: #1B3F39;
}
 #kontakt .contact-grid {
     max-width: 1200px;
     margin: 0 auto;
     padding: 10px 10px;
}
 #kontakt .text {
     color: #ffffff;
}
 #oplaty {
     background-color: #1B3F39;
}
 #oplaty .contact-grid {
     max-width: 1200px;
     margin: 0 auto;
}
 #dokumenty .contact-grid {
     max-width: 1200px;
     margin: 0 auto;
}
 .oplaty-text {
     color: #ffffff;
}
 .oplaty-text-gold {
     text-align: center;
     color: #ffe58f;
}
 .net-k-link {
	 color: #ffffff;
}

#kancelaria .text {
     text-decoration: none;
     color: #ffffff;
}

#kancelaria .text a:hover {
     text-decoration: underline;
}