:root {
    --primary: #111827;
    /* Głęboki Grafit (Gray 900) */
    --primary-light: #1f2937;
    /* Gray 800 */
    --accent: #059669;
    /* Nowoczesna Zieleń (Emerald 600) */
    --accent-hover: #047857;
    /* Emerald 700 */
    --accent-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    /* Gradient Szmaragdowy */
    --text-main: #374151;
    /* Gray 700 */
    --text-light: #f9fafb;
    --text-dim: #9ca3af;
    --bg-light: #ffffff;
    --bg-gray: #f3f4f6;
    /* Jasny szary (Gray 100) */
    --border: #e5e7eb;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-colored: 0 10px 25px -5px rgba(5, 150, 105, 0.3);
    /* Zielony cień */
    --radius: 12px;
    /* Bardziej zaokrąglone rogi */

    --container-width: 1200px;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    font-size: 16px;
}

/* Narzędzia (Utilities) */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    /* Więcej oddechu */
}

.section--dark {
    background-color: var(--primary);
    color: var(--text-light);
    background-image: radial-gradient(circle at top right, #374151 0%, #111827 100%);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark .contact__text {
    color: white;
}

.section--gray {
    background-color: var(--bg-gray);
}

.text-highlight {
    color: var(--accent);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-light {
    color: var(--text-light);
}

.text-light-dim {
    color: var(--text-dim);
}

/* Typografia */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-top: 10px;
}

.section--dark .section-subtitle {
    color: var(--text-dim);
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    /* Pillow shape for modern look */
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn--primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
}

.btn--primary:hover {
    box-shadow: var(--shadow-colored);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--primary);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: white;
}

.btn--small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn--full {
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
}

/* Nagłówek */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header__container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo__highlight {
    color: var(--accent);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav__link:hover {
    color: var(--accent-hover);
    background-color: #d1fae5;
}

.nav__button {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
}

/* Sekcja Hero */
.hero {
    padding: 120px 0 100px;
    background: radial-gradient(circle at top right, #ecfdf5 0%, #f3f4f6 100%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    background-color: #d1fae5;
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__text {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero__stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid #cbd5e1;
    padding-top: 20px;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

.hero__visual {
    position: relative;
    height: 400px;
    background-color: #cbd5e1;
    border-radius: 20px;
    background-image: url('hero_mailboxes.png');
    /* Obraz zastępczy */
    background-size: cover;
    background-position: center;
    box-shadow: 20px 20px 0px rgba(5, 150, 105, 0.1);
}

.visual-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 280px;
}

.visual-card__icon {
    font-size: 2rem;
}

/* Proces */
.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.step__number {
    font-size: 3rem;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 10px;
}

.step__title {
    margin-bottom: 15px;
    color: var(--primary);
}

.step__desc {
    color: #64748b;
    font-size: 0.95rem;
}

/* Usługi */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card__title {
    color: white;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card__text {
    color: var(--text-dim);
}

.area__text {
    margin-bottom: 50px;
    line-height: 1.8;
}

.area__groups {
    margin-bottom: 40px;
}

.area__subtext {
    margin-top: 20px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Obszar */
.area__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.area__list {
    list-style: none;
    margin: 20px 0;
}

.area__list li {
    padding: 8px 0;
    color: #475569;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.area__list li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    font-size: 1.5em;
    line-height: 0.5;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f1f5f9;
    background-image: url('area_map.png');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.map-placeholder span {
    display: none;
}

.map-placeholder::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.1;
}

/* Cennik */
.pricing__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: transparent;
}

.pricing-card--featured {
    border: 2px solid var(--accent);
    background: white;
    box-shadow: var(--shadow);
    transform: scale(1.02);
    z-index: 1;
}

.pricing-card--featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.3);
}

.pricing-card__title {
    color: var(--primary);
    margin-bottom: 10px;
}

.pricing-card__price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.price-unit {
    font-size: 1rem;
    font-weight: 500;
    color: #94a3b8;
}

.pricing-card__desc {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card__features li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card__features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Dlaczego My */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature__title {
    margin-bottom: 15px;
    color: var(--primary);
}

.feature p {
    color: #64748b;
}

/* FAQ */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq__item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq__question {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq__question:hover,
details[open] .faq__question {
    background-color: var(--accent);
    color: white;
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    transition: color 0.3s ease;
}

.faq__question:hover::after,
details[open] .faq__question::after {
    color: white;
}

details[open] .faq__question::after {
    content: '−';
}

.faq__answer {
    padding: 0 20px 20px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    margin-top: -10px;
    /* Drobna poprawka wizualna */
    padding-top: 15px;
}

/* Kontakt */
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact__form {
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group--checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-group--checkbox input {
    width: auto;
    margin: 0;
}

.contact__details {
    list-style: none;
    margin-top: 30px;
}

.contact__details li {
    margin-bottom: 15px;
    color: var(--text-light-dim);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 15px;
    text-align: center;
}

/* Stopka */
.footer {
    background-color: var(--primary-light);
    color: var(--text-dim);
    padding: 60px 0 20px;
    border-top: 1px solid #334155;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.footer p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer__col h4:not(:first-child) {
    margin-top: 2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--text-dim);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer__bottom {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 12px;
    color: var(--accent);
    font-weight: 800;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--text-dim);
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
    color: var(--primary);
    font-weight: 700;
}

/* Blog Styles */
.nav__link--active {
    color: var(--accent);
    background-color: #d1fae5;
}

.hero--small {
    padding: 80px 0 60px;
    background: radial-gradient(circle at top right, #f0fdf4 0%, #f9fafb 100%);
    min-height: 0;
}

.hero__visual--blog {
    height: 300px;
    background-image: none;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__visual--blog .visual-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: scale(1.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blog-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

@media (max-width: 900px) {
    .blog-card--featured {
        grid-template-columns: 1fr;
    }
}

.blog-card__image-wrapper {
    height: 240px;
    background-color: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.blog-card--featured .blog-card__image-wrapper {
    height: 100%;
    min-height: 350px;
}

.blog-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.blog-card__content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.blog-card__meta {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.blog-card__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card__title a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s;
}

.blog-card__title a:hover {
    color: var(--accent);
}

.blog-card__excerpt {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

.btn-link {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
    display: block;
    margin-top: auto;
}

/* Article Page Styling */
.article-section {
    padding-top: 40px;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.article-meta {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.article-meta span:not(:last-child)::after {
    content: "•";
    margin: 0 10px;
    color: var(--border);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary);
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.article-content ul,
.article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-tldr {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.article-tldr h3 {
    margin-top: 0;
    color: #065f46;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 25px;
    font-style: italic;
    color: #4b5563;
    margin: 40px 0;
    font-size: 1.25rem;
    background: #f9fafb;
    padding: 30px;
    border-radius: 0 12px 12px 0;
}

.table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

.cta-box {
    background: var(--primary);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    background-image: radial-gradient(circle at top right, #374151 0%, #111827 100%);
}

.cta-box h3 {
    color: white;
    margin-top: 0;
}

.cta-box p {
    color: #cbd5e1;
    margin-bottom: 30px;
}


/* Responsywność */
@media (max-width: 992px) {

    .hero__container,
    .area__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__visual {
        display: none;
        /* Ukryj element wizualny na tabletach/w pionie, aby skupić się na treści lub zmniejszyć wysokość */
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        /* proste miejsce na logikę menu mobilnego */
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Dropdown Menu */
.nav__item--has-dropdown {
    position: relative;
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.nav__item--has-dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    top: 120%;
}

.nav__dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 6px;
    margin: 4px;
}

.nav__dropdown li a:hover {
    background-color: #d1fae5;
    /* Jasna zieleń */
    color: var(--accent-hover);
    padding-left: 25px;
    /* Lekki ruch w prawo */
}

.nav__icon {
    font-size: 1.2em;
}

/* Sekcja Obszar - Tagi */
.area__groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.area__group-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.area__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.area-tag:hover:not(.area-tag--inactive) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.area-tag--inactive {
    background-color: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: default;
}


.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 450px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounceIn 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.modal p {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Custom validation - czerwona ramka po próbie wysłania */
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ef4444;
    border-width: 2px;
    background-color: #fef2f2;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Komunikat błędu */
.form-error {
    display: none;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 6px;
    padding: 8px 12px;
    background-color: #fef2f2;
    border-left: 3px solid #ef4444;
    border-radius: 0 4px 4px 0;
}

.form-group.has-error .form-error {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkbox validation */
.form-group--checkbox.has-error {
    padding: 10px;
    background-color: #fef2f2;
    border-radius: 6px;
    border: 2px solid #ef4444;
}

/* Success state - poprawne pole */
.form-group.is-valid input,
.form-group.is-valid textarea {
    border-color: #10b981;
    border-width: 2px;
    background-color: #f0fdf4;
}

.form-group.is-valid input:focus,
.form-group.is-valid textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}


/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Hidden by default */
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    border-top: 1px solid var(--border);
}

#cookie-banner.visible {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-cookie-accept:hover {
    background-color: #059669;
    /* Explicit dark green for hover */
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-cookie-decline:hover {
    border-color: var(--text-dim);
    color: var(--text-main);
}