/* ============================================================
   OFLAJN™ — Global Styles
   ============================================================ */

/* ── Logo text ───────────────────────────────────────────────── */
.logo-text {
  font-family: var(--font);
  font-size: 38px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -1px;
  line-height: 1;
  white-space: nowrap;
}
.logo-text--sm { font-size: 20px; }

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --cyan:        #00ccff;
  --navy:        #264797;
  --light-blue:  #e2f9ff;
  --white:       #ffffff;

  --container:   1296px;
  --gap:         80px;

  --radius-lg:   40px;
  --radius-md:   29px;
  --radius-sm:   10px;

  --font:        'Onest', sans-serif;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  min-width: 360px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: var(--font);
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 80px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .btn { width: 100%; justify-content: center; }
}

/* ── Typography helpers ──────────────────────────────────────── */
.h1 { font-size: 48px; font-weight: 300; line-height: 1.275; }
.h2 { font-size: 40px; font-weight: 300; line-height: 1.275; }
.h3 { font-size: 26px; font-weight: 300; line-height: 1.4; }
.body-lg { font-size: 26px; font-weight: 300; line-height: 1.4; }
.body-md { font-size: 18px; font-weight: 300; line-height: 1.6; }
.body-sm { font-size: 16px; font-weight: 300; line-height: 1.6; }

.text-cyan  { color: var(--cyan); }
.text-navy  { color: var(--navy); }
.text-white { color: var(--white); }

/* ── Button ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  padding: 20px 40px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { opacity: .85; transform: translateY(-2px); }

.btn--navy  { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--cyan  { background: var(--cyan); color: var(--navy); }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  height: 103px;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease);
}
.navbar.is-scrolled {
  box-shadow: 0 2px 24px rgba(38,71,151,.08);
}
.navbar .container {
  height: 100%;
}
.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar__logo img { height: 40px; display: block; }
.navbar__nav {
  display: flex;
  gap: 40px;
  align-items: center;
}
.navbar__nav a {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.275;
  color: var(--navy);
  position: relative;
  transition: opacity .2s var(--ease);
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width .25s var(--ease);
}
.navbar__nav a:hover { opacity: .65; }
.navbar__nav a:hover::after,
.navbar__nav a.is-active::after { width: 100%; }
.navbar__nav a.is-active { font-weight: 600; }

/* Hamburger (mobile) */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.navbar__burger span {
  display: block !important;
  height: 2px !important;
  background: var(--navy) !important;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.navbar__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.is-open span:nth-child(2) { opacity: 0; }
.navbar__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 103px;
  background: var(--white);
  z-index: 99;
  padding: 32px 16px;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-size: 26px;
  font-weight: 300;
  color: var(--navy);
  border-bottom: 1px solid var(--light-blue);
  padding-bottom: 16px;
}
.mobile-menu a.is-active { font-weight: 600; }

@media (max-width: 768px) {
  .navbar__nav  { display: none; }
  .navbar__burger { display: flex; }
  .navbar__logo .logo-text { font-size: 26px; }
}


/* ============================================================
   PAGE HEADER BAR (inner pages)
   ============================================================ */
.page-header {
  border-top: 1px solid var(--cyan);
  padding: 24px 0 0;
  margin-bottom: 40px;
}
.page-header h1 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.275;
  color: var(--navy);
}

@media (max-width: 768px) {
  .page-header { margin-bottom: 40px; }
  .page-header h1 { font-size: 28px; }
}


/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  padding-top: 30px;
}
.hero .container {
  padding: 0;
}
.hero__container {
  position: relative;
  aspect-ratio: 1296 / 719;
}
.hero__image {
  position: absolute;
  left: 0;
  top: 0;
  width: 87.5%;
  height: 88.87%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__card {
  position: absolute;
  right: 0;
  top: 11.13%;
  width: 40.2%;
  height: 65.37%;
  border-radius: var(--radius-lg);
  background: var(--cyan);
  padding: 40px;
  display: flex;
  align-items: flex-start;
}
.hero__title {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.275;
  color: var(--white);
}
.hero__title strong {
  color: var(--navy);
  font-weight: 300;
}

@media (max-width: 768px) {
  .hero { padding-top: 16px; }
  .hero .container { padding: 0 16px; }
  .hero__container { aspect-ratio: unset; height: auto; display: flex; flex-direction: column; gap: 0; }
  .hero__image {
    position: static;
    width: 100%;
    height: 184px;
    border-radius: 20px;
  }
  .hero__card {
    position: static;
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-top: -20px;
    padding: 24px 20px;
    min-height: 180px;
  }
  .hero__title { font-size: 26px; }
}


/* ============================================================
   HERO IMAGE (inner pages)
   ============================================================ */
.page-hero {
  margin-bottom: var(--gap);
}
.page-hero img {
  width: 100%;
  height: 728px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .page-hero { margin-bottom: 40px; }
  .page-hero img { height: 200px; border-radius: 20px; }
}


/* ============================================================
   DESCRIPTION SECTION (Home)
   ============================================================ */
.description-section {
  margin: var(--gap) auto 0;
  max-width: var(--container);
  box-shadow: inset 0 0 0 31px var(--light-blue);
  border-radius: var(--radius-lg);
  padding-bottom: 98px;
}
.description__top {
  padding: 80px 80px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.description__text {
  flex: 1;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
}
.description__divider {
  height: 1px;
  background: var(--cyan);
  margin: 80px 80px 0;
}
.description__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 30px;
  border: 1px solid var(--cyan);
  border-radius: 170px;
  margin: 30px 80px 0;
  cursor: pointer;
  background: var(--cyan);
  transition: transform .3s var(--ease);
}
.description__arrow.is-open { transform: rotate(180deg); }

/* Foldout */
.foldout {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s var(--ease);
  padding: 0 80px;
}
.foldout.is-open { max-height: 800px; }
.foldout__text {
  padding-top: 32px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--navy);
}

@media (max-width: 768px) {
  .description-section {
    box-shadow: inset 0 0 0 10px var(--light-blue);
    border-radius: 20px;
    padding-bottom: 40px;
    margin-top: 40px;
    margin-left: 16px;
    margin-right: 16px;
  }
  .description__top {
    padding: 24px 16px 0;
    flex-direction: column;
    gap: 24px;
  }
  .description__text { font-size: 18px; font-weight: 500; }
  .description__divider { margin: 32px 16px 0; }
  .description__arrow { margin: 16px 16px 0; }
  .foldout { padding: 0 16px; }
}


/* ============================================================
   PRODUCT IMAGE (Home)
   ============================================================ */
.product-image {
  display: block;
  width: 100%;
  max-width: 782px;
  margin: 60px auto 0;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .product-image { margin-top: 40px; border-radius: 20px; }
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how__title {
  font-size: 48px; font-weight: 300; line-height: 1.275;
  margin-bottom: 40px;
}
.how__steps {
  display: flex;
  gap: 120px;
  align-items: flex-start;
  padding: 0 48px;
}
.step {
  flex: 1;
  position: relative;
  min-width: 0;
}
.step__image {
  position: relative;
  width: 100%;
  aspect-ratio: 320/234;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.step__image-inner {
  width: 100%; height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.step__image-inner img { width: 100%; height: 100%; object-fit: cover; }
.step__badge {
  position: absolute;
  left: 20px;
  bottom: -26px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 26px;
  color: var(--white);
  z-index: 1;
}
.step__text {
  margin-top: 46px;
  font-size: 26px; font-weight: 300; line-height: 1.4;
}
.how__video {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  margin-bottom: var(--gap);
}
.how__cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .how { padding: 40px 0; }
  .how__title { font-size: 26px; margin-bottom: 24px; }
  .how__video { border-radius: 20px; margin-bottom: 40px; }
  .how__steps { flex-direction: column; gap: 50px; padding: 0; }
  .step__badge { top: calc(100% * 234/320 - 44px); }
  .step__text  { margin-top: 36px; font-size: 18px; }
}


/* ============================================================
   BENEFITS (Korzyści page)
   ============================================================ */
.benefits-hero {
  margin-bottom: 80px;
}
.benefits-bordered {
  box-shadow: inset 0 0 0 31px var(--light-blue);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  margin-bottom: var(--gap);
  padding: 80px 80px 60px;
}
.benefits-bordered__title {
  font-size: 48px; font-weight: 300; line-height: 1.275;
  color: var(--navy);
  margin-bottom: 40px;
}
.benefits-bordered__body {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.benefits-bordered__image {
  flex: 0 0 375px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.benefits-bordered__image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.benefits-bordered__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.benefits-bordered__cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.benefit-item__title {
  font-size: 26px; font-weight: 300;
  color: var(--cyan);
  margin-bottom: 6px;
}
.benefit-item__desc {
  font-size: 16px; font-weight: 300; line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: var(--gap);
  padding: 0 80px;
}
.benefits-grid-item__title {
  font-size: 26px; font-weight: 300;
  color: var(--cyan);
  margin-bottom: 10px;
}
.benefits-grid-item__text {
  font-size: 16px; font-weight: 300; line-height: 1.6;
  margin-bottom: 8px;
}
.benefits-grid-item__list {
  font-size: 16px; font-weight: 300; line-height: 1.6;
  list-style: disc;
  padding-left: 20px;
}
.benefits-grid-item__list li + li { margin-top: 4px; }

.benefits-research {
  background: var(--light-blue);
  border-radius: var(--radius-lg);
  padding: 60px 80px;
  margin-bottom: var(--gap);
}
.benefits-research__title {
  font-size: 48px; font-weight: 300;
  margin-bottom: 40px;
}
.benefits-research__text {
  font-size: 16px; font-weight: 300; line-height: 1.7;
}
.benefits-research__text--lg {
  font-size: 26px;
  max-width: 696px;
  margin-left: 350px;
}
.benefits-research__text p + p { margin-top: 16px; }
.benefits-research__text strong { font-weight: 600; }

@media (max-width: 768px) {
  .benefits-bordered {
    flex-direction: column;
    padding: 16px;
    border-radius: 20px;
  }
  .benefits-bordered__image { flex: none; height: 220px; }
  .benefits-bordered { box-shadow: inset 0 0 0 10px var(--light-blue); border-radius: 20px; padding: 24px 16px; }
  .benefits-bordered__title { font-size: 26px; margin-bottom: 20px; }
  .benefits-bordered__body { flex-direction: column; gap: 20px; }
  .benefits-bordered__image { flex: none; width: 100%; aspect-ratio: 4/3; }
  .benefits-bordered__list { gap: 20px; padding-top: 0; }
  .benefits-bordered__cta { margin-top: 24px; }
  .benefits-grid { grid-template-columns: 1fr; padding: 0; gap: 24px; }
  .benefits-research { padding: 32px 16px; border-radius: 20px; }
  .benefits-research__title { font-size: 28px; }
  .benefits-research__text--lg { margin-left: 0; max-width: 100%; font-size: 18px; }
}


/* ============================================================
   IMPLEMENTATION (Wdrożenie page)
   ============================================================ */
.implementation-intro {
  font-size: 48px; font-weight: 300; line-height: 1.275;
  color: var(--navy);
  max-width: 856px;
  margin-bottom: var(--gap);
}
.implementation-intro__highlight { color: var(--cyan); }
.implementation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: var(--gap);
}
.impl-item__title {
  font-size: 26px; font-weight: 300;
  color: var(--cyan);
  margin-bottom: 8px;
}
.impl-item__text {
  font-size: 16px; font-weight: 300; line-height: 1.6;
}
.implementation-post {
  font-size: 26px; font-weight: 300; line-height: 1.4;
  max-width: 696px;
  margin: 0 auto var(--gap);
  text-align: center;
}

@media (max-width: 768px) {
  .implementation-intro { font-size: 22px; margin-bottom: 40px; }
  .implementation-grid  { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .implementation-post  { font-size: 18px; text-align: left; margin-bottom: 40px; }
}


/* ============================================================
   SPECS (Specyfikacja page)
   ============================================================ */
.specs-section {
  box-shadow: inset 0 0 0 31px var(--light-blue);
  border-radius: var(--radius-lg);
  margin-bottom: var(--gap);
}
.specs-row {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding: 80px 80px;
}
.specs-row__image {
  flex: 0 0 244px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.specs-row__image img { max-width: 244px; object-fit: contain; }
.specs-row--opener .specs-row__image img { max-width: 166px; }
.specs-row__content { flex: 1; }
.specs-row__title {
  font-size: 48px; font-weight: 300;
  color: var(--cyan);
  margin-bottom: 16px;
}
.specs-row__desc {
  font-size: 26px; font-weight: 300; line-height: 1.4;
  margin-bottom: 16px;
}
.specs-row__list {
  font-size: 16px; font-weight: 300; line-height: 1.4;
  margin-top: 40px;
}
.specs-row__list li { padding-left: 12px; position: relative; }
.specs-row__list li + li { margin-top: 8px; }
.specs-row__list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--navy);
}
.specs-divider {
  height: 1px;
  background: var(--cyan);
  margin: 0 80px;
}

@media (max-width: 768px) {
  .specs-section {
    box-shadow: inset 0 0 0 10px var(--light-blue);
    border-radius: 20px;
  }
  .specs-row { flex-direction: column; gap: 24px; padding: 24px 16px; }
  .specs-row__image { align-self: center; }
  .specs-row__title { font-size: 28px; }
  .specs-row__desc  { font-size: 18px; }
  .specs-divider    { margin: 0 16px; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page__subtitle {
  font-size: 26px; font-weight: 300; line-height: 1.4;
  margin-bottom: 40px;
}
.contact-page__layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: var(--gap);
}
.contact-page__info {
  flex: 1;
}
.contact-page__company-name {
  font-size: 48px; font-weight: 300; line-height: 1.275;
  margin-bottom: 16px;
}
.contact-page__company-addr {
  font-size: 26px; font-weight: 300; line-height: 1.4;
  white-space: pre-line;
}
.contact-page__form-wrap {
  flex: 0 0 550px;
  background: var(--light-blue);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-field {
  margin-bottom: 30px;
}
.form-field:last-child { margin-bottom: 0; }
.form-field label {
  display: block;
  font-size: 16px; font-weight: 300;
  margin-bottom: 10px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 15px;
  font-size: 16px; font-weight: 300;
  color: var(--navy);
  border: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
}
.form-field textarea { resize: vertical; min-height: 186px; }
.form__submit { margin-top: 30px; }
.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 300;
  margin-bottom: 20px;
}
.form-feedback.is-success { display: block; background: #d4f4e7; color: #1a5c3a; }
.form-feedback.is-error   { display: block; background: #fde8e8; color: #8b1a1a; }

@media (max-width: 768px) {
  .contact-page__layout { flex-direction: column; gap: 32px; }
  .contact-page__form-wrap { flex: none; width: 100%; padding: 24px 16px; border-radius: 20px; }
  .contact-page__company-name { font-size: 28px; }
}


/* ============================================================
   CONTACT CARD (cyan, shared bottom-of-page section)
   ============================================================ */
.contact-card {
  background: var(--cyan);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.contact-card__heading {
  font-size: 48px; font-weight: 300; line-height: 1.275;
  color: var(--white);
}
.contact-card__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.contact-card__row {
  display: flex;
  align-items: center;
  gap: 30px;
}
.contact-card__icon { width: 36px; height: 36px; flex-shrink: 0; }
.contact-card__link {
  font-size: 38px; font-weight: 300; line-height: 1.275;
  color: var(--navy);
}
.contact-card__icon [stroke] { stroke: var(--navy); }
.contact-card__icon [fill="white"] { fill: var(--navy); }
.contact-card__cta {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .contact-card { border-radius: 20px; padding: 24px 16px; gap: 32px; }
  .contact-card__heading { font-size: 28px; }
  .contact-card__link   { font-size: 22px; }
  .contact-card__cta    { justify-content: flex-start; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
}
.footer__top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.footer__logo {
  flex-shrink: 0;
  display: flex; align-items: center;
}
.footer__logo img { height: 28px; display: block; }
.footer__nav {
  display: flex;
  gap: 70px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.footer__nav a {
  font-size: 16px; font-weight: 300;
  color: var(--navy);
  transition: opacity .2s var(--ease);
}
.footer__nav a:hover { opacity: .65; }
.footer__nav a.is-active { font-weight: 600; }
.footer__divider {
  height: 1px;
  background: rgba(38,71,151,.2);
  margin-bottom: 40px;
}
.footer__bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__col {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--navy);
  white-space: pre-line;
  display: flex;
  flex-direction: column;
}
.footer__col a { transition: opacity .2s var(--ease); }
.footer__col a:hover { opacity: .65; }
.footer__copy {
  margin-top: 24px;
  font-size: 14px; font-weight: 300;
  color: var(--navy);
  opacity: .7;
}

@media (max-width: 768px) {
  .footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__nav { flex-direction: column; gap: 16px; align-items: flex-start; justify-content: flex-start; }
  .footer__bottom { grid-template-columns: 1fr; gap: 20px; }
}


/* ============================================================
   LEGAL PAGES (Polityka cookies / prywatności)
   ============================================================ */
.legal-page {
  padding-bottom: 80px;
}
.legal-section {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 48px 0;
  border-bottom: 1px solid var(--light-blue);
}
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child  { border-bottom: none; }
.legal-section__num {
  flex: 0 0 56px;
  font-size: 48px; font-weight: 300; line-height: 1;
  color: var(--cyan);
  padding-top: 2px;
}
.legal-section__body {
  flex: 1;
  font-size: 16px; font-weight: 300; line-height: 1.7;
}
.legal-section__title {
  font-size: 26px; font-weight: 300;
  color: var(--navy);
  margin-bottom: 14px;
}
.legal-section__body p + p  { margin-top: 10px; }
.legal-section__body ul {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0;
}
.legal-section__body ul li + li { margin-top: 4px; }
.legal-section__body a { color: var(--navy); text-decoration: underline; }
.legal-section__body a:hover { opacity: .65; }

@media (max-width: 768px) {
  .legal-page { padding-bottom: 40px; }
  .legal-section { flex-direction: column; gap: 12px; padding: 32px 0; }
  .legal-section__num { font-size: 32px; }
  .legal-section__title { font-size: 20px; }
}


/* ============================================================
   SECTION SPACING
   ============================================================ */
.section-gap { margin-top: var(--gap); }
.section-gap--sm { margin-top: 40px; }

.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes anim-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes anim-slide-left {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: none; }
}
@keyframes anim-slide-right {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: none; }
}
@keyframes anim-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.page-header h1 {
  animation: anim-fade-up 0.6s var(--ease) both;
}
.hero__image {
  animation: anim-slide-left 0.85s var(--ease) both;
}
.hero__card {
  animation: anim-slide-right 0.85s var(--ease) 0.2s both;
}
.page-hero img {
  animation: anim-fade 0.8s var(--ease) both;
}

.anim-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--anim-delay, 0s);
}
.anim-ready.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .anim-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .page-header h1,
  .hero__image,
  .hero__card,
  .page-hero img {
    animation: none !important;
  }
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .anim-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .page-header h1,
  .hero__image,
  .hero__card,
  .page-hero img {
    animation: none !important;
  }
  .btn:hover { transform: none; }
}

/* ── Cookie banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 40px));
  width: calc(100% - 32px);
  max-width: 680px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(38,71,151,.3);
  z-index: 9999;
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--cyan);
  text-decoration: underline;
}

.cookie-banner__btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: opacity .2s;
}

.cookie-banner__btn:hover { opacity: .8; }

.cookie-banner__btn--solid {
  background: var(--cyan);
  color: var(--navy);
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    padding: 16px;
    gap: 14px;
  }
  .cookie-banner__btns { justify-content: flex-end; }
}

/* ── Archiwum kategorii (uniwersalne: aktualności, blog, itp.) ─ */
.archive { padding-bottom: 96px; }

.archive__count {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 300;
  color: var(--cyan);
}

.archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.archive-card {
  background: var(--white);
  border: 1px solid var(--light-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.archive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(38,71,151,.12);
}
.archive-card__link { display: flex; flex-direction: column; height: 100%; }

.archive-card__thumb {
  aspect-ratio: 16 / 10;
  background: var(--light-blue);
  overflow: hidden;
}
.archive-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.archive-card:hover .archive-card__thumb img { transform: scale(1.05); }

.archive-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  flex: 1;
}
.archive-card__date {
  font-size: 13px;
  font-weight: 400;
  color: var(--cyan);
  text-transform: capitalize;
}
.archive-card__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
}
.archive-card__excerpt {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--navy);
  opacity: .8;
}
.archive-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cyan);
}

.archive__empty {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  padding: 60px 0;
}

.archive__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.archive__pagination a,
.archive__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-blue);
  font-size: 15px;
  color: var(--navy);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.archive__pagination a:hover { background: var(--light-blue); }
.archive__pagination [aria-current] span {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

@media (max-width: 980px) {
  .archive__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .archive__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   ARTYKUŁ (pojedynczy wpis)
   ============================================================ */
.article {
  padding-bottom: 96px;
}

/* Data · czas czytania · kategoria — pod tytułem w page-header */
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  opacity: .6;
  text-transform: capitalize;
}
.article__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}
.article__cat-link {
  color: var(--cyan);
  font-weight: 500;
  opacity: 1;
  transition: opacity .2s var(--ease);
}
.article__cat-link:hover { opacity: .7; }

/* Kolumna czytelnicza wyśrodkowana na stronie */
.article__content {
  max-width: 780px;
  margin: 0 auto;
}
.article__lead {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--navy);
  opacity: .82;
  margin-bottom: 8px;
}

/* ── Typografia treści (.cm-content z edytora) ──────────────── */
.article__content .cm-content {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--navy);
}
.article__content .cm-content > * + * { margin-top: 1.4em; }

.article__content .cm-content h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 1.8em;
  color: var(--navy);
}
.article__content .cm-content h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 1.6em;
  color: var(--navy);
}
.article__content .cm-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 1.4em;
  color: var(--navy);
}
.article__content .cm-content p { margin: 0; }
.article__content .cm-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color .2s var(--ease);
}
.article__content .cm-content a:hover { color: var(--cyan); }

.article__content .cm-content strong { font-weight: 600; }

.article__content .cm-content ul,
.article__content .cm-content ol {
  padding-left: 1.4em;
  margin: 1.2em 0;
}
.article__content .cm-content ul { list-style: disc; }
.article__content .cm-content ol { list-style: decimal; }
.article__content .cm-content li + li { margin-top: .5em; }
.article__content .cm-content li::marker { color: var(--cyan); }

.article__content .cm-content img,
.article__content .cm-content figure img {
  border-radius: var(--radius-sm);
}

.article__content .cm-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--cyan);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}

.article__content .cm-content hr {
  border: none;
  height: 1px;
  background: var(--light-blue);
  margin: 2.4em 0;
}

@media (max-width: 640px) {
  .article { padding-bottom: 64px; }
  .article__lead { font-size: 19px; }
  .article__content .cm-content { font-size: 16px; line-height: 1.75; }
  .article__content .cm-content h2 { font-size: 26px; }
  .article__content .cm-content h3 { font-size: 21px; }
}
