:root {
    --primary: #8A5AC5;
    --primary-dark: #6F3EAF;
    --primary-light: rgba(138, 90, 197, 0.14);
    --accent: #35C3FF;

    --bg-white: #FFFFFF;
    --bg-light-gray: #F8FAFC;
    --bg-tech: #F1F5F9;

    --text-main: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;

    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-btn: 4px;
    --radius-card: 8px;

    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.06);
    --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.16), 0 10px 10px -5px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.2;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

/* Klasa blokująca scrollowanie body przy otwartym menu */
body.menu-open {
    overflow: hidden;
}

.tech-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.4rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: var(--font-head);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(138, 90, 197, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(111, 62, 175, 0.5);
}

.btn-outline {
    border: 1px solid #CBD5E1;
    color: var(--text-main);
    margin-left: 15px;
    background: #ffffff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.full-width {
    width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

.bg-light-gray {
    background: var(--bg-light-gray);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.bg-subtle {
    background: var(--bg-tech);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.text-center {
    text-align: center;
}

/* Header & Nav */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

header.scrolled {
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.logo-header {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    transition: width 0.25s ease, height 0.25s ease;
}

header.scrolled .logo-header {
    width: 90px;
    height: 90px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-login-link svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-login-link:hover {
    color: var(--primary);
    transform: translateX(1px);
}

.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    position: relative;
    padding: 10px 0;
    font-family: var(--font-head);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-item:hover {
    color: var(--primary);
}

/* Dropdown Desktop */
.dropdown-parent {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: #ffffff;
    min-width: 220px;
    padding: 10px;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border-radius: var(--radius-btn);
    z-index: 20;
}

/* Hover tylko na desktopach (min-width: 1025px) */
@media (min-width: 1025px) {
    .dropdown-parent:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: var(--font-head);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dropdown-menu a:hover {
    background: var(--bg-light-gray);
    color: var(--primary);
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s;
    margin-left: 4px;
}

.mobile-toggle {
    display: none;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 990;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 130px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 160%;
    background: radial-gradient(circle at top right, rgba(138, 90, 197, 0.18) 0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-gradient {
    background: linear-gradient(135deg, #8A5AC5, #35C3FF);
    -webkit-background-clip: text;
    color: transparent;
}

.badge {
    display: inline-block;
    padding: 8px 12px;
    background: #F5F3FF;
    color: var(--primary-dark);
    border: 1px solid #DDD6FE;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-head);
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 550px;
}

/* Hero Visual */

.hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    width: 320px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 24px 40px -16px rgba(15, 23, 42, 0.35);
    padding: 25px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #F1F5F9;
}

.card-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.card-header .red {
    background: #FB7185;
}

.card-header .yellow {
    background: #FACC15;
}

.card-header .green {
    background: #4ADE80;
}

.code-lines .line {
    height: 8px;
    background: #F1F5F9;
    margin-bottom: 10px;
    border-radius: 3px;
}

.code-lines .w-80 {
    width: 80%;
}

.code-lines .w-60 {
    width: 60%;
}

.code-lines .w-90 {
    width: 90%;
}

.code-lines .w-50 {
    width: 50%;
}

.active-line {
    background: linear-gradient(90deg, #8A5AC5, #35C3FF) !important;
    width: 60% !important;
}

.status-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 0.7rem;
    font-family: var(--font-head);
    color: #8A5AC5;
    background: #FFFFFF;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Tech bubbles */

.tech-bubble {
    position: absolute;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 1;
    font-family: var(--font-body);
    border-radius: 999px;
    animation: float 8s ease-in-out infinite;
}

.bubble-1 {
    top: 4%;
    left: 6%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 14%;
    left: 60%;
    animation-delay: 0.4s;
}

.bubble-3 {
    top: 4%;
    left: 80%;
    animation-delay: 0.8s;
}

.bubble-4 {
    top: 32%;
    left: 16%;
    animation-delay: 1.2s;
}

.bubble-5 {
    top: 28%;
    left: 75%;
    animation-delay: 1.6s;
}

.bubble-6 {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

.bubble-7 {
    top: 50%;
    left: 55%;
    animation-delay: 2.4s;
}

.bubble-8 {
    top: 66%;
    left: 82%;
    animation-delay: 2.8s;
}

.bubble-9 {
    top: 80%;
    left: 22%;
    animation-delay: 3.2s;
}

.bubble-10 {
    top: 82%;
    left: 70%;
    animation-delay: 3.6s;
}

.bubble-11 {
    top: 40%;
    left: 38%;
    animation-delay: 4s;
}

.bubble-12 {
    top: 14%;
    left: 36%;
    animation-delay: 4.4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

/* Logo marquee */

.logo-marquee {
    padding: 30px 0;
    background: #ffffff;
    border-bottom: 1px solid #F1F5F9;
    overflow: hidden;
    margin-top: 10px;
}

.clients-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: var(--font-head);
    letter-spacing: 0.08em;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-item {
    margin: 0 40px;
}

.marquee-item img {
    height: 35px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: 0.3s;
}

.marquee-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.service-card {
    background: #ffffff;
    padding: 35px 25px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-card);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 160px;
    height: 160px;
    opacity: 0.1;
    pointer-events: none;
    transform: translateY(4px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.service-card:hover .bg-icon {
    opacity: 0.18;
    transform: translateY(10px);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.card-link {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-family: var(--font-head);
    position: relative;
    z-index: 1;
    letter-spacing: 0.08em;
}

.arrow {
    margin-left: 5px;
    transition: 0.3s;
}

.service-card:hover .arrow {
    margin-left: 10px;
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-block {
    position: relative;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Nowe style dla sekcji SEO w O Nas */
.about-seo-content {
    margin-top: 30px;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

.seo-highlight {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.seo-highlight strong {
    color: var(--text-main);
    font-weight: 700;
}


/* Tech tags */

.tech-scroll-container {
    overflow: hidden;
    padding: 20px 0;
}

.tech-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    width: max-content;
}

.tech-row.left {
    animation: scroll 30s linear infinite;
}

.tech-row.right {
    animation: scroll 30s linear infinite reverse;
}

.tech-tag {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Why us */

.why-us-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
}

/* FAQ */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.step-card {
    background: #ffffff;
    padding: 30px 20px;
    border: 1px solid #E2E8F0;
    text-align: center;
    border-radius: 8px;
    position: relative;
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-number {
    font-size: 2.5rem;
    color: #9CA3AF;
    font-weight: 900;
    font-family: var(--font-head);
    margin-bottom: 10px;
    line-height: 1;
}

/* Contact – simple */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-card);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 25px;
}

.contact-label {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 700;
    margin-bottom: 2px;
    font-family: var(--font-head);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-item a,
.info-item p:not(.contact-label) {
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
}

.contact-form-box {
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #F1F5F9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Blog */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.blog-image-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-head);
    letter-spacing: 0.08em;
}

.blog-title-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 15px;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
}

/* Footer */

footer {
    background: #0F172A;
    color: #CBD5F5;
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
}

.footer-cta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1E293B;
    margin-bottom: 40px;
    align-items: center;
}

.footer-cta-kicker {
    font-family: var(--font-head);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E5E7EB;
    margin-bottom: 10px;
}

.footer-cta h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-cta h2 span {
    color: #E5E7EB;
}

.footer-cta-text p {
    color: #9CA3AF;
}

.footer-cta-actions {
    text-align: right;
}

.footer-cta-btn {
    margin-bottom: 10px;
}

.footer-cta-note {
    font-size: 0.8rem;
    color: #9CA3AF;
}

/* Nowoczesny układ kolumn stopki */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1E293B;
    margin-bottom: 20px;
    flex-wrap: wrap; /* To pozwala kolumnom przechodzić do nowej linii */
}

/* Każda kolumna zajmuje dokładnie tyle samo miejsca (25% szerokości) */
.footer-column {
    flex: 1; 
    min-width: 0; /* Zapobiega wypychaniu kontenera przez długie linki */
}
.footer-logo-title {
    font-family: var(--font-head);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand-text {
    color: #9CA3AF;
    margin-bottom: 20px;
}

.footer-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.footer-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9CA3AF;
    margin-bottom: 4px;
}

.footer-meta-value {
    color: #E5E7EB;
    font-weight: 500;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #E5E7EB;
    margin-top: 10px;
}

.footer-heading {
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--font-head);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #CBD5F5;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact-list {
    list-style: none;
    margin-bottom: 16px;
}

.footer-contact-list li {
    margin-bottom: 15px;
}

.footer-contact-list span:not(.office-city) {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #9CA3AF;
    margin-bottom: 2px;
}

/* Nowe style dla podziału biur */
.office-block {
    padding-left: 10px;
    border-left: 2px solid #334155;
    margin-bottom: 8px;
}

.office-city {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 2px;
    font-family: var(--font-head);
}

.footer-contact-list a {
    color: #E5E7EB;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact-list p {
    color: #E5E7EB;
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 16px;
}

.footer-pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #1F2937;
    font-size: 0.8rem;
}

.footer-social-row {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E5E7EB;
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    color: #E5E7EB;
    margin-left: 14px;
    text-decoration: none;
}

/* Animacje reveal */

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: 0.8s;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: 0.8s;
}

.reveal-fade {
    opacity: 0;
    transition: 1s;
}

.reveal-active {
    opacity: 1;
    transform: translate(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Shark */

.shark-wrapper {
    display: block;
    width: 100%;
    animation: deep-sea-float 6s ease-in-out infinite;
    will-change: transform;
}

.shark-img {
    display: block;
    width: 100%;
    height: auto;
    animation: shark-breath 8s ease-in-out infinite alternate;
}

@keyframes deep-sea-float {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
    }
    25% {
        transform: translateY(-8px) rotate(-1.5deg) translateX(3px);
    }
    50% {
        transform: translateY(-12px) rotate(0deg) translateX(0);
    }
    75% {
        transform: translateY(-6px) rotate(1.5deg) translateX(-3px);
    }
    100% {
        transform: translateY(0) rotate(0deg) translateX(0);
    }
}

@keyframes shark-breath {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.02);
    }
}

/* Modern contact section */

.contact-section-wrapper {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-tech) 0%, #FFFFFF 100%);
    overflow: hidden;
}

.contact-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 90, 197, 0.15) 0%, rgba(53, 195, 255, 0.05) 50%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-pro-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: #0F172A;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-info-side {
    padding: 60px 40px;
    background: linear-gradient(145deg, #1E293B, #0F172A);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.03;
    pointer-events: none;
}

.contact-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 15px;
}

.contact-header p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-direct {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.direct-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #ffffff;
    padding: 12px;
    border-radius: 12px;
    transition: 0.2s;
}

.direct-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(138, 90, 197, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C084FC;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.direct-link span {
    display: block;
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 600;
}

.direct-link strong {
    font-size: 1.1rem;
    font-family: var(--font-head);
    letter-spacing: 0.02em;
}

.contact-next-steps {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.steps-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #E2E8F0;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: var(--font-head);
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.steps-list li {
    font-size: 0.9rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-dot {
    width: 20px;
    height: 20px;
    background: #334155;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.contact-form-side {
    padding: 60px 40px;
    background: #ffffff;
}

.pro-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input-dark {
    width: 100%;
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-input-dark:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input-dark::placeholder {
    color: #94A3B8;
}

.budget-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.budget-option {
    cursor: pointer;
    position: relative;
}

.budget-option input {
    position: absolute;
    opacity: 0;
}

.budget-option span {
    display: block;
    padding: 10px;
    text-align: center;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748B;
    transition: 0.2s;
}

.budget-option input:checked + span {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(138, 90, 197, 0.2);
}

.budget-option:hover span {
    border-color: #CBD5E1;
}

.glow-btn {
    margin-top: 10px;
    font-size: 1rem;
    padding: 16px;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #94A3B8;
    text-align: center;
    margin-top: 10px;
}

.form-disclaimer a {
    color: var(--primary);
    text-decoration: none;
}

/* File upload & checkboxes */

.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-input-hidden {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748B;
    font-size: 0.9rem;
}

.file-upload-label:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
}

.upload-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.file-name-display {
    color: var(--text-main);
    font-weight: 600;
    margin-left: auto;
    font-size: 0.85rem;
}

.consents-wrapper {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    transition: 0.2s;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.consent-text {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.4;
}

.consent-text a,
.consent-text strong {
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
    color: var(--primary);
}

.select-arrow {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* WhatsApp & legal */

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.15);
    color: #4ADE80;
}

.contact-footer-info {
    margin-top: auto;
    padding-top: 20px;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.legal-info-box {
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.5;
}

.legal-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #64748B;
    margin-bottom: 6px;
    font-weight: 700;
}

.legal-company-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 2px;
}

.brand-note {
    font-weight: 400;
    color: #94A3B8;
    font-size: 0.8em;
}

.legal-address {
    margin-bottom: 8px;
}

.legal-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.75rem;
    font-family: monospace;
    color: #64748B;
}

.dot-sep {
    color: #475569;
}

/* Global text pages */

.page-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.page-content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
}

.page-content p,
.page-content ul,
.page-content li {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
}

.page-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style: disc;
}

.page-content a {
    color: #2563eb;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* SEO grid */

.seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.seo-grid h3 {
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA band */

.service-cta-band {
    background: #0F172A;
    color: #ffffff;
    border-radius: 20px;
    padding: 32px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.service-cta-band h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.service-cta-band p {
    color: #CBD5F5;
    margin: 0;
    max-width: 560px;
    line-height: 1.6;
}

.service-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Pricing */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-head);
    background: #F5F3FF;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.pricing-card-featured .pricing-badge {
    background: rgba(138, 90, 197, 0.12);
    color: var(--primary);
}

.pricing-card h3 {
    margin-bottom: 10px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.pricing-price-from {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94A3B8;
    font-family: var(--font-head);
}

.pricing-price-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-head);
}

.pricing-price-netto {
    font-size: 0.8rem;
    color: #94A3B8;
}

.pricing-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 18px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-list li {
    padding: 5px 0;
    border-bottom: 1px dashed #E2E8F0;
}

.pricing-list li:last-child {
    border-bottom: none;
}

.pricing-btn {
    margin-top: auto;
    margin-top: 8px;
}

.pricing-note {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 18px;
}

/* Quick nav (Portfolio / Cennik / FAQ / Kontakt) */

.page-quick-nav {
    position: sticky;
    top: 112px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.page-quick-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
    flex-wrap: nowrap;
}

.page-quick-nav-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748B;
    font-family: var(--font-head);
    white-space: nowrap;
}

.page-quick-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #CBD5E1;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    background: #ffffff;
    transition: all 0.2s ease;
}

.page-quick-nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

/* Recent work / portfolio slider */

.recent-work-section {
    background: #ffffff;
    padding-top: 40px;
    padding-bottom: 80px;
}

.recent-work-section .section-header h2 {
    color: #0F172A;
    margin-bottom: 8px;
}

.recent-work-section .section-header p {
    color: #1E293B;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    max-width: 720px;
    margin-top: 4px;
}

.recent-slider-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 32px auto 20px auto;
    overflow: hidden;
    border-radius: 18px;
}

.recent-slider {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
    cursor: grab;
    touch-action: pan-y;
    gap: 24px;
}

.recent-slider.dragging {
    cursor: grabbing;
}

.recent-slide {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.45);
    background: #020617;
}

.recent-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.recent-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px;
    color: #ffffff;
    pointer-events: none;
}

.recent-slide-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: none;
    color: #ffffff;
}

.recent-slide-overlay p {
    font-size: 0.9rem;
    color: #E5E7EB;
    max-width: 520px;
}

/* Strzałki – zawsze widoczne na obrazie */

.recent-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.45);
    pointer-events: auto;
    z-index: 10;
}

.recent-slider-nav.prev {
    left: 16px;
}

.recent-slider-nav.next {
    right: 16px;
}

.recent-slider-nav:hover {
    background: rgba(15, 23, 42, 0.98);
    transform: translateY(-50%) scale(1.06);
}

.recent-portfolio-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.recent-portfolio-cta p {
    font-weight: 600;
    color: var(--text-main);
}

/* Desktop: 3 projekty obok siebie */

@media (min-width: 1024px) {
    .recent-slider-wrapper {
        overflow: visible;
    }

    .recent-slide {
        flex: 0 0 calc(33.333% - 16px);
    }
}

/* Responsywność */

@media (max-width: 1280px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero {
        padding-top: 130px;
    }
    .hero-content {
        text-align: left;
    }
    .hero-visual {
        justify-content: flex-start;
    }
}

@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
    .nav-login-link {
        display: none;
    }

    .services-grid,
    .blog-grid,
    .stats-grid,
    .steps-grid,
    .why-us-section,
    .about-grid,
    .contact-wrapper,
    .footer-cta {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-main {
        flex-direction: column; /* Ustawia kolumny pionowo */
        gap: 40px;
    }

    .footer-column {
        width: 100%; /* Każda kolumna zajmuje teraz całą szerokość */
        flex: none;  /* Wyłączamy równe dzielenie szerokości z desktopa */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    /* --- PROFESJONALNE MENU MOBILNE --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        width: 320px; /* Stała szerokość panelu */
        max-width: 85%;
        padding-top: 90px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.08);
        align-items: flex-start;
        padding-left: 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-item {
        font-size: 1.1rem; /* Elegancki rozmiar */
        padding: 16px 30px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
        font-weight: 600;
        letter-spacing: 0.03em;
    }
    
    .nav-btn {
        margin: 30px;
        width: calc(100% - 60px);
        display: flex;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
        background: none;
        border: none;
        width: 44px;
        height: 44px;
        cursor: pointer;
        position: relative;
    }

    .mobile-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: #0F172A;
        position: absolute;
        left: 9px;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-toggle span:nth-child(1) { top: 14px; }
    .mobile-toggle span:nth-child(2) { top: 21px; }
    .mobile-toggle span:nth-child(3) { top: 28px; }

    /* Animacja hamburgera do X */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 21px;
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 21px;
    }

    /* Dropdown w wersji mobilnej (Akordeon) */
    .dropdown-menu {
        position: static; /* Zamiast absolute */
        width: 100%;
        background: #F8FAFC;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transform: none;
        transition: max-height 0.4s ease-in-out;
    }
    
    .dropdown-parent.active-dropdown .dropdown-menu {
        max-height: 400px; /* Wystarczająco, by pokazać zawartość */
        padding-bottom: 10px;
        border-bottom: 1px solid #e2e8f0;
    }

    .dropdown-menu a {
        padding: 12px 30px 12px 45px; /* Wcięcie dla podkategorii */
        font-size: 0.95rem;
        color: #475569;
        border-radius: 0;
        border-left: 2px solid transparent;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: transparent;
        color: var(--primary);
        border-left-color: var(--primary);
    }
    
    .arrow-icon {
        transition: transform 0.3s;
    }

    .dropdown-parent.active-dropdown .arrow-icon {
        transform: rotate(180deg);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-pro-card {
        grid-template-columns: 1fr;
    }

    .contact-info-side {
        padding: 40px 24px;
        order: 1;
    }

    .contact-form-side {
        padding: 40px 24px;
        order: 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .budget-select-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recent-slider-wrapper {
        max-width: 100%;
        border-radius: 16px;
    }

    .recent-slide {
        border-radius: 16px;
    }

    .recent-slider-nav.prev {
        left: 10px;
    }

    .recent-slider-nav.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .service-cta-band {
        text-align: left;
    }

    .service-cta-actions {
        width: 100%;
    }

    .service-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .recent-slide-overlay {
        padding: 16px 18px;
    }

    .recent-slider-nav {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .recent-portfolio-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-quick-nav {
        top: 96px;
        border-top: none;
        background: rgba(248, 250, 252, 0.98);
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }

    .page-quick-nav-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .page-quick-nav-label {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 2px;
    }

    .page-quick-nav-link {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }
}

@media (max-width: 640px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 1.15;
        word-break: break-word;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 14px;
        align-items: stretch;
        margin-top: 20px;
    }

    .hero-btns .btn {
        width: 100%;
        margin: 0;
    }

    .contact-wrapper {
        padding: 20px;
    }

    form {
        width: 100%;
        overflow: hidden;
    }

    .form-input,
    textarea {
        max-width: 100%;
    }

    .footer-main,
    .footer-column,
    .footer-column-brand,
    .footer-column-contact,
    .footer-cta-text,
    .footer-cta-actions {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
}
/* =========================================
   FOOTER LEGAL MENU (Polityka prywatności itp.)
   ========================================= */

.footer-legal-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Odstęp między linkami */
}

.footer-legal-list li {
    margin: 0;
    padding: 0;
}

.footer-legal-list li a {
    /* Kolor #cbd5e1 zapewnia wysoki kontrast na ciemnym tle (spełnia wymogi WCAG) */
    color: #cbd5e1; 
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.footer-legal-list li a:hover {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
}

/* Responsywność - centrowanie na telefonach */
@media (max-width: 600px) {
    .footer-legal-list {
        justify-content: center;
        margin-top: 10px !important;
        font-size: 12px;
    }
}
.grecaptcha-badge { 
    visibility: hidden; 
}
.recaptcha-disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

.recaptcha-disclaimer a {
    color: #444;
    text-decoration: underline;
}

.recaptcha-disclaimer a:hover {
    color: #000;
}
/* Upewniamy się, że karta ma stałą strukturę */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Zawartość karty rozciąga się na całą wysokość */
.blog-card .blog-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Tekst zajmuje miejsce, a link jest dociśnięty na dół */
.blog-card .blog-excerpt {
  margin-bottom: 16px; /* możesz zmienić */
}

/* Link na dole i po prawej */
.blog-card .blog-read-more {
  margin-top: auto;          /* klucz: spycha na dół */
  align-self: flex-end;      /* klucz: wyrównuje do prawej */
  white-space: nowrap;       /* nie łamie się na dwie linie */
}

/* Jeśli chcesz, żeby strzałka nie "skakała" optycznie */
.blog-card .blog-read-more span {
  margin-left: 6px;
  display: inline-block;
}
