/* ===================================================
   AutoSkup - Design System v3
   Light Automotive Theme - Multipage
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors - Light Theme */
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #fafbfc;
    --color-surface: #f0f2f5;
    --color-accent: #e8a838;
    --color-accent-hover: #d49a30;
    --color-accent-light: rgba(232, 168, 56, 0.08);
    --color-cta: #ff6b35;
    --color-cta-hover: #e85d2a;
    --color-text: #374151;
    --color-text-muted: #6b7280;
    --color-text-heading: #111827;
    --color-border: #e5e7eb;
    --color-border-hover: rgba(232, 168, 56, 0.4);
    --color-success: #16a34a;
    --color-error: #dc2626;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;
    --gap: 24px;
    --gap-lg: 48px;

    /* Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.08);
    --shadow-glow: 0 8px 30px rgba(232, 168, 56, 0.15);
    --shadow-cta: 0 4px 16px rgba(255, 107, 53, 0.3);

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Header */
    --header-height: 80px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-cta);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-cta-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
    font-weight: 700;
}

ul {
    list-style: none;
}

/* ---------- Utilities ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
    position: relative;
}

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

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cta);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    min-width: 200px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-cta), #ff8a50);
    color: #fff;
    box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--color-cta-hover), #e87040);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
    color: #fff;
}

.btn--secondary {
    background: transparent;
    color: var(--color-text-heading);
    border: 2px solid var(--color-border);
}

.btn--secondary:hover {
    border-color: var(--color-cta);
    color: var(--color-cta);
    transform: translateY(-2px);
}

.btn--small {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-width: auto;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header.scrolled .header__logo {
    color: var(--color-text-heading);
}

.header__logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-cta));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.header.scrolled .header__nav a {
    color: var(--color-text);
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cta);
    transition: width var(--transition);
}

.header__nav a:hover {
    color: #fff;
}

.header.scrolled .header__nav a:hover {
    color: var(--color-cta);
}

.header__nav a:hover::after {
    width: 100%;
}

.header__nav a.nav-active {
    color: var(--color-accent);
}

.header.scrolled .header__nav a.nav-active {
    color: var(--color-cta);
}

.header__nav a.nav-active::after {
    width: 100%;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent) !important;
    font-weight: 600;
    white-space: nowrap;
}

.header.scrolled .header__phone {
    color: var(--color-cta) !important;
}

.header__phone:hover {
    color: var(--color-accent-hover) !important;
}

/* Mobile menu toggle */
.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10000;
    position: relative;
}

.header__toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.header.scrolled .header__toggle span {
    background: var(--color-text-heading);
}

.header__toggle.active span {
    background: var(--color-text-heading);
}

.header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1a2e;
    /* Miejsce na przyklejony naglowek - bez tego wysrodkowana tresc
       (dluzsze naglowki w DE/PL) wchodzi pod menu */
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 48px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(17, 24, 39, 0.88) 0%,
            rgba(17, 24, 39, 0.65) 50%,
            rgba(17, 24, 39, 0.80) 100%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    opacity: 0.3;
    animation: float 6s infinite ease-in-out;
}

.hero__particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero__particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; animation-duration: 8s; }
.hero__particle:nth-child(3) { top: 40%; left: 50%; animation-delay: 2s; animation-duration: 7s; }
.hero__particle:nth-child(4) { top: 80%; left: 30%; animation-delay: 3s; }
.hero__particle:nth-child(5) { top: 10%; left: 70%; animation-delay: 1.5s; animation-duration: 9s; }
.hero__particle:nth-child(6) { top: 50%; left: 20%; animation-delay: 4s; animation-duration: 7.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

/* Kontener jest elementem flex - bez width:100% kurczy sie do szerokosci
   tresci, a margin:auto centruje caly blok i lamie tekst przedwczesnie. */
.hero > .container {
    width: 100%;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(232, 168, 56, 0.15);
    border: 1px solid rgba(232, 168, 56, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 24px;
    color: #fff;
    /* Dlugie zlozenia niemieckie (Fahrzeugbewertung) nie moga rozpychac layoutu */
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero__title span {
    background: linear-gradient(135deg, var(--color-accent), var(--color-cta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    max-width: 640px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__actions .btn--secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.hero__actions .btn--secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
    padding: 160px 0 80px;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
}

.page-hero__content {
    max-width: 700px;
}

.page-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.15;
}

.page-hero__desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 560px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 80px 0;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, #1a1a2e, #2d2d4a);
    border: none;
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    position: relative;
    overflow: hidden;
}

.cta-banner__inner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner__text {
    position: relative;
    z-index: 2;
}

.cta-banner__title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.cta-banner__desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cta-banner__actions .btn--secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.cta-banner__actions .btn--secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ---------- Features (Dlaczego My) ---------- */
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-cta));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-border-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(232, 168, 56, 0.08));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: transform var(--transition);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1);
}

.feature-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- Offer ---------- */
.offer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.offer-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

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

.offer-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.offer-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.offer-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.offer-card__tag {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 14px;
    background: var(--color-accent-light);
    border: 1px solid rgba(232, 168, 56, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-hover);
}

/* ---------- Process / Jak to dziala ---------- */
.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
    position: relative;
}

.process__grid::before {
    content: '';
    position: absolute;
    top: 65px;
    left: calc(33.33% / 2 + 30px);
    right: calc(33.33% / 2 + 30px);
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-cta), var(--color-accent));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-step__number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-cta));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.process-step__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-card__stars {
    color: var(--color-accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-accent), var(--color-cta));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-card__name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-heading);
}

.testimonial-card__car {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- FAQ ---------- */
.faq__grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--color-border-hover);
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-heading);
    gap: 16px;
    user-select: none;
}

.faq-item__icon {
    font-size: 1.4rem;
    color: var(--color-cta);
    transition: transform var(--transition);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ---------- Counter Stats ---------- */
.counter__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.counter-item {
    text-align: center;
    padding: 40px 20px;
}

.counter-item__value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-cta);
    line-height: 1;
    margin-bottom: 8px;
}

.counter-item__label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ---------- Gallery ---------- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-card);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(17, 24, 39, 0.5);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform var(--transition);
}

.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ---------- Contact Form ---------- */
.form-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--gap-lg);
    align-items: start;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: 8px;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    border-color: var(--color-cta);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #9ca3af;
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
}

.form__checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-cta);
    cursor: pointer;
    flex-shrink: 0;
}

.form__checkbox label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form__checkbox label a {
    color: var(--color-cta);
    text-decoration: underline;
}

.form__feedback {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
    display: none;
}

.form__feedback.success {
    display: block;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: var(--color-success);
}

.form__feedback.error {
    display: block;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--color-error);
}

/* Contact info sidebar */
.contact-info {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.contact-info__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.contact-info__item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info__label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-info__value {
    font-weight: 600;
    color: var(--color-text-heading);
}

.contact-info__value a {
    color: var(--color-text-heading);
}

.contact-info__value a:hover {
    color: var(--color-cta);
}

.contact-info__hours {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.contact-info__hours-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-info__hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 6px 0;
    color: var(--color-text-muted);
}

.contact-info__hours-row span:last-child {
    color: var(--color-text-heading);
    font-weight: 500;
}

/* ---------- Contact Page ---------- */
.contact-page__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.contact-page__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.contact-page__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-cta));
    opacity: 0;
    transition: opacity var(--transition);
}

.contact-page__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-border-hover);
}

.contact-page__card:hover::before {
    opacity: 1;
}

.contact-page__card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-page__card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-page__card-value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-page__card-value a {
    color: var(--color-cta);
}

.contact-page__card-value a:hover {
    color: var(--color-cta-hover);
}

.contact-page__card-hint {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.contact-page__hours {
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.contact-page__hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 6px 0;
    color: var(--color-text-muted);
}

.contact-page__hours-row span:last-child {
    color: var(--color-text-heading);
    font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
    background: #1a1a2e;
    padding: 60px 0 24px;
    color: rgba(255,255,255,0.7);
}

.footer h4,
.footer .header__logo span {
    color: #fff;
}

.footer .header__logo {
    color: #fff;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--gap-lg);
    margin-bottom: 48px;
}

.footer__brand-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    max-width: 360px;
    line-height: 1.7;
}

.footer__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer__links a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color var(--transition), padding-left var(--transition);
}

.footer__links a:hover {
    color: var(--color-accent);
    padding-left: 8px;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer__bottom a {
    color: rgba(255,255,255,0.5);
}

.footer__bottom a:hover {
    color: var(--color-accent);
}

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta__btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-accent), var(--color-cta));
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
    transition: all var(--transition);
    animation: pulse-glow 2s infinite;
}

.sticky-cta__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.45);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35); }
    50% { box-shadow: 0 8px 32px rgba(255, 107, 53, 0.55); }
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ---------- Privacy page ---------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.legal-content .legal-date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--color-cta);
}

.legal-content p,
.legal-content li {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
}

.legal-content a {
    color: var(--color-cta);
}

/* ---------- Honeypot ---------- */
.ohnohoney {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .counter__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .cta-banner__actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --header-height: 70px;
    }

    /* Mobile nav */
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        /* 100vw obejmuje szerokosc paska przewijania (html ma overflow-y: scroll),
           przez co menu bylo szersze od ekranu i rozpychalo cala strone w bok */
        width: 100%;
        height: 100vh;
        height: 100dvh;
        z-index: 9998;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .header__nav.open {
        opacity: 1;
        visibility: visible;
    }

    .header__nav a {
        font-size: 1.3rem;
        text-align: center;
        color: var(--color-text-heading);
    }

    .header__toggle {
        display: flex;
    }

    /* Hero badge fix on mobile */
    .hero__badge {
        margin-top: 20px;
    }

    .hero__content {
        padding-top: 20px;
    }

    /* Page hero mobile */
    .page-hero {
        padding: 120px 0 50px;
    }

    .page-hero__title {
        font-size: 2rem;
    }

    /* Sections */
    .section__header {
        text-align: center;
    }

    .section__title {
        text-align: center;
    }

    .features__grid,
    .offer__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process__grid::before {
        display: none;
    }

    .counter__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .counter-item {
        padding: 24px 16px;
    }

    .counter-item__value {
        font-size: 2.2rem;
    }

    .form-section {
        grid-template-columns: 1fr;
    }

    .contact-page__grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 50px 0;
    }

    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .cta-banner__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner__actions .btn {
        width: 100%;
    }

    .hero__stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section__title {
        font-size: 1.75rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__desc {
        font-size: 1rem;
    }

    .page-hero__title {
        font-size: 1.75rem;
    }

    .page-hero__desc {
        font-size: 1rem;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================================
   TSM Autoankauf - komponenty wielojezyczne i CMS
   =================================================== */

/* ---------- Link pomijajacy nawigacje (dostepnosc) ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-accent);
    color: #fff;
    padding: 10px 18px;
    z-index: 2000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------- Przelacznik jezyka ---------- */
.lang-switch {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-switch__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.header.scrolled .lang-switch__btn {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text-heading);
}

.lang-switch__btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.lang-switch__caret {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.lang-switch.is-open .lang-switch__caret {
    transform: rotate(180deg);
}

.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card-hover);
    padding: 6px;
    display: none;
    z-index: 1200;
}

.lang-switch.is-open .lang-switch__menu {
    display: block;
}

.lang-switch__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--color-text) !important;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.lang-switch__item:hover {
    background: var(--color-surface);
    color: var(--color-accent) !important;
}

.lang-switch__item.is-active {
    background: var(--color-accent-light);
    color: var(--color-accent) !important;
    font-weight: 700;
}

.lang-switch__flag {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    padding: 2px 6px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.lang-switch__item.is-active .lang-switch__flag,
.lang-switch__item:hover .lang-switch__flag {
    background: var(--color-cta);
}

/* ---------- Sekcja "O firmie" ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.about__title {
    text-align: left;
    margin-bottom: 20px;
}

.about__body {
    color: var(--color-text);
    font-size: 1.02rem;
}

.about__body p {
    margin-bottom: 16px;
}

.about__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.about__aside {
    display: grid;
    gap: 14px;
}

.about__point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.about__point:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.about__point-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.about__point strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    margin-bottom: 4px;
}

.about__point p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- Formularz: sekcje, siatka, pliki ---------- */
.form__fieldset {
    border: none;
    padding: 0;
    margin: 0 0 28px;
}

.form__legend {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-heading);
    padding-bottom: 10px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--color-accent-light);
    width: 100%;
}

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

.form__upload {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    background: var(--color-bg-alt);
    transition: border-color var(--transition);
}

.form__upload:hover {
    border-color: var(--color-accent);
}

.form__hint {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}

.form__files {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form__files ul {
    list-style: none;
    margin-top: 6px;
}

.form__files li {
    padding: 4px 0;
    border-bottom: 1px solid var(--color-border);
}

.btn--block {
    width: 100%;
    justify-content: center;
}

.btn--ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ---------- FAQ: pytanie jako przycisk ---------- */
.faq-item__question {
    width: 100%;
    background: none;
    border: none;
    font: inherit;
    text-align: left;
    color: inherit;
}

/* ---------- Galeria: podpisy ---------- */
.gallery__item {
    margin: 0;
}

.gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 0.88rem;
    z-index: 2;
}

/* ---------- Mapa ---------- */
.map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    line-height: 0;
}

.map iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* ---------- Strony prawne ---------- */
.legal {
    max-width: 860px;
    margin: 0 auto;
    color: var(--color-text);
}

.legal h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-text-heading);
    margin: 32px 0 12px;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal p {
    margin-bottom: 14px;
}

.legal a {
    color: var(--color-accent);
}

.legal__card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 32px;
}

/* ---------- Stopka: kolumny, social, jezyki ---------- */
.footer__grid {
    grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer__social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all var(--transition);
}

.footer__social a:hover {
    background: var(--color-accent);
}

.footer__address {
    display: block;
    padding: 6px 0;
    opacity: 0.85;
}

.footer__langs {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.footer__langs a {
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
}

.footer__langs a:hover,
.footer__langs a.is-active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    opacity: 1;
}

/* ---------- Przyciski kontaktowe (mobile) ---------- */
.sticky-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-cta__btn {
    text-decoration: none;
}

.sticky-cta__btn--wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    animation: none;
}

.sticky-cta__btn--form {
    background: linear-gradient(135deg, #374151, #111827);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.3);
    animation: none;
}

/* ---------- Baner cookies ---------- */
.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1500;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card-hover);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    animation: cookie-in 0.4s ease-out;
}

.cookie-bar.is-hidden {
    display: none;
}

.cookie-bar__text {
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 0;
    flex: 1;
    min-width: 240px;
}

.cookie-bar__text a {
    color: var(--color-accent);
}

.cookie-bar__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

/* ---------- Responsywnosc nowych komponentow ---------- */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lang-switch {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .lang-switch__menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-bar__actions {
        justify-content: center;
    }

    .sticky-cta {
        bottom: 16px;
        right: 16px;
    }

    .sticky-cta__btn {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }
}

/* ---------- Formularz: propozycja ceny od klienta ---------- */
.form__fieldset--price {
    background: var(--color-accent-light);
    border: 1px solid rgba(232, 168, 56, 0.35);
    border-radius: var(--radius);
    padding: 22px 24px 8px;
}

.form__price {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 320px;
}

.form__price .form__input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.form__price-currency {
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 0 var(--radius) var(--radius) 0;
}

@media (max-width: 768px) {
    .form__price {
        max-width: none;
    }
}

/* Przycisk "Wyznacz trase" pod mapa */
.map__actions {
    margin-top: 24px;
    text-align: center;
}
