/* ============================================
   CONCREATE BLOCKS — style.css (LIGHT THEME)
   ============================================ */

:root {
    /* Tekst */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #595959;
    --color-text-muted: #767676;
    --color-text-soft: #b0b0b0;
    --color-text-inverse: #ffffff;

    /* Tla */
    --color-bg-white: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-bg-lighter: #f0f0f0;
    --color-bg-dark: #1a1a1a;
    --color-bg-darker: #111111;
    --color-bg-elevated: #333333;

    /* Obramowania */
    --color-border: #e8e8e8;
    --color-border-strong: #d0d0d0;
    --color-border-light: #eeeeee;
    --color-border-dark: #222222;

    /* Nakladki */
    --color-overlay: rgba(0,0,0,0.6);

    /* Inne */
    --color-error: #e74c3c;
    --color-success: #27ae60;
    --font-family: 'Lato', 'Lato Fallback', sans-serif;
    --nav-height: 110px;
    --container: 1200px;
}

/* Font faces */
@font-face {
  font-family: 'Lato Fallback';
  src: local('Arial');
  ascent-override: 101%;
  descent-override: 21%;
  line-gap-override: 0%;
  size-adjust: 97.8%;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-300-ext.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    size-adjust: 100%;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-400-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-700-ext.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/lato-900-ext.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    color: var(--color-text-secondary);
    background: var(--color-bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-text-primary); text-decoration: none; }
a:hover { color: var(--color-text-muted); }

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

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0;
    display: flex;
    align-items: center;
    background: var(--color-bg-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}
.nav--scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
}
.nav__logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    line-height: 1;
}
.nav__logo img {
    width: 250px;
    height: auto;
}
.nav__logo-blocks {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 3px 0 0 0;
    align-self: flex-end;
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.nav__menu a {
    color: var(--color-text-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav__menu a:hover { color: var(--color-text-muted); }
.nav__phone {
    color: var(--color-text-primary) !important;
    font-weight: 700;
}
.nav__langs {
    display: flex;
    gap: 6px;
    font-size: 11px;
}
.nav__langs a {
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
}
.nav__langs a.is-active {
    color: var(--color-text-primary);
    font-weight: 700;
}
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    background: var(--color-bg-white);
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero__heading {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}
.hero__sub {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 480px;
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--color-bg-dark);
    color: var(--color-text-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

/* Button on dark backgrounds */
.btn-light {
    border-color: var(--color-text-inverse);
    color: var(--color-text-inverse);
}
.btn-light:hover {
    background: var(--color-text-inverse);
    color: var(--color-text-primary);
}
.btn--small {
    padding: 8px 20px;
    font-size: 11px;
}
.btn--secondary {
    background: transparent;
    border-color: var(--color-text-soft);
    color: var(--color-text-inverse);
}
.btn--secondary:hover {
    background: var(--color-text-soft);
    color: var(--color-bg-dark);
}

/* ---- SECTIONS ---- */
section {
    padding: 96px 0;
}
.section-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    text-align: center;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 40px;
    text-align: center;
}

/* ---- PRODUKT ---- */
.produkt { background: var(--color-bg-light); }
.produkt__desc {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}
.produkt__warianty {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.produkt__wariant {
    background: transparent;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--color-border-strong);
}
.produkt__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.produkt__cecha {
    text-align: center;
    padding: 24px 16px;
}
.produkt__cecha svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    fill: none;
    stroke: var(--color-text-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.produkt__cecha span {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* ---- SPECYFIKACJA ---- */
.specyfikacja { background: var(--color-bg-white); }
.spec-table {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
}
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table td {
    padding: 16px 12px;
    font-size: 0.95rem;
}
.spec-table td:first-child {
    color: var(--color-text-muted);
    width: 50%;
}
.spec-table td:last-child {
    color: var(--color-text-primary);
    font-weight: 700;
    text-align: right;
}

/* ---- MONTAZ ---- */
.montaz { background: var(--color-bg-light); }
.montaz__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.montaz__step {
    background: var(--color-bg-white);
    padding: 32px 20px;
    border-radius: 0;
    border: 1px solid var(--color-border);
}
.montaz__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
    font-weight: 900;
    font-size: 1.125rem;
    border-radius: 50%;
    margin-bottom: 16px;
}
.montaz__step h3 {
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.montaz__step p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ---- POBIERANIE (DARK) ---- */
.pobieranie {
    background: var(--color-bg-dark);
}
.pobieranie .section-heading {
    color: var(--color-text-soft);
}
.pobieranie .section-title {
    color: var(--color-text-inverse);
}
.pobieranie__item {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 24px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-dark);
    transition: border-color 0.2s;
}
.pobieranie__item:hover { border-color: var(--color-text-inverse); }
.pobieranie__item svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-text-inverse);
}
.pobieranie__item span {
    font-weight: 700;
    color: var(--color-text-inverse);
}
.pobieranie__item small {
    display: block;
    color: var(--color-text-soft);
    font-size: 0.8rem;
}

/* ---- REALIZACJE ---- */
.realizacje {
    background: var(--color-bg-light);
    text-align: center;
}
.realizacje__text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

/* ---- KONTAKT ---- */
.kontakt { background: var(--color-bg-white); }
.kontakt__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 960px;
    margin: 0 auto;
}
.contact__form { display: flex; flex-direction: column; gap: 24px; }
.contact__field { position: relative; }
.contact__field input,
.contact__field textarea {
    width: 100%;
    background: var(--color-bg-lighter);
    border: 1px solid var(--color-border);
    padding: 14px 18px;
    color: var(--color-text-secondary);
    font-family: var(--font-family);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.contact__field input:focus,
.contact__field textarea:focus {
    border-color: var(--color-border-strong);
}
.contact__field input.is-error,
.contact__field textarea.is-error {
    border-color: var(--color-error);
}
.contact__field input::placeholder,
.contact__field textarea::placeholder {
    color: var(--color-text-muted);
}
.contact__field textarea { resize: vertical; min-height: 100px; }
.contact__honeypot { display: none; }
.contact__submit {
    align-self: flex-start;
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
    border: 2px solid var(--color-bg-dark);
    padding: 12px 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact__submit:hover {
    background: transparent;
    color: var(--color-text-primary);
}
.contact__success {
    background: var(--color-success);
    color: var(--color-text-inverse);
    padding: 16px 24px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-weight: 700;
}
.kontakt__info h3 {
    color: var(--color-text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.kontakt__info p {
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.kontakt__info a { color: var(--color-text-primary); }

/* ---- FOOTER (DARK) ---- */
.footer {
    padding: 24px 0;
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border-dark);
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-soft);
}
.footer a {
    color: var(--color-text-soft);
}
.footer a:hover {
    color: var(--color-text-inverse);
}
.footer__logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 8px;
    line-height: 1;
}
.footer__logo img {
    width: 180px;
    height: auto;
}
.footer__logo .nav__logo-blocks {
    font-size: 7px;
    font-weight: 700;
    margin: 2px 0 0 0;
    color: var(--color-text-soft);
    letter-spacing: 1.5px;
}

/* ---- RESPONSIVE: TABLET ---- */
@media (max-width: 992px) {
    .nav { padding: 12px 0; }
    .nav .container { padding: 0 20px; }
    .nav__logo img { width: 160px; }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__sub { margin-left: auto; margin-right: auto; }
    .hero__image { max-height: 320px; }
    .montaz__grid { grid-template-columns: repeat(2, 1fr); }
    .kontakt__grid { grid-template-columns: 1fr; gap: 48px; }
    .produkt__grid { grid-template-columns: repeat(2, 1fr); }
    .nav__menu {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .nav__menu.is-open { display: flex; }
    .nav__menu a { color: var(--color-text-primary); }
    .nav__hamburger { display: flex; }
}

/* ---- RESPONSIVE: MOBILE ---- */
@media (max-width: 600px) {
    .hero__heading { font-size: 2rem; }
    .hero { min-height: auto; padding: 120px 0 64px; }
    section { padding: 64px 0; }
    .section-heading { font-size: 11px; margin-bottom: 12px; }
    .section-title { font-size: 1.5rem; margin-bottom: 24px; }
    .produkt__grid { grid-template-columns: 1fr; gap: 16px; }
    .montaz__grid { grid-template-columns: 1fr; }
    .spec-table td { padding: 12px 8px; font-size: 0.875rem; }
    .kontakt__grid { gap: 32px; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
}
.cookie-banner-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}
.cookie-banner-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}
.cookie-banner-text a {
    color: var(--color-text-inverse);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-settings-link {
    background: none;
    border: none;
    color: var(--color-text-inverse);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-modal-content {
    background: var(--color-bg-white);
    color: var(--color-text-primary);
    border-radius: 8px;
    padding: 30px;
    max-width: 480px;
    width: 90%;
}
.cookie-category {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}
.cookie-category-header strong { display: block; margin-bottom: 4px; }
.cookie-category-header small {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
}
.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}
.cookie-modal-actions { margin-top: 20px; text-align: right; }

@media (max-width: 768px) {
    .cookie-banner-content { flex-direction: column; text-align: center; }
    .cookie-banner-actions { flex-wrap: wrap; justify-content: center; }
}

/* ===== PRZEKROJ ROW ===== */
.przekroj-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: var(--nav-height);
  padding: 40px 40px 0;
  background: var(--color-bg-white);
}
.przekroj-row img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-bg-dark);
}
@media (max-width: 600px) {
  .przekroj-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px 0;
  }
}
.przekroj-row + .hero {
  padding-top: 0;
}
