/* 
Premium Design System for Zabawmy Się Radom
*/

:root {
    --primary: #f26522;
    --primary-light: #ff8c52;
    --primary-dark: #d4561b;
    --secondary: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.main-nav.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    color: white !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- HAMBURGER BUTTON --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    gap: 5px;
    transition: var(--transition);
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- MOBILE MENU DRAWER --- */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: #0f172a;
    z-index: 1060;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(242, 101, 34, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-nav-list {
    list-style: none;
    padding: 0 15px;
    flex: 1;
}

.mobile-nav-list li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-drawer.open .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-drawer.open .mobile-nav-list li:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu-drawer.open .mobile-nav-list li:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-menu-drawer.open .mobile-nav-list li:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu-drawer.open .mobile-nav-list li:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-menu-drawer.open .mobile-nav-list li:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.25s ease;
    margin-bottom: 4px;
}

.mobile-nav-list a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    padding-left: 20px;
}

.mobile-nav-list a.nav-cta-mobile {
    background: var(--primary);
    color: white !important;
    justify-content: center;
    font-weight: 700;
    margin-top: 10px;
    padding: 16px 15px;
}

.mobile-nav-list a.nav-cta-mobile:hover {
    background: var(--primary-dark);
    padding-left: 15px;
    transform: scale(1.02);
}

.mobile-menu-footer {
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 15px;
    text-align: center;
}

.mobile-menu-footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.mobile-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mobile-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.mobile-social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    /* Always show dark background on mobile so hamburger is visible */
    .main-nav {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Keep the scrolled state consistent on mobile */
    .main-nav.scrolled {
        background: rgba(15, 23, 42, 0.98);
        padding: 10px 0;
    }

    /* Ensure hamburger button stays always on top */
    .hamburger-btn {
        position: relative;
        z-index: 1200;
    }

    /* --- MOBILE CONTENT PADDING (O nas & other pages) --- */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Fix row negative margins eating container padding */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .postic-card {
        padding: 25px 20px;
        margin: 30px 0;
    }

    .postic-services-toggle {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .contact-cta-highlight {
        padding: 22px 18px;
        margin: 35px 0;
    }

    .contact-cta-highlight a {
        font-size: 1.1rem;
    }

    .tag-cloud {
        gap: 8px;
        margin-top: 35px;
    }

    .tag-pill {
        font-size: 0.82rem;
        padding: 6px 14px;
    }

    .text-block p {
        font-size: 1rem;
    }

    .page-header {
        padding: 120px 20px 60px;
    }

    .py-large {
        padding: 40px 0;
    }

    /* --- HERO MOBILE FIX (Safari/iOS compatible) --- */
    .hero-section {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;

        height: auto !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
        /* Small viewport height */
        min-height: 100dvh !important;
        /* Dynamic viewport height */

        padding: 100px 20px 60px !important;
        /* Slightly more compact padding */
        text-align: center !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        z-index: 2;
    }

    .hero-title {
        font-size: 2.1rem !important;
        /* Slightly smaller for safer fit */
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    .hero-subtitle {
        font-size: 1.05rem !important;
        margin-bottom: 30px !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
    }

    .hero-section::after {
        height: 120px !important;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* --- GRID SYSTEM --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-lg-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.text-white {
    color: white !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 75vh;
    /* Reduced from 100vh */
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    padding-top: 80px;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Slightly smaller max size */
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(242, 101, 34, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* --- PROBLEM SECTION --- */
.py-large {
    padding: 60px 0;
}

.problem-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.problem-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
}

.problem-card {
    cursor: pointer;
    position: relative;
}

.problem-card .active-content {
    display: none;
}

.problem-card.active {
    background: var(--primary);
    color: white;
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.problem-card.active h3,
.problem-card.active p,
.problem-card.active .icon {
    color: white;
}

.problem-card.active .default-content {
    display: none;
}

.problem-card.active .active-content {
    display: block;
    animation: fadeIn 0.5s ease;
}

.click-indicator {
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition);
    animation: pulseIndicator 2s infinite;
}

.problem-card:hover .click-indicator {
    opacity: 1;
    color: var(--primary);
}

.problem-card.active .click-indicator {
    color: white;
    opacity: 0.8;
    transform: rotate(45deg);
}

@keyframes pulseIndicator {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SOLUTION SECTION --- */
.bg-darker {
    background-color: #f1f5f9;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.feature-list span {
    color: var(--primary);
    font-weight: 800;
}

.image-stack img {
    border-radius: 30px;
    border: 8px solid white;
    box-shadow: var(--shadow-strong);
    max-height: 450px;
    /* Constrain vertical height */
    width: 100%;
    object-fit: cover;
}

/* --- PROOF SECTION --- */
.stat-number {
    font-size: 3.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-muted);
}

/* --- CTA SECTION --- */
.bg-vibrant {
    background: linear-gradient(135deg, var(--primary), #ef4444);
}

.cta-final-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* --- NEW FOOTER (POSTIC STYLE REFINDED) --- */
.footer-redesign {
    background-color: var(--secondary);
    color: var(--white);
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    padding: 80px 0 40px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-column h5 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--white);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.footer-column h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
    text-decoration: none;
}

.contact-info-list li:hover .contact-icon,
a.contact-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(-10deg) scale(1.1);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-info-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-info-list a:hover {
    color: var(--primary);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.3);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-align: center;
}

/* --- SUBPAGE UTILITIES --- */
.page-header {
    padding: 150px 0 80px;
    background: var(--secondary);
    color: white;
    text-align: center;
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}

.pricing-card h3 {
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
    display: block;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
    max-width: 1400px;
    margin: 50px auto;
    column-count: 4;
    column-gap: 30px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    break-inside: avoid-column;
    display: inline-block;
    width: 100%;
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 500px;
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Slightly smaller items */
    gap: 30px;
    padding: 50px 0;
}

.portfolio-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: white;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media screen and (max-width: 1200px) {
    .faq-container {
        column-count: 2;
    }
}

@media screen and (max-width: 768px) {
    .footer-redesign {
        border-radius: 40px 40px 0 0;
        padding: 60px 0 30px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .faq-container {
        column-count: 1;
    }
}

/* --- NEW OFFER CARDS --- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.offer-card {
    background: white;
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary);
}

.offer-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.offer-icon-emoji {
    font-size: 32px;
}

.offer-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 800;
}

.offer-short {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.offer-more {
    display: block;
    margin-bottom: 25px;
}

.offer-more p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.offer-toggle {
    display: none;
}

.offer-btn {
    align-self: center;
    margin-top: auto;
}

.offer-more p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.offer-toggle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.offer-toggle:hover {
    background: #f1f5f9;
    border-color: var(--primary);
}

.offer-btn {
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    padding: 10px 20px;
    /* Reduced from 12px 25px */
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    margin-top: auto;
    align-self: center;
    /* Prevent stretching */
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    /* Reduced from 0.95rem */
}

.offer-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(242, 101, 34, 0.3);
}

/* --- ABOUT US OVERHAUL STYLES --- */
.text-block {
    margin-bottom: 30px;
}

.text-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.postic-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid #000;
    margin: 40px 0;
    transition: var(--transition);
}

.postic-card:hover {
    box-shadow: var(--shadow-strong);
}

.postic-card p {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.8;
}

.postic-services-toggle {
    background: #f1f5f9;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    transition: var(--transition);
}

.postic-services-toggle:hover {
    background: #e2e8f0;
}

.postic-services-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0 25px;
}

.postic-services-content ul {
    list-style: none;
    padding: 20px 0;
}

.postic-services-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.postic-services-content li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 800;
}

.postic-card.active .postic-services-content {
    max-height: 500px;
}

.postic-card.active .postic-services-toggle i {
    transform: rotate(180deg);
}

.btn-postic {
    display: inline-flex;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-postic:hover {
    gap: 15px;
    color: var(--primary-dark);
}

.contact-cta-highlight {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed var(--primary);
    margin: 50px 0;
    transition: var(--transition);
}

.contact-cta-highlight:hover {
    background: var(--bg-light);
    transform: scale(1.02);
}

.contact-cta-highlight a {
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    display: block;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 50px;
}

.tag-pill {
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.tag-pill:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 101, 34, 0.2);
}

.tag-pill.active {
    background: #ffb800;
    /* Żółto-pomarańczowy, dopasowany do makiety */
    color: white;
    border-color: #ffb800;
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.3);
}

.tag-pill.outline {
    background: white;
    color: #ffb800;
    border-color: #ffb800;
}

/* --- VOIVODESHIP SLIDER --- */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0 20px;
    position: relative;
}

/* Optional soft gradient mask for smooth edges */
.slider-wrapper::before,
.slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.slider-track {
    display: inline-flex;
    gap: 12px;
    animation: marquee 30s linear infinite;
    padding-left: 12px;
}

.slider-track:hover {
    /* Optional: Pause on hover before clicking */
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- CONTACT SECTION OVERHAUL --- */
.contact-section-wrapper {
    align-items: stretch;
}

.contact-box {
    border-radius: 20px;
    padding: 50px 40px;
    height: 100%;
}

.contact-box-left {
    background-color: #f8fafc;
}

.contact-box-right {
    background-color: white;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
}

.badge-soft {
    display: inline-block;
    background-color: #e0e7ff;
    color: #4f46e5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-feature p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.icon-box-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #f26522;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info-block {
    margin-bottom: 25px;
}

.contact-info-block .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-block .value {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-block a.value:hover {
    color: var(--primary);
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info-col {
    flex: 1;
    min-width: 200px;
}

/* Responsive adjustments for Contact Page */
@media (max-width: 991px) {
    .contact-box {
        padding: 40px 25px;
        margin-bottom: 30px;
    }

    .contact-box-left {
        border-radius: 20px 20px 0 0;
    }

    .contact-box-right {
        border-radius: 0 0 20px 20px;
        margin-top: -30px;
        border-top: none;
    }

    .contact-section-wrapper {
        margin: 0;
    }

    .contact-section-wrapper [class*="col-"] {
        padding: 0;
    }

    .contact-info-block {
        margin-bottom: 15px;
    }

    .contact-info-block .label {
        font-size: 0.7rem;
    }

    .contact-info-block .value {
        font-size: 0.9rem;
    }

    .contact-info-col {
        flex: 0 0 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .contact-box h2 {
        font-size: 1.4rem;
    }

    .contact-feature {
        gap: 15px;
    }

    .contact-info-block {
        margin-bottom: 15px;
    }

    .contact-info-block .label {
        font-size: 0.75rem;
    }

    .contact-info-block .value {
        font-size: 0.95rem;
    }
}

/* --- REVIEWS SLIDER --- */
.reviews-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid #e8edf2;
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.review-stars {
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f0f2f5;
    padding-top: 16px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #d44f10);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.review-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
}

.review-source {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.review-source i {
    color: #4285F4;
    margin-right: 3px;
}

.reviews-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.reviews-nav-btn:hover {
    background: var(--primary);
    color: white;
}

.reviews-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.reviews-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .review-card {
        flex: 0 0 calc(100% - 0px);
    }
}