/* ================================================
   SINGA IT — style.css
   Clean static site, no WordPress dependencies
   ================================================ */

/* ---------- RESET & VARIABLES ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #111827;
  --navy-mid:   #1f2937;
  --blue:       #da0312;
  --blue-light: #e8141f;
  --blue-pale:  #fdeaea;
  --white:      #ffffff;
  --light:      #f4f7fc;
  --text:       #1a1f36;
  --text-mid:   #4a5568;
  --text-light: #718096;
  --border:     #e2e8f0;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.07);
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --radius:     10px;
  --radius-lg:  16px;
  --max-w:      1160px;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: .22s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }
ul, ol { list-style: none; }

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

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo svg { height: 40px; width: auto; display: block; }
.site-logo img { height: 44px; width: auto; display: block; max-width: 220px; }

/* Desktop nav */
.site-nav > ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.site-nav a {
  display: block; padding: 7px 10px; border-radius: 6px;
  color: var(--text); font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover { background: var(--light); color: var(--blue); }
.site-nav .current > a { color: var(--blue); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-trigger {
  background: none; border: none; cursor: pointer;
  display: block; padding: 7px 10px; border-radius: 6px;
  color: var(--text); font-size: 14px; font-weight: 500;
  font-family: var(--font); white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.dropdown-trigger:hover { background: var(--light); color: var(--blue); }
.site-nav .current .dropdown-trigger { color: var(--blue); }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 180px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.dropdown-menu a { padding: 10px 18px; font-size: 14px; }
.dropdown-menu a:hover { background: var(--light); }
.has-dropdown.is-open .dropdown-menu { display: block; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

/* Mobile drawer */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
}
.mobile-nav.open { display: block; }
.mobile-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
}
.mobile-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: 280px; z-index: 200;
  background: var(--white); padding: 24px 0; overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  transform: translateX(100%); transition: transform .28s ease;
}
.mobile-close {
  display: flex; justify-content: flex-end; padding: 0 20px 16px;
  background: none; border: none; cursor: pointer; font-size: 24px; color: var(--text);
  width: 100%; 
}
.mobile-drawer a {
  display: block; padding: 12px 24px; color: var(--text);
  font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border);
}
.mobile-drawer a:hover { background: var(--light); color: var(--blue); }
.mobile-drawer .sub-items a { padding-left: 40px; font-size: 14px; background: var(--light); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 6px; font-size: 15px;
  font-weight: 600; font-family: var(--font); cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  line-height: 1.3; text-decoration: none;
}
.btn-primary {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--blue); border-color: var(--white);
}
.btn-white:hover { background: var(--light); color: var(--blue-light); border-color: var(--light); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, #111827 0%, #1f2937 70%, #2a1215 100%);
  color: var(--white); padding: 96px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(21,96,212,.25) 0%, transparent 60%);
}
.hero .container { position: relative; }
.hero-content { max-width: 680px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero p  { font-size: 18px; color: rgba(255,255,255,.82); margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; }

/* Partner logos strip */
.partners-strip {
  background: var(--light); border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.partners-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.partners-inner img { height: 36px; width: auto; opacity: .65; filter: grayscale(1); transition: var(--transition); }
.partners-inner img:hover { opacity: 1; filter: none; }

/* ---------- SECTION BASICS ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-pale);
  padding: 4px 12px; border-radius: 4px; margin-bottom: 14px;
}
.section-dark .section-label { color: #ffffff; background: rgba(255,255,255,.1); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-mid); max-width: 620px; line-height: 1.7; }
.section-dark .section-sub { color: rgba(255,255,255,.75); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto; }

/* ---------- CARDS GRID ---------- */
.cards-grid { display: grid; gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { font-size: 36px; margin-bottom: 18px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.card p  { font-size: 15px; color: var(--text-mid); line-height: 1.65; }
.card .card-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 14px; }

/* Service cards */
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--blue);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.service-card p  { color: var(--text-mid); margin-bottom: 22px; line-height: 1.65; }

/* ---------- STATS SECTION ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.stat-item { padding: 36px 24px; text-align: center; background: rgba(255,255,255,.05); }
.stat-value { font-size: 3rem; font-weight: 800; color: #ffffff; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.4; margin-top: 6px; }

/* ---------- FEATURES (why us) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.feature-item { display: flex; gap: 20px; }
.feature-icon { flex-shrink: 0; width: 52px; height: 52px; background: var(--blue-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.feature-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-body p { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

/* ---------- PACKAGE CARDS ---------- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.package-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column; align-items: center;
}
.package-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.package-card.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.package-card .full-width { width: 100%; margin-top: auto; justify-content: center; }
.package-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: white; font-size: 12px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}
.package-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 6px; }
.package-target { font-size: 14px; color: var(--text-mid); margin-bottom: 24px; }
.package-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex-grow: 1; width: 100%; }
.package-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.package-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---------- STEPS ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-item { text-align: center; counter-increment: step; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue);
  color: white; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer; background: var(--white);
  font-weight: 600; font-size: 16px; gap: 16px; user-select: none;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-arrow { flex-shrink: 0; font-size: 18px; transition: transform var(--transition); color: var(--blue); }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 24px 20px; font-size: 15px;
  color: var(--text-mid); line-height: 1.7;
}
.faq-item.is-open .faq-answer { display: block; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--navy);
  border-top: 4px solid var(--blue);
  color: var(--white); text-align: center; padding: 72px 24px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 400px; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(218,3,18,.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 28px; line-height: 1.3; }

/* ---------- FOOTER ---------- */
.site-footer { background: #060f1e; color: rgba(255,255,255,.75); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 9px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.footer-social a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-social a:hover { color: var(--white); }

/* ---------- INLINE CONTENT SECTIONS ---------- */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-block h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 800; margin-bottom: 18px; line-height: 1.3; }
.content-block p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.7; }
.content-block ul { display: flex; flex-direction: column; gap: 10px; }
.content-block ul li { display: flex; gap: 10px; font-size: 15px; color: var(--text-mid); }
.content-block ul li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* Detail bullets */
.bullet-list li { 
  display: flex; flex-direction: column; gap: 2px; 
  font-size: 15px; color: var(--text-mid); line-height: 1.5; 
  padding-left: 20px; position: relative;
}
.bullet-list li::before { 
  content: '•'; color: var(--blue); font-weight: 700; 
  position: absolute; left: 0; top: 0;
}
.bullet-list li strong { color: var(--text); }

/* ---------- BLOG ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); display: flex; flex-direction: column; height: 100%; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; flex-shrink: 0; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { flex: 1; }
.blog-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.blog-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.blog-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.blog-card .read-more { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-detail-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-detail h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-detail p  { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 15px; font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white); color: var(--text);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,96,212,.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 10px; }

/* ---------- ARTICLE ---------- */
.article-hero { background: var(--navy); color: white; padding: 72px 0 56px; }
.article-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.25; max-width: 840px; margin: 20px 0 0; }
.article-hero .article-lead { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 720px; margin-top: 18px; line-height: 1.7; }
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.article-category { background: rgba(255,255,255,.15); color: white; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 4px; }
.article-date, .article-read { font-size: 13px; color: rgba(255,255,255,.6); }

.breadcrumb { display: flex; align-items: center; gap: 4px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: white; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article-body { min-width: 0; }
.article-body h2 { font-size: 1.45rem; font-weight: 800; margin: 40px 0 14px; color: var(--text); line-height: 1.3; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; color: var(--blue); }
.article-body p { margin-bottom: 18px; line-height: 1.78; color: var(--text-mid); }
.article-body ul, .article-body ol { margin: 14px 0 20px 20px; }
.article-body li { margin-bottom: 9px; line-height: 1.65; color: var(--text-mid); }
.article-body strong { color: var(--text); }

.article-cta-box { background: var(--blue-pale); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 32px; margin: 48px 0 0; }
.article-cta-box h3 { font-size: 1.2rem; font-weight: 800; color: var(--text); margin: 0 0 10px; }
.article-cta-box p { color: var(--text-mid); margin: 0 0 20px; }

.article-content { padding: 64px 0 80px; }

/* Sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
.sidebar-card { background: var(--light); border-radius: var(--radius); padding: 24px; }
.sidebar-card h4 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin: 0 0 14px; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { margin-bottom: 10px; }
.sidebar-card a { color: var(--text-mid); font-size: .9rem; text-decoration: none; line-height: 1.4; }
.sidebar-card a:hover { color: var(--blue); }
.sidebar-contact {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-sm);
}
.sidebar-contact h4 { color: var(--blue); }
.sidebar-contact p { color: var(--text-mid); font-size: .9rem; margin: 0 0 6px; }
.sidebar-phone {
  display: block; font-size: 1.15rem; font-weight: 700;
  color: var(--text); text-decoration: none; letter-spacing: .01em;
  margin: 6px 0 16px; transition: color var(--transition);
}
.sidebar-phone:hover { color: var(--blue); }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
}

.site-logo img { object-fit: contain; object-position: left center; }

.mobile-drawer.is-open { transform: translateX(0); }

.mobile-overlay.is-open { display: block; }

/* Logo artykuły (inline SVG) */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; display: block; max-width: 220px; }
.logo svg { height: 36px; width: auto; }
.logo span strong { color: var(--blue); }
.logo-white { color: white; }
.logo-white img { filter: none; }

.site-nav .current-page { color: var(--blue) !important; font-weight: 600; }

.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 56px 0; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: 14px; line-height: 1.6; max-width: 280px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-nav h5 { color: rgba(255,255,255,.45); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-nav a { display: block; color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 8px; }
.footer-nav a:hover { color: white; }
.footer-nav p { color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.6; margin-top: 4px; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .footer-nav { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) { .nav-cta { display: none; } }

/* ═══════════════════════════════════════════════════
   FIXES: main-nav (artykuły), dropdown, hamburger
   ═══════════════════════════════════════════════════ */

/* main-nav — identyczny styl jak site-nav (artykuły blogowe) */
.main-nav {
  display: flex; align-items: center; gap: 2px; flex-wrap: nowrap;
}
.main-nav a {
  display: block; padding: 7px 10px; border-radius: 6px;
  color: var(--text); font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.active { background: var(--light); color: var(--blue); }

/* Dropdown w artykułach (button-based) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer;
  display: block; padding: 7px 10px; border-radius: 6px;
  color: var(--text); font-size: 14px; font-weight: 500;
  font-family: var(--font); white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-toggle:hover { background: var(--light); color: var(--blue); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  min-width: 160px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; z-index: 50;
}
.nav-dropdown-menu a {
  display: block; padding: 10px 18px; font-size: 14px;
  color: var(--text); text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--light); color: var(--blue); }
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }

/* Hamburger (artykuły) */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .2s;
}

/* mobile-overlay standalone (artykuły) */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 190;
}
.mobile-overlay.is-open { display: block; }

/* Ukryj main-nav na mobile, pokaż hamburger */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* Article content — białe tło, bez szarości */
.article-content { background: var(--white); padding: 64px 0 80px; }

/* CTA banner poprawiony */

.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 28px; font-size: 1.05rem; }
.cta-banner .btn-white {
  background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 700;
}
.cta-banner .btn-white:hover {
  background: var(--blue-light); border-color: var(--blue-light); color: #fff;
}

/* Footer brand logo */
.footer-brand .site-logo { margin-bottom: 14px; }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.full-width { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ── 900px — tablet ─────────────────────────────────────── */
@media (max-width: 900px) {

  /* NAV */
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  /* GRIDS → 2 kolumny */
  .cards-3, .cards-4   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .steps-grid           { grid-template-columns: repeat(2, 1fr); }
  .features-grid        { grid-template-columns: 1fr; gap: 24px; }
  .packages-grid        { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .blog-grid            { grid-template-columns: repeat(2, 1fr); }
  .content-block        { grid-template-columns: 1fr; gap: 40px; }
  .content-block.reverse{ direction: ltr; }
  .contact-grid         { grid-template-columns: 1fr; gap: 48px; }

  /* SECTION */
  .section        { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

  /* HERO */
  .hero { padding: 72px 0 56px; }

  /* ARTICLE */
  .article-hero    { padding: 48px 0 40px; }
  .article-content { padding: 48px 0 56px; }
}

/* ── 600px — mobile ─────────────────────────────────────── */
@media (max-width: 600px) {

  /* HEADER */
  .header-inner { height: 62px; gap: 8px; }
  .site-logo img { height: 34px; }

  /* GRIDS → 1 kolumna */
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid  { grid-template-columns: 1fr; }
  .blog-grid   { grid-template-columns: 1fr; }

  /* SECTION */
  .section        { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }
  .section-sub    { font-size: 15px; }

  /* HERO */
  .hero { padding: 48px 0 40px; }
  .hero p { font-size: 16px; margin-bottom: 28px; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* STATS */
  .stat-value { font-size: 2.2rem; }
  .stat-item  { padding: 24px 12px; }
  .stat-label { font-size: 12px; }

  /* CARDS */
  .card         { padding: 24px; }
  .service-card { padding: 24px; }
  .package-card { padding: 28px 20px; }

  /* CTA BANNER */
  .cta-banner { padding: 48px 20px; }
  .cta-banner h2 { margin-bottom: 16px; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* ARTICLE HERO */
  .article-hero    { padding: 36px 0 28px; }
  .article-hero h1 { font-size: 1.45rem; margin-top: 14px; }
  .article-hero .article-lead { font-size: 1rem; }
  .article-content { padding: 28px 0 48px; }
  .article-cta-box { padding: 24px; }
  .article-body h2 { font-size: 1.25rem; margin: 28px 0 12px; }

  /* FOOTER */
  .footer-inner   { padding: 40px 0 24px; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-brand p { font-size: .85rem; }

  /* CONTACT */
  .contact-info h2 { font-size: 1.4rem; }

  /* FAQ */
  .faq-question { padding: 14px 16px; font-size: 14px; }
  .faq-answer   { padding: 0 16px 16px; font-size: 14px; }

  /* BUTTONS */
  .btn    { padding: 12px 22px; font-size: 14px; }
  .btn-sm { padding: 8px 14px;  font-size: 13px; }

  /* BLOG CARD */
  .blog-card img { height: 180px; }

  /* SIDEBAR (artykuły) */
  .article-layout { gap: 32px; }
  .sidebar-card   { padding: 20px; }

  /* CONTENT BLOCK */
  .content-block { gap: 28px; }
  .content-block h2 { font-size: 1.3rem; }

  /* FEATURE */
  .feature-item { gap: 14px; }
  .feature-icon { width: 44px; height: 44px; font-size: 20px; }

  /* STEPS */
  .steps-grid { gap: 20px; }
  .step-num   { width: 48px; height: 48px; font-size: 18px; }
}

/* ── 400px — small phone ────────────────────────────────── */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { font-size: 14px; }
}