*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:    #b88421;
    --gold2:   #9d6e16;
    --dark:    #111111;
    --dark2:   #1a1a1a;
    --dark3:   #1e1e1e;
    --dark4:   #252525;
    --border:  #2a2a2a;
    --text:    #e0e0e0;
    --muted:   #888;
    --font-h:  'Roboto Slab', serif;
    --font-b:  'PT Sans', sans-serif;
}
.partners-carousel {
    display: flex;
    gap: 40px; /* odstęp między logotypami */
    overflow-x: hidden; /* ukrywa pasek przewijania */
    white-space: nowrap;
    scroll-behavior: smooth;


  }
  .partner-item img[src*="aresit.png"] {
    filter: brightness(0) invert(1);
}
  .partner-item {
    flex: 0 0 auto; /* nie kurczy się */
    width: 150px;   /* dopasuj do swoich logotypów */
    
  }
  
.partners-carousel::-webkit-scrollbar { height: 8px; }
.partners-carousel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.partner-item { 
    flex: 0 0 auto; 
    width: 150px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 

}
.partner-item img { max-width: 100%; max-height: 60px; object-fit: contain; }
body { background: var(--dark); color: var(--text); font-family: var(--font-b); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TOP BAR ── */
.topbar {
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82em;
    color: var(--muted);
}
.topbar a { color: var(--muted); transition: color 0.18s; }
.topbar a:hover { color: var(--gold); }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a {
    background: rgba(184,132,33,0.12);
    border: 1px solid rgba(184,132,33,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    color: var(--gold);
    font-size: 0.9em;
    transition: background 0.18s;
}
.topbar-right a:hover { background: rgba(184,132,33,0.22); }

/* ── NAVBAR ── */
.pub-nav {
    background: rgba(17,17,17,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
    padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
    height: 70px;
}
.pub-logo {
    font-family: var(--font-h);
    font-size: 1.5em;
    color: #fff;
    display: flex; align-items: center; gap: 10px;
}
.pub-logo em { color: var(--gold); font-style: normal; }
.pub-logo .tagline { font-size: 0.4em; color: var(--muted); font-weight: 400; display: block; line-height: 1; margin-top: 2px; }
.pub-links { display: flex; gap: 8px; align-items: center; list-style: none; }
.pub-links a {
    padding: 8px 16px;
    border-radius: 8px;
    color: #6b6b6b; /* szary tekst */
    font-size: 0.88em;
    transition: color 0.18s, background 0.18s;
    text-decoration: none;
}

.pub-links i {
    margin-right: 6px;
    color: #d4af37; /* złote ikony */
}

/* efekt hover */
.pub-links a:hover {
    color: #333;
    background: rgba(0,0,0,0.04);
}

.pub-links a:hover i {
    color: #f5c542;
}
.pub-links a:hover { color: #fff; background: var(--dark4); }
.pub-links .btn-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff !important; font-weight: 700;
    border-radius: 8px; padding: 9px 20px;
    transition: opacity 0.18s !important;
}
.pub-links .btn-cta:hover { opacity: 0.85; background: linear-gradient(135deg, var(--gold), var(--gold2)) !important; }

/* ── HERO SLIDER ── */
.hero {
    position: relative;
    height: 92vh; min-height: 560px; max-height: 860px;
    overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.5) 100%);
}
.hero-slide-1 { background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&q=80'); }
.hero-slide-2 { background-image: url('https://images.unsplash.com/photo-1497440001374-f26997328c1b?w=1600&q=80'); }
.hero-slide-3 { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80'); }
.hero-slide-4 { background-image: url('https://images.unsplash.com/photo-1548337138-e87d889cc369?w=1600&q=80'); }

.hero-content {
    position: relative; z-index: 2;
    height: 100%; display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    padding: 0 10% 80px;
    max-width: 720px;
}
.hero-eyebrow {
    font-size: 0.78em; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); }
.hero-h1 {
    font-family: var(--font-h);
    font-size: clamp(2em, 5vw, 3.4em);
    font-weight: 900; color: #fff;
    line-height: 1.15; margin-bottom: 20px;
}
.hero-h1 span { color: var(--gold); }
.hero-sub {
    font-size: 1.05em; color: rgba(255,255,255,0.7);
    line-height: 1.7; margin-bottom: 36px; max-width: 500px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff; border: none; border-radius: 10px;
    padding: 14px 28px; font-weight: 700; font-size: 0.95em;
    cursor: pointer; transition: opacity 0.18s, transform 0.15s;
    display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: #fff; }
.btn-outline {
    background: transparent;
    color: #fff; border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px; padding: 13px 26px;
    font-weight: 700; font-size: 0.95em;
    transition: border-color 0.18s, background 0.18s;
    display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(184,132,33,0.12); color: #fff; }

/* Slide dots */
.hero-dots {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 8px;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s;
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* Liczby pod hero */
.hero-numbers {
    position: absolute; bottom: 0; right: 0; z-index: 3;
    display: flex;
}
.hero-num {
    background: rgba(17,17,17,0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    padding: 20px 28px; text-align: center;
}
.hero-num-val { font-family: var(--font-h); font-size: 1.6em; color: var(--gold); }
.hero-num-lbl { font-size: 0.72em; color: var(--muted); margin-top: 2px; }

/* ── SEKCJE OGÓLNE ── */
section { padding: 80px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
    font-size: 0.72em; text-transform: uppercase; letter-spacing: 3px;
    color: var(--gold); font-weight: 700; margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.section-h2 {
    font-family: var(--font-h); font-size: clamp(1.6em, 3vw, 2.3em);
    color: #fff; margin-bottom: 14px; line-height: 1.2;
}
.section-desc { color: var(--muted); line-height: 1.8; max-width: 680px; font-size: 0.95em; }

/* ── OFERTA ── */
.oferta-bg { background: var(--dark2); }
.oferta-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px; margin-top: 48px;
}
.oferta-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 24px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: default;
    position: relative; overflow: hidden;
}
.oferta-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s ease;
}
.oferta-card:hover { transform: translateY(-6px); border-color: rgba(184,132,33,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.oferta-card:hover::before { transform: scaleX(1); }
.oferta-icon { font-size: 2.2em; margin-bottom: 16px; }
.oferta-title { font-family: var(--font-h); font-size: 1.05em; color: #fff; margin-bottom: 10px; }
.oferta-desc  { font-size: 0.84em; color: var(--muted); line-height: 1.7; }
.oferta-link  { display: inline-block; margin-top: 16px; font-size: 0.82em; color: var(--gold); font-weight: 700; }

/* ── DLACZEGO MY ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 48px; }
.why-img { border-radius: 16px; overflow: hidden; position: relative; }
.why-img img { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.why-img::before {
    content: ''; position: absolute; inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold), transparent 60%);
    z-index: -1;
}
.why-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.why-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 12px; padding: 18px 20px;
    transition: border-color 0.2s;
}
.why-item:hover { border-color: rgba(184,132,33,0.4); }
.why-check {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(184,132,33,0.15);
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 0.9em; flex-shrink: 0;
}
.why-text strong { display: block; color: #fff; margin-bottom: 3px; font-size: 0.9em; }
.why-text span   { font-size: 0.82em; color: var(--muted); line-height: 1.5; }

/* ── DOFINANSOWANIE ── */
.dof-bg { background: var(--dark2); }
.dof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.dof-card {
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 24px; position: relative; overflow: hidden;
}
.dof-card .dof-num {
    font-family: var(--font-h); font-size: 3em; color: rgba(184,132,33,0.1);
    position: absolute; top: 10px; right: 16px; line-height: 1;
}
.dof-card-tag { font-size: 0.7em; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.dof-card h3  { font-family: var(--font-h); font-size: 1.05em; color: #fff; margin-bottom: 16px; }
.dof-items    { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dof-items li {
    font-size: 0.82em; color: var(--muted); line-height: 1.5;
    padding-left: 14px; position: relative;
}
.dof-items li::before { content: '→'; position: absolute; left: 0; color: var(--gold); }
.dof-items li strong  { color: var(--text); }

/* Tabela dotacji */
.dof-table-wrap { margin-top: 48px; overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
table.dof-table { width: 100%; border-collapse: collapse; font-size: 0.86em; }
.dof-table th {
    background: #161616; color: var(--muted); font-size: 0.75em;
    text-transform: uppercase; letter-spacing: 0.5px;
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--border);
}
.dof-table td { padding: 12px 16px; border-bottom: 1px solid #1c1c1c; color: var(--text); }
.dof-table tr:last-child td { border-bottom: none; }
.dof-table tr:hover td { background: rgba(255,255,255,0.02); }
.dof-table td:first-child { color: #fff; font-weight: 700; }
.dof-table td:nth-child(2) { color: var(--gold); font-weight: 700; }
.dof-ulgabadge {
    display: inline-block; background: rgba(184,132,33,0.15);
    border: 1px solid rgba(184,132,33,0.3); border-radius: 6px;
    padding: 2px 8px; font-size: 0.85em; color: var(--gold);
}

/* ── ZESTAWY ── */
.zestawy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.zestaw-card {
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 16px; padding: 32px 24px;
    display: flex; flex-direction: column; gap: 14px;
    transition: transform 0.2s, border-color 0.2s;
}
.zestaw-card:hover { transform: translateY(-4px); border-color: rgba(184,132,33,0.4); }
.zestaw-icon { font-size: 2.6em; }
.zestaw-title { font-family: var(--font-h); font-size: 1.05em; color: #fff; }
.zestaw-desc  { font-size: 0.84em; color: var(--muted); line-height: 1.7; flex: 1; }
.zestaw-tags  { display: flex; gap: 6px; flex-wrap: wrap; }
.zestaw-tag   {
    background: rgba(184,132,33,0.1); border: 1px solid rgba(184,132,33,0.25);
    border-radius: 20px; padding: 3px 10px;
    font-size: 0.72em; color: var(--gold);
}

/* ── FORMULARZ WYCENY ── */
.wycena-bg {
    background: linear-gradient(135deg, #111 0%, #1a1500 50%, #111 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.wycena-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.wycena-left h3 { font-family: var(--font-h); font-size: 1.3em; color: #fff; margin-bottom: 16px; }
.wycena-left p  { font-size: 0.88em; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.wycena-badges  { display: flex; flex-direction: column; gap: 12px; }
.wycena-badge   {
    display: flex; align-items: center; gap: 14px;
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 16px;
}
.wycena-badge-icon { font-size: 1.4em; }
.wycena-badge-text strong { display: block; color: #fff; font-size: 0.88em; }
.wycena-badge-text span   { font-size: 0.78em; color: var(--muted); }

.wycena-form { background: var(--dark3); border: 1px solid var(--border); border-radius: 16px; padding: 30px; }
.wycena-form h4 { font-family: var(--font-h); color: #fff; margin-bottom: 20px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fg label { font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 700; }
.fg input, .fg select {
    background: #222; border: 2px solid #333; border-radius: 8px;
    color: var(--text); padding: 10px 14px; font-family: var(--font-b);
    font-size: 0.9em; outline: none; transition: border-color 0.18s;
    width: 100%;
}
.fg input:focus, .fg select:focus { border-color: var(--gold); }
.fg input::placeholder { color: #444; }
.dach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 4px; }
.dach-btn {
    background: #222; border: 2px solid #333; border-radius: 8px;
    padding: 9px; font-size: 0.82em; color: var(--muted);
    cursor: pointer; text-align: center; transition: all 0.18s;
}
.dach-btn:hover, .dach-btn.sel { border-color: var(--gold); color: var(--gold); background: rgba(184,132,33,0.08); }
.wycena-submit {
    width: 100%; margin-top: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff; border: none; border-radius: 10px;
    padding: 13px; font-weight: 700; font-size: 1em;
    font-family: var(--font-b); cursor: pointer;
    transition: opacity 0.18s;
}
.wycena-submit:hover { opacity: 0.85; }
.alert-ok { background: rgba(76,175,130,0.1); border: 2px solid rgba(76,175,130,0.4); border-radius: 10px; padding: 20px; text-align:center; color: #4caf82; }
.alert-err { background: rgba(229,85,85,0.1); border: 1px solid rgba(229,85,85,0.3); border-radius: 8px; padding: 12px; color: #e55; font-size: 0.88em; margin-bottom: 12px; }

/* ── FOOTER ── */
footer {
    background: #0d0d0d;
    border-top: 1px solid var(--border);
    padding: 60px 40px 30px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo  { font-family: var(--font-h); font-size: 1.3em; color: #fff; margin-bottom: 12px; }
.footer-logo em { color: var(--gold); font-style: normal; }
.footer-about { font-size: 0.84em; color: var(--muted); line-height: 1.7; }
.footer-h     { font-size: 0.75em; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.84em; color: var(--muted); transition: color 0.18s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.84em; color: var(--muted); margin-bottom: 10px; }
.footer-contact-item a { color: var(--muted); transition: color 0.18s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-icon { font-size: 1em; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.78em; color: rgb(255, 255, 255); }
.footer-login { font-size: 0.78em; color: #444; }
.footer-login a { color: var(--gold); }
.footer-login a:hover { color: #fff; }

/* Sticky CTA mobilny */
.sticky-cta { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    section { padding: 60px 24px; }
    .topbar, .pub-nav { padding-left: 20px; padding-right: 20px; }
    .hero-content { padding: 0 6% 80px; }
    .why-grid, .wycena-grid { grid-template-columns: 1fr; gap: 32px; }
    .dof-grid, .zestawy-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .topbar { display: none; }
    .hero-numbers { display: none; }
    .pub-links { display: none; }
    .sticky-cta {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 999; gap: 0;
    }
    .sticky-cta a {
        flex: 1; text-align: center; padding: 16px;
        font-weight: 700; font-size: 0.9em;
    }
    .sticky-cta .s-tel { background: #1a1a1a; color: var(--gold); border-top: 2px solid var(--border); }
    .sticky-cta .s-wyc { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #fff; }
}
@media (max-width: 580px) {
    .hero-h1 { font-size: 1.8em; }
    .dof-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .oferta-grid { grid-template-columns: 1fr; }
}