:root {
    --primary: #425985;
    --primary-dark: #2c3e5e;
    --primary-deeper: #1a2540;
    --accent: #e8edf5;
    --white: #ffffff;
    --light-bg: #f4f7fb;
    --text-dark: #1a2540;
    --text-mid: #425985;
    --text-light: #6b7fa3;
    --border: rgba(66,89,133,0.15);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
  }

  /* â”€â”€â”€ NAVBAR â”€â”€â”€ */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: env(safe-area-inset-top, 0px) clamp(1rem, 4vw, 2rem) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 72px;
    height: auto;
    flex-wrap: nowrap;
    box-sizing: border-box;
    transition: box-shadow 0.3s;
  }
  nav.scrolled { box-shadow: 0 4px 24px rgba(66,89,133,0.12); }

  /* Hamburger â€“ skrytĂ˝ na desktope */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    z-index: 1002;
  }
  .nav-hamburger:hover { background: var(--accent); }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.2s;
  }
  #navbar.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #navbar.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
  #navbar.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
  }
  .nav-logo img {
    height: 44px;
    width: auto;
    max-width: min(160px, 42vw);
    object-fit: contain;
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    gap: 1rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links > li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.25s;
  }
  .nav-links a:hover { color: var(--primary-dark); }
  .nav-links a:hover::after { width: 100%; }

  .nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s !important;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

  .nav-dropdown {
    position: relative;
  }
  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-mid);
    cursor: pointer;
    padding: 0 0 2px 0;
    transition: color 0.2s;
  }
  .nav-dropdown-toggle:hover,
  .nav-dropdown:focus-within > .nav-dropdown-toggle,
  .nav-dropdown.is-open > .nav-dropdown-toggle {
    color: var(--primary-dark);
  }
  .nav-dropdown-chevron {
    font-size: 0.65rem;
    opacity: 0.75;
    transition: transform 0.2s;
  }
  .nav-dropdown.is-open .nav-dropdown-chevron,
  .nav-dropdown:focus-within .nav-dropdown-chevron {
    transform: rotate(180deg);
  }
  .nav-dropdown-sep {
    height: 1px;
    margin: 0.4rem 1rem;
    background: var(--border);
    list-style: none;
    pointer-events: none;
  }
  .nav-dropdown-menu a.nav-cta {
    margin: 0.35rem 0.65rem 0.45rem;
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: 6px;
    background: var(--primary);
    color: var(--white) !important;
  }
  .nav-dropdown-menu a.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 240px;
    list-style: none;
    margin: 0;
    padding: 0.45rem 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(66,89,133,0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 1001;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 1.15rem;
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.86rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
  }
  .nav-dropdown-menu a::after { display: none !important; }
  .nav-dropdown-menu a:hover {
    background: var(--accent);
    color: var(--primary-dark);
  }
  .nav-dropdown-menu a.nav-dropdown-external::after {
    content: '\2197';
    display: inline !important;
    margin-left: 0.35rem;
    font-size: 0.75rem;
    opacity: 0.55;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
  }

  /* â”€â”€â”€ HERO â”€â”€â”€ */
  #hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    background: linear-gradient(145deg, var(--primary-deeper) 0%, var(--primary) 55%, #5b79aa 100%);
    overflow: hidden;
    padding-top: 72px;
  }

  .hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                      radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
                      radial-gradient(circle at 60% 80%, white 1px, transparent 1px);
    background-size: 60px 60px, 90px 90px, 75px 75px;
  }

  .hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
  }
  .hero-blob-1 {
    width: 600px; height: 600px;
    background: white;
    top: -200px; right: -100px;
  }
  .hero-blob-2 {
    width: 400px; height: 400px;
    background: #7fa8d4;
    bottom: -100px; left: -100px;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 2rem;
    animation: fadeUp 0.9s ease both;
  }

  .hero-logo {
    width: 320px;
    max-width: 80%;
    margin-bottom: 2.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.97;
    animation: fadeUp 0.9s 0.1s ease both;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s 0.2s ease both;
  }
  .hero-title span {
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    display: block;
    font-size: 0.6em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
  }

  .hero-desc {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.82);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    font-weight: 300;
    animation: fadeUp 0.9s 0.3s ease both;
  }

  .hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.9s 0.4s ease both;
  }

  .btn-primary {
    background: white;
    color: var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

  .btn-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }
  .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; transform: translateY(-2px); }

  .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
  }
  .hero-scroll::after {
    content: '';
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.3);
  }

  /* â”€â”€â”€ SECTIONS â”€â”€â”€ */
  section { padding: 5rem 2rem; }

  .container { max-width: 1100px; margin: 0 auto; }

  .section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
  }

  .section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 620px;
    font-weight: 300;
  }

  /* â”€â”€â”€ ABOUT â”€â”€â”€ */
  #about {
    background: var(--light-bg);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .about-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .about-icon {
    width: 260px;
    opacity: 0.85;
    filter: saturate(0.3) sepia(1) hue-rotate(190deg) saturate(2);
  }
  .about-stat-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
  }
  .about-stat {
    text-align: center;
  }
  .about-stat .num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
  }
  .about-stat .label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.25rem;
  }

  /* â”€â”€â”€ WHAT WE DO â”€â”€â”€ */
  #what-we-do { background: white; }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
  }
  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #7fa8d4);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }
  .card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(66,89,133,0.12); border-color: rgba(66,89,133,0.3); }
  .card:hover::before { transform: scaleX(1); }

  .card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
  }
  .card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
  }
  .card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
  }

  /* â”€â”€â”€ ACTIVITIES â”€â”€â”€ */
  #activities { background: var(--primary); }
  #activities .section-tag { color: rgba(255,255,255,0.6); }
  #activities .section-title { color: white; }
  #activities .section-desc { color: rgba(255,255,255,0.7); }

  .activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
  }

  .activity-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 1.75rem;
    backdrop-filter: blur(8px);
    transition: background 0.25s, transform 0.25s;
  }
  .activity-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }

  .activity-card .emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
  }
  .activity-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
  }
  .activity-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    font-weight: 300;
  }

  /* â”€â”€â”€ MEMBERS â”€â”€â”€ */
  #members { background: var(--light-bg); }
  .members-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 760px;
    margin: 3rem auto 0;
    justify-items: center;
  }
  .member-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 32px rgba(66,89,133,0.08);
  }
  .member-card img {
    width: 100%;
    max-height: 340px;
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
    margin: 0 auto;
    background: var(--accent);
  }
  .members-featured .member-card img {
    max-height: 380px;
  }
  .member-card--compact img {
    max-height: 260px;
  }
  .member-card .member-body { padding: 1.25rem 1.5rem 1.5rem; }
  .member-role {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.4rem;
  }
  .member-name {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-dark);
  }
  .members-toggle-wrap { text-align: center; margin-top: 2.5rem; }
  .members-toggle {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.65rem 1.75rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .members-toggle:hover {
    background: var(--primary);
    color: white;
  }
  .members-all { display: none; margin-top: 2.5rem; }
  .members-all.is-open { display: block; }
  .members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  .member-card--compact .member-body { padding: 1rem 1rem 1.15rem; }
  .member-card--compact .member-name { font-size: 0.98rem; }

  /* ÄŚlenovia musia byĹĄ viditeÄľnĂ­ aj bez JS / bez scroll animĂˇcie */
  #members .reveal {
    opacity: 1;
    transform: none;
  }

  /* â”€â”€â”€ FOR STUDENTS â”€â”€â”€ */
  #for-students { background: white; }

  .students-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
  }

  .help-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }
  .help-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 300;
  }
  .help-list li::before {
    content: '\2192';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .join-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
  }
  .join-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .join-box p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1.5rem;
  }
  .join-box a {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .join-box a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

  /* â”€â”€â”€ CONTACT â”€â”€â”€ */
  #contact { background: var(--light-bg); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  .contact-item .ci-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--accent);
    border-radius: 8px;
    display: grid;
    place-items: center;
  }
  .contact-item .ci-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }
  .contact-item .ci-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.07em;
  }
  .contact-item .ci-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 400;
  }
  .contact-item .ci-value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
  }
  .contact-item .ci-value a:hover { text-decoration: underline; }

  .contact-socials {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
  }
  .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
  }
  .social-btn:hover { transform: translateY(-2px); opacity: 0.85; }
  .social-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
  .social-fb { background: #1877f2; color: white; }

  .contact-form-box {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
  }
  .contact-form-box h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
  }
  .form-group {
    margin-bottom: 1.25rem;
  }
  .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 0.4rem;
  }
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(66,89,133,0.1);
  }
  .form-group textarea { height: 120px; resize: vertical; }
  .form-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

  /* â”€â”€â”€ FOOTER â”€â”€â”€ */
  footer {
    background: var(--primary-deeper);
    color: rgba(255,255,255,0.65);
    padding: 3rem 2rem 2rem;
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
  }

  .footer-brand img { height: 36px; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 1rem; }
  .footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 300px; }

  .footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-col ul a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
  }
  .footer-col ul a:hover { color: white; }

  .footer-partners {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
  }
  .partner-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.2s;
  }
  .partner-logo:hover { opacity: 0.85; }
  .partner-logo.lidl { height: 36px; }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
  }

  /* â”€â”€â”€ ANIMATIONS â”€â”€â”€ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* StatickĂ© sprĂˇvy â€“ zbalenĂ©: len malĂˇ fotka + nadpis; rozbalenĂ©: celĂ˝ text */
  .static-spravy { display: flex; flex-direction: column; gap: 0.6rem; }
  .static-sprava-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(66,89,133,0.06);
    overflow: hidden;
  }
  .static-sprava-sum {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    align-items: center;
    gap: 0.65rem 0.85rem;
    padding: 0.55rem 0.65rem 0.55rem 0.55rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }
  .static-sprava-sum::-webkit-details-marker { display: none; }
  .static-sprava-sum::after {
    content: '\25BE';
    font-size: 0.75rem;
    color: var(--primary);
    padding: 0 0.35rem;
    transition: transform 0.2s ease;
    line-height: 1;
  }
  .static-sprava-item[open] > .static-sprava-sum::after {
    transform: rotate(-180deg);
  }
  .static-sprava-thumb {
    width: 76px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf5, #d4dce8);
    flex-shrink: 0;
  }
  .static-sprava-thumb--empty { min-height: 52px; }
  .static-sprava-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .static-sprava-head {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
  }
  .static-sprava-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
  }
  .static-sprava-date {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .static-sprava-body { padding: 0 1rem 1.1rem; border-top: 1px solid var(--border); }
  .static-sprava-body p { margin: 1rem 0; line-height: 1.65; color: var(--text-dark); }
  .static-sprava-pdf { margin-top: 1.25rem; padding: 1rem; background: var(--accent); border-radius: 8px; border: 1px solid var(--border); }
  .static-sprava-pdf-title { font-size: 1rem; margin: 0 0 0.75rem; color: var(--text-dark); }
  .static-sprava-pdf-list { margin: 0; padding-left: 1.25rem; }
  .static-sprava-pdf-list a { font-weight: 500; }
  .static-sprava-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 0;
  }
  .static-sprava-gallery figure { margin: 0; }
  .static-sprava-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: block;
  }
  .static-sprava-gallery figcaption { font-size: 0.8rem; color: var(--text-light); margin-top: 0.35rem; }
  @media (max-width: 600px) {
    .static-sprava-sum {
      grid-template-columns: 64px 1fr auto;
      gap: 0.5rem;
    }
    .static-sprava-thumb, .static-sprava-thumb--empty {
      width: 64px;
      height: 44px;
    }
    .static-sprava-thumb--empty { min-height: 44px; }
  }

  /* â”€â”€â”€ RESPONSIVE â”€â”€â”€ */
  @media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
      display: none;
      position: fixed;
      top: 72px;
      left: 0;
      right: 0;
      flex: none;
      width: 100%;
      justify-content: flex-start;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      margin: 0;
      padding: 1rem 1.25rem 1.5rem;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 12px 40px rgba(66,89,133,0.15);
      max-height: calc(100vh - 72px);
      overflow-y: auto;
      z-index: 1001;
    }
    #navbar.nav-open .nav-links { display: flex; }
    .nav-links > li { width: 100%; flex-shrink: 1; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle {
      width: 100%;
      justify-content: space-between;
      padding: 0.75rem 0 !important;
      border-bottom: 1px solid var(--border);
    }
    .nav-dropdown-menu {
      position: static !important;
      left: auto !important;
      transform: none !important;
      min-width: 100%;
      box-shadow: none;
      border: none;
      border-radius: 0;
      padding: 0 0 0.5rem 0.75rem;
      margin: 0;
      opacity: 1;
      visibility: hidden;
      pointer-events: none;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, visibility 0.2s;
    }
    .nav-dropdown.is-open .nav-dropdown-menu {
      visibility: visible !important;
      pointer-events: auto !important;
      max-height: 80vh;
    }
    .nav-dropdown-menu a { padding: 0.5rem 0.5rem; }
    .nav-dropdown-sep { margin: 0.35rem 0; }
    body.nav-menu-open { overflow: hidden; }
    .about-grid,
    .students-split,
    .contact-grid,
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .about-icon-wrap { order: -1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1/-1; }
    .members-featured {
      grid-template-columns: 1fr;
      max-width: 380px;
    }
  }

/* WordPress: menu, logo, formulár */
.nav-logo .custom-logo-link,
.about-custom-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.nav-logo .custom-logo-link img,
.about-custom-logo .custom-logo-link img {
  height: 44px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
}
.about-custom-logo .custom-logo-link img {
  height: auto;
  max-height: 280px;
  max-width: 100%;
}

#navMainMenu .menu-item {
  list-style: none;
  display: flex;
  align-items: center;
}
#navMainMenu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(66, 89, 133, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1001;
}
#navMainMenu .menu-item-has-children {
  position: relative;
}
#navMainMenu .menu-item-has-children:hover > .sub-menu,
#navMainMenu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#navMainMenu .sub-menu .menu-item {
  display: block;
}
#navMainMenu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
}
#navMainMenu .sub-menu a:hover {
  color: var(--primary-dark);
  background: var(--accent);
}

.wpcf7 form {
  text-align: left;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  margin-top: 0.35rem;
}
.wpcf7 .wpcf7-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}
.wpcf7 .wpcf7-submit:hover {
  background: var(--primary-dark);
}

.nav-logo-text {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.1rem;
}
.footer-logo .custom-logo-link img {
  max-height: 48px;
  width: auto;
}
