/* CSS RESET & TOKENS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --color-primary: #0f2d4a;
  --color-primary-dark: #091c2e;
  --color-primary-light: #1a4773;
  --color-accent: #e85d04;
  --color-accent-hover: #d04f00;
  --color-accent-subtle: #fff3eb;
  --color-teal: #0d9488;
  --color-teal-light: #f0fdfa;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-subtle: #f1f5f9;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 45, 74, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(15, 45, 74, 0.08), 0 2px 4px -2px rgba(15, 45, 74, 0.05);
  --shadow-lg:
    0 10px 15px -3px rgba(15, 45, 74, 0.08),
    0 4px 6px -4px rgba(15, 45, 74, 0.04);
  --font-stack:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-height: 74px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-stack);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ANCHORS AND SKIP LINK */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
}
.skip-link:focus {
  top: 1rem;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem);
}
h2 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.35rem);
  margin-bottom: 2rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
p:last-child {
  margin-bottom: 0;
}
strong {
  color: var(--color-primary);
  font-weight: 600;
}
a {
  color: inherit;
  text-decoration: none;
}
address {
  font-style: normal;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.25);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  box-shadow: 0 6px 16px rgba(232, 93, 4, 0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--color-primary);
  background-color: #f8fafc;
}

/* ICON SYSTEM (INLINE SVG WRAPPERS) */
.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-lg {
  width: 2.25rem;
  height: 2.25rem;
}
.icon-primary {
  color: var(--color-primary);
}
.icon-teal {
  color: var(--color-teal);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  display: inline-flex;
  flex-shrink: 0;
}
.brand-logo img {
  display: block;
  height: 40px;
  width: auto;
}
.brand-logo-footer {
  background: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
}
.brand-logo-footer img {
  height: 36px;
}
@media (max-width: 480px) {
  .brand-logo img {
    height: 32px;
  }
  .brand-logo-footer img {
    height: 36px;
  }
  .header-inner {
    gap: 0.75rem;
  }
  .header-actions {
    gap: 0.25rem;
  }
  .site-header .brand-badge {
    display: none;
  }
  .site-header .btn {
    padding: 0.6rem 1rem;
    width: auto;
  }
}
@media (max-width: 360px) {
  .site-header .btn .icon {
    display: none;
  }
}
@media (max-width: 340px) {
  .header-phone {
    display: none;
  }
}
.brand-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--color-primary);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}
.brand-badge-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border-color: #334155;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: color 0.15s ease;
  padding: 0.5rem 0.25rem;
}
.nav-link:hover {
  color: var(--color-accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  padding: 0.5rem;
}
.header-phone:hover {
  color: var(--color-accent);
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .header-phone span {
    display: none;
  }
}

/* HERO SECTION (FOCUSED SINGLE COLUMN) */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  padding: 5rem 0 4rem 0;
  border-bottom: 1px solid var(--color-border);
}
.hero-center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero-center h1 {
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 auto 2rem auto;
  max-width: 680px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.hero-facts-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.hero-facts-line span.dot {
  color: var(--color-accent);
}
.hero-placeholder-box {
  background: #fffbeb;
  border: 1px dashed #d97706;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.9rem;
  color: #92400e;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* OFFER SECTION (4 CARDS) */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 768px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}
.offer-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  position: relative;
}
.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.offer-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.offer-card:nth-child(2) .offer-icon-wrapper {
  background: #eff6ff;
  color: #2563eb;
}
.offer-card:nth-child(3) .offer-icon-wrapper {
  background: var(--color-teal-light);
  color: var(--color-teal);
}
.offer-card:nth-child(4) .offer-icon-wrapper {
  background: #f5f3ff;
  color: #7c3aed;
}
.offer-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}
.offer-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.2s ease;
}
.offer-link:hover {
  gap: 0.65rem;
}
.offer-catalogue-banner {
  margin-top: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .offer-catalogue-banner {
    flex-direction: row;
    text-align: left;
  }
}
.offer-catalogue-banner p {
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0;
}

/* ZAMAWIANIE I DOSTAWA (3 STEPS) */
.order-section {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .order-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.step-card p {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 0;
}

/* SERWIS I SPRZĄTANIE (2 COMPACT CARDS) */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 860px) {
  .services-split {
    grid-template-columns: 1fr;
  }
}
.service-panel {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.panel-icon-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.panel-icon-title h3 {
  margin-bottom: 0;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--color-text-main);
}
.service-list li svg {
  color: var(--color-teal);
}

/* FAQ ACCORDION (CSS ONLY VIA DETAILS/SUMMARY) */
.faq-section {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}
.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--color-accent);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1rem;
}

/* CONTACT SECTION (2 COLUMNS) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-icon-box {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-meta h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}
.contact-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}
.contact-val a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
.contact-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}
.contact-note a {
  text-decoration: underline;
}
.contact-note a:hover {
  color: var(--color-accent);
}

.contact-action-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.contact-action-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.contact-action-card p {
  max-width: 400px;
  margin-bottom: 0;
}

/* FOOTER */
.site-footer {
  background: var(--color-primary-dark);
  color: #94a3b8;
  padding: 2.5rem 0;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-top-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-contact-inline {
  color: #cbd5e1;
  font-size: 0.95rem;
}
.footer-contact-inline a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-nav-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.footer-links-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-links-inline a {
  color: #94a3b8;
  transition: color 0.15s ease;
}
.footer-links-inline a:hover {
  color: #ffffff;
}
.footer-copy {
  color: #64748b;
}

/* RESPONSIVE UTILITIES */
@media (max-width: 640px) {
  .btn {
    width: 100%;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .footer-top-line,
  .footer-nav-line {
    flex-direction: column;
    align-items: flex-start;
  }
}
