/* ========================================
   PORADNIK.CSS - Style dla podstrony Poradnik
   CzystePowietrzeABC.pl
   ======================================== */

/* ========== GLOBALNE STYLE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #1a202c;
	text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color:  #1a202c;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #0077b6;  /* Wyraźniejszy niebieski kolor*/
    transform: translateY(-2px);  /*⬅️ Delikatne uniesienie do góry*/
	text-shadow: 0.5px 0 0 currentColor; 
}

/* Active Navigation Link */
.main-nav .nav-link.active {
    color: #0077b6;
    font-weight: 500;
    position: relative;
}

.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0077b6;
}

/* ========== HERO SECTION ========== */
.hero {
    background-color: #ebf8ff;
	min-height: 600px;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 20px;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 0 40px;
    color: #1a202c;
    font-size: 18px;
    opacity: 0.9;
    text-align: left;
}

.hero-content {
    /* ... istniejące style ... */
    max-width: 65%;
    pointer-events: none;  /* ✅ TO JEST KLUCZOWE! */
}

.hero-content h1,
.hero-content p,
.hero-content a,
.hero-buttons {
    pointer-events: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background-color: #1a365d;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #152b4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 54, 93, 0.2);
}

.btn-light {
    background-color: #ffffff;
    color: #1a202c;
    border: 1px solid #e2e8f0;
}

.btn-light:hover {
    background-color: #f1f5f9;
}

/* ========== NAWIGACJA KAFELKOWA ========== */
.guide-navigation {
    padding: 70px 0 50px;
    background-color: #ffffff;
}

.guide-nav-title {
    text-align: left;
    margin-left: 0;
    color: #0a2c4e;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.guide-nav-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #0077b6;
}

.guide-nav-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 36px;
}

.steps-panel {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    color: #0077b6;
    padding: 0 6px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.step-card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 16px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 210px;
    color: inherit;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a2c4e, #1a365d 50%, #0077b6);
    border-radius: 11px 11px 0 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-top-color: #1a365d;
    box-shadow: 0 12px 28px rgba(26, 54, 93, 0.14);
}

.step-card.active {
    background: #1a365d;
    border-color: #1a365d;
    border-top-color: #0077b6;
    box-shadow: 0 12px 28px rgba(26, 54, 93, 0.22);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    bottom: -8px;
    right: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 100px;
    font-weight: 800;
    color: rgba(26, 54, 93, 0.07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: color 0.3s;
}

.step-card.active .step-number {
    color: rgba(255, 255, 255, 0.08);
}

.step-card svg {
    stroke: #0077b6;
    margin: 0 auto 12px;
    display: block;
    position: relative;
    z-index: 1;
    transition: stroke 0.3s;
}

.step-card.active svg {
    stroke: #ffffff;
}

.step-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1a365d;
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.step-card.active h3 {
    color: #ffffff;
}

.step-card p {
    font-size: 15px;
    color: #718096;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.step-card.active p {
    color: rgba(255, 255, 255, 0.7);
}




/* ========== SEKCJE PORADNIKA ========== */
.guide-section {
    position: relative;
    padding: 80px 5%;
    overflow: hidden;
    background: #ffffff;
}

.guide-section-blue {
    background: #ebf8ff;
}

/* Sekcje błękitne - zachowują subtelne kolory */
.guide-section-blue .tile {
    background: #fff;
}

.guide-section-blue .tile:hover {
    background: #F9FCFF;
}

.guide-section-blue .tile.active {
    background: #F0F9FF;
    border-color: #0077b6;
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.2);
    color: inherit;
}

.guide-section-blue .tile.active h3,
.guide-section-blue .tile.active p {
    color: inherit;
}

.guide-section-blue .tile.active .tile-icon {
    stroke: #1a365d;
}

/* FAQ w sekcjach błękitnych - subtelne kolory */
.guide-section-blue .faq-item {
    background: #fff;
}

.guide-section-blue .faq-question:hover {
    background: #F9FCFF;
}

.guide-section-blue .faq-item.open .faq-question {
    background: #F0F9FF;
    color: inherit;
}

.guide-section-blue .faq-item.open .faq-question::after {
    color: inherit;
}

.guide-section-dark {
    background: #1a365d;
    color: #f7fafc;
}

/* Dekoracyjna ikona SVG w tle */
.guide-section::after {
    content: "";
    position: absolute;
    right: 5%;
    top: 50%;
    width: 700px;
    height: 700px;
    background-size: contain;
    opacity: 0.08;
    z-index: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Ikony tła dla każdej sekcji */
#zanim::after {
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%231a365d" stroke-width="2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>') no-repeat center;
}

#audyt::after {
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%231a365d" stroke-width="2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><circle cx="12" cy="14" r="3"/><line x1="14.5" y1="16.5" x2="17" y2="19"/></svg>') no-repeat center;
}

#wniosek::after {
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%231a365d" stroke-width="2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><line x1="22" y1="2" x2="11" y2="13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/></svg>') no-repeat center;
}

#realizacja::after {
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%231a365d" stroke-width="2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="2" y="14" width="9" height="6" rx="1"/><rect x="13" y="14" width="9" height="6" rx="1"/><rect x="7" y="7" width="9" height="6" rx="1"/></svg>') no-repeat center;
}

#rozliczenie::after {
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%231a365d" stroke-width="2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12"/><path d="M20 12v4h-4a2 2 0 0 1 0 -4h4"/></svg>') no-repeat center;
}
.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========== NAGŁÓWEK SEKCJI ========== */
.section-header {
    text-align: left;
    margin-bottom: 40px;
}

.step-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: #1a365d;
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 12px;
    border: none;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    color: #0a2c4e;
}

.guide-section-dark .section-header h2 {
    color: #f7fafc;
}

.section-header .underline {
    width: 70px;
    height: 3px;
    background: #0077b6;
    border-radius: 2px;
    margin-top: 10px;
}

/* ========== KAFELKI (TILES) ========== */
.tiles-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.tile {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #F9FCFF;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 26px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 150px;
}

.tile:hover {
    background: #F0F9FF;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tile.active {
    background: #1a365d;
    border-color: #1a365d;
    box-shadow: 0 6px 18px rgba(26, 54, 93, 0.3);
    color: #f7fafc;
}

.tile.active h3,
.tile.active p {
    color: #f7fafc;
}

.tile.active .tile-icon {
    stroke: #f7fafc;
}

/* Kafelki dla ciemnej sekcji */
.tile-dark {
    background: #243b68;
    border-color: #2d4a7c;
    color: #f7fafc;
}

.tile-dark:hover {
    background: #2d4a7c;
}

.tile-dark.active {
    background: #345182;
    border-color: #0077b6;
}

.tile-dark h3 {
    color: #f7fafc;
}

.tile-dark p {
    color: #cbd5e0;
}

.tile-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-top: 6px;
    align-self: flex-start;
}

.tile-text {
    display: flex;
    flex-direction: column;
}

.tile h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.tile p {
    font-size: 15px;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

/* ========== DYNAMICZNE POLE ARTYKUŁU ========== */
.article-container {
    max-width: 100%;
    margin-bottom: 20px;
}

.article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.7s ease-in-out, opacity 0.7s ease-in-out, margin 0.7s ease-in-out;
    margin-bottom: 0;
}

.article.active {
    max-height: 9999px;
    opacity: 1;
    margin-bottom: 30px;
}


.article-inner {
    padding: 50px 50px 40px;
    line-height: 1.8;
    text-align: justify;
    transition: opacity 0.25s ease-in-out;
}

.article-inner.fade-out {
    opacity: 0;
}

.close-article {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    color: #1a365d;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
}

.close-article:hover {
    transform: scale(1.1);
}

.close-article-bottom {
    display: block;
    margin: 30px auto 0;
    padding: 10px 24px;
    background: none;
    border: 1px solid #1a365d;
    border-radius: 6px;
    color: #1a365d;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-article-bottom:hover {
    background-color: #1a365d;
    color: #ffffff;
}

.article h4 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0a2c4e;
    margin-bottom: 16px;
}

.article h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a365d;
    margin: 20px 0 8px;
}

.article ul {
    list-style: disc;
    padding-left: 25px;
    margin: 10px 0;
}

.article p {
    margin: 10px 0;
}

/* dodatkowe opcje formatowania dla article*/
.dynamic-text strong {
    color: #2c5f2d;
    font-weight: 600;
}
.dynamic-text .highlight {
    background-color: #f0f7e6;
    padding: 2px 6px;
    border-radius: 3px;
}

.dynamic-text table td:last-child {
    font-weight: 500;
    color: #2c5f2d;
}

/* ========== FAQ ========== */
.faq-section {
    margin-top: 30px;
}

.faq-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a2c4e;
    margin-bottom: 10px;
}

.guide-section-dark .faq-section h3 {
    color: #f7fafc;
}

.faq-section .underline {
    width: 40px;
    height: 3px;
    background: #0077b6;
    border-radius: 2px;
    margin-bottom: 30px;
}

.faq-item {
    background: #F9FCFF;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ dla ciemnej sekcji */
.faq-item-dark {
    background: #243b68;
    border-color: #2d4a7c;
    color: #f7fafc;
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    padding: 15px 24px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #F0F9FF;
}

.faq-item-dark .faq-question {
    color: #f7fafc;
}

.faq-item-dark .faq-question:hover {
    background: #2d4a7c;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.faq-item.open .faq-question::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.faq-item.open .faq-question {
    background: #1a365d;
    color: #f7fafc;
}

.faq-item.open .faq-question::after {
    color: #f7fafc;
}

.faq-item-dark.open .faq-question {
    background: #345182;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    font-size: 15px;
    color: #4a5568;
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0 24px;
    transition: padding 0.35s ease;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.open .faq-answer-inner {
    padding: 12px 24px 20px;
}

.faq-item-dark .faq-answer {
    color: #cbd5e0;
}

/* ========== FOOTER ========== */
.main-footer {
    background-color: #1a365d;
    color: #ffffff;
    padding: 50px 0 30px 0;
    margin-top: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #90cdf4;
    margin-bottom: 14px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
    color: #ffffff;
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.8;
}

.footer-contact a {
    color: #90cdf4;
    text-decoration: none;
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.15);
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.copyright {
	font-size: 13px;
	opacity: 0.5;
}
	.footer-bottom p {
	font-size: 13px;
	opacity: 0.6;
}

.footer-bottom a {
	color: rgba(255,255,255,0.6);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s ease;
}

.footer-bottom a:hover { color: #ffffff; }



/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;  /*#1a365d; */
    color: #1a365d; /*white; strzałka */ 
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    /*background-color: #152b4d;*/
    transform: translateY(-3px);
}


/* ========== SEO ARTYKUŁY (ukryte dla użytkownika, widoczne dla Google) ========== */
.seo-article {
    display: none;
}


.poradnik-cta-card {
    background: linear-gradient(135deg, #0a2c4e 0%, #1a365d 50%, #0077b6 100%);
    border-radius: 16px;
    padding: 50px 60px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 12px 32px rgba(10, 44, 78, 0.25);
}

.poradnik-cta-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.poradnik-cta-card p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.poradnik-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    background-color: #ffffff;
    color: #1a365d;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta-primary:hover {
    background-color: #ebf8ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-cta-light {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}



/* ========================================
   POLAND MAP STYLES
   Style dla mapy Polski - do dodania do Poradnik.css
   ======================================== */

/* ===== KONTENER MAPY W HERO ===== */
.hero-map-container {
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    width: 50%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* ===== WRAPPER MAPY ===== */
.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* ===== SVG MAPY ===== */
.poland-map {
    width: 100%;
    height: auto;
}

/* ===== WOJEWÓDZTWA ===== */
.voivodeship {
    fill: #ffffff;
    stroke: #cbd5e0;
    stroke-width: 0.8;
    cursor: pointer;
    transition: fill .2s ease, stroke .2s ease, filter .2s ease;
}

.voivodeship:hover {
    fill: #dbeefe;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
}

.voivodeship:active {
    fill: #0077b6;
    stroke: #005f8f;
}

/* Województwa bez firm - wyłączone */
.voivodeship.disabled {
    fill: #ffffff;
    cursor: not-allowed;
}

.voivodeship.disabled:hover {
    fill: #f7fafc;
    filter: none;
}

/* ===== TOOLTIP ===== */
.map-tooltip {
    position: absolute;
    background: rgba(26,54,93, 0.95);
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    pointer-events: none;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 100;
}

.map-tooltip strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.map-tooltip span {
    color: #90cdf4;
    font-size: 13px;
}

/* ===== MAP FOOTNOTE ===== */
.map-footnote {
    text-align: center;
    margin-top: 6px;
    font-size: 14px;
    color: #718096;
}

.map-footnote strong {
    color: #2d3748;
    font-weight: 600;
}

/* ===== LOADING STATE ===== */
.loading {
    text-align: center;
    padding: 20px;
    color: #718096;
}


/* ========== RESPONSYWNOŚĆ ========== */

/* Tablety (1024px i mniej) */
@media (max-width: 1024px) {
    .steps-panel {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .tiles-grid {
        flex-direction: column;
    }
    
    .guide-section::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 60px 0 20px 0;    /*  Mniejszy padding na mobile */
    }
    
	 .hero-content {
        max-width: 100%;           /* ✅ Pełna szerokość na mobile */
    }
	
    .hero h1 {
        font-size: 32px;           /* Opcjonalnie: mniejszy nagłówek */
    }
    
    .hero-subtitle {
        font-size: 16px;           /* Opcjonalnie: mniejszy tekst */
    }
    
    .hero-map-container {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        margin-top: -50px;
		justify-content: flex-start;
    }
    .poland-map {
        transform: translateX(-15%);
    }
    .map-wrapper {
        max-width: 420px;
    }

    .steps-panel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .step-arrow { display: none; }
    .step-card { min-height: 180px; }
}
/* Smartfony (768px i mniej) */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
		font-size: 14px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .guide-section {
        padding: 60px 20px;
    }
    
    .guide-navigation {
        padding: 60px 0;
    }
    
    .steps-panel {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .article-inner {
        padding: 50px 20px 30px;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .poradnik-cta-card {
        padding: 36px 24px;
    }
    .poradnik-cta-card h2 { font-size: 22px; }
    .poradnik-cta-card p { font-size: 15px; }
    .poradnik-cta-buttons { flex-direction: column; align-items: center; }
    .btn-cta-primary, .btn-cta-light { width: 100%; max-width: 300px; text-align: center; }
}


@media (max-width: 600px) {
    .steps-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .guide-nav-title { font-size: 20px; }
    .guide-nav-subtitle { font-size: 15px; }
    .step-card { min-height: 160px; padding: 20px 12px 18px; }
    .step-number { font-size: 56px; }
    .map-wrapper {
        max-width: 420px;
    }
}

/* Małe smartfony (480px i mniej) */
@media (max-width: 480px) {
    .main-nav {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .step-card {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .guide-section {
        padding: 40px 20px;
    }
}

