/* ==========================================================================
   Smart Trade Services Sp. z o.o. (ST Services)
   Samodzielny arkusz stylów – architektura korporacyjna / Swiss editorial
   ========================================================================== */

:root {
  --radius: 0.25rem;
  --brand: #e38b16;
  --brand: oklch(72% 0.17 60);
  --brand-dark: #c4730b;
  --brand-dark: oklch(62% 0.17 58);
  --brand-foreground: #121821;
  --brand-foreground: oklch(18% 0.03 250);
  --ink: #161f2e;
  --ink: oklch(22% 0.04 250);
  --ink-soft: #223047;
  --ink-soft: oklch(29% 0.045 250);
  --background: #ffffff;
  --background: oklch(100% 0 0);
  --foreground: #020618;
  --foreground: oklch(12.9% 0.042 264.695);
  --primary: #152238;
  --primary: oklch(24% 0.05 250);
  --primary-foreground: #f8fafc;
  --primary-foreground: oklch(98.4% 0.003 247.858);
  --secondary: #f1f5f9;
  --secondary: oklch(96.8% 0.007 247.896);
  --secondary-foreground: #0f172b;
  --secondary-foreground: oklch(20.8% 0.042 265.755);
  --muted: #f1f5f9;
  --muted: oklch(96.8% 0.007 247.896);
  --muted-foreground: #53647d;
  --muted-foreground: oklch(50% 0.045 257);
  --border: #e2e8f0;
  --border: oklch(92.9% 0.013 255.508);

  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container-max: 72rem;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.6;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

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

/* Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-top: 4.5rem;
}

.section--lg {
  padding-top: 6rem;
}

.section--band {
  margin-top: 5.5rem;
  background-color: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 4.5rem;
}

.section--dark {
  margin-top: 5.5rem;
  background-color: var(--ink);
  color: var(--primary-foreground);
  padding-block: 4.5rem;
}

.font-display {
  font-family: var(--font-display);
}

.text-brand {
  color: var(--brand);
}

.text-ink {
  color: var(--ink);
}

.text-muted {
  color: var(--muted-foreground);
}

.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;
}

/* Top Utility Bar (Desktop) */
.topbar {
  display: none;
  background-color: var(--ink);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  line-height: 1rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.5rem;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.85;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar__link {
  opacity: 0.9;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.topbar__link:hover {
  color: var(--brand);
  opacity: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.96);
  background-color: color-mix(in oklab, var(--background) 96%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo__img {
  height: 2rem;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.65rem;
}

.nav-desktop__link {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding-block: 0.25rem;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-desktop__link:hover {
  color: var(--ink);
}

.nav-desktop__link.is-active {
  font-weight: 700;
  color: var(--ink);
}

.nav-desktop__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background-color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  background-color: var(--brand);
  color: var(--brand-foreground);
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.header-phone:hover {
  opacity: 0.9;
}

.nav-mobile {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile__link {
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.nav-mobile__link.is-active {
  font-weight: 700;
  color: var(--ink);
}

/* Breadcrumbs */
.breadcrumbs {
  border-bottom: 1px solid var(--border);
  background-color: var(--secondary);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.65rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.breadcrumbs__link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumbs__sep {
  opacity: 0.5;
}

.breadcrumbs__current {
  color: var(--ink);
  font-weight: 600;
}

/* Eyebrow & Section Headings */
.eyebrow {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-dark);
}

.section--dark .eyebrow {
  color: var(--brand);
}

.eyebrow__line {
  display: inline-block;
  height: 1px;
  width: 2rem;
  background-color: var(--brand);
  flex-shrink: 0;
}

.section-head {
  max-width: 46rem;
}

.section-head--split {
  max-width: none;
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.section-title {
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
}

.section--dark .section-title {
  color: var(--primary-foreground);
}

.section-lead {
  margin-top: 0.9rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.section--dark .section-lead {
  color: rgba(248, 250, 252, 0.78);
}

/* Home Hero */
.home-hero {
  padding-top: 3.25rem;
  padding-bottom: 2.5rem;
}

.home-hero__grid {
  display: grid;
  align-items: start;
  gap: 1.75rem;
}

.home-hero__title {
  font-size: 2.75rem;
  line-height: 1.04;
  font-weight: 800;
  color: var(--ink);
}

.home-hero__lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.home-hero__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Pillars Grid (Home) */
.pillars-grid {
  display: grid;
  gap: 1.25rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background-color: var(--background);
  transition: border-color 0.15s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--brand);
}

.pillar-card__media {
  overflow: hidden;
  background-color: var(--secondary);
}

.pillar-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card:hover .pillar-card__img {
  transform: scale(1.05);
}

.pillar-card__body {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  padding: 1.5rem;
}

.pillar-card__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.pillar-card__title {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.pillar-card__desc {
  margin-top: 0.55rem;
  flex: 1 1 0%;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.pillar-card__more {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s ease;
}

.pillar-card:hover .pillar-card__more {
  color: var(--brand-dark);
}

/* Stats / Pillars Trust Strip */
.stats-section {
  margin-top: 4.5rem;
}

.stats-grid {
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2.75rem;
}

.stats-item__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink);
}

.stats-item__desc {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* Subpage Header */
.page-header {
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
}

.page-header__inner {
  padding-block: 4rem;
}

.page-header__grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.page-header__title {
  max-width: 50rem;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
}

.page-header__lead {
  margin-top: 1.25rem;
  max-width: 46rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.page-header__meta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.meta-pill__dot {
  width: 0.45rem;
  height: 0.45rem;
  background-color: var(--brand);
  display: inline-block;
}

/* AEO Executive Answer Box */
.answer-box {
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  background-color: var(--secondary);
  padding: 1.75rem 2rem;
}

.answer-box__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-dark);
}

.answer-box__title {
  margin-top: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.answer-box__text {
  margin-top: 0.6rem;
  color: var(--ink);
  font-size: 0.975rem;
  line-height: 1.65;
}

/* Buttons */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--brand);
  color: var(--brand-foreground);
  padding: 0.8rem 1.55rem;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: opacity 0.15s ease;
  cursor: pointer;
}

.btn-brand:hover {
  opacity: 0.9;
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--ink);
  color: var(--primary-foreground);
  padding: 0.8rem 1.55rem;
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: opacity 0.15s ease;
  cursor: pointer;
}

.btn-ink:hover {
  opacity: 0.9;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--ink);
  background-color: transparent;
  color: var(--ink);
  padding: 0.8rem 1.55rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: var(--ink);
  color: var(--primary-foreground);
}

/* Shared CTA Banner */
.cta-section {
  margin-top: 5.5rem;
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem;
  border-left: 4px solid var(--brand);
  background-color: var(--secondary);
  padding: 2.5rem;
}

.cta-box__title {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink);
}

.cta-box__desc {
  margin-top: 0.5rem;
  max-width: 40rem;
  color: var(--muted-foreground);
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Editorial Split & Services Stack */
.services-stack {
  padding-top: 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.service-row {
  display: grid;
  align-items: center;
  gap: 2.75rem;
}

.service-row__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
}

.service-row__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.service-row__title {
  margin-top: 0.6rem;
  font-size: 1.875rem;
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink);
}

.service-row__desc {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.service-row__list {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.service-row__list-item {
  display: flex;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.service-row__bullet {
  margin-top: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  background-color: var(--brand);
}

/* Bordered Grid (Architectural Swiss Cards) */
.bordered-grid {
  margin-top: 2.5rem;
  display: grid;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background-color: var(--background);
}

.bordered-grid--flush {
  margin-top: 0;
}

.bordered-grid__cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
}

.bordered-grid__cell--link {
  display: flex;
  flex-direction: column;
  transition: background-color 0.15s ease;
}

.bordered-grid__cell--link:hover {
  background-color: var(--secondary);
}

.bordered-grid__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.bordered-grid__title {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.bordered-grid__title--spaced {
  margin-top: 0.65rem;
}

.bordered-grid__desc {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.bordered-grid__list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--ink);
}

.bordered-grid__list li {
  display: flex;
  gap: 0.55rem;
}

.bordered-grid__list li::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.5rem;
  background-color: var(--brand);
  flex-shrink: 0;
}

/* Dark Grid Cards */
.dark-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.dark-card {
  border: 1px solid rgba(248, 250, 252, 0.14);
  background-color: rgba(255, 255, 255, 0.03);
  padding: 1.75rem;
}

.dark-card__num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
}

.dark-card__title {
  margin-top: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.dark-card__desc {
  margin-top: 0.55rem;
  font-size: 0.925rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.75);
}

/* Process Steps */
.process-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.75rem;
}

.process-step {
  border-top: 2px solid var(--brand);
  padding-top: 1.25rem;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.process-step__title {
  margin-top: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.process-step__desc {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

/* GEO/AEO Specification Tables */
.data-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  background-color: var(--background);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 38rem;
  font-size: 0.925rem;
  text-align: left;
}

.data-table th {
  background-color: var(--ink);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.95rem 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.data-table td {
  padding: 0.95rem 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--ink);
  vertical-align: top;
}

.data-table tbody tr:nth-child(even) {
  background-color: var(--secondary);
}

.data-table td strong {
  font-weight: 700;
  color: var(--ink);
}

/* Local SEO Service Area Block */
.area-tags {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.area-tag {
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.area-tag--primary {
  border-color: var(--brand);
  background-color: var(--ink);
  color: var(--primary-foreground);
}

/* Wide Media Banner */
.wide-banner-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
}

.action-mt-8 {
  margin-top: 2rem;
}

.action-mt-12 {
  margin-top: 2.75rem;
}

/* AEO FAQ Accordions (Native HTML5 <details>) */
.faq-list {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q:hover {
  color: var(--brand-dark);
}

.faq-item__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.faq-item[open] .faq-item__icon {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--brand-foreground);
}

.faq-item__a {
  padding: 0 0.25rem 1.45rem;
  max-width: 54rem;
  font-size: 0.9625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Contact Page & Brief Form */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  padding-top: 3.5rem;
}

.contact-card {
  display: block;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 2rem;
  transition: border-color 0.15s ease;
}

a.contact-card:hover {
  border-color: var(--brand);
}

.contact-card__label {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-dark);
}

.contact-card__value {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
  word-break: break-word;
}

.contact-card__hint {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-card__company {
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-card__address {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.contact-layout {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.brief-form {
  border: 1px solid var(--border);
  background-color: var(--secondary);
  padding: 2.25rem;
}

.brief-form__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
}

.brief-form__lead {
  margin-top: 0.45rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.form-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.72rem 0.9rem;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form-rodo {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--brand);
  background-color: var(--background);
  font-size: 0.9rem;
  color: var(--ink);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.map-frame {
  width: 100%;
  height: 24rem;
  border: 1px solid var(--border);
}

.dept-quicklist {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.dept-quickitem {
  border: 1px solid var(--border);
  padding: 1.15rem 1.25rem;
  background-color: var(--background);
}

.dept-quickitem__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.dept-quickitem__desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* 404 Page */
.not-found {
  display: flex;
  min-height: 65vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.not-found__box {
  max-width: 30rem;
  text-align: center;
}

.not-found__code {
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}

.not-found__title {
  margin-top: 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.not-found__desc {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.not-found__cta {
  margin-top: 1.75rem;
}

/* Footer */
.site-footer {
  margin-top: 6rem;
  background-color: var(--ink);
  color: var(--primary-foreground);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

.footer-logo__img {
  height: 2.15rem;
  width: auto;
  display: block;
}

.site-footer__tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.74;
  max-width: 22rem;
}

.site-footer__col {
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.85;
}

.site-footer__heading {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  opacity: 1;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__link {
  transition: color 0.15s ease;
}

.site-footer__link:hover {
  color: var(--brand);
}

.site-footer__bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  padding-block: 1.35rem;
  font-size: 0.78rem;
  opacity: 0.62;
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: center;
}

/* Responsive Breakpoints */
@media (min-width: 40rem) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bordered-grid--2,
  .bordered-grid--3-md,
  .bordered-grid--3-lg,
  .dark-grid--2,
  .dark-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .topbar {
    display: block;
  }

  .brand-logo__img {
    height: 2.3rem;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .home-hero {
    padding-top: 4.5rem;
  }

  .home-hero__grid {
    grid-template-columns: 1.35fr 1fr;
  }

  .home-hero__title {
    font-size: 3.65rem;
  }

  .page-header__inner {
    padding-block: 4.75rem;
  }

  .page-header__title {
    font-size: 3.35rem;
  }

  .section-title {
    font-size: 2.35rem;
  }

  .section-head--split {
    grid-template-columns: 1.25fr 1fr;
  }

  .cta-box {
    flex-direction: row;
    align-items: center;
  }

  .cta-box__title {
    font-size: 1.85rem;
  }

  .service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row__img--reverse {
    order: 2;
  }

  .bordered-grid--3-md {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .site-footer__grid {
    grid-template-columns: 1.35fr 0.9fr 1fr 0.95fr;
  }

  .site-footer__bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 64rem) {
  .pillars-grid,
  .stats-grid,
  .dark-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bordered-grid--3-lg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* ==========================================================================
   Kurier STSERVICES – cennik, panel logowania, odzyskiwanie hasła, dokumenty
   ========================================================================== */

.pricing-controls {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: stretch;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  background-color: var(--secondary);
}

.pricing-tab {
  padding: 0.78rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted-foreground);
  background: transparent;
  cursor: pointer;
  border-right: 1px solid var(--border);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pricing-tab:last-child {
  border-right: 0;
}

.pricing-tab:hover {
  color: var(--ink);
  background-color: var(--background);
}

.pricing-tab.is-active {
  background-color: var(--ink);
  color: var(--primary-foreground);
}

.pricing-sort {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.pricing-sort__select {
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  color: var(--ink);
  cursor: pointer;
}

.pricing-panel {
  margin-top: 1.5rem;
}

.pricing-panel.is-hidden {
  display: none;
}

.courier-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  display: block;
}

.courier-eta {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  display: block;
  margin-top: 0.15rem;
}

.price-val {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.price-val--best {
  color: var(--brand-dark);
}

.btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand);
  color: var(--brand-foreground);
  padding: 0.48rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.btn-table:hover {
  opacity: 0.9;
}

.details-toggle {
  margin-top: 0.4rem;
  background: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spec-row {
  background-color: var(--secondary);
}

.spec-row.is-hidden {
  display: none;
}

.spec-grid {
  display: grid;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.spec-box__title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.spec-box__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.spec-box__list li::before {
  content: "— ";
  color: var(--brand-dark);
  font-weight: 700;
}

/* 5-step grid */
.process-grid--5 {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

/* Login & Password Reset Portal */
.auth-layout {
  padding-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.auth-card {
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 2.25rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.auth-tab {
  padding: 0.78rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  background-color: var(--secondary);
  color: var(--muted-foreground);
  cursor: pointer;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.auth-tab:last-child {
  border-right: 0;
}

.auth-tab.is-active {
  background-color: var(--ink);
  color: var(--primary-foreground);
}

.auth-pane.is-hidden {
  display: none;
}

.auth-card__title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
}

.auth-card__lead {
  margin-top: 0.45rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.password-wrap {
  position: relative;
  display: flex;
}

.password-wrap .form-input {
  padding-right: 4.75rem;
}

.password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}

.auth-row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  cursor: pointer;
}

.checkbox-label input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand);
}

.text-link-btn {
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--brand);
  background-color: var(--secondary);
  font-size: 0.9125rem;
  line-height: 1.6;
  color: var(--ink);
  display: none;
}

.auth-status.is-visible {
  display: block;
}

.auth-status--error {
  border-left-color: #b91c1c;
  background-color: #fef2f2;
}

.auth-aside {
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  background-color: var(--secondary);
  padding: 2.25rem;
}

.auth-aside__title {
  margin-top: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.auth-aside__lead {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
}

.auth-steps {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.auth-step {
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 1rem 1.15rem;
}

.auth-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.auth-step__desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.auth-links {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.auth-links a:hover {
  color: var(--brand-dark);
}

/* Legal pages (Regulamin / Polityka prywatności) */
.legal-wrap {
  padding-top: 3.5rem;
  max-width: 56rem;
}

.legal-box {
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  background-color: var(--secondary);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.legal-box h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.legal-article h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.legal-article p {
  margin-bottom: 1rem;
  color: var(--ink);
  line-height: 1.7;
}

.legal-article ul,
.legal-article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--ink);
}

.legal-article ul {
  list-style: disc;
}

.legal-article ol {
  list-style: decimal;
}

@media (min-width: 48rem) {
  .pricing-controls {
    flex-direction: row;
    align-items: center;
  }

  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (min-width: 64rem) {
  .process-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Logo kurier by STSERVICES */
.brand-logo__img--kurier {
  height: 2.65rem;
  width: auto;
}
.footer-logo__img--kurier {
  height: 2.85rem;
  width: auto;
}
@media (min-width: 48rem) {
  .brand-logo__img--kurier {
    height: 3.1rem;
  }
}
