/* ==========================================================================
   skup-zegarow.pl — Stylesheet (kolor wiodący: #006B3F)
   ========================================================================== */

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

:root {
    --green: #006B3F;
    --green-light: #00894F;
    --green-dark: #004D2D;
    --accent: #C9A24C;
    --bg: #F8FAF8;
    --bg-alt: #EEF4EF;
    --text: #1C1C1C;
    --text-light: #5E6B63;
    --white: #FFFFFF;
    --border: #DCE5DE;
    --error: #C0392B;
    --success: #27AE60;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.3; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: .5rem; }
.section-desc { text-align: center; color: var(--text-light); max-width: 680px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all .25s; border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248,250,248,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--text); }
.logo:hover { color: var(--green); }
.logo-icon { font-size: 1.6rem; }
.logo-dot { color: var(--green); }

.main-nav { display: flex; gap: 24px; }
.main-nav a { color: var(--text); font-weight: 500; font-size: .95rem; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--green); transition: width .3s; }
.main-nav a:hover { color: var(--green); }
.main-nav a:hover::after { width: 100%; }

.header-phone { font-weight: 600; color: var(--green); white-space: nowrap; font-size: .95rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #0A3B23 0%, #004D2D 50%, #1A1A2E 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(201,162,76,.12), transparent 50%), radial-gradient(circle at 70% 80%, rgba(0,137,79,.2), transparent 60%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: 2.8rem; margin-bottom: 16px; line-height: 1.2; }
.hero h2 { font-size: 1.3rem; font-weight: 400; opacity: .9; margin-bottom: 12px; font-family: var(--font-body); }
.hero-sub { opacity: .8; max-width: 620px; margin: 0 auto 32px; font-size: 1.05rem; }

.trust-row { margin-top: 28px; font-size: .95rem; opacity: .9; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.trust-stars { color: var(--accent); }
.trust-divider { opacity: .4; }

/* Form Section */
.form-section { padding: 80px 0; background: var(--bg-alt); }
.wycena-form { max-width: 780px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--error); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color .2s;
    background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0,107,63,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-consent { font-size: .9rem; }
.form-consent input[type="checkbox"] { margin-right: 8px; }

.radio-row { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 4px; }
.radio-row label { font-weight: 400; cursor: pointer; font-size: .95rem; }
.radio-row input[type="radio"] { margin-right: 6px; accent-color: var(--green); }

/* File upload */
.file-upload { position: relative; }
.file-upload input[type="file"] { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; top: 0; left: 0; z-index: 2; }
.file-upload-label { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 20px; border: 2px dashed var(--border); border-radius: var(--radius); text-align: center; transition: border-color .2s; background: var(--bg); }
.file-upload:hover .file-upload-label, .file-upload.dragover .file-upload-label { border-color: var(--green); }
.file-icon { font-size: 2rem; }
.file-hint { font-size: .85rem; color: var(--text-light); }

.file-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.file-preview-item { width: 80px; height: 80px; border-radius: 6px; overflow: hidden; }
.file-preview-item img { width: 100%; height: 100%; object-fit: cover; }

.btn-submit { width: 100%; margin-top: 8px; }

/* Alerts */
.alert { padding: 16px 20px; border-radius: var(--radius); margin: 0 auto 24px; font-size: .95rem; max-width: 780px; }
.alert-success { background: #E8F8F0; color: #1B7A43; border: 1px solid #A3E4C1; }
.alert-error { background: #FDEDEC; color: #922B21; border: 1px solid #F5B7B1; }

/* Brands */
.brands { padding: 80px 0; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.brand-tile {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px 12px; text-align: center; font-family: var(--font-heading); font-weight: 700;
    font-size: 1.1rem; color: var(--text); transition: all .25s;
}
.brand-tile:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Steps */
.steps { padding: 80px 0; background: var(--bg-alt); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card { background: var(--white); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); position: relative; }
.step-num {
    width: 48px; height: 48px; line-height: 48px;
    background: var(--green); color: var(--white);
    border-radius: 50%; font-weight: 700; font-size: 1.3rem;
    margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { color: var(--text-light); font-size: .93rem; }

/* FAQ */
.faq { padding: 80px 0; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 24px; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--green); transition: transform .3s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 24px 18px; color: var(--text-light); }

/* Reviews */
.reviews { padding: 80px 0; background: var(--bg-alt); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.review-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 10px; }
.review-card p { color: var(--text); font-style: italic; margin-bottom: 14px; }
.review-author { color: var(--text-light); font-size: .9rem; font-weight: 500; }

/* Blog preview cards (reused on blog pages) */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 180px; background: linear-gradient(135deg, #0A3B23, #004D2D); background-size: cover; background-position: center; }
.blog-card-body { padding: 24px; }
.blog-tag { display: inline-block; background: var(--bg-alt); color: var(--green-dark); padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--green); }
.blog-card p { color: var(--text-light); font-size: .9rem; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Footer */
.site-footer { background: #0D1F17; color: rgba(255,255,255,.75); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-bottom: 40px; }
.footer-col h4 { font-family: var(--font-heading); color: var(--white); font-size: 1.1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; }

/* Blog page */
.page-header { background: linear-gradient(135deg, #0A3B23 0%, #1A1A2E 100%); color: var(--white); padding: 60px 0; text-align: center; }
.page-header h1 { font-size: 2.2rem; margin-bottom: 8px; }
.page-header p { opacity: .8; }
.blog-page { padding: 60px 0; }

/* Article */
.article-page { padding: 60px 0; background: var(--bg-alt); }
.article-content { max-width: 780px; margin: 0 auto; background: var(--white); padding: 48px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content h1 { font-size: 2rem; margin-bottom: 16px; }
.article-content h2 { font-size: 1.5rem; margin: 32px 0 12px; color: var(--green-dark); }
.article-content h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 24px; }
.article-content li { margin-bottom: 6px; }
.article-meta { color: var(--text-light); font-size: .9rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-back { display: inline-block; margin-bottom: 24px; font-weight: 500; }
.article-cta { margin-top: 40px; padding: 32px; background: var(--bg-alt); border-radius: var(--radius); text-align: center; }
.article-cta h3 { margin-bottom: 12px; }
.article-cta p { margin-bottom: 16px; color: var(--text-light); }

/* Privacy page */
.privacy-page { padding: 60px 0; }
.privacy-content { max-width: 780px; margin: 0 auto; background: var(--white); padding: 48px; border-radius: var(--radius); box-shadow: var(--shadow); }
.privacy-content h1 { font-size: 2rem; margin-bottom: 24px; }
.privacy-content h2 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--green-dark); }
.privacy-content p { margin-bottom: 14px; }
.privacy-content ul { margin: 0 0 14px 24px; }

/* Responsive */
@media (max-width: 900px) {
    .header-phone { display: none; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .hero h2 { font-size: 1.05rem; }
    .hero { padding: 60px 0 50px; }

    .main-nav {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: var(--bg); flex-direction: column; padding: 20px;
        border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .main-nav.active { display: flex; }
    .nav-toggle { display: flex; }

    .form-row { grid-template-columns: 1fr; }
    .wycena-form { padding: 24px; }
    .article-content, .privacy-content { padding: 24px; }
    .section-title { font-size: 1.6rem; }
}
