/* EURO-SCRAP – Design System
   Kolory z logo: srebro chrom, niebieski */

:root {
    --silver-50: #f5f7f9;
    --silver-100: #e8ecf0;
    --silver-200: #d1d8e0;
    --silver-300: #b0bac6;
    --silver-400: #8e9aa8;
    --silver-500: #6d7888;
    --silver-600: #535d6b;
    --silver-700: #3f4754;
    --silver-800: #2e3440;
    --silver-900: #1e2229;

    --blue-400: #3d8bfd;
    --blue-500: #1e6bcc;
    --blue-600: #1558a8;
    --blue-700: #0d3d7a;
    --blue-800: #002868;
    --blue-900: #001a45;

    --dark: #1a1f2e;
    --dark-soft: #2a3142;
    --white: #ffffff;
    --success: #16a34a;
    --error: #dc2626;

    --frost: #eef2f6;

    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --header-height: 100px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(26, 31, 46, 0.12);
    --shadow-lg: 0 12px 48px rgba(26, 31, 46, 0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--dark);
    background: linear-gradient(160deg, var(--silver-200) 0%, var(--silver-400) 35%, var(--silver-500) 65%, var(--silver-600) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255,255,255,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(30,107,204,0.08) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238e9aa8' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-800); }

.container {
    width: min(1200px, 92vw);
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--blue-700);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Preloader */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--silver-100) 0%, var(--silver-300) 45%, var(--silver-400) 100%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loader__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}
.page-loader__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -58%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(176, 186, 198, 0.2) 45%, transparent 70%);
    border-radius: 50%;
    animation: loader-glow 2.4s ease-in-out infinite;
    pointer-events: none;
}
.page-loader__logo-wrap {
    position: relative;
    z-index: 1;
    animation: loader-bounce 0.85s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.page-loader__logo {
    display: block;
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 12px 32px rgba(26, 31, 46, 0.22));
}
.page-loader__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.page-loader__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-600);
    opacity: 0.35;
    animation: loader-dot 1.1s ease-in-out infinite;
}
.page-loader__dots span:nth-child(1) { animation-delay: 0s; background: var(--silver-500); }
.page-loader__dots span:nth-child(2) { animation-delay: 0.15s; }
.page-loader__dots span:nth-child(3) { animation-delay: 0.3s; background: var(--silver-400); }
@keyframes loader-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
@keyframes loader-glow {
    0%, 100% { opacity: 0.65; transform: translate(-50%, -58%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -58%) scale(1.08); }
}
@keyframes loader-dot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
    40% { transform: translateY(-6px); opacity: 1; }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-lg); }

.header-top {
    background: var(--blue-900);
    color: var(--silver-200);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.header-top__info { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.header-top__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--silver-300);
    font-weight: 600;
}
.header-top__link:hover { color: var(--silver-200); }
.header-top__divider { opacity: 0.4; }
.header-top__cta {
    color: var(--white);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    transition: all var(--transition);
}
.header-top__cta:hover {
    background: var(--silver-500);
    border-color: var(--silver-500);
    color: var(--dark);
}

.header-top__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switcher__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 1.55rem;
    padding: 0.12rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    overflow: hidden;
}

.lang-switcher__flag {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.lang-switcher__link:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.lang-switcher__link.is-active {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 2px var(--silver-300);
}

.site-nav {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(176,186,198,0.45);
}
.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-height);
}
.site-nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.site-nav__logo img,
.site-nav__logo-img {
    height: 72px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    transition: transform var(--transition), filter var(--transition), height 0.35s ease;
}
.site-nav__logo:hover img,
.site-nav__logo:hover .site-nav__logo-img { transform: scale(1.03); }

.site-header.is-scrolled .site-nav__logo img,
.site-header.is-scrolled .site-nav__logo-img {
    height: 62px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-link {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}
.nav-link:hover,
.nav-link.is-active {
    color: var(--blue-700);
    background: rgba(30,107,204,0.08);
}
.nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--silver-500);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition);
    border-radius: 2px;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.2;
}
.btn--primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(30,107,204,0.35);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30,107,204,0.45);
    color: var(--white);
}
.btn--secondary {
    background: rgba(255,255,255,0.9);
    color: var(--blue-700);
    border-color: var(--blue-500);
}
.btn--secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
}
.btn--gold {
    background: linear-gradient(135deg, var(--silver-200) 0%, var(--silver-400) 50%, var(--silver-500) 100%);
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(83,93,107,0.35);
    border: 1px solid rgba(255,255,255,0.5);
}
.btn--gold:hover {
    transform: translateY(-2px);
    color: var(--dark);
    box-shadow: 0 8px 24px rgba(83,93,107,0.45);
    background: linear-gradient(135deg, var(--silver-100) 0%, var(--silver-300) 50%, var(--silver-400) 100%);
}
.btn--outline {
    background: var(--white);
    color: var(--blue-700);
    border: 2px solid var(--blue-500);
    box-shadow: 0 2px 10px rgba(26, 31, 46, 0.1);
}
.btn--outline:hover {
    background: var(--blue-700);
    color: var(--white);
    border-color: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 107, 204, 0.28);
}
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* Hero */
.hero {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(13,61,122,0.85) 0%, rgba(0,26,69,0.75) 100%);
    z-index: 0;
}
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}
.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--silver-400);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 8s infinite ease-in-out;
}
@keyframes float-particle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 0.8; }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero__content { color: var(--white); }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(176,186,198,0.25);
    border: 1px solid rgba(209,216,224,0.5);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--silver-300);
    margin-bottom: 1.5rem;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero__title span {
    background: linear-gradient(135deg, #e8ecf0, #8e9aa8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__text {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 1.5rem 1.75rem;
    background: rgba(0, 26, 69, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}
.hero__stats > div {
    text-align: center;
}
.hero__stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}
.hero__stat-label {
    font-size: 0.85rem;
    color: var(--silver-200);
    margin-top: 0.35rem;
    line-height: 1.35;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero__logo-wrap {
    position: relative;
    animation: float-logo 6s ease-in-out infinite;
}
@keyframes float-logo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero__logo-wrap img,
.hero__logo-img {
    max-width: min(520px, 92vw);
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 48px rgba(0,0,0,0.35));
}
.hero__glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(176,186,198,0.35) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}
.section--gallery {
    padding: 0 0 1.5rem;
}
.section--light {
    background: linear-gradient(180deg, var(--frost, #eef2f6) 0%, rgba(255,255,255,0.82) 100%);
}
.section--steps {
    background: linear-gradient(180deg, #ffffff 0%, var(--silver-50) 100%);
}
.section--why {
    background: linear-gradient(180deg, var(--frost) 0%, var(--silver-100) 100%);
}
.section--faq {
    background: linear-gradient(180deg, var(--frost-deep) 0%, var(--silver-50) 100%);
}
.section--faq .content-block {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.section--faq .content-block h2 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 2rem;
}
.section--faq .faq-item {
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--silver-200);
    box-shadow: 0 2px 10px rgba(26, 31, 46, 0.06);
}
.section--faq .faq-item__answer {
    color: var(--silver-700);
}
.section--alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(232,236,240,0.55) 100%);
    backdrop-filter: blur(8px);
}
.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}
.section__label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-700);
    margin-bottom: 0.75rem;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section__desc {
    color: var(--silver-700);
    font-size: 1.05rem;
}
.section--light .section__desc,
.section--alt .section__desc,
.section--steps .section__desc,
.section--why .section__desc {
    color: var(--silver-600);
}
.section--steps .step__text {
    color: var(--silver-600);
}
.section__title--left {
    text-align: left;
    margin-bottom: 1.5rem;
}
.section__lead {
    color: var(--silver-700);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.section--why .section__label {
    color: var(--blue-700);
}
.section--why .section__title {
    color: var(--dark);
}
.section--why .section__lead {
    color: var(--silver-700);
}
.section--why .feature-list li {
    color: var(--dark-soft);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(26, 31, 46, 0.06);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--silver-400), var(--blue-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: 1.5rem;
}
.card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}
.card__text { color: var(--silver-500); font-size: 0.95rem; }
.card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Page hero (subpages) */
.page-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
}
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}
.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--silver-500);
}
.page-hero__breadcrumb a { color: var(--blue-600); }

/* Content blocks */
.content-block {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}
.content-block h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--silver-400);
}
.content-block h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--blue-700);
}
.content-block p { margin-bottom: 1rem; color: var(--dark-soft); }
.content-block ul, .content-block ol {
    margin: 0 0 1rem 1.25rem;
    color: var(--dark-soft);
}
.content-block li { margin-bottom: 0.5rem; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Price table */
.price-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.95rem;
}
.price-table thead {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    color: var(--white);
}
.price-table th,
.price-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--silver-200);
}
.price-table th { font-family: var(--font-display); font-weight: 600; }
.price-table tbody tr { transition: background var(--transition); }
.price-table tbody tr:hover { background: var(--silver-50); }
.price-table .price { font-weight: 700; color: var(--blue-700); font-size: 1.05rem; }
.price-table .material { font-weight: 600; }
.price-disclaimer {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--silver-500);
    font-style: italic;
}

/* Forms */
.form-section {
    max-width: 720px;
    margin: 0 auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}
.form-label .required { color: var(--error); }
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--silver-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    color: var(--dark);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(30,107,204,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--dark-soft);
}
.form-checkbox input { margin-top: 0.25rem; accent-color: var(--blue-600); }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.alert--success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert--error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(176,186,198,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}
.cta-banner__text {
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-inline: auto;
    position: relative;
}
.cta-banner .btn { position: relative; }

/* Process steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}
.step {
    text-align: center;
    position: relative;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--silver-400), var(--silver-600));
    color: var(--dark);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(83,93,107,0.35);
}
.step__title {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.step__text { font-size: 0.9rem; color: var(--silver-500); }

/* Company history timeline */
.history-section__header { margin-top: 3rem; }
.history-section__lead { max-width: 720px; margin-inline: auto; }

.history-timeline {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    position: relative;
    max-width: 820px;
    margin-inline: auto;
}
.history-timeline::before {
    content: '';
    position: absolute;
    left: 0.65rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--silver-400), var(--blue-600));
}
.history-timeline__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 0 0 2rem 0;
    position: relative;
}
.history-timeline__item:last-child { padding-bottom: 0; }
.history-timeline__marker {
    position: relative;
    z-index: 1;
    padding-top: 0.15rem;
}
.history-timeline__year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.35rem 0.65rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--blue-900);
    background: linear-gradient(135deg, var(--silver-200), var(--silver-400));
    border: 2px solid var(--silver-300);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(83, 93, 107, 0.2);
}
.history-timeline__content {
    background: var(--white);
    border: 2px solid var(--silver-200);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
.history-timeline__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 0.45rem;
}
.history-timeline__text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--silver-600);
    margin: 0;
}

@media (min-width: 768px) {
    .history-timeline::before { left: 5.5rem; }
    .history-timeline__item {
        grid-template-columns: 5.5rem 1fr;
        gap: 1.75rem;
    }
    .history-timeline__year { min-width: 5rem; }
}

/* Contact info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.7);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.contact-info-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}
.contact-info-item__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.contact-info-item__title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.contact-info-item__text { color: var(--silver-500); font-size: 0.95rem; }
.contact-info-item a { font-weight: 600; }

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--silver-300);
    padding: 4rem 0 2rem;
    position: relative;
    margin-top: 3rem;
}
.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--dark);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-logo {
    margin-bottom: 1rem;
    opacity: 1;
    max-height: 117px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}
.footer-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge {
    background: rgba(255,255,255,0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--silver-300);
}
.badge--vat {
    background: rgba(201, 162, 39, 0.18);
    color: #f5e6a8;
}
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: flex-start;
    margin-top: 1rem;
}
.trust-badges--compact {
    margin-top: 0.75rem;
}
.trust-badges__vat {
    flex: 1 1 220px;
    font-size: 0.85rem;
    color: var(--silver-300);
}
.trust-badges__label {
    display: block;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}
.trust-badges__nip {
    display: block;
    font-size: 0.8rem;
}

.trust-badges__krd {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: 200px;
    text-align: left;
    color: var(--silver-300);
    font-size: 0.72rem;
    line-height: 1.35;
    text-decoration: none;
    transition: opacity var(--transition);
}
.trust-badges__krd:hover { opacity: 0.85; color: var(--silver-200); }
.trust-badges__krd img {
    width: auto;
    height: 58px;
    max-width: 185px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
.trust-badges--compact .trust-badges__krd img {
    height: 48px;
    max-width: 155px;
}
.form-label__hint {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--silver-500);
    margin-top: 0.2rem;
}
.form-input--file {
    padding: 0.65rem;
    background: var(--white);
    cursor: pointer;
}
.form-file-list {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--silver-600);
}
.form-file-list li + li { margin-top: 0.25rem; }
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: var(--silver-300);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--silver-400); }
.footer-contact { font-style: normal; font-size: 0.9rem; line-height: 1.7; }
.footer-contact a { color: var(--silver-300); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}
.footer-bottom-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
}
.footer-bottom__sep {
    display: inline-block;
    width: 1px;
    height: 0.95em;
    margin: 0 1rem;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}
.footer-bottom__copy {
    color: inherit;
}
.footer-bottom__privacy {
    color: var(--silver-300);
}
.footer-bottom__privacy:hover {
    color: var(--silver-400);
}
.footer-disclaimer { margin-top: 0.5rem; opacity: 0.6; font-size: 0.8rem; }
.footer-credit {
    font-size: 0.85rem;
    color: var(--silver-400);
}
.footer-credit__link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: opacity var(--transition);
}
.footer-credit__link:hover {
    opacity: 0.88;
    color: var(--white);
}
.footer-credit__it {
    color: #f5c518;
}
.footer-admin__link {
    color: inherit;
    text-decoration: none;
    cursor: default;
}
.footer-admin__link:hover,
.footer-admin__link:focus-visible {
    color: var(--silver-300);
    cursor: pointer;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--silver-300), var(--silver-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(83,93,107,0.45);
    z-index: 900;
    transition: all var(--transition);
    animation: pulse-phone 2s infinite;
}
.floating-cta:hover {
    transform: scale(1.1);
    color: var(--white);
}
@keyframes pulse-phone {
    0%, 100% { box-shadow: 0 4px 20px rgba(83,93,107,0.45); }
    50% { box-shadow: 0 4px 30px rgba(83,93,107,0.65); }
}

/* Feature list */
.feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.5);
    border-radius: var(--radius);
}
.feature-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--silver-400);
    color: var(--dark);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Material tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tag {
    background: rgba(30,107,204,0.1);
    color: var(--blue-700);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero__text { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero__visual { order: -1; }
    .hero__logo-wrap img,
    .hero__logo-img { max-width: 280px; }
    .site-nav__logo img,
    .site-nav__logo-img { height: 64px; max-width: 220px; }
    .hero__stats { max-width: 480px; margin-inline: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .two-col, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) + 36px);
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--silver-300);
    }
    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-link { width: 100%; text-align: center; padding: 0.75rem; }
    .nav-menu__cta { width: 100%; margin-top: 0.5rem; }
    .nav-menu__cta .btn { width: 100%; }

    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .hero { padding: 3rem 0 4rem; }
    .section { padding: 3.5rem 0; }
    .content-block { padding: 1.5rem; }
    .cta-banner { padding: 2rem 1.5rem; }
    .hero__stats { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Gallery slider */
.gallery-slider {
    position: relative;
    width: min(1200px, 92vw);
    margin: -2rem auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    aspect-ratio: 12 / 5;
    background: var(--dark);
}
.gallery-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}
.gallery-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.gallery-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.gallery-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-slider__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(transparent, rgba(0,26,69,0.92));
    color: var(--white);
    z-index: 2;
}
.gallery-slider__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
}
.gallery-slider__subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    max-width: 560px;
}
.gallery-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--blue-800);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}
.gallery-slider__arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
}
.gallery-slider__arrow--prev { left: 1rem; }
.gallery-slider__arrow--next { right: 1rem; }
.gallery-slider__dots {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}
.gallery-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}
.gallery-slider__dot.is-active,
.gallery-slider__dot:hover {
    background: var(--silver-200);
    border-color: var(--white);
    transform: scale(1.15);
}
.gallery-slider__counter {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 3;
    background: rgba(0,26,69,0.65);
    color: var(--silver-200);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

/* Card with image */
.card__media {
    margin: -2rem -2rem 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--silver-200);
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.05); }

.content-block__media {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    aspect-ratio: 21 / 9;
    background: var(--silver-100);
}
.content-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-slider { margin-top: -1rem; aspect-ratio: 4 / 3; }
    .gallery-slider__caption { padding: 1.25rem; }
    .gallery-slider__arrow { width: 36px; height: 36px; }
    .gallery-slider__arrow--prev { left: 0.5rem; }
    .gallery-slider__arrow--next { right: 0.5rem; }
}

/* Hero video */
.hero--video .hero__bg {
    background:
        linear-gradient(105deg, rgba(0,26,69,0.42) 0%, rgba(13,61,122,0.35) 45%, rgba(0,26,69,0.55) 100%);
    z-index: 1;
}
.hero--video .hero__particles { z-index: 2; }
.hero--video .hero .container { z-index: 3; }
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    filter: brightness(1.12) contrast(1.08) saturate(1.15);
    transform: scale(1.06);
    animation: hero-video-zoom 22s ease-in-out infinite alternate;
}
@keyframes hero-video-zoom {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}
.hero__shimmer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255,255,255,0.06) 45%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: hero-shimmer 8s ease-in-out infinite;
}
@keyframes hero-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -100% 0; }
}
.hero--animated .hero__anim {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.12s * var(--i, 1));
}
@keyframes hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero--animated .hero__visual.hero__anim {
    animation-name: hero-fade-left;
}
@keyframes hero-fade-left {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section dividers – miękkie przejście kolorów sekcji */
.section-divider {
    margin: 0;
    line-height: 0;
    background: linear-gradient(180deg, var(--divider-from, var(--silver-300)) 0%, var(--divider-to, var(--silver-200)) 100%);
}
.section-divider--fade {
    height: 32px;
}
.section-divider--soft-line {
    position: relative;
    height: 48px;
    background: linear-gradient(180deg, var(--divider-from) 0%, var(--divider-to) 100%);
}
.section-divider--soft-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 120% at 50% 50%, rgba(30, 107, 204, 0.07) 0%, transparent 70%);
    pointer-events: none;
}
.section-divider--soft-line::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--silver-300) 18%,
        var(--blue-500) 50%,
        var(--silver-300) 82%,
        transparent 100%
    );
    opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
    .hero__video,
    .hero__shimmer,
    .hero--animated .hero__anim,
    .page-loader__logo-wrap,
    .page-loader__glow,
    .page-loader__dots span {
        animation: none !important;
    }
    .hero--animated .hero__anim {
        opacity: 1;
        transform: none;
    }
}

/* FAQ accordion */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
    background: rgba(255,255,255,0.6);
    border-radius: var(--radius);
    border: 1px solid var(--silver-200);
    overflow: hidden;
}
.faq-item__question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--dark);
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--blue-600);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item[open] .faq-item__question::after { content: '−'; }
.faq-item__answer {
    padding: 0 1.25rem 1rem;
    color: var(--dark-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Map placeholder (cookies) */
.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 400px;
    background: rgba(255,255,255,0.7);
    color: var(--silver-500);
    text-align: center;
    padding: 2rem;
}
.map-wrap iframe[data-requires-consent] { display: none; }
.map-wrap.is-consent-granted iframe[data-requires-consent] { display: block; }
.map-wrap.is-consent-granted .map-placeholder { display: none; }

/* RODO consent modal + cookies */
body.consent-modal-open,
body.cookie-settings-open { overflow: hidden; }

.consent-modal {
    position: fixed;
    inset: 0;
    z-index: 9600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.consent-modal.is-visible {
    opacity: 1;
    visibility: visible;
}
.consent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 31, 46, 0.72);
    backdrop-filter: blur(4px);
}
.consent-modal__panel {
    position: relative;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--silver-300);
}
.consent-modal__header {
    padding: 1.25rem 1.5rem 0;
}
.consent-modal__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1.3;
}
.consent-modal__body {
    padding: 1rem 1.5rem;
}
.consent-modal__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--silver-700);
    margin-bottom: 1rem;
}
.consent-modal__text a {
    color: var(--blue-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.consent-modal__text a:hover { color: var(--blue-900); }
.consent-modal__rodo {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: var(--silver-50);
    border: 2px solid var(--silver-200);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--silver-800);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.consent-modal__rodo input {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: var(--blue-700);
}
.consent-modal__rodo.is-error {
    border-color: #dc2626;
    background: #fef2f2;
}
.consent-modal__error {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #dc2626;
}
.consent-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem;
}
.consent-modal__actions .btn--gold { flex: 1 1 auto; }

/* Cookie settings modal */
.cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 9700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.cookie-settings.is-visible {
    opacity: 1;
    visibility: visible;
}
.cookie-settings__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 31, 46, 0.65);
    backdrop-filter: blur(4px);
}
.cookie-settings__panel {
    position: relative;
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--silver-300);
}
.cookie-settings__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
    color: var(--white);
    border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
}
.cookie-settings__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}
.cookie-settings__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition);
}
.cookie-settings__close:hover { background: rgba(255,255,255,0.25); }
.cookie-settings__body {
    padding: 1.25rem 1.5rem;
    display: grid;
    gap: 1rem;
}
.cookie-settings__item {
    padding: 1rem;
    background: var(--silver-50);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius);
}
.cookie-settings__item p {
    font-size: 0.875rem;
    color: var(--silver-500);
    margin-top: 0.35rem;
    line-height: 1.5;
}
.cookie-settings__item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-settings__item-head strong {
    color: var(--blue-800);
    font-family: var(--font-display);
}
.cookie-settings__badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(30,107,204,0.12);
    color: var(--blue-700);
    white-space: nowrap;
}
.cookie-settings__toggle {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    cursor: pointer;
}
.cookie-settings__toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-settings__toggle-slider {
    display: block;
    width: 44px;
    height: 24px;
    background: var(--silver-300);
    border-radius: 999px;
    transition: background var(--transition);
}
.cookie-settings__toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cookie-settings__toggle input:checked + .cookie-settings__toggle-slider {
    background: var(--blue-600);
}
.cookie-settings__toggle input:checked + .cookie-settings__toggle-slider::after {
    transform: translateX(20px);
}
.cookie-settings__toggle input:focus-visible + .cookie-settings__toggle-slider {
    outline: 2px solid var(--blue-500);
    outline-offset: 2px;
}
.cookie-settings__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--silver-200);
}

/* Map placeholder (consent required) */
.map-wrap { position: relative; }
.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(160deg, var(--silver-100), var(--silver-200));
    color: var(--blue-800);
    z-index: 2;
}
.map-placeholder svg { color: var(--blue-600); opacity: 0.7; }
.map-placeholder p {
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.5;
}
.map-wrap iframe:not([src]) { visibility: hidden; }

/* 404 page */
.error-404 { text-align: center; }
.error-404__code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--silver-500), var(--blue-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.error-404__lead {
    font-size: 1.05rem;
    color: var(--silver-500);
    max-width: 540px;
    margin: 0 auto 2rem;
}
.error-404__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.error-404__help {
    font-size: 0.95rem;
    color: var(--silver-500);
    padding-top: 1.5rem;
    border-top: 1px solid var(--silver-200);
}
.error-404__help a { font-weight: 600; }

@media (max-width: 768px) {
    .consent-modal__actions { flex-direction: column; }
    .consent-modal__actions .btn { width: 100%; }
    .cookie-settings__footer { flex-direction: column; }
    .cookie-settings__footer .btn { width: 100%; }
}

/* Cennik */
.cennik-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
    align-items: center;
}
.cennik-toolbar--actions {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--silver-200);
}
.cennik-toolbar .btn {
    min-width: 11rem;
}
.cennik-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cennik-nav__link {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--silver-100);
    color: var(--blue-800);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}
.cennik-nav__link:hover {
    background: var(--blue-700);
    color: var(--white);
}
.price-table--summary .material { white-space: normal; }
.price-table-wrap--summary { max-height: 520px; overflow: auto; }

@media print {
    .no-print { display: none !important; }
}

/* Admin cennik */
.admin-page {
    background: var(--silver-100);
    min-height: 100vh;
}
.admin-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}
.admin-head h1 {
    font-family: var(--font-display);
    color: var(--blue-900);
    margin: 0 0 0.25rem;
}
.admin-head p { color: var(--silver-500); margin: 0 0 1.5rem; }
.admin-login {
    max-width: 380px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.admin-login h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.admin-login label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.admin-login input {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--silver-300);
    border-radius: var(--radius);
}
.admin-hint {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--silver-500);
}
.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.admin-logout-form {
    display: inline;
    margin: 0;
}
.admin-badge {
    background: var(--blue-800);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}
.admin-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.admin-category__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.admin-category__head h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--blue-800);
}
.admin-category__links {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
}
.admin-category__links a { font-weight: 600; }
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.admin-category label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.admin-category input[type="text"],
.admin-category textarea {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--silver-300);
    border-radius: var(--radius);
    font: inherit;
}
.admin-check {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500 !important;
}
.admin-check input { width: auto !important; margin: 0; }
.admin-table-wrap { overflow-x: auto; margin: 1rem 0; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.admin-table th,
.admin-table td {
    border: 1px solid var(--silver-200);
    padding: 0.35rem;
    vertical-align: middle;
}
.admin-table th {
    background: var(--silver-100);
    text-align: left;
}
.admin-table input {
    width: 100%;
    min-width: 70px;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--silver-300);
    border-radius: 4px;
    font: inherit;
}
.admin-row-remove {
    border: none;
    background: transparent;
    color: var(--error);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.4rem;
}
.admin-save-bar {
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    padding: 1rem 0;
    border-top: 1px solid var(--silver-200);
    margin-top: 1rem;
}
.flash {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-weight: 600;
}
.flash--error {
    background: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
}
.flash--success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

