/* Smartklimat – inteligentny komfort (brief palette: white, light grey, navy) */

:root {
  --navy: #0a2540;
  --navy-2: #1e3a5f;
  --ink: #0a2540;
  --text: #1a1a1a;
  --muted: #4b5563;
  --subtle: #6b7280;
  --bg: #ffffff;
  --soft: #f8fafc;
  --soft-2: #f5f7fa;
  --tint: #e9eff6;
  --line: #e3e8ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 37, 64, 0.04), 0 8px 24px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 2px 4px rgba(10, 37, 64, 0.05), 0 18px 40px rgba(10, 37, 64, 0.12);
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
figure { margin: 0; }

a { color: var(--navy-2); }
a:hover { color: var(--navy); }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 5.4vw, 2.75rem); }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.25rem); }
h3 { font-size: 1.15rem; }
.h-sm { font-size: 1.3rem; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid #5b8fd1; outline-offset: 2px; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 60;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 2rem; }

.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(10, 37, 64, 0.22); }
.btn-navy:hover, .btn-navy:focus-visible, .btn-navy.is-active { background: var(--navy-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: #cfd8e3; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }

/* Header */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.2s ease;
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(10, 37, 64, 0.08); }

.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-block; flex: 0 0 auto; }
.brand img { width: auto; height: 26px; }

.nav-desk { display: none; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.4rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.menu-lines { display: grid; gap: 4px; width: 20px; }
.menu-lines span { display: block; height: 2px; background: currentColor; border-radius: 2px; }

.sheet[hidden] { display: none; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; }
.sheet-backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: rgba(10, 37, 64, 0.45);
  -webkit-appearance: none;
  appearance: none;
}
.sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 88%);
  background: #fff;
  padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -12px 0 32px rgba(10, 37, 64, 0.14);
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; color: var(--navy); }
.sheet-panel > a:not(.btn) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.sheet-panel > a[aria-current] strong { text-decoration: underline; text-underline-offset: 4px; }
.sheet-icon { display: inline-flex; color: var(--navy-2); }
.sheet-panel .btn { margin-top: 1.25rem; }

body.menu-open { overflow: hidden; }

/* Sections */

.section { padding: 56px 0; }
.section-tight { padding: 8px 0 48px; }
.section-soft { background: var(--soft-2); }

.section-head {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.section-head-row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  text-align: left;
}
.section-head-row > div { max-width: 680px; }
.section-head-row h2 { margin-bottom: 0.3em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: var(--navy-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow .icon { width: 1.3em; height: 1.3em; }

.lead { color: var(--muted); font-size: 1.08rem; }

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.8rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checks .icon {
  width: 1.4em;
  height: 1.4em;
  padding: 0.22em;
  margin-top: 0.08em;
  border-radius: 50%;
  background: var(--tint);
  color: var(--navy);
  stroke-width: 2.4;
}

/* Hero (home) */

.hero { position: relative; background: var(--soft); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-inner { position: relative; padding-top: 32px; padding-bottom: 48px; }
.hero-copy h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); line-height: 1.07; letter-spacing: -0.025em; margin-bottom: 1rem; }
.hero-intro { font-size: 1.1rem; color: #26323f; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* Benefits */

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.benefits li {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.benefits h3 { margin: 1rem 0 0.4rem; font-size: 1.12rem; }
.benefits p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.benefit-icon, .tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--navy);
}
.benefit-icon .icon { width: 26px; height: 26px; }
.section-soft .benefits li { border-color: transparent; }

/* Category tiles */

.tiles { display: grid; gap: 1.25rem; }
.tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tile:hover { border-color: transparent; box-shadow: var(--shadow-lg); -webkit-transform: translateY(-3px); transform: translateY(-3px); color: var(--text); }
.tile-media, .guide-media { display: block; overflow: hidden; background: var(--tint); }
.tile-media img, .guide-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: -webkit-transform 0.4s ease; transition: transform 0.4s ease; }
.tile:hover img, .guide-card:hover img { -webkit-transform: scale(1.04); transform: scale(1.04); }
.tile-body { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; gap: 0.35rem; padding: 2.1rem 1.3rem 1.3rem; }
.tile-body .tile-icon { position: absolute; top: -26px; left: 1.2rem; background: #fff; box-shadow: var(--shadow); }
.tile-icon .icon { width: 24px; height: 24px; }
.tile strong { color: var(--ink); font-size: 1.18rem; line-height: 1.3; }
.tile-lead { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding-top: 0.7rem; color: var(--navy-2); font-size: 0.95rem; font-weight: 600; }
.more .icon { width: 1em; height: 1em; transition: -webkit-transform 0.2s ease; transition: transform 0.2s ease; }
.tile:hover .more .icon, .guide-card:hover .more .icon { -webkit-transform: translateX(3px); transform: translateX(3px); }

/* Split sections */

.split { display: grid; gap: 2.25rem; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.app-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--tint) 70%);
  overflow: hidden;
}
.app-media img { width: 100%; max-width: 340px; height: auto; mix-blend-mode: multiply; }
.seo-text { color: var(--muted); font-size: 0.96rem; padding-top: 1.25rem; border-top: 1px solid var(--line); margin-bottom: 1.25rem; }

.values { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.values li { padding: 1rem 1.2rem; border-left: 3px solid var(--navy); background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.values strong { display: block; color: var(--ink); }
.values span { color: var(--muted); font-size: 0.95rem; }

/* Guides */

.guide-grid { display: grid; gap: 1.25rem; }
.guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.guide-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); color: var(--text); }
.section-soft .guide-card { border-color: transparent; box-shadow: var(--shadow); }
.guide-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 0.4rem; padding: 1.2rem 1.3rem 1.3rem; }
.guide-meta { color: var(--subtle); font-size: 0.82rem; }
.guide-card strong { color: var(--ink); font-size: 1.15rem; line-height: 1.35; }
.guide-lead { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); text-decoration: none; }
.pager .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Category hero */

.cat-hero { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); padding: 28px 0 40px; }
.cat-hero-grid { display: grid; gap: 1.75rem; align-items: center; }
.cat-hero-copy h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.12; }
.cat-hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.cat-hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.crumbs { margin: 0 0 1rem; color: var(--subtle); font-size: 0.85rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 0.45rem; }

.cat-pills { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-pills-row {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-pills-row::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.pill:hover { border-color: var(--navy); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Device types */

.types { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.type {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.type-media { display: block; background: #fff; padding: 1rem 1rem 0; }
.type-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.type-body { padding: 1rem 1.2rem 1.3rem; }
.type h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.type p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

.features {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.features h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.features .checks { margin: 0; }

/* Prose */

.prose h2 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose .checks { margin-top: 0.4rem; }

.table-wrap {
  margin: 0.5rem 0 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 0.8rem 0.95rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 600; }
tbody tr:nth-child(even) { background: var(--soft); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { color: var(--ink); font-weight: 600; }

/* FAQ */

.faqs { border-top: 1px solid var(--line); margin-bottom: 1rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.1rem 2.75rem 1.1rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 2rem;
  text-align: center;
}
.faq[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 0 1.2rem; color: var(--muted); }
.faq-body p { margin: 0; }

/* Page band, posts */

.page-band { background: var(--soft); padding: 36px 0 40px; }
.page-band h1 { margin-bottom: 0.5rem; }
.page-band .lead { margin: 0.75rem 0 0; }
.post-meta { margin: 1rem 0 0; color: var(--subtle); font-size: 0.9rem; }
.section.section-post { padding-top: 0; }
.post-media { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.post-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-band { padding-bottom: 32px; }
.post-band + .section-post { background: linear-gradient(180deg, var(--soft) 0, var(--soft) 120px, #fff 120px); }

.entry ul, .entry ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.entry li { margin-bottom: 0.45rem; }
.entry li::marker { color: var(--navy-2); }
.entry a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry img { border-radius: var(--radius-sm); }
.entry figure { margin: 0 0 1.5rem; }
.entry .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cat-links { display: grid; gap: 0.75rem; }
.cat-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cat-link:hover { border-color: transparent; box-shadow: var(--shadow-lg); color: var(--muted); }
.cat-link strong { display: block; color: var(--ink); font-size: 1rem; }
.cat-link .tile-icon { flex: 0 0 auto; }

/* Footer */

.site-footer { background: var(--navy); color: #b8c4d3; padding: 56px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand img { height: 28px; width: auto; -webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1); }
.footer-tag { margin: 0.4rem 0 1rem; color: #fff; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: lowercase; }
.footer-brand p:last-child { max-width: 340px; }
.footer-col { display: grid; gap: 0.5rem; align-content: start; }
.footer-col strong { color: #fff; margin-bottom: 0.3rem; }
.footer-col a { color: #cdd7e3; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 18px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa0b5;
  font-size: 0.85rem;
}

#rozwiazania, #kategorie, #aplikacja, #o-marce, #cechy, #porady { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Tablet */

@media (min-width: 640px) {
  .tiles, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .types-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2rem; }
  .features { padding: 2rem 2.25rem; }
}

/* Desktop */

@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .brand img { height: 32px; }
  .section { padding: 88px 0; }
  .section-tight { padding: 16px 0 64px; }

  .hero { min-height: 620px; display: flex; align-items: center; }
  .hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
  .hero-media img { height: 100%; aspect-ratio: auto; object-position: 70% center; }
  .hero-media::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.97) 0%, rgba(248, 250, 252, 0.9) 36%, rgba(248, 250, 252, 0.35) 62%, rgba(248, 250, 252, 0) 80%);
  }
  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .hero-copy { max-width: 560px; }

  .benefits-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .tiles, .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; }

  .cat-hero { padding: 48px 0 64px; }
  .cat-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; }
  .types-2 { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 2rem; }
  .types-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .checks-2 { gap: 1rem 3rem; }

  .page-band { padding: 56px 0; }
  .post-band { padding-bottom: 40px; }
  .cat-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 2.5rem; }
}

@media (min-width: 1140px) {
  .menu-btn { display: none; }
  .cat-pills { display: none; }
  .nav-desk { display: flex; align-items: center; gap: 1.5rem; }
  .nav-link { position: relative; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 0.4rem 0; }
  .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--navy); -webkit-transform: scaleX(0); transform: scaleX(0); transition: -webkit-transform 0.2s ease; transition: transform 0.2s ease; }
  .nav-link:hover::after, .nav-link.is-active::after { -webkit-transform: scaleX(1); transform: scaleX(1); }
  .nav-link:hover, .nav-link.is-active { color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .tile-media img, .guide-media img, .more .icon, .nav-link::after { transition: none; }
}
