/* ============================================================
   AKPS – Asociácia klinických psychológov Slovenska
   Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --brown:   #9e6029;
  --green:   #a8c12a;
  --blue:    #0178a4;
  --red:     #b9004f;
  --bg:      #faf8f2;
  --text:    #2c2c2c;
  --white:   #ffffff;
  --gray-100: #f3f1eb;
  --gray-200: #e8e5dc;
  --gray-400: #a09890;
  --gray-600: #6b6460;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.13);
  --radius:    6px;
  --radius-lg: 12px;
  --transition: .2s ease;
  --max-w: 1200px;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--text);
}

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
}
.btn-primary:hover {
  background: #7d4c1f;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: #015f83;
  color: var(--white);
}

.tag {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.tag-green  { background: #e8f2c2; color: #5a7010; }
.tag-blue   { background: #d0eaf5; color: #01517a; }
.tag-brown  { background: #f0e4d4; color: #7a4a1a; }
.tag-red    { background: #fce0ec; color: #8a0039; }

/* ── Top bar ──────────────────────────────────────────────── */
.topbar {
  background: var(--brown);
  color: #f5dfc0;
  font-size: .8rem;
  padding: .35rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar a { color: #f5dfc0; }
.topbar a:hover { color: var(--white); }
.topbar-contact { display: flex; gap: 1.2rem; }
.topbar-social  { display: flex; gap: .75rem; }
.topbar-social a { font-size: .85rem; }

/* ── Header / Navigation ──────────────────────────────────── */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  max-width: var(--max-w);
  margin-inline: auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.site-logo img {
  height: 56px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-abbr {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}
.logo-name {
  font-size: .7rem;
  color: var(--gray-600);
  max-width: 200px;
  line-height: 1.3;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: .15rem; }

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: .5rem .75rem;
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover,
.nav-link.active {
  background: var(--gray-100);
  color: var(--brown);
}
.nav-link.active { font-weight: 600; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link::after {
  content: '▾';
  font-size: .7rem;
  margin-left: .3rem;
  display: inline-block;
  transition: transform var(--transition);
}
.has-dropdown:hover > .nav-link::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + .25rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: .55rem 1rem;
  font-size: .85rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--gray-100); color: var(--brown); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .4rem;
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }

  .nav-item { width: 100%; }
  .nav-link  { padding: .8rem .5rem; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--gray-200); }

  .has-dropdown > .nav-link::after { float: right; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--brown);
    margin-left: 1rem;
    display: none;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: .55rem 1rem; font-size: .9rem; }
}

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--brown) 0%, #7d4c1f 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: .5rem;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 650px;
}
.breadcrumb {
  font-size: .8rem;
  opacity: .75;
  margin-bottom: .75rem;
  display: flex;
  gap: .4rem;
  align-items: center;
}
.breadcrumb a { color: var(--white); text-decoration: underline; }

/* ── Home Hero ────────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(160deg, #5a3210 0%, var(--brown) 40%, #a8791c 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(168,193,42,.18) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.home-hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(168,193,42,.25);
  color: #d4e97a;
  border: 1px solid rgba(168,193,42,.4);
  padding: .3rem .85rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.home-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.home-hero p {
  font-size: 1.05rem;
  opacity: .88;
  margin-bottom: 1.75rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
}

/* ── Section Styles ───────────────────────────────────────── */
.section {
  padding: 4rem 0;
}
.section-alt { background: var(--gray-100); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: .5rem;
}
.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin-inline: auto;
}
.section-line {
  width: 50px;
  height: 3px;
  background: var(--brown);
  margin: .75rem auto 0;
  border-radius: 2px;
}

/* ── Cards ────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-body { padding: 1.5rem; }
.card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .78rem;
  color: var(--gray-600);
}
.card-date { display: flex; align-items: center; gap: .3rem; }
.card h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
  line-height: 1.4;
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--brown); }
.card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brown);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.card-link:hover { color: var(--blue); }

/* News card accent bar */
.card-accent-brown { border-top: 4px solid var(--brown); }
.card-accent-green  { border-top: 4px solid var(--green); }
.card-accent-blue   { border-top: 4px solid var(--blue); }
.card-accent-red    { border-top: 4px solid var(--red); }

/* ── About Strip ──────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-strip-image {
  background: linear-gradient(135deg, var(--brown) 0%, #a8791c 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--white);
  text-align: center;
}
.about-strip-image .big-psi {
  font-size: 7rem;
  line-height: 1;
  opacity: .25;
  font-family: var(--font-heading);
}
.about-strip-image h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.about-strip-image p { opacity: .85; }

.about-strip-text h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.about-strip-text p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ── Info Box ─────────────────────────────────────────────── */
.info-box {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.info-box.warn { border-left-color: var(--brown); }
.info-box.success { border-left-color: var(--green); }
.info-box h4 { margin-bottom: .4rem; font-size: 1rem; }
.info-box p  { font-size: .9rem; margin: 0; color: var(--gray-600); }

/* ── Accordion / Standards ────────────────────────────────── */
.accordion { margin-bottom: 1rem; }

.accordion-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.accordion-item:hover { box-shadow: var(--shadow-sm); }

/* CSS-only fallback using <details>/<summary> */
details.accordion-item { }
details.accordion-item summary.accordion-header {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--gray-100);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  transition: background var(--transition);
  user-select: none;
}
details.accordion-item summary.accordion-header::-webkit-details-marker { display: none; }
details.accordion-item summary.accordion-header::before {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--brown);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 5v14M5 12h14' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
details[open].accordion-item summary.accordion-header::before {
  transform: rotate(45deg);
  background-color: var(--gray-400);
}
details[open].accordion-item summary.accordion-header {
  background: var(--gray-200);
  color: var(--brown);
}

.accordion-body {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* PDF link list */
.pdf-list { display: flex; flex-direction: column; gap: .5rem; }
.pdf-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem .9rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--gray-200);
  transition: background var(--transition), border-color var(--transition);
}
.pdf-item:hover {
  background: #f0e8d8;
  border-color: var(--brown);
}
.pdf-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #e63946;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.pdf-item a {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}
.pdf-item a:hover { color: var(--brown); }

.sub-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--gray-200);
}
.sub-section-title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-600);
  margin-bottom: .75rem;
}

/* ── Legislation / Link list ──────────────────────────────── */
.link-list { display: flex; flex-direction: column; gap: .75rem; }
.link-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.link-card:hover {
  border-color: var(--brown);
  box-shadow: var(--shadow-sm);
}
.link-card-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.link-card-icon.pdf-bg { background: #fde8ea; color: #e63946; }
.link-card-icon.law-bg { background: #d0eaf5; color: var(--blue); }
.link-card-icon.web-bg { background: #e8f2c2; color: #5a7010; }
.link-card-body { flex: 1; }
.link-card-title {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .15rem;
  color: var(--text);
}
.link-card-desc {
  font-size: .8rem;
  color: var(--gray-600);
}
.link-card-arrow {
  color: var(--gray-400);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Partners ─────────────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.partner-logo-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}
.partner-card h3 {
  font-size: 1rem;
  margin-bottom: .35rem;
}
.partner-card p {
  font-size: .82rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.partner-card a.btn {
  font-size: .8rem;
  padding: .4rem 1rem;
}

/* ── Contact page ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #f0e4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brown);
}
.contact-info-text h4 { font-size: .9rem; margin-bottom: .2rem; }
.contact-info-text p, .contact-info-text a {
  font-size: .9rem;
  color: var(--gray-600);
}

/* Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(158,96,41,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Article page ─────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.article-body { min-width: 0; }
.article-header { margin-bottom: 2rem; }
.article-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--gray-600);
}
.article-content { line-height: 1.9; }
.article-content h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.article-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--brown); }
.article-content p  { margin-bottom: 1.1rem; }
.article-content ul, .article-content ol {
  margin: 0 0 1rem 1.5rem;
  list-style: disc;
}
.article-content ul li, .article-content ol li { margin-bottom: .4rem; font-size: .95rem; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green);
}

/* ── About page features ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.feature-item h3 { font-size: 1rem; margin-bottom: .5rem; }
.feature-item p  { font-size: .875rem; color: var(--gray-600); }

/* Board member cards */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.board-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.board-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), #a8791c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
  font-size: 1.5rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
}
.board-card h3 { font-size: .95rem; margin-bottom: .2rem; }
.board-card p  { font-size: .8rem; color: var(--gray-600); }
.board-card .role {
  font-size: .75rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: .2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── Stanovy ──────────────────────────────────────────────── */
.pdf-embed-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pdf-embed-header {
  background: var(--brown);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.pdf-embed-header h3 { color: var(--white); font-size: 1rem; }
.pdf-embed-header .pdf-icon-large { font-size: 1.5rem; }
.pdf-embed-actions { margin-left: auto; display: flex; gap: .5rem; }
.pdf-embed-wrapper embed, .pdf-embed-wrapper iframe {
  display: block;
  width: 100%;
  height: 700px;
  border: none;
}

/* ── Uzitocne linky ───────────────────────────────────────── */
.links-category { margin-bottom: 2.5rem; }
.links-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #1e1611;
  color: #c9bfb4;
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { filter: brightness(0) invert(1); opacity: .85; height: 48px; margin-bottom: .85rem; }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col ul li a {
  font-size: .85rem;
  color: #9e9187;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  gap: .6rem;
  font-size: .85rem;
  margin-bottom: .6rem;
  align-items: flex-start;
}
.footer-contact-item span:first-child { color: var(--green); flex-shrink: 0; margin-top: .1rem; }
.footer-contact-item a { color: #9e9187; }
.footer-contact-item a:hover { color: var(--white); }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #9e9187;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--brown); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: #6b6460;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: #6b6460; }
.footer-bottom a:hover { color: var(--white); }

/* ── Scroll-to-top ────────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--brown);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 900;
}
#scrollTop.visible { opacity: 1; visibility: visible; }
#scrollTop:hover { transform: translateY(-2px); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .home-hero .container { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .about-strip { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; gap: .4rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .home-hero { padding: 3rem 0; }
  .section { padding: 2.5rem 0; }
  .pdf-embed-wrapper embed,
  .pdf-embed-wrapper iframe { height: 400px; }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, #scrollTop { display: none !important; }
  .page-hero { background: none !important; color: var(--text) !important; }
}
