:root {
  --bg: #232029;
  --surface: #2e2a37;
  --surface-hover: #353140;
  --text: #ede8e0;
  --muted: #b8b0a4;
  --gold: #d4a63c;
  --gold-soft: #edd98a;
  --gold-line: rgba(212, 166, 60, 0.20);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --ease: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", sans-serif;
  background: #1a1820;
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.shell {
  width: min(1100px, calc(100vw - 32px));
  margin: 0 auto;
}

/* ── HEADER ─────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(28, 26, 32, 0.82);
  border-bottom: 1px solid var(--gold-line);
}

.header-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

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

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--ease);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--ease);
}

.nav a:hover { color: var(--gold-soft); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--gold-soft); }
.nav a.active::after { width: 100%; }

/* ── HERO ────────────────────────────────────── */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--gold-line);
}

.hero--blog-photo {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 30%, rgba(212, 166, 60, 0.1), transparent 36%),
    linear-gradient(90deg, rgba(18, 16, 20, 1) 0%, rgba(18, 16, 20, 0.94) 42%, rgba(18, 16, 20, 0.84) 100%);
}

.hero--blog-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/blog-hero-flow-edges.webp") center 70% / auto 106% no-repeat;
  opacity: 1;
  filter: brightness(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 3%, #000 7%, #000 93%, rgba(0, 0, 0, 0.6) 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 3%, #000 7%, #000 93%, rgba(0, 0, 0, 0.6) 97%, transparent 100%);
}

.hero--blog-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 16, 20, 0.42) 0%, rgba(18, 16, 20, 0.16) 9%, rgba(18, 16, 20, 0.04) 18%, rgba(18, 16, 20, 0.04) 82%, rgba(18, 16, 20, 0.18) 92%, rgba(18, 16, 20, 0.54) 100%),
    linear-gradient(90deg, rgba(18, 16, 20, 0.78) 0%, rgba(18, 16, 20, 0.34) 18%, rgba(18, 16, 20, 0.06) 62%, rgba(18, 16, 20, 0.1) 84%, rgba(18, 16, 20, 0.34) 100%),
    linear-gradient(180deg, rgba(18, 16, 20, 0.01) 0%, rgba(18, 16, 20, 0.34) 100%);
}

.hero--blog-photo .shell {
  width: min(1100px, calc(100vw - 32px));
  position: relative;
  z-index: 2;
  padding-bottom: 50px;
}

.hero--blog-photo h1,
.hero--blog-photo .hero-lead {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.58);
}

.hero--blog-photo .eyebrow {
  background: rgba(18, 16, 20, 0.48);
  border: 1px solid rgba(212, 166, 60, 0.2);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-copy { padding: 8px 0; }

.hero-copy--full { max-width: 700px; }
.hero-copy--full .hero-lead { max-width: 600px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(212, 166, 60, 0.1);
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.75;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-stat {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--ease);
}

.hero-stat:hover {
  background: var(--surface-hover);
  border-color: rgba(212,166,60,0.35);
}

.hero-stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* ── ARTICLE GRID ────────────────────────────── */

.section {
  padding: 60px 0 40px;
}

/* więcej oddechu między kafelkami wpisów a stopką (tylko lista bloga) */
.section--list {
  padding-bottom: 120px;
}

.section-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 680px;
  font-size: 0.95rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,166,60,0.38);
  box-shadow: var(--shadow);
}

.card-cover {
  display: none;
}

.card-cover-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.card:hover .card-cover-bg {
  transform: scale(1.04);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.read-time {
  color: var(--muted);
  font-size: 0.78rem;
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--ease);
}

.link-arrow:hover { color: var(--gold-soft); gap: 10px; }

.link-arrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── ARTICLE PAGE ─────────────────────────────── */

.article-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--gold-line);
  background:
    radial-gradient(circle at 80% 0%, rgba(212,166,60,0.10), transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(100,60,140,0.12), transparent 50%);
}

.article-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  transition: var(--ease);
}

.back-link:hover { color: var(--gold-soft); }

.back-link svg { width: 14px; height: 14px; }

.article-tag {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(212, 166, 60, 0.1);
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 100%;
  color: var(--text);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.dot { color: var(--gold-line); }

/* ── ARTICLE BODY ─────────────────────────────── */

.article-body {
  padding: 48px 0 64px;
  max-width: 800px;
}

.article-body p {
  margin-bottom: 1.6em;
  font-size: 1.07rem;
  line-height: 1.85;
  color: var(--text);
}

.article-body p + p {
  margin-top: 0;
}

.article-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 2.4em 0 0.8em;
  color: var(--text);
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 12px;
}

.article-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 2em 0 0.6em;
  color: var(--gold-soft);
}

.article-body ul, .article-body ol {
  margin: 0 0 1.6em 0;
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 0.5em;
  color: var(--muted);
  font-size: 1rem;
}

.article-body strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.article-body em {
  color: var(--muted);
  font-style: italic;
}

.article-body a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(237, 217, 138, 0.38);
  transition: var(--ease);
}

.article-body a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.article-image {
  margin: 2em 0 2.2em;
}

.article-image--wide {
  width: 100%;
  max-width: 800px;
  margin-left: 0;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--gold-line);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 18px 42px rgba(0,0,0,0.30);
}

.article-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  text-align: left;
}

blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(212, 166, 60, 0.05);
  border-radius: 0 12px 12px 0;
}

blockquote p {
  margin: 0 !important;
  font-style: italic;
  color: var(--text) !important;
  font-size: 1.1rem !important;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

.article-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 3em 0;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.2em 0 1.6em;
  list-style: none;
  padding: 0;
}

.tech-list li {
  background: rgba(212,166,60,0.08);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.85rem;
  color: var(--gold-soft);
  margin: 0;
}

/* ── ARTICLE NAV ────────────────────────────── */

.article-nav {
  padding: 32px 0 56px;
  border-top: 1px solid var(--gold-line);
  margin-top: 8px;
}

.article-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--ease);
}

.nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.nav-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--gold-line);
  padding: 28px 0 48px;
}

.footer-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold-soft);
  transition: var(--ease);
}

.footer-links a:hover { color: var(--text); }

/* ── COOKIE ──────────────────────────────────── */

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(1020px, calc(100% - 24px));
  padding: 16px 22px;
  border-radius: 18px;
  background: rgba(28, 26, 32, 0.97);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
}

.cookie-bar.show { opacity: 1; visibility: visible; }

.cookie-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-bar a { color: var(--gold-soft); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  border: 1px solid var(--gold);
  transition: var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: #1a1500;
}

.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
}

.btn-ghost:hover { background: rgba(212,166,60,0.1); }

.cookie-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  padding: 20px;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
}

.cookie-modal.active { opacity: 1; visibility: visible; }

.cookie-modal-box {
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.cookie-modal-box h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cookie-modal-box p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.cookie-option {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-option input { margin-right: 10px; accent-color: var(--gold); }

.cookie-option-desc {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  padding-left: 22px;
}

.cookie-modal-btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav { gap: 16px; }
  .hero { padding: 48px 0 36px; }
  .article-hero { padding: 44px 0 28px; }
  .article-title {
    max-width: 100%;
    font-size: 1.95rem;
    line-height: 1.12;
  }
  .hero--blog-photo {
    min-height: 500px;
    background:
      radial-gradient(circle at 74% 34%, rgba(212, 166, 60, 0.08), transparent 42%),
      linear-gradient(180deg, rgba(18, 16, 20, 0.98) 0%, rgba(18, 16, 20, 0.92) 100%);
  }
  .hero--blog-photo::before {
    background-position: 66% 68%;
    background-size: auto 96%;
    opacity: 1;
    filter: brightness(1.08);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.46) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.66) 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.46) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.66) 92%, transparent 100%);
  }
  .hero--blog-photo::after {
    background:
      linear-gradient(90deg, rgba(18, 16, 20, 0.96) 0%, rgba(18, 16, 20, 0.64) 12%, rgba(18, 16, 20, 0.12) 28%, rgba(18, 16, 20, 0.12) 76%, rgba(18, 16, 20, 0.58) 92%, rgba(18, 16, 20, 0.96) 100%),
      linear-gradient(180deg, rgba(18, 16, 20, 0.08) 0%, rgba(18, 16, 20, 0.44) 62%, rgba(18, 16, 20, 0.78) 100%),
      linear-gradient(90deg, rgba(18, 16, 20, 0.82) 0%, rgba(18, 16, 20, 0.38) 48%, rgba(18, 16, 20, 0.12) 76%, rgba(18, 16, 20, 0.7) 100%);
  }
  .hero--blog-photo .shell {
    padding-bottom: 42px;
  }
  .hero--blog-photo .hero-copy,
  .hero--blog-photo .hero-lead {
    max-width: 320px;
    min-width: 0;
  }
  .hero--blog-photo .hero-lead {
    max-width: 320px;
  }
  .article-body {
    width: min(100%, 320px);
    max-width: 320px;
  }
  .article-body p,
  blockquote p {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  blockquote {
    max-width: 100%;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    min-width: 0;
  }
  .card h3 {
    font-size: 1.45rem;
    overflow-wrap: break-word;
  }
  .article-body { padding: 32px 0 48px; }
  .cookie-bar {
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-btns { width: 100%; }
}

/* ── WSPÓLNY HEADER + STOPKA (spójne ze stroną główną) ───────────── */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header#header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background: rgba(15, 15, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
}

header#header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header#header .logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 70%;
}

header#header .logo-image {
  height: 50px;
  width: auto;
  max-width: 100%;
  transition: var(--ease);
}

header#header .logo:hover .logo-image { transform: scale(1.05); }
header#header .logo span { color: #c0c0c0; }

header#header .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

header#header .nav-links li { margin-left: 30px; }

header#header .nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  transition: var(--ease);
  position: relative;
}

header#header .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--ease);
}

header#header .nav-links a:hover::after,
header#header .nav-links a.active::after { width: 100%; }
header#header .nav-links a.active { color: var(--gold-soft); }

header#header .hamburger { display: none; cursor: pointer; }
header#header .hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: var(--text);
  transition: var(--ease);
}

/* Stopka jak na stronie głównej (3 kolumny) */
footer.main-footer {
  background: transparent;
  color: var(--text);
  padding: 60px 0 30px;
  border-top: 1px solid var(--gold-line);
}

footer.main-footer .footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

footer.main-footer .footer-col { flex: 1; min-width: 200px; }

footer.main-footer .footer-col h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--gold);
  text-align: center;
}

footer.main-footer .footer-col p { color: var(--muted); }

footer.main-footer .footer-col ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

footer.main-footer .footer-col ul li { text-align: center; display: block; }

footer.main-footer .footer-col ul a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--ease);
}

footer.main-footer .footer-col ul a:hover { color: var(--gold); padding-left: 5px; }

footer.main-footer .copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

footer.main-footer .copyright a { color: var(--gold); text-decoration: none; }
footer.main-footer .copyright a:hover { color: var(--gold-soft); text-decoration: underline; }

@media (max-width: 768px) {
  header#header .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--ease);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  header#header .nav-links.active { right: 0; }
  header#header .nav-links li { margin: 15px 0; }
  header#header .hamburger { display: block; z-index: 1000; }
  header#header .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  header#header .hamburger.active span:nth-child(2) { opacity: 0; }
  header#header .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
  header#header .logo { max-width: 62%; font-size: 22px; }
  header#header .logo-image { height: 40px; }
  footer.main-footer .footer-container { flex-direction: column; gap: 30px; }
}

@media (max-width: 576px) {
  header#header .logo { max-width: 60%; font-size: 18px; gap: 8px; }
  header#header .logo-image { height: 32px; }
}
