/* ============================================================
   aimm.sk — Hlavný stylesheet
   Farebná paleta z drawio dizajn systému
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Farby — light mode */
  --c-primary:       #1E4D78;
  --c-primary-light: #2E6DAA;
  --c-accent:        #F0A500;
  --c-sport:         #2E8B57;
  --c-hory:          #9673a6;
  --c-dielna:        #d79b00;

  --c-bg:            #F8F9FA;
  --c-surface:       #ffffff;
  --c-surface-2:     #f0f4f8;
  --c-text:          #1a1a2e;
  --c-text-muted:    #6c757d;
  --c-border:        #dee2e6;
  --c-nav-bg:        rgba(248,249,250,0.85);

  /* Rozmery */
  --nav-h:           68px;
  --max-w:           1200px;
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;
  --radius-pill:     999px;

  /* Tiene */
  --shadow-sm:  0 2px 8px  rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --shadow-up:  0 -4px 20px rgba(0,0,0,0.06);

  /* Prechody */
  --t-fast:  0.18s ease;
  --t-base:  0.30s ease;
  --t-slow:  0.50s ease;
}

/* ---------- Dark mode ---------- */
[data-theme="dark"] {
  --c-bg:         #0D1117;
  --c-surface:    #161B22;
  --c-surface-2:  #1c2128;
  --c-text:       #E6EDF3;
  --c-text-muted: #8b949e;
  --c-border:     #30363d;
  --c-nav-bg:     rgba(13,17,23,0.90);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  transition: background-color var(--t-base), color var(--t-base);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--c-text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { max-width: 68ch; }
code, .mono { font-family: 'JetBrains Mono', monospace; font-size: 0.88em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section {
  padding-block: 5rem;
}
.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section__header h2 { margin-bottom: 0.75rem; }
.section__header p  { color: var(--c-text-muted); margin-inline: auto; }
.section--alt { background-color: var(--c-surface); }

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--c-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.navbar.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.5px;
}
[data-theme="dark"] .navbar__logo { color: var(--c-primary-light); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--c-primary);
  background-color: var(--c-surface-2);
}
[data-theme="dark"] .navbar__links a:hover,
[data-theme="dark"] .navbar__links a.active { color: var(--c-primary-light); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-theme {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-size: 1.1rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.btn-theme:hover { background: var(--c-border); color: var(--c-text); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
}
.navbar__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
  }
  .navbar__links.open { display: flex; }
  .navbar__links a { width: 100%; padding: 0.75rem 1rem; }
  .navbar__burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--c-primary);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  [data-theme="dark"] & { opacity: 0.12; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__text h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.hero__tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero__bio {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 50ch;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__photo-wrap {
  display: flex;
  justify-content: center;
}
.hero__photo {
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--c-accent);
  box-shadow: 0 0 0 8px rgba(240,165,0,0.15);
}
.hero__photo-placeholder {
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 4px solid var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__bio { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__photo-wrap { order: -1; }
  .hero__photo, .hero__photo-placeholder { width: min(200px, 60vw); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover { background: #d4920a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--green {
  background: var(--c-sport);
  color: #fff;
}
.btn--green:hover { background: #247a4a; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ============================================================
   O MNE — rozcestník
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.about__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  cursor: default;
}
.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.about__card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.about__card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.about__card p  { font-size: 0.9rem; color: var(--c-text-muted); }

/* ============================================================
   KARIÉRA — timeline
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-primary), var(--c-primary-light), transparent);
  border-radius: 2px;
}
.timeline__item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 0.4rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 0 2px var(--c-accent);
  transition: background var(--t-base);
}
.timeline__item:hover::before { background: var(--c-primary); box-shadow: 0 0 0 2px var(--c-primary); }
.timeline__year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}
.timeline__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: box-shadow var(--t-fast);
}
.timeline__card:hover { box-shadow: var(--shadow-md); }
.timeline__title { font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline__company { font-size: 0.9rem; color: var(--c-primary); margin-bottom: 0.75rem; font-weight: 500; }
[data-theme="dark"] .timeline__company { color: var(--c-primary-light); }
.timeline__bullets { padding-left: 1.1rem; }
.timeline__bullets li {
  list-style: disc;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin-bottom: 0.25rem;
}

/* Skill chips */
.skills__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.chip {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid currentColor;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip--primary { color: var(--c-primary); background: rgba(30,77,120,0.08); }
.chip--light   { color: var(--c-primary-light); background: rgba(46,109,170,0.08); }
.chip--accent  { color: var(--c-accent); background: rgba(240,165,0,0.1); }

.career__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .career__inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   ŠPORTOVÝ KLUB — preview sekcia
   ============================================================ */
.sport-preview {
  background: linear-gradient(135deg, var(--c-sport) 0%, #1a6640 100%);
  color: #fff;
}
.sport-preview .section__header h2,
.sport-preview .section__header p { color: #fff; }
.sport-preview .section__header p { color: rgba(255,255,255,0.8); }

.sport__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.sport__card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: background var(--t-fast), transform var(--t-fast);
}
.sport__card:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.sport__card-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.sport__card h3 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; color: #fff; }
.sport__card p  { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }
.sport-preview__cta { text-align: center; }

/* ============================================================
   HORY — fotogaléria
   ============================================================ */
.gallery {
  columns: 3 280px;
  gap: 1rem;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--c-surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--c-text-muted);
  font-size: 0.82rem;
  border-radius: var(--radius-md);
}
.gallery__placeholder span { font-size: 2rem; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background var(--t-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }

/* ============================================================
   DIELŇA — before/after slider
   ============================================================ */
.dielna__projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.project-card__info { padding: 1.25rem; }
.project-card__info h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.project-card__info p  { font-size: 0.88rem; color: var(--c-text-muted); }

/* Before/After slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  user-select: none;
  cursor: ew-resize;
}
.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-slider__before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}
.ba-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 44px;
  background: transparent;
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
  touch-action: none;
}
.ba-slider__handle::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  pointer-events: none;
}
.ba-slider__handle::before {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #333;
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  z-index: 4;
}
.ba-slider__label {
  position: absolute;
  bottom: 0.6rem;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ba-slider__label--before { left: 0.75rem; }
.ba-slider__label--after  { right: 0.75rem; }

/* Placeholder pre before/after */
.ba-placeholder {
  aspect-ratio: 4/3;
  background: var(--c-surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--c-text-muted);
  font-size: 0.82rem;
}
.ba-placeholder span { font-size: 2rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 768px) { .contact__inner { grid-template-columns: 1fr; } }

.contact__links { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.contact__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.contact__link:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.contact__link-icon { font-size: 1.4rem; }

/* Formulár */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: 0.35rem; }
.form__group label { font-size: 0.88rem; font-weight: 500; color: var(--c-text-muted); }
.form__group input,
.form__group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(30,77,120,0.12);
}
.form__success { display: none; color: var(--c-sport); font-weight: 500; margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-primary);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0;
  margin-top: 0;
}
[data-theme="dark"] .footer { background: #0a0f16; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__links a { font-size: 0.88rem; transition: color var(--t-fast); }
.footer__links a:hover { color: var(--c-accent); }
.footer__copy { font-size: 0.82rem; }

/* ============================================================
   SPORT PAGE — špeciálne štýly
   ============================================================ */
.sport-page .hero { background-color: var(--c-sport); }
.sport-page .hero__bio { color: rgba(255,255,255,0.88); }

.sport-full__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.sport-full__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.sport-full__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sport-full__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.sport-full__card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--c-sport), #1a6640);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.sport-full__card-body { padding: 1.25rem; }
.sport-full__card-body h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.sport-full__card-body p  { font-size: 0.85rem; color: var(--c-text-muted); }

/* Vekové skupiny */
.age-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.age-card {
  background: var(--c-surface);
  border: 2px solid var(--c-sport);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: background var(--t-fast);
}
.age-card:hover { background: rgba(46,139,87,0.07); }
.age-card__emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.age-card h3 { font-size: 1rem; color: var(--c-sport); }
.age-card p  { font-size: 0.85rem; color: var(--c-text-muted); margin-top: 0.3rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.accent-bar {
  width: 56px; height: 4px;
  border-radius: 2px;
  background: var(--c-accent);
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(46,139,87,0.12);
  color: var(--c-sport);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   RESPONSIVE doladenie
   ============================================================ */
@media (max-width: 640px) {
  .section { padding-block: 3.5rem; }
  .section__header { margin-bottom: 2.5rem; }
  .gallery { columns: 2 140px; }
  .dielna__projects { grid-template-columns: 1fr; }
}
