/* =======================================================
   PRIMEWEB — style.css
   ======================================================= */

/* ===== ZMIENNE KOLORÓW ===== */
:root[data-theme="dark"] {
    --bg-color: #0f0f11;
    --text-color: #f8fafc;
    --nav-bg: rgba(15, 15, 17, 0.95);
    --card-bg: #1a1a1c;
    --card-hover: #222225;
    --primary-red: #e60000;
    --dark-red: #b30000;
}

:root[data-theme="light"] {
    --bg-color: #f4f4f5;
    --text-color: #1a1a1c;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    --primary-red: #e60000;
    --dark-red: #b30000;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

/* ===== GLOBALNE TŁO Z TEKSTURĄ ===== */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    width: 70%;
    height: 70%;
    inset: 0;
    background-image: url('tlo_primeweb.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

:root[data-theme="light"] body::before {
    background-image: url('tlo_primeweb2.png');
    opacity: 0.20;
}

body > * {
    position: relative;
    z-index: 1;
}

/* ===== NAWIGACJA ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-sizing: border-box;
}

/* Czarny pasek pod nawigacją */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), #000, var(--primary-red));
    opacity: 0.8;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-w { 
    color: var(--primary-red); 
}

/* Desktop menu - po prawej stronie */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.nav-links a.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

.controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.icon-btn {
    background: none;
    border: 1px solid var(--primary-red);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    transition: 0.3s;
    min-width: 36px;
    min-height: 36px;
}

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

/* Hamburger menu (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

/* ===== PRZYCISKI ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-red);
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--text-color);
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline {
    border: 2px solid var(--primary-red);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--primary-red) !important;
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: #fff !important;
}

/* ===== SEKCJE OGÓLNE ===== */
.section { 
    padding: 100px 5%; 
}

.bg-alt { 
    background-color: var(--card-bg); 
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 800;
}

.highlight { 
    color: var(--primary-red); 
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 5%;
    background: #000;
    color: #fff;
    border-top: 2px solid var(--primary-red);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
}

.socials a { 
    color: #fff; 
    font-size: 1.5rem; 
    margin-left: 15px; 
    transition: color 0.3s; 
}

.socials a:hover { 
    color: var(--primary-red); 
}

.footer-copyright {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-copyright p { 
    margin: 0; 
}

.footer-copyright .footer-privacy-link {
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright .footer-privacy-link:hover { 
    color: var(--primary-red); 
}

/* ===== INDEX — HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.hero h1 { 
    font-size: 4rem; 
    margin-bottom: 15px; 
    font-weight: 800; 
    line-height: 1.1; 
}

.hero h2 { 
    font-size: 2rem; 
    margin-bottom: 25px; 
    font-weight: 500; 
    color: #888; 
}

.hero p { 
    max-width: 650px; 
    margin: 0 auto 40px; 
    font-size: 1.2rem; 
    color: #888; 
}

.hero-buttons { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.cursor { 
    font-weight: bold; 
    animation: blink 1s infinite; 
    color: var(--primary-red); 
}

@keyframes blink { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0; } 
}

.badge {
    display: inline-block;
    background: rgba(230,0,0,0.12);
    color: var(--primary-red);
    border: 1px solid rgba(230,0,0,0.3);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== INDEX — FEATURES ===== */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-box {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-bottom-color: var(--primary-red);
    transform: translateY(-6px);
    background: var(--card-hover);
}

.feature-box i { 
    font-size: 2.5rem; 
    color: var(--primary-red); 
    margin-bottom: 20px; 
    display: block; 
}

.feature-box h3 { 
    font-size: 1.3rem; 
    margin-bottom: 12px; 
    font-weight: 700; 
}

.feature-box p { 
    color: #888; 
    font-size: 0.95rem; 
    line-height: 1.6; 
}

/* ===== INDEX — STATS ===== */
.about-summary {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.stat-number { 
    font-size: 3.5rem; 
    font-weight: 900; 
    color: var(--primary-red); 
    line-height: 1; 
}

.stat-desc { 
    font-size: 1rem; 
    color: #888; 
    font-weight: 500; 
}

/* ===== USLUGI — PAGE HEADER ===== */
.page-header {
    text-align: center;
    padding-top: 160px;
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

.page-header h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
    line-height: 1.1; 
}

.page-header p { 
    color: #888; 
    font-size: 1.15rem; 
    max-width: 580px; 
    margin: 0 auto; 
}

/* ===== USLUGI — SERVICE ROWS ===== */
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-row.reverse { 
    flex-direction: row-reverse; 
}

.service-info { 
    flex: 1; 
    min-width: 0; 
}

.service-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(230, 0, 0, 0.1);
    margin-bottom: -10px;
    line-height: 1;
}

.service-info h2 { 
    font-size: 2.2rem; 
    margin-bottom: 16px; 
    color: var(--primary-red); 
    font-weight: 800; 
}

.service-info > p { 
    color: #888; 
    line-height: 1.7; 
    margin-bottom: 10px; 
}

.check-list { 
    list-style: none; 
    margin-top: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.check-list li { 
    padding-left: 28px; 
    position: relative; 
    font-weight: 500; 
}

.check-list li::before { 
    content: "›"; 
    position: absolute; 
    left: 0; 
    color: var(--primary-red); 
    font-weight: bold; 
}

.service-visual {
    flex: 1;
    background: linear-gradient(45deg, var(--card-bg), #000);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 0, 0, 0.3);
    box-shadow: 0 0 40px rgba(230, 0, 0, 0.08);
    transition: box-shadow 0.3s;
    min-width: 0;
    width: 100%;
}

.service-visual:hover { 
    box-shadow: 0 0 60px rgba(230, 0, 0, 0.18); 
}

.tech-stack-icons { 
    font-size: 3.5rem; 
    display: flex; 
    gap: 28px; 
    color: var(--primary-red); 
    opacity: 0.8; 
    flex-wrap: wrap; 
    justify-content: center; 
}

/* ===== USLUGI — PROCESS ===== */
.process-section { 
    background: var(--card-bg); 
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 36px 28px;
    background: var(--bg-color);
    border-radius: 16px;
    border: 1px solid rgba(128,128,128,0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.process-step:hover { 
    transform: translateY(-6px); 
    border-color: rgba(230,0,0,0.3); 
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    font-weight: bold;
    flex-shrink: 0;
}

.process-step h3 { 
    font-size: 1.2rem; 
    font-weight: 700; 
    margin-bottom: 10px; 
}

.process-step p { 
    color: #888; 
    font-size: 0.95rem; 
    line-height: 1.6; 
}

/* ===== USLUGI — CTA BANNER ===== */
.cta-banner {
    background-color: black;
    background-size: cover;
    background-position: center;
    padding: 80px 5%;
    text-align: center;
    border-top: 3px solid var(--primary-red);
    box-sizing: border-box;
}

.cta-banner h2 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    margin-bottom: 14px; 
    color: white; 
}

.cta-banner p { 
    color: #aaa; 
    font-size: 1.1rem; 
    margin-bottom: 32px; 
}

/* ===== KONTAKT — HERO ===== */
.contact-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 5% 60px;
    overflow: hidden;
    box-sizing: border-box;
}

.contact-hero-logo {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.contact-hero-logo img {
    height: 110px;
    filter: drop-shadow(0 0 30px rgba(230,0,0,0.5));
    animation: floatIn 0.8s ease-out both;
    max-width: 100%;
}

.contact-hero-logo h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    animation: floatIn 0.9s 0.1s ease-out both;
    word-break: break-word;
}

.contact-hero-logo p {
    color: #aaaaaa;
    font-size: 1.1rem;
    max-width: 520px;
    animation: floatIn 1s 0.2s ease-out both;
    padding: 0 10px;
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== KONTAKT — FORMULARZ ===== */
.contact-section { 
    padding: 60px 5% 100px; 
    flex: 1; 
    box-sizing: border-box; 
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(230, 0, 0, 0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: floatIn 0.7s 0.3s ease-out both;
    box-sizing: border-box;
    width: 100%;
}

.order-info h1 { 
    font-size: 2.4rem; 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 16px; 
    word-break: break-word; 
}

.order-info > p { 
    color: #888; 
    margin-bottom: 36px; 
    font-size: 1.05rem; 
    line-height: 1.6; 
}

.contact-details { 
    display: flex; 
    flex-direction: column; 
    gap: 14px; 
    margin-top: 10px; 
}

.contact-details p { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 600; 
    font-size: 0.95rem; 
    word-break: break-word; 
}

.contact-details i {
    width: 36px; 
    height: 36px;
    background: rgba(230,0,0,0.12);
    color: var(--primary-red);
    border-radius: 8px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.order-form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.order-form .form-group { 
    margin: 0; 
}

.order-form label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    letter-spacing: 0.3px; 
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-color);
    border: 1px solid rgba(128,128,128,0.2);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
    max-width: 100%;
    font-size: max(16px, 0.95rem);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230,0,0,0.1);
}

.order-form textarea { 
    resize: vertical; 
    min-height: 120px; 
}

.budget-options { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
    margin-top: 8px; 
}

.budget-options input[type="radio"] { 
    display: none; 
}

.budget-label {
    background: var(--bg-color);
    border: 1px solid rgba(128,128,128,0.2);
    padding: 9px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s;
    user-select: none;
    display: inline-block;
}

.budget-options input[type="radio"]:checked + .budget-label {
    border-color: var(--primary-red);
    background: rgba(230,0,0,0.1);
    color: var(--primary-red);
}

.budget-label:hover { 
    border-color: var(--primary-red); 
}

.btn-full { 
    width: 100%; 
    cursor: pointer; 
    font-size: 1rem; 
    padding: 14px; 
    margin-top: 6px; 
}

/* ===== LIGHT THEME — KONTAKT ===== */
:root[data-theme="light"] .contact-hero::before { 
    background-color: #111; 
}

:root[data-theme="light"] .contact-hero::after {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(230,0,0,0.2) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 100%);
}

:root[data-theme="light"] .order-form input[type="text"],
:root[data-theme="light"] .order-form input[type="email"],
:root[data-theme="light"] .order-form select,
:root[data-theme="light"] .order-form textarea { 
    border-color: rgba(0,0,0,0.15); 
}

:root[data-theme="light"] .budget-label { 
    border-color: rgba(0,0,0,0.15); 
}

:root[data-theme="light"] .contact-hero-logo img { 
    filter: drop-shadow(0 0 20px rgba(230,0,0,0.3)); 
}

/* ===== EKRAN ŁADOWANIA ===== */
#loader-overlay {
    position: fixed;
    inset: 0;
    background: #0f0f11;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-w { 
    color: var(--primary-red); 
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loader-bar-wrap {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-red);
    border-radius: 2px;
    animation: loaderFill 1.4s ease forwards;
}

@keyframes loaderFill {
    0%   { width: 0%; }
    60%  { width: 75%; }
    100% { width: 100%; }
}

.loader-tagline {
    color: #555;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== SEKCJA PŁATNOŚCI ===== */
.payment-section { 
    background: var(--bg-color); 
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.payment-card {
    background: var(--card-bg);
    border: 1px solid rgba(128,128,128,0.12);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.payment-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230,0,0,0.3);
    box-shadow: 0 12px 40px rgba(230,0,0,0.08);
}

.payment-card.featured {
    border-color: rgba(230,0,0,0.4);
    box-shadow: 0 0 30px rgba(230,0,0,0.1);
}

.payment-icon {
    font-size: 2.4rem;
    color: var(--primary-red);
    margin-bottom: 18px;
}

.payment-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.payment-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.65;
}

.payment-badge {
    display: inline-block;
    margin-top: 18px;
    background: var(--primary-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
}

/* ===== POLITYKA PRYWATNOŚCI ===== */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.privacy-block {
    background: var(--bg-color);
    border: 1px solid rgba(128,128,128,0.1);
    border-radius: 12px;
    padding: 24px 26px;
    transition: border-color 0.3s;
}

.privacy-block:hover { 
    border-color: rgba(230,0,0,0.25); 
}

.privacy-block h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-block h4 i {
    color: var(--primary-red);
    font-size: 0.95rem;
}

.privacy-block p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.65;
}

.footer-privacy-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-privacy-link:hover { 
    color: var(--primary-red); 
}

/* =======================================================
   RESPONSIVE — MOBILE
   ======================================================= */

/* Tablet */
@media (max-width: 900px) {
    .service-row,
    .service-row.reverse { 
        flex-direction: column; 
        gap: 40px; 
        margin-bottom: 70px; 
    }
    
    .service-visual { 
        width: 100%; 
        height: 220px; 
        flex: none; 
    }
    
    .page-header h1 { 
        font-size: 2.6rem; 
    }
    
    .service-info h2 { 
        font-size: 1.8rem; 
    }

    .order-container { 
        grid-template-columns: 1fr; 
        padding: 35px 25px; 
        gap: 35px; 
    }
    
    .order-info h1 { 
        font-size: 2rem; 
    }
    
    .contact-hero-logo h1 { 
        font-size: 2rem; 
    }
    
    .contact-hero-logo img { 
        height: 80px; 
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hamburger widoczny */
    .hamburger {
        display: flex !important;
    }

    /* Ukrywamy desktopowe menu i controls */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: #000000 !important;
        z-index: 1050;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        margin: 0;
        padding: 80px 20px 40px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    /* Menu otwarte */
    .nav-links.open {
        transform: translateX(0) !important;
    }

    /* Linki w menu */
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.8rem;
        font-weight: 600;
        color: #ffffff !important;
        text-decoration: none;
        padding: 12px 24px;
        display: inline-block;
        white-space: nowrap;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary-red) !important;
        border-bottom: none;
    }

    /* Przycisk zamówienia w menu mobilnym */
    .nav-links .btn-outline {
        border: 2px solid var(--primary-red);
        background: transparent;
        color: var(--primary-red) !important;
        font-size: 1.8rem;
        padding: 12px 32px;
    }

    .nav-links .btn-outline:hover {
        background: var(--primary-red);
        color: white !important;
    }

    /* Ukrywamy desktopowe controls */
    .navbar .controls {
        display: none !important;
    }

    /* Kontrolki w menu mobilnym */
    .nav-links .controls-mobile {
        display: flex !important;
        flex-direction: row;
        gap: 20px;
        margin-top: 40px;
        justify-content: center;
        width: 100%;
    }

    .nav-links .controls-mobile .icon-btn {
        min-width: 60px;
        min-height: 50px;
        font-size: 1.1rem;
        background: rgba(255,255,255,0.1);
        border-color: var(--primary-red);
        color: white;
        padding: 8px 20px;
    }

    .nav-links .controls-mobile .icon-btn:hover {
        background: var(--primary-red);
        color: white;
    }

    /* Hero */
    .hero h1 { 
        font-size: 2.4rem; 
    }
    
    .hero h2 { 
        font-size: 1.4rem; 
    }
    
    .hero p { 
        font-size: 1rem; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
        align-items: center; 
    }
    
    .hero-buttons a { 
        width: 100%; 
        max-width: 280px; 
        text-align: center; 
        white-space: normal; 
    }
    
    .about-summary { 
        gap: 40px; 
    }
    
    .stat-number { 
        font-size: 2.8rem; 
    }

    .cta-banner h2 { 
        font-size: 2rem; 
    }
    
    .page-header { 
        padding-top: 120px; 
    }
    
    .page-header h1 { 
        font-size: 2.2rem; 
    }

    .cta-banner .btn,
    .cta-banner .btn-secondary {
        white-space: normal;
    }

    .footer-content { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
    
    .footer-copyright { 
        order: 2; 
    }
    
    .socials { 
        order: 3; 
    }
    
    .footer-logo { 
        order: 1; 
    }

    .privacy-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .privacy-block { 
        padding: 18px 20px; 
    }

    .section-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .section { 
        padding: 70px 4%; 
    }
    
    .section-title { 
        font-size: 2rem; 
        margin-bottom: 40px; 
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .nav-links a {
        font-size: 1.4rem !important;
    }
    
    .nav-links .btn-outline {
        font-size: 1.4rem !important;
    }
    
    .nav-links .controls-mobile .icon-btn {
        min-width: 50px;
        padding: 8px 16px;
        font-size: 1rem;
    }

    .hero { 
        padding: 90px 16px 0; 
    }
    
    .hero h1 { 
        font-size: 2rem; 
    }
    
    .section { 
        padding: 60px 4%; 
    }
    
    .tech-stack-icons { 
        font-size: 2.5rem; 
        gap: 20px; 
    }
    
    .page-header h1 { 
        font-size: 1.9rem; 
    }
    
    .service-info h2 { 
        font-size: 1.6rem; 
    }
    
    .cta-banner { 
        padding: 60px 4%; 
    }
    
    .cta-banner h2 { 
        font-size: 1.7rem; 
    }

    .contact-hero { 
        padding: 100px 4% 40px; 
        min-height: auto; 
    }
    
    .contact-hero-logo h1 { 
        font-size: 1.6rem; 
    }
    
    .contact-hero-logo p { 
        font-size: 0.95rem; 
    }
    
    .contact-section { 
        padding: 30px 4% 60px; 
    }
    
    .order-container { 
        padding: 24px 16px; 
        border-radius: 12px; 
        gap: 28px; 
    }
    
    .budget-options { 
        gap: 8px; 
    }
    
    .budget-label { 
        padding: 8px 12px; 
        font-size: 0.82rem; 
    }
    
    .order-info h1 { 
        font-size: 1.75rem; 
    }

    .payment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .payment-card { 
        padding: 30px 20px; 
    }

    .cta-banner .btn,
    .cta-banner .btn-secondary {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 12px;
    }
}

/* Extra small */
@media (max-width: 360px) {
    .nav-links a {
        font-size: 1.2rem !important;
        padding: 8px 16px !important;
    }
    
    .nav-links .controls-mobile {
        gap: 12px !important;
    }
    
    .nav-links .controls-mobile .icon-btn {
        padding: 8px 14px !important;
        font-size: 0.9rem !important;
        min-width: 44px;
    }

    .hero h1 { 
        font-size: 1.8rem; 
    }
    
    .hero h2 { 
        font-size: 1.2rem; 
    }
    
    .section-title { 
        font-size: 1.8rem; 
        margin-bottom: 40px; 
    }
    
    .badge { 
        font-size: 0.7rem; 
        padding: 4px 12px; 
    }
    
    .btn, .btn-secondary { 
        padding: 10px 20px; 
        font-size: 0.9rem; 
        white-space: normal; 
    }

    .contact-hero-logo h1 { 
        font-size: 1.4rem; 
    }
    
    .contact-details p { 
        font-size: 0.85rem; 
        gap: 8px; 
    }
    
    .contact-details i { 
        width: 30px; 
        height: 30px; 
        font-size: 0.8rem; 
    }

    .logo { 
        font-size: 1.4rem; 
    }

    .order-container { 
        padding: 20px 14px; 
    }
    
    .budget-label { 
        padding: 7px 10px; 
        font-size: 0.78rem; 
    }
}

/* ===== DODATKOWE FIXY ===== */
img {
    max-width: 100%;
    height: auto;
}

section, div[class*="section"], div[class*="container"] {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}