/* ============================================================
   OLENGIN — style.css: wspólne sekcje podstron
   (nagłówek podstrony, treść, karty, FAQ, kontakt, stopka).

   Od wersji 2.4.2 ten plik jest częścią paczki. Bazuje na stylach
   z szablonu draftu (szablon.php) i dokłada sekcje, których używają
   podstrony. Nowe sekcje strony głównej są w olengin-v2.css.
   Zmienne :root (--brand-dark, --brand-orange) są w header.php.
   ============================================================ */

/* Nagłówek podstrony (mini-hero) */
.page-header { position: relative; background-size: cover; background-position: center; padding-top: 160px; padding-bottom: 80px; }
.page-header-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(30, 45, 60, 0.9); z-index: 1; }
.page-header-content { position: relative; z-index: 2; }

/* Treść główna podstrony */
.service-content-section { background-color: #fff; padding: 80px 0; }
.service-main-text { color: #495057; font-size: 1.05rem; line-height: 1.8; margin-bottom: 30px; }
.service-h2 { color: var(--brand-dark); font-weight: 700; margin-top: 40px; margin-bottom: 20px; }
.service-list { list-style: none; padding: 0; margin-bottom: 40px; }
.service-list li { position: relative; padding-left: 35px; margin-bottom: 15px; font-size: 1.05rem; color: #495057; }
.service-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 2px; color: var(--brand-orange); font-size: 1.2rem; }

/* Panel boczny z kontaktem */
.sidebar-contact-box { background-color: #f8f9fa; border-radius: 12px; padding: 40px 30px; border-top: 4px solid var(--brand-orange); position: sticky; top: 100px; }

/* Bloki z wyróżnieniem */
.feature-block-section { background-color: #f8f9fa; padding: 70px 0; }
.feature-block-section.alt { background-color: #fff; }
.highlight-box { background-color: var(--brand-orange); color: #fff; border-radius: 12px; padding: 40px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.highlight-box h2 { font-weight: 700; margin-bottom: 18px; }
.highlight-box p { line-height: 1.8; opacity: 0.95; margin-bottom: 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { position: relative; padding-left: 32px; margin-bottom: 16px; font-size: 1.02rem; color: #495057; line-height: 1.6; }
.info-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 2px; color: var(--brand-orange); font-size: 1.15rem; }

/* Wątpliwości klienta */
.objections-section { background-color: #fff; padding: 70px 0; }
.objection-card { padding: 30px 25px; border-left: 4px solid var(--brand-orange); background-color: #f8f9fa; border-radius: 0 12px 12px 0; height: 100%; }
.objection-card h3 { color: var(--brand-dark); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.objection-card p { color: #6c757d; font-size: 0.95rem; line-height: 1.7; margin-bottom: 0; }

/* Karty możliwości (inteligentny dom) */
.capabilities-section { background-color: #fff; padding: 80px 0; }
.capability-card { background-color: #f8f9fa; border-radius: 12px; padding: 32px 28px; height: 100%; transition: 0.3s; border-top: 4px solid var(--brand-orange); }
.capability-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); }
.capability-card .icon-wrap { width: 56px; height: 56px; background-color: rgba(230, 126, 34, 0.1); color: var(--brand-orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 20px; }
.capability-card h3 { color: var(--brand-dark); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.capability-card p { color: #6c757d; font-size: 0.95rem; line-height: 1.7; margin-bottom: 0; }
.capability-card.featured { background-color: var(--brand-orange); border-top-color: #fff; }
.capability-card.featured h3, .capability-card.featured p { color: #fff; }
.capability-card.featured .icon-wrap { background-color: rgba(255, 255, 255, 0.2); color: #fff; }

/* Technologie, zespół, wartości */
.tech-section { background-color: #f8f9fa; padding: 70px 0; }
.team-section { background-color: #fff; padding: 80px 0; }
.values-section { background-color: #f8f9fa; padding: 80px 0; }
.value-card { background-color: #fff; border-radius: 12px; padding: 32px 28px; height: 100%; border-left: 4px solid var(--brand-orange); }
.value-card h3 { color: var(--brand-dark); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.value-card p { color: #6c757d; font-size: 0.95rem; line-height: 1.7; margin-bottom: 0; }

/* Realizacje i ogłoszenia (karty) */
.intro-section { background-color: #fff; padding: 80px 0 50px 0; }
.intro-text { color: #495057; font-size: 1.1rem; line-height: 1.8; }
.case-studies-section { background-color: #f8f9fa; padding: 60px 0 90px 0; }
.case-card { background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04); padding: 40px; height: 100%; border-top: 4px solid var(--brand-orange); }
.case-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.case-title { color: var(--brand-dark); font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: 0.9rem; color: #6c757d; font-weight: 600; }
.case-meta span { display: flex; align-items: center; gap: 6px; }
.case-meta i { color: var(--brand-orange); font-size: 1.1rem; }
.case-icon { font-size: 2.5rem; color: rgba(230, 126, 34, 0.2); }
.case-body h4 { font-size: 1.05rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.case-list { list-style: none; padding: 0; margin: 0 0 25px 0; }
.case-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 0.95rem; color: #495057; line-height: 1.6; }
.case-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 2px; color: var(--brand-orange); font-size: 1rem; }
/* 2.8: zdanie podsumowania pod listą w karcie realizacji */
.case-note { color: #6c757d; font-size: 0.95rem; line-height: 1.7; margin-bottom: 0; }
.disclaimer-section { background-color: #fff; padding: 70px 0; border-top: 1px solid #e9ecef; }
.disclaimer-box { background-color: #1e2d3c; color: #fff; padding: 40px; border-radius: 12px; text-align: center; }
.disclaimer-box i { font-size: 2.5rem; color: var(--brand-orange); margin-bottom: 20px; display: block; }
.disclaimer-box h2, .disclaimer-box h3 { font-weight: 700; margin-bottom: 15px; }
.disclaimer-box p { color: rgba(255, 255, 255, 0.8); line-height: 1.7; margin-bottom: 0; font-size: 1.05rem; }
.disclaimer-box p + p { margin-top: 12px; }

/* Wezwanie do działania na dole strony */
.final-cta-section { background-color: var(--brand-dark); color: #fff; padding: 80px 0; text-align: center; }
.final-cta-section.orange { background-color: var(--brand-orange); }
.final-cta-section h2 { color: #fff; font-weight: 800; margin-bottom: 20px; }
.final-cta-section p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; max-width: 700px; margin: 0 auto 30px auto; line-height: 1.7; }
.cta-btn { background-color: var(--brand-orange); color: #fff; font-weight: 700; padding: 16px 36px; border-radius: 6px; text-decoration: none; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; display: inline-block; transition: 0.3s; }
.cta-btn:hover { background-color: #d35400; color: #fff; }
.final-cta-section.orange .cta-btn { background-color: #fff; color: var(--brand-orange); }
.final-cta-section.orange .cta-btn:hover { background-color: var(--brand-dark); color: #fff; }
.cta-btn-secondary { background-color: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 700; padding: 16px 36px; border-radius: 6px; text-decoration: none; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; display: inline-block; border: 2px solid rgba(255, 255, 255, 0.85); transition: 0.3s; }
.cta-btn-secondary:hover { background-color: rgba(255, 255, 255, 0.2); color: #fff; }
.final-cta-section .cta-btn, .final-cta-section .cta-btn-secondary { margin: 8px; }

/* FAQ (akordeon) — strzałka otwartego pytania bez niebieskiego koloru Bootstrapa */
.accordion { --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon); }
.subpage-faq-section { background-color: #f8f9fa; padding: 70px 0; }
.accordion-item { border: none; border-bottom: 1px solid #e9ecef; background-color: transparent; }
.accordion-button { font-weight: 600; color: var(--brand-dark); background-color: transparent; padding: 20px 0; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--brand-orange); background-color: transparent; }
.accordion-body { color: #6c757d; padding: 0 0 20px 0; line-height: 1.6; }

/* Kontakt i formularze */
.custom-input { border: 1px solid #ced4da; border-radius: 8px; padding: 12px 15px; }
.custom-input:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.15); }
.contact-page-section { background-color: #fff; padding: 80px 0; }
.contact-info-box { background-color: #f8f9fa; padding: 40px; border-radius: 12px; height: 100%; border-left: 5px solid var(--brand-orange); }
.contact-info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.contact-info-item i { font-size: 2rem; color: var(--brand-orange); margin-right: 20px; line-height: 1; }
.contact-info-item h4 { font-weight: 700; color: var(--brand-dark); margin-bottom: 5px; font-size: 1.2rem; }
.contact-info-item p, .contact-info-item a { color: #6c757d; font-size: 1.05rem; margin-bottom: 0; text-decoration: none; }
.contact-info-item a:hover { color: var(--brand-orange); }

/* Stopka (jak w szablonie draftu) */
.main-footer { background-color: #1a252f; color: #fff; padding: 70px 0 20px 0; border-top: 4px solid var(--brand-orange); }
.footer-slogan { color: #bdc3c7; font-style: italic; line-height: 1.6; margin-bottom: 25px; }
.footer-header { font-weight: 700; text-transform: uppercase; font-size: 1rem; margin-bottom: 25px; letter-spacing: 1px; color: var(--brand-orange); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #bdc3c7; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--brand-orange); padding-left: 5px; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 15px; color: #bdc3c7; }
.contact-item i { color: var(--brand-orange); margin-right: 15px; font-size: 1.2rem; }
.contact-item a:hover { color: var(--brand-orange) !important; }
.copyright-bar { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.85rem; color: #7f8c8d; }
