/* =============================================
   JASE, spol. s r.o. — 2026
   Breakpoints: 600px (tablet), 860px (desktop)
   ============================================= */

/* === RESET & CUSTOM PROPERTIES === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark:  #1b3a2a;
  --green-mid:   #2d6a4f;
  --green-light: #4a8c6f;
  --green-pale:  #e4f0ea;
  --green-xpale: #f0f6f2;
  --bg:          #f7f6f2;
  --text:        #1a1a1a;
  --text-muted:  #5c6b63;
  --white:       #ffffff;
  --border:      #d4e1d9;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow:      0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 48px rgba(27,58,42,0.16);
  --radius:      12px;
  --radius-sm:   6px;
  --nav-h:       60px;
  --max-w:       1140px;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --t:           0.2s ease;
}

@media (min-width: 860px) {
  :root { --nav-h: 68px; }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--green-mid);
  text-decoration: none;
  transition: color var(--t);
}
a:hover { color: var(--green-dark); }

/* === TYPOGRAPHY === */
h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  margin-top: 1.75rem;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}

@media (min-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; margin-top: 2rem; }
}
@media (min-width: 860px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.05rem; }
}

p { margin-bottom: 1.1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

em { color: var(--green-mid); font-style: normal; font-weight: 600; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }
sup { font-size: 0.65em; }
hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 600px) {
  .container { padding: 0 1.5rem; }
}

.page-content {
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 860px) {
  .page-content {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
}

/* === NAVBAR === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
}
@media (min-width: 600px) {
  .nav-inner { padding: 0 1.5rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 24px; width: auto; }
.nav-logo-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
@media (min-width: 860px) {
  .nav-logo img { height: 26px; }
  .nav-logo-text { font-size: 0.95rem; }
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  transition: background var(--t);
}
.nav-toggle:hover { background-color: var(--green-xpale); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* Mobile menu */
.nav-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  z-index: 999;
}
.nav-menu.open { display: flex; }

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.nav-links > li { width: 100%; margin-bottom: 0; }
.nav-links > li > a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--t);
}
.nav-links > li > a:hover { color: var(--green-dark); background-color: var(--green-xpale); }
.nav-links > li.active > a { color: var(--green-dark); background-color: var(--green-pale); font-weight: 600; }

/* Mobile dropdown */
.nav-dropdown-menu {
  display: none;
  list-style: none;
  padding: 0.25rem 0;
  margin: 0.15rem 0 0.25rem 1rem;
  background: var(--green-xpale);
  border-radius: var(--radius-sm);
  width: calc(100% - 1rem);
}
.nav-dropdown-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--t);
}
.nav-dropdown-menu li a:hover { background-color: var(--green-pale); color: var(--green-dark); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }


/* Right nav */
.nav-right {
  list-style: none;
  padding: 0.5rem 0 0;
  margin: 0.5rem 0 0;
  border-top: 1px solid var(--border);
  width: 100%;
  display: flex;
  flex-direction: column;
}
.nav-right li a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--t);
}
.nav-right li a:hover { color: var(--green-dark); background-color: var(--green-xpale); }
.nav-skiteam { display: flex !important; align-items: center; gap: 0.35rem; }
.nav-skiteam svg { display: block; position: relative; top: 1px; }

/* Desktop nav */
@media (min-width: 860px) {
  .nav-toggle { display: none; }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-left: 1.5rem;
    max-height: none;
    overflow: visible;
    flex: 1;
    gap: 0.5rem;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
    flex: 1;
  }
  .nav-links > li { width: auto; }
  .nav-links > li > a {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  /* Desktop dropdown */
  .nav-dropdown { position: relative; }
  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 300px;
    padding: 0.4rem;
    padding-top: 10px;
    margin: 0;
    width: auto;
    z-index: 200;
  }
  .nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
  }
  .nav-dropdown-menu li a { font-size: 0.85rem; }
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-right {
    flex-direction: row;
    padding: 0;
    margin: 0;
    border: none;
    width: auto;
    flex-shrink: 0;
  }
  .nav-right li a {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    white-space: nowrap;
  }
}

/* === HERO (homepage) === */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--green-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../data/201401/background4.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
  color: var(--white);
}
@media (min-width: 600px) {
  .hero-content { padding: 4rem 1.5rem 6rem; }
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  border-radius: 100px;
  padding: 0.25rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  color: var(--white);
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-content h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  margin-top: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  line-height: 1.15;
}
.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 540px;
}
@media (min-width: 600px) {
  .hero-content h1 { font-size: 2.4rem; margin-bottom: 0.75rem; }
  .hero-content h2 { font-size: 2.2rem; margin-bottom: 1.25rem; }
  .hero-content p { font-size: 1.05rem; margin-bottom: 2.25rem; }
}
@media (min-width: 860px) {
  .hero-content h1 { font-size: 3rem; margin-bottom: 1rem; }
  .hero-content h2 { font-size: 2.75rem; margin-bottom: 1.25rem; }
  .hero-content p { font-size: 1.1rem; margin-bottom: 2.5rem; }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--green-dark) !important;
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--t);
  box-shadow: var(--shadow);
}
.hero-cta:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* === BREADCRUMB === */
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.35rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb li { margin: 0; }
.breadcrumb svg { display: inline-block; vertical-align: -1px; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.35rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li[aria-current="page"] { color: rgba(255,255,255,0.45); }

/* === PAGE HERO === */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--green-dark);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 600px) {
  .page-hero { padding: 2.5rem 0; }
}
@media (min-width: 860px) {
  .page-hero { padding: 3rem 0; }
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../../data/201401/background4.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero-text {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 600px) {
  .page-hero-text { padding: 0 2rem; }
}
@media (min-width: 860px) {
  .page-hero-text { padding: 0 2.5rem; }
}
.page-hero h1 { color: var(--white); margin-bottom: 0; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.page-hero p {
  color: rgba(255,255,255,0.7);
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}
@media (min-width: 600px) {
  .page-hero p { font-size: 0.95rem; }
}

/* === CARD === */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 1.25rem;
}
@media (min-width: 600px) {
  .card { padding: 1.75rem; }
}
@media (min-width: 860px) {
  .card { padding: 2rem; }
}

/* === HOME ABOUT SECTION === */
.home-body {
  flex: 1;
  padding: 2rem 0;
}
@media (min-width: 600px) {
  .home-body { padding: 3rem 0; }
}
@media (min-width: 860px) {
  .home-body { padding: 4rem 0; }
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .home-grid {
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
  }
}

.home-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .home-aside { gap: 1.5rem; }
}

/* === ACTION CARDS === */
.action-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}
.action-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--green-light);
}
.action-card-img {
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
}
@media (min-width: 600px) {
  .action-card-img { height: 130px; }
}
.action-card-body { padding: 1rem 1.1rem; }
@media (min-width: 600px) {
  .action-card-body { padding: 1.25rem; }
}
.action-card-body h2 { color: var(--green-dark); font-size: 0.95rem; font-weight: 600; margin: 0; }
.action-card-body p { color: var(--text-muted); font-size: 0.82rem; margin: 0.3rem 0 0; }
.action-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--green-mid);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.65rem;
}

/* === CONTACT INFO === */
.contact-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1rem;
  margin-top: 1rem;
}
.contact-label { color: var(--text-muted); font-size: 0.82rem; align-self: center; }
.contact-value { font-weight: 600; font-size: 0.9rem; align-self: center; }
.contact-value a { color: var(--green-mid); }
@media (min-width: 600px) {
  .contact-label { font-size: 0.85rem; }
  .contact-value { font-size: 0.95rem; }
}

/* === ARTICLE === */
.article {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .article { padding: 2rem; }
}
@media (min-width: 860px) {
  .article { padding: 2.5rem; }
}
.article p { text-align: justify; }

.article ol {
  padding-left: 0;
  list-style: none;
  counter-reset: item;
}
.article ol > li {
  counter-increment: item;
  padding: 0.875rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--green-xpale);
  border-left: 3px solid var(--green-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
  font-size: 0.95rem;
}
@media (min-width: 600px) {
  .article ol > li { padding: 1rem 1.25rem; font-size: 1rem; }
}
.article ol > li::before {
  content: counter(item) ". ";
  font-weight: 700;
  color: var(--green-mid);
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.gallery-album {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}
.gallery-album:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--green-light);
}
.gallery-album-images {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--green-pale);
}
@media (min-width: 600px) {
  .gallery-album-images { height: 180px; }
}
.gallery-album-images img:first-child {
  position: absolute;
  width: 65%; height: 80%;
  object-fit: cover;
  bottom: 8px; right: 8px;
  border-radius: var(--radius-sm);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  z-index: 2;
}
.gallery-album-images img:last-child {
  position: absolute;
  width: 65%; height: 80%;
  object-fit: cover;
  top: 8px; left: 8px;
  border-radius: var(--radius-sm);
  z-index: 1;
}
.gallery-album-label {
  padding: 0.875rem 1rem;
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (min-width: 600px) {
  .gallery-album-label { padding: 1rem 1.25rem; font-size: 0.9rem; }
}

/* === CERTIFICATES OVERVIEW === */
.cert-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .cert-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 760px) {
  .cert-overview-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.cert-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}
.cert-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--green-light);
}
.cert-card-img {
  background: var(--green-xpale);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: hidden;
}
.cert-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.cert-card-img--placeholder {
  color: var(--green-mid);
}
.cert-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cert-card-body h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0.3rem 0 0.4rem;
  letter-spacing: -0.01em;
}
.cert-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.cert-card-body .action-card-arrow { margin-top: 0.875rem; }

/* === FSC / CERT PAGES === */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 600px) {
  .cert-grid {
    grid-template-columns: 1fr 240px;
    gap: 1.5rem;
  }
}
@media (min-width: 860px) {
  .cert-grid { grid-template-columns: 1fr 280px; }
}

.cert-preview img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  width: 100%;
}
.cert-preview p {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: 100px;
  padding: 0.2rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.fsc-policy {
  background: var(--green-xpale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 600px) {
  .fsc-policy { padding: 1.5rem; }
}
.fsc-policy p { margin-bottom: 0.65rem; font-size: 0.88rem; }
.fsc-policy p:last-child { margin-bottom: 0; }

.fsc-commitments {
  background: var(--green-xpale);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem;
  margin: 1.25rem 0;
}
@media (min-width: 600px) {
  .fsc-commitments { padding: 1.5rem; margin: 1.5rem 0; }
}
.fsc-commitments h3 { margin-top: 0; }
.fsc-commitments ul { padding-left: 1.2rem; }
.fsc-commitments ul li { font-size: 0.88rem; margin-bottom: 0.4rem; }

.members-section { margin-top: 1.25rem; }
.members-section h3 { margin-top: 0; }
.members-section ul { padding-left: 1.25rem; }
.members-section ul li { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem; }

.letter-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.25rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) {
  .letter-block { padding: 1.75rem; margin-top: 1.5rem; }
}
@media (min-width: 860px) {
  .letter-block { padding: 2rem; }
}
.letter-block p { font-size: 0.93rem; }

/* === LINKS LIST === */
.links-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-top: 1.25rem;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 600px) {
  .links-card { padding: 1.75rem; margin-top: 1.5rem; }
}
@media (min-width: 860px) {
  .links-card { padding: 2rem; }
}
.links-card h2 { margin-top: 0; }

.links-section { margin-top: 1.5rem; }
.links-section:first-of-type { margin-top: 0; }
.links-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}
@media (min-width: 480px) {
  .links-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .links-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.5rem; }
}
.links-list li { margin: 0; }
.links-list li a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  background: var(--green-xpale);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  color: var(--green-dark);
  font-weight: 500;
  transition: all var(--t);
}
.links-list li a:hover { background: var(--green-pale); border-color: var(--green-light); }
.links-list li a::before { content: '↓'; font-size: 0.8rem; color: var(--green-mid); flex-shrink: 0; }
.links-list li a[target="_blank"]:not([download])::before { content: '↗'; }

/* === BISNODE === */
.bisnode-cert {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--green-xpale);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--green-dark);
  margin-top: 0.5rem;
}

/* === 404 === */
.not-found {
  flex: 1;
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.not-found-inner {
  text-align: center;
  max-width: 480px;
}
.not-found-code {
  font-size: clamp(5rem, 20vw, 9rem);
  font-weight: 800;
  color: var(--green-pale);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.not-found-inner h1 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.not-found-inner p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* === FOOTER === */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.65);
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.82rem;
}
@media (min-width: 600px) {
  .site-footer { font-size: 0.85rem; padding: 2.25rem 0; }
}
.site-footer p { color: rgba(255,255,255,0.65); margin-bottom: 0; }
.site-footer a { color: rgba(255,255,255,0.9); font-weight: 500; }
.site-footer a:hover { color: var(--white); }
.site-footer-sep { display: inline-block; margin: 0 0.5rem; opacity: 0.3; }
.site-footer-credit {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.site-footer-credit a { color: rgba(255,255,255,0.6); font-weight: 400; }
.site-footer-credit a:hover { color: rgba(255,255,255,0.9); }

/* === UTILITIES === */
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-muted { color: var(--text-muted); font-size: 0.88rem; }

/* === COMPONENT HELPERS === */
.cert-subtitle {
  margin-top: 0;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 1rem;
}

.action-card-img--kontakt { background-image: url('../../data/201401/kontakt.jpg'); }
.action-card-img--produkty { background-image: url('../../data/201401/produkty.jpg'); }

.article .contact-list { max-width: 420px; font-size: 1.05rem; }
