:root {
  --green: #2a443b;
  --gold: #c5a059;
  --gold-text: #a37f3a;
  --bg-light: #fbfbf9;
  --card-bg: #ffffff;
  --text: #2c3230;
  --text-muted: #5a6561;
  --border: rgba(42, 68, 59, 0.12);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

main:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* HEADER & NAVIGATION */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 500;
  transition: transform 0.3s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-visible {
  transform: translateY(0);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--green);
  font-weight: 700;
  font-size: 1.15rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a,
.dropdown-toggle {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.desktop-nav a:hover,
.dropdown-toggle:hover {
  color: var(--gold-text);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 0.5rem 0;
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--green);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--green);
}

.mobile-menu a,
.mobile-dropdown-toggle {
  text-decoration: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.mobile-dropdown.is-open .mobile-dropdown-menu {
  display: flex;
}

.mobile-menu__close {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

/* FLOATING CALL BUTTON */
.call-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 400;
  transition: transform 0.2s;
}

.call-button:hover {
  transform: scale(1.08);
}

.call-button svg {
  width: 28px;
  height: 28px;
}

/* MAIN CONTENT & SECTIONS */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 1.5rem 4rem 1.5rem;
}

section {
  margin-bottom: 4rem;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(180deg, rgba(42, 68, 59, 0.04) 0%, rgba(251, 251, 249, 0) 100%);
  border-radius: 12px;
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.section-title {
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.section-intro {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* ACCORDION */
.competence-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  transition: box-shadow 0.2s;
}

details[open] {
  box-shadow: var(--shadow);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--green);
}

summary::-webkit-details-marker {
  display: none;
}

.summary-title {
  font-size: 1.05rem;
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--gold-text);
  line-height: 1;
}

details[open] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.98rem;
}

/* CTA BANNER MODULE */
.cta-banner {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(42, 68, 59, 0.05) 0%, rgba(197, 160, 89, 0.08) 100%);
  border-radius: 1.2rem;
  text-align: center;
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: var(--shadow);
}

.cta-banner__title {
  color: var(--green);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.cta-banner__text {
  margin-bottom: 1.8rem;
  color: var(--text);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__btn {
  font-size: 1.1rem;
  padding: 1.1rem 2.2rem;
  display: inline-block;
}

/* REVIEWS SECTION */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.rating-pill .score {
  color: var(--green);
}

.stars {
  color: #f39c12;
}

.reviews-verify {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.reviews-verify a {
  color: var(--gold-text);
  text-decoration: underline;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.review-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.review-card cite .stars {
  margin-left: 0.5rem;
}

/* PARTNERS SECTION */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.partner-card h3 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.partner-card p {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.partner-button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.partner-button:hover {
  background: #1e322b;
}

/* FOOTER */
.footer-shell {
  background: var(--green);
  color: #ffffff;
  padding: 3rem 1.5rem 1.5rem 1.5rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-content h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h3, .footer-col h4 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.map-btn-wrapper {
  margin-top: 1rem;
}

.map-button, .phone-link, .email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
}

.map-button {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2rem;
}

.payment-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.payment-text strong {
  color: var(--gold);
  white-space: nowrap;
}

.payment-notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: rgba(197, 160, 89, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.contact-block--spaced {
  margin-top: 0.8rem;
}

.svg-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.social-link-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.sub-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.sub-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}
/* ==========================================
   SEKCJA NAWIGACJI PO USŁUGACH (UX/CRO)
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.services-nav {
  padding: 2rem 0 3rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.service-nav-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, rgba(42, 68, 59, 0.12));
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: var(--text, #2c3230);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-nav-card:hover,
.service-nav-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(42, 68, 59, 0.1);
  border-color: var(--gold, #c5a059);
  outline: none;
}

.service-nav-card--featured {
  background: linear-gradient(135deg, rgba(42, 68, 59, 0.03) 0%, rgba(197, 160, 89, 0.08) 100%);
  border-color: rgba(197, 160, 89, 0.4);
}

.service-nav-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green, #2a443b);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-nav-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted, #5a6561);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

.service-nav-card__btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-text, #a37f3a);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.service-nav-card:hover .service-nav-card__btn {
  color: var(--green, #2a443b);
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   MODUŁ BLOGA (HIGH PREMIUM & GREEN CODING)
   ========================================== */

/* Filtry Pill Chips */
.blog-filter-section {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.filter-pill {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, rgba(42, 68, 59, 0.15));
  color: var(--text, #2c3230);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--green, #2a443b);
  color: #ffffff;
  border-color: var(--green, #2a443b);
}

/* Siatka Artykułów */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, rgba(42, 68, 59, 0.12));
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(42, 68, 59, 0.08);
}

.blog-card__tag {
  align-self: flex-start;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-text, #a37f3a);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.blog-card__title {
  font-size: 1.2rem;
  color: var(--green, #2a443b);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.blog-card__desc {
  font-size: 0.92rem;
  color: var(--text-muted, #5a6561);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted, #5a6561);
  border-top: 1px dashed var(--border);
  padding-top: 0.8rem;
}

.blog-card__link {
  color: var(--gold-text, #a37f3a);
  font-weight: 700;
  text-decoration: none;
}

/* Układ Artykułu i Breadcrumbs */
.article-layout {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 90px;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--green);
  text-decoration: none;
}

.article-header h1 {
  font-size: 2.1rem;
  color: var(--green);
  margin: 0.5rem 0 1rem 0;
}

.article-author-box {
  background: rgba(42, 68, 59, 0.04);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.article-date {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.lead-text {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.article-body p, .article-body ul {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(42, 68, 59, 0.06) 0%, rgba(197, 160, 89, 0.1) 100%);
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
}

.article-cta-box h3 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.partner-button--outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.article-footer-tools {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.share-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}

.recommended-posts {
  margin-top: 4rem;
}