:root{
 
  --topbar-h: 84px;
  --topbar-h-current: var(--topbar-h);
   --ticker-h: 32px;                 
 
  --z-progress: 1000;
  --z-header:   1100;
  --z-sidebar:  1200;
  --z-modal:    1300;
  --ink:#0f172a;
    --muted:#64748b;
    --bg:#f6faf7;
    --line:#e6eaef;
    --pill:#eef2f6;

  
  --edge-x: 41px;         
  --edge-x-tablet: 16px;  
  --edge-x-mobile: 10px;  

  --hero-offset: clamp(48px, 6.5vw, 120px);
   --maroon-700:#2B2926; --maroon-600:#2B2926;
  --text:#212529; --muted:#6c757d; --bg:#ffffff;
    
    --secondary-text:#555555;
  --maroon:#2B2926;
   --bg1: #F5F5F5;
   --bg2: #FAFAF8;
     --hover-pantone:#D64B36;
  --pantone:#BD3826;
  --t-fast:160ms; --t-med:420ms; --t-slow:720ms;
  --ease:cubic-bezier(.2,.8,.2,1); --ease-out:cubic-bezier(.16,1,.3,1);
  --rk-burgundy: #5a1d29;
  --rk-burgundy-700: #4b1822;
  --rk-burgundy-300: #7e2a3a;
  --rk-white: #ffffff;
  --rk-shadow: 0 10px 30px rgba(0,0,0,.12);
  --rk-glow: 0 0 0 rgba(122, 33, 52, 0); 
  --side-x: 14px;
  --brand-red: #e51a24; 
  --brand: #e51a24; 

   --line: #e2e8f0;
   --card-bg: #ffffff;
   --text-main: #1e293b;
   --text-muted: #64748b;
   --ink: #101828;
    --custom-bg: var(--bg1, #f8f9fa);
    --custom-border: #E0E0E0;
    --ep-maroon: var(--maroon);
    --ep-gold: var(--pantone);  
    --ep-gold-dark: #b5a06d;
    --ep-bg-light: #fcfcfc;
    --ep-text: #333333;
    --ep-border: #eeeeee;
    --text:var(--secondary-text);
    --border:#E0E0E0;
    --bg:var(--bg1);

}


.loader-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--pantone); 
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styl pro prefixy názvů kurzů */
.course-prefix {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-right: 4px;
}
.course-prefix--periodic {
    color: var(--pantone);
}
.course-prefix--basic {
    color: var(--pantone);
}


.col-nazev {
    font-weight: 500;
}

/* Styl pro paginaci */
.akce-pagi ul {
    list-style: none;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0;
}
.akce-pagi li a {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}
.akce-pagi li.is-active a {
    background-color: var(--pantone);
    color: white;
    border-color: #ff9800;
}



@media screen and (max-width: 768px) {
    .term-table th, 
    .term-table td {
        padding: 8px 10px;
        font-size: 0.85rem; /* Menší text v celé tabulce */
    }

    /* Název kurzu může být delší, dovolíme mu trochu prostoru */
    .col-nazev {
        min-width: 180px;
        white-space: normal; /* Název se může zalomit na více řádků */
    }

    /* Ostatní údaje držíme v jednom řádku pro přehlednost */
    .term-table td:not(.col-nazev) {
        white-space: nowrap;
    }

    /* Specifické zmenšení tlačítek */
    .akce-card-actions {
        display: flex;
        gap: 4px;
    }

    .akce-btn {
        padding: 6px 8px !important;
        font-size: 0.7rem !important; /* Opravdu malé písmo pro tlačítka */
        letter-spacing: 0;
        line-height: 1;
        height: auto;
    }

    /* Úprava paddingu v hlavičce */
    .term-table thead th {
        font-size: 0.75rem;
        text-transform: uppercase;
    }
}

  .error-wrapper {
    background-color: var(--bg2);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .error-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    max-width: 600px;
    width: 100%;
    text-align: center;
  }

  .error-img {
    max-width: 280px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
  }

  .error-card h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
  }

  .error-card p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .btn-home {
    display: inline-block;
    background-color: var(--pantone);
    color: #ffffff !important;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }

  .btn-home:hover, .btn-home:focus {
    background-color: var(--hover-pantone);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(189, 56, 38, 0.3);
    outline: none;
  }


#prihlaska-typy-wrapper, 
#prihlaska-typy-wrapper * { 
    box-sizing: border-box !important; 
}

/* Hlavní wrapper sekce */
#prihlaska-typy-wrapper { 
    width: 100%; 
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding: 60px 0; 
    background: transparent;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
}

/* Kontejner - Maximální šířka pro široké monitory */
.form-container { 
    width: 95%; 
    max-width: 1200px !important; 
    margin: 0 auto; 
}

/* Bílá karta formuláře */
.choseform-form-card { 
    background: #fff; 
    padding: 50px; 
    border-radius: 25px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); 
    width: 100% !important;
}

/* Hlavička a nadpisy */
.header-section { text-align: center; margin-bottom: 40px; }
.header-section h1 { 
    color: var(--maroon, #5a1a2b); 
    font-weight: 850; 
    font-size: 2.5rem;
    margin: 0;
}

/* Stepper / Progress Bar */
.steps-progress { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-bottom: 60px; 
}
.step-dot { flex: 0 0 100px; text-align: center; position: relative; z-index: 2; }
.dot-num { 
    width: 50px; height: 50px; background: #eee; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    margin: 0 auto; font-weight: bold; color: #999; border: 4px solid #fff; transition: .3s; 
}
.dot-label { display: block; margin-top: 12px; font-size: 12px; font-weight: 800; color: #bbb; letter-spacing: 1px; }
.step-dot.active .dot-num { 
    background: var(--pantone, #5a1a2b); 
    color: #fff; 
    transform: scale(1.1); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}
.step-dot.active .dot-label { color: #333; }
.step-line { flex: 1; max-width: 150px; height: 3px; background: #eee; margin: -25px 10px 0; z-index: 1; }

/* Vnitřní obal kroků - Roztažení na 100% šířky karty */
.inner-step-wrap { 
    width: 100% !important; 
    max-width: 100% !important; 
    margin: 0 auto; 
    text-align: left; 
}

.step-title { 
    color: var(--maroon, #5a1a2b); 
    font-weight: 800; 
    font-size: 26px; 
    margin-bottom: 30px; 
    border-bottom: 3px solid #f8f8f8; 
    padding-bottom: 15px; 
}

/* --- GRID SYSTÉM (Oprava šířky inputů) --- */
.form-grid { 
    display: flex !important; 
    flex-wrap: wrap !important; 
    gap: 20px !important; 
    width: 100% !important;
}

.grid-col-12 { width: 100% !important; }
.grid-col-9  { width: calc(75% - 15px) !important; }
.grid-col-8  { width: calc(66.66% - 14px) !important; }
.grid-col-6  { width: calc(50% - 10px) !important; }
.grid-col-5  { width: calc(41.66% - 12px) !important; }
.grid-col-4  { width: calc(33.33% - 14px) !important; }
.grid-col-3  { width: calc(25% - 15px) !important; }

/* Styl labelů a vstupních polí */
label { 
    display: block;
    font-weight: 700; 
    font-size: 14px; 
    margin-bottom: 8px; 
    color: #333; 
}

.form-input { 
    width: 100% !important; 
    display: block !important;
    border: 1.5px solid #ddd; 
    padding: 15px 20px; 
    border-radius: 12px; 
    font-size: 16px; 
    outline: none; 
    transition: all .25s ease;
    background: #fdfdfd;
}

.form-input:focus { 
    border-color: var(--pantone, #5a1a2b); 
    background: #fff;
    box-shadow: 0 0 0 4px rgba(90,26,43,0.08); 
}

/* --- VÝBĚR TYPU (Oprava a skrytí radio buttonů) --- */
.type-selection-grid { 
    display: flex; 
    gap: 25px; 
    justify-content: center; 
    margin-top: 20px; 
    width: 100%; 
}

.type-item { flex: 1; max-width: 400px; position: relative; }

/* Totální skrytí radio koleček */
.type-item input[type="radio"] { 
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.type-card { 
    display: block;
    border: 2.5px solid #f0f0f0; 
    border-radius: 20px; 
    padding: 40px 20px; 
    cursor: pointer; 
    transition: all .3s ease; 
    text-align: center;
    background: #fff;
    height: 100%;
}

.type-card:hover { border-color: #ddd; background: #fafafa; }

/* Stav při vybrání karty */
.type-item input[type="radio"]:checked + .type-card { 
    border-color: var(--pantone, #5a1a2b) !important; 
    background: rgba(90, 26, 43, 0.04) !important; 
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.type-card i { font-size: 45px; color: var(--pantone, #5a1a2b); margin-bottom: 20px; display: block; }
.type-card strong { display: block; font-size: 20px; margin-bottom: 8px; color: #222; }
.type-card span { font-size: 14px; color: #777; }

/* --- TLAČÍTKA NAVIGACE --- */
.form-nav { display: flex; justify-content: center; gap: 20px; margin-top: 50px; }
.btn-nav { 
    padding: 18px 50px; border-radius: 50px; font-weight: 800; border: none; 
    cursor: pointer; transition: .3s; letter-spacing: 1px; text-transform: uppercase; 
}
.btn-next, .btn-submit { 
    background: var(--pantone, #5a1a2b); 
    color: #fff; 
    box-shadow: 0 10px 25px rgba(90,26,43,0.25); 
}
.btn-next:hover, .btn-submit:hover { filter: brightness(1.2); transform: translateY(-3px); }
.btn-back { background: #f0f0f0; color: #666; }

/* Dynamické záznamy osob */
.osoba-entry { 
    padding: 30px !important; 
    background: #fcfcfc !important; 
    border: 1px solid #eee !important;
    border-radius: 15px;
    margin-bottom: 25px !important;
}

/* --- RESPONZIVITA --- */
@media (max-width: 850px) {
    .choseform-form-card { padding: 30px 20px; }
    /* Na mobilu vše na 100% šířky */
    .form-grid > div { width: 100% !important; }
    .type-selection-grid { flex-direction: column; align-items: center; }
    .type-item { width: 100%; max-width: none; }
    .step-line { display: none; }
    .step-dot { flex: 1; }
    .header-section h1 { font-size: 1.8rem; }
}

/* Animace přepínání kroků */
.form-step { display: none; width: 100%; }
.form-step.active { display: block; animation: fadeIn .4s ease-in-out; }
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Validace - chybový stav */
.is-invalid { border-color: #e74c3c !important; background-color: #fff9f9 !important; }




  #readme-vop.readme-section { padding: 2rem 0 3rem; }
  #readme-vop .readme-container { width: min(980px, 92vw); margin-inline: auto; }
  #readme-vop .readme-content {
    background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:14px;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    text-align: justify; line-height: 1.55;
  }

  /* typografie */
  #readme-vop .readme-content h1,
  #readme-vop .readme-content h2,
  #readme-vop .readme-content h3 { margin:1.1rem 0 .6rem; line-height:1.25; font-weight:800; }
  #readme-vop .readme-content h4,
  #readme-vop .readme-content h5,
  #readme-vop .readme-content h6 { margin:.9rem 0 .45rem; line-height:1.3; font-weight:700; }
  #readme-vop .readme-content p { margin:.6rem 0; }

  /* seznamy */
  #readme-vop .readme-content ul,
  #readme-vop .readme-content ol { margin:.6rem 0 .6rem 1.5rem; padding-left:1rem; }
  #readme-vop .readme-content li { margin:.25rem 0; }

  /* kód */
  #readme-vop .readme-content code { background:rgba(0,0,0,.05); padding:.1rem .3rem; border-radius:6px; }
  #readme-vop .readme-content pre { padding:.8rem; border-radius:10px; background:#0f0f0f; color:#fff; overflow:auto; }

  /* prázdný stav */
  #readme-vop .readme-empty { border:1px dashed rgba(0,0,0,.2); padding:1rem; border-radius:12px; background:#fff; text-align:center; }



  .prep-minimal-section {
    padding: clamp(60px, 10vw, 100px) 0;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
  }

  .prep-container {
    width: min(800px, 92vw);
    margin-inline: auto;
  }

  /* Raketa a její animace */
  .prep-rocket {
    font-size: clamp(3.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    animation: prep-float 3s ease-in-out infinite;
  }

  @keyframes prep-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(5deg); }
  }

  .prep-heading {
    color: var(--maroon, #800000);
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    margin: 0 0 1.2rem 0;
    letter-spacing: -1px;
    line-height: 1.1;
  }

  .prep-lead {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
  }

  /* Dekorativní linka pod textem */
  .prep-line {
    height: 6px;
    width: 60px;
    background: var(--maroon, #800000);
    margin-inline: auto;
    border-radius: 10px;
    opacity: 0.8;
  }

  /* Animace při naskočení na obrazovku */
  .prep-anim { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
  }
  
  .prep-in { 
    opacity: 1; 
    transform: translateY(0); 
  }

  @media (max-width: 576px) {
    .prep-minimal-section { padding: 50px 0; }
  }


  #kontakt *{ box-sizing:border-box; }
  #kontakt{ -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; }
  #kontakt a{ -webkit-tap-highlight-color: transparent; }

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

  .kontakt-section{
    position:relative; overflow:hidden;
    padding:clamp(16px,4vw,40px) 0; background:var(--bg);
  }
  .kontakt-container{
    width:min(1100px, 94vw);
    margin-inline:auto;
    padding-inline:clamp(12px, 4vw, 24px);
  }
  .kontakt-hero{ text-wrap:balance; }
  .kontakt-lead{
    color:#333; max-width:70ch;
    margin:.25rem 0 0 .1rem;
  }

  .kontakt-heading{
    color:var(--maroon); font-weight:750; letter-spacing:.2px;
    font-size: clamp(2.5rem, 6vw, 3rem);
    position:relative; margin:0 0 1rem 0;
  }
  .kontakt-heading::after{
    content:""; position:absolute; left:0; bottom:-8px; height:6px;
    width: clamp(120px, 38%, 240px); background: var(--maroon); border-radius:4px;
  }

  .kontakt-subtitle{
    margin:0 0 .6rem 0; font-weight:800; color:var(--maroon);
    position:relative; display:inline-block; padding-bottom:.15rem;
  }
  .kontakt-subtitle::after{
    content:""; position:absolute; left:0; bottom:-6px; height:5px;
    width: clamp(120px, 55%, 280px); background: var(--maroon); border-radius:4px;
  }

  /* CTA */
  .kontakt-cta-wrap{ margin-block: 1.2rem 1.6rem; }
  .kontakt-cta-inner{ display:grid; gap:.6rem; grid-template-columns: 1fr; }
  @media (min-width: 580px){
    .kontakt-cta-inner{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  }

  .kontakt-btn-cta{
    --x: 0%;
    background: var(--maroon); color:#fff; border:1px solid transparent; outline:none;
    border-radius:999px; padding: 1rem 1.2rem;
    font-weight:800; font-size:1rem; letter-spacing:.3px; line-height:1;
    position:relative; display:inline-flex; align-items:center; justify-content:center;
    overflow:hidden; cursor:pointer; text-decoration:none;
    animation: kontakt-bounce 3.2s ease-in-out infinite;
    min-height: 48px; width:100%;
  }
  .kontakt-btn-cta--ghost{
    background:var(--hover-pantone); border:2px solid var(--border);
    color:white; animation:none;
  }
  .kontakt-btn-cta::before{
    content:""; position:absolute; inset:0; background:var(--pantone);
    clip-path: polygon(0 0, var(--x) 0, calc(var(--x) - 16%) 100%, 0 100%);
    transition: clip-path .35s ease;
  }
  .kontakt-btn-text{ position:relative; z-index:1; white-space:nowrap; }
  .kontakt-btn-text--overlay{
    color: white; position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    clip-path: polygon(0 0, var(--x) 0, calc(var(--x) - 16%) 100%, 0 100%);
    transition: clip-path .35s ease;
  }
  .kontakt-btn-cta:hover,
  .kontakt-btn-cta:focus-visible{ --x: 70%; }
  @keyframes kontakt-bounce{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-2px)}
  }

  /* Split */
  .kontakt-split{
    display:grid; gap:clamp(1rem, 3.2vw, 2rem);
    align-items:start; grid-template-columns:1fr;
    margin-bottom: clamp(1.1rem, 4vw, 2rem);
  }
  @media (min-width: 992px){
    .kontakt-split{ grid-template-columns: 1.1fr .9fr; }
  }

  .kontakt-org-name{ font-weight:800; font-size:1.1rem; }
  .kontakt-address{ margin:.25rem 0 .6rem 0; font-style:normal; text-wrap:pretty; }

  .kontakt-meta{
    list-style:none; padding:0; margin:0;
    display:flex; flex-direction:column; gap:.35rem;
  }
  .kontakt-meta li{
    display:flex; align-items:flex-start; gap:.5rem;
    line-height:1.45;
  }
  .kontakt-meta .lbl{
    color:#333; font-weight:600;
    white-space:nowrap;
    margin-right:.25rem;
  }
  .kontakt-meta .val{
    flex:1 1 auto; min-width:0;
    word-wrap:break-word; overflow-wrap:anywhere;
  }

  /* Meta grid pro fakturační kartu */
  .kontakt-meta-grid{
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    font-size: .95rem;
  }
  .kontakt-meta-item{ flex: 0 1 auto; }
  .kontakt-meta-item--wide{ flex: 1 1 100%; }

  .kontakt-social{
    display:flex; flex-wrap:wrap; gap:.9rem;
    margin:.8rem 0 .2rem;
  }
  .kontakt-social a{
    display:inline-flex; align-items:center; justify-content:center;
    width:48px; height:48px; border-radius:999px;
    border:1px solid var(--border); color:var(--text);
    background:#fff; padding:4px;
  }
  .kontakt-social a i{ color:var(--maroon); }

  .kontakt-map-card{
    background:#fff; border:1px solid var(--border);
    border-radius:1rem; padding:.7rem;
  }
  .kontakt-map-embed{
    aspect-ratio: 16/10; width:100%;
    border-radius:.8rem; overflow:hidden;
  }
  .kontakt-map-embed iframe{
    width:100%; height:100%;
    border:0; display:block;
  }
  .kontakt-note{ margin:.6rem 0 0; color:#555; }

  /* Provozovna karta */
  .kontakt-introcard{
    background:#fff; border:1px solid var(--border);
    border-radius:16px; padding:1rem;
  }
  .kontakt-cards{ display:grid; gap:1rem; grid-template-columns:1fr; }
  .kontakt-card{
    display:flex; align-items:flex-start; gap:.9rem;
    padding:1.2rem; border-radius:1rem;
    background:#fff; border:1px solid var(--border);
    transition: transform .25s ease, border-color .25s ease;
  }
  .kontakt-card:hover{
    transform: translateY(-3px);
    border-color: rgba(90,26,43,.25);
  }
  .kontakt-icon{
    flex:0 0 56px; height:56px;
    display:flex; align-items:center; justify-content:center;
    border-radius:999px; background:#fff; color:var(--maroon);
    font-size:1.6rem; border:1px solid var(--border);
  }
  .kontakt-card-body h5{ margin:0 0 .35rem 0; font-weight:750; color:var(--maroon); }
  .kontakt-card-address{ font-style:normal; color:#333; margin-bottom: .5rem; }

  /* Tým */
  .kontakt-team{ margin-top:1.2rem; }
  .team-grid{ display:grid; gap:1rem; grid-template-columns:1fr; }
  @media (min-width: 640px){
    .team-grid{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 992px){
    .team-grid{ grid-template-columns: repeat(3, 1fr); }
  }

  .team-card{
    display:grid; grid-template-columns:auto 1fr; gap:.9rem; align-items:center;
    background:#fff; border:1px solid var(--border);
    border-radius:1rem; padding:.9rem 1rem;
    box-shadow:0 8px 18px rgba(16,24,40,.06), 0 2px 6px rgba(16,24,40,.03);
  }
  .team-photo{
    margin:0; width:72px; height:72px;
    border-radius:50%; overflow:hidden;
    border:1px solid var(--border);
  }
  .team-photo img{
    width:100%; height:100%;
    object-fit:cover; display:block;
  }
  .team-name{ margin:.1rem 0 .1rem; font-weight:800; }
  .team-role{ color:var(--muted); font-size:.95rem; }
  .team-contacts{
    display:flex; flex-wrap:wrap;
    gap:.4rem .8rem; margin-top:.35rem;
  }
  .team-contacts a{
    display:inline-flex; align-items:center; gap:.35rem;
    text-decoration:none; font-weight:700;
    border-bottom:1px dashed #ddd; padding-bottom:2px;
  }
  .team-contacts i{ color:var(--maroon); }

  /* HR */
  .hr-soft{
    border:0; height:1px;
    background:linear-gradient(90deg, transparent, rgba(0,0,0,.1), transparent);
    margin:clamp(12px,4vw,24px) 0; border-radius:1px;
  }

  /* Animace */
  .kontakt-anim{ opacity:0; }
  .kontakt-in{ opacity:1; }
  @keyframes kontakt-fade{ from{opacity:0} to{opacity:1} }
  @keyframes kontakt-up{ from{opacity:0; transform:translateY(14px)} to{opacity:1; transform:none} }
  @keyframes kontakt-pop{
    0%{opacity:0; transform: translateY(6px) scale(.98)}
    60%{opacity:1; transform: translateY(0) scale(1.02)}
    100%{transform: scale(1)}
  }
  .kontakt-anim-fade.kontakt-in{
    animation: kontakt-fade .6s ease forwards;
    animation-delay: var(--d,0s);
  }
  .kontakt-anim-up.kontakt-in{
    animation: kontakt-up .7s cubic-bezier(.2,.65,.3,1) forwards;
    animation-delay: var(--d,0s);
  }
  .kontakt-anim-pop.kontakt-in{
    animation: kontakt-pop .7s cubic-bezier(.2,.75,.3,1) forwards;
    animation-delay: var(--d,0s);
  }


#faq-section { 
    display: block; 
    padding: 60px 0;
}

#faq-section .faq-container { 
    width: min(1200px, 92vw); 
    margin-inline: auto; 
}

.faq-hero {
    text-align: center;
    margin-bottom: 50px;
}

.faq-heading {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--maroon);
    font-weight: 800;
    letter-spacing: .05rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.faq-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: var(--maroon);
    transform: translateX(-50%);
}

.faq-note {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 20px auto 0;
}

/* FAQ List - Mřížka */
.faq-list { 
    display: grid; 
    gap: 1.5rem; 
}

@media (min-width: 768px) {
    .faq-list { grid-template-columns: repeat(2, 1fr); }
}

.faq-card {
    background: var(--bg1);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.faq-card-head {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--maroon);
    transition: color 0.3s ease;
}

.faq-card-head:hover,
.faq-card-head[aria-expanded="true"] {
    color: var(--pantone);
}

.faq-card-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.faq-card-title {
    flex-grow: 1;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
}

.faq-caret {
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card-head[aria-expanded="true"] .faq-caret {
    transform: rotate(180deg);
}

/* Tělo dotazu */
.faq-card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: #fdfdfd;
    transition: all 0.4s ease-in-out;
    padding: 0 22px; /* Základní padding nula pro výšku */
}

/* Rozbalený stav pomocí třídy .expanded přidávané JS */
.faq-card-body.expanded {
    max-height: 1000px; /* Dostatečná rezerva */
    opacity: 1;
    padding: 10px 22px 25px 22px;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.faq-card-body p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.faq-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
}


.projects-section {
  padding: 40px 0;
  background: transparent;
}

.projects-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Nadpis sekce */
.projects-section .section-head {
  text-align: center;
  margin-bottom: 50px;
}

.projects-section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-size: clamp(2.2rem, 3.6vw, 2.5rem);
  color: var(--maroon, #3b1934);
  font-weight: 800;
  text-transform: uppercase;
}

.projects-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;
  height: 5px;
  border-radius: 999px;
  background: var(--maroon, #3b1934);
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* KARTY */
.project-card {
  position: relative;
  padding: 45px 30px 30px 30px;
  border-radius: 20px;
  background: var(--bg1, #ffffff);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible;
  margin-top: 15px; /* OPRAVA – již se neřeže ikonka */
  height: 100%;
}

.project-card:hover {
  background: var(--hover-pantone, #f7f0f6);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

/* Ikona v kruhu */
.project-card .icon-circle {
  position: absolute;
  top: -20px; /* OPRAVA – dříve -30px, nyní je viditelná celá */
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: var(--maroon, #3b1934);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
  z-index: 2;
  transition: all 0.35s ease;
}

.project-card .icon-circle i {
  font-size: 2em;
  color: #fff;
}

.project-card:hover .icon-circle {
  transform: scale(1.08) rotate(8deg);
}

/* Texty */
.project-card h3 {
  margin: 5px 0 8px 0;
  font-size: 1.35em;
  font-weight: 800;
  color: var(--maroon, #3b1934);
  padding-right: 70px; /* prostor pro ikonku */
}

.project-card .project-label {
  margin: 0 0 12px 0;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  opacity: 0.7;
}

.project-card .project-meta {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 10px;
}

.project-card .project-meta span {
  display: block;
}

.project-card p {
  font-size: 0.98em;
  line-height: 1.6;
  margin: 0 0 8px 0;
  color: var(--maroon, #3b1934);
  opacity: 0.9;
}

.project-card .project-funding,
.project-card .project-meta-small,
.project-card .project-contact {
  font-size: 0.9em;
  opacity: 0.85;
}

/* Mobil */
@media (max-width: 767px) {
  .projects-section h2 {
    font-size: 2.1rem;
  }

  .project-card {
    padding: 40px 20px 25px 20px;
  }

  .project-card h3 {
    font-size: 1.2em;
  }

  .project-card .icon-circle {
    top: -18px; /* drobný tweak pro mobily */
    right: 20px;
  }
}

  #akce, #akce *{ box-sizing: border-box; }

  /* === ZÁKLAD === */
  .akce-section{position:relative;overflow:hidden}
  .akce-container{
    max-width:1200px;
    margin-inline:auto;
    padding-inline:clamp(12px,4vw,24px); /* bezpečné okraje na mobilech */
  }

  /* Nadpis */
  .akce-title{
    margin:0 0 .5rem;font-weight:900;letter-spacing:.2px;color:#111;
    font-size:clamp(1.8rem,3.4vw,2.4rem);position:relative;display:inline-block
  }
  .akce-title::after{
    content:"";position:absolute;left:0;bottom:-8px;height:6px;width:44%;
    background:var(--maroon);border-radius:4px
  }
  .akce-intro{margin:.6rem 0 1.1rem;color:#333}

  /* === Filtry === */
  .akce-filters{margin-bottom:1rem}
  .akce-filter-row{display:grid;gap:.65rem;grid-template-columns:1fr}
  @media (min-width: 900px){ .akce-filter-row{ grid-template-columns: 1fr auto auto auto } }

  .akce-search{position:relative}
  .akce-search i{position:absolute;left:.65rem;top:50%;transform:translateY(-50%);color:#777}
  .akce-search input{
    width:100%;padding:.6rem .8rem .6rem 2rem;border:1px solid rgba(0,0,0,.12);border-radius:10px;outline:none
  }
  .akce-search input:focus{border-color:rgba(90,26,43,.35);box-shadow:0 0 0 4px rgba(90,26,43,.08)}

  .akce-scope{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
  .akce-scope input{display:none}
  .akce-pill{
    display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .8rem;border-radius:999px;
    border:1px solid rgba(0,0,0,.12);cursor:pointer;font-weight:700;background:#fff;user-select:none
  }
  .akce-scope input:checked + .akce-pill{
    background:rgba(90,26,43,.08);border-color:rgba(90,26,43,.35);color:#000
  }

  .akce-year select{
    padding:.55rem .75rem;border:1px solid rgba(0,0,0,.12);border-radius:10px;min-width:150px;max-width:100%
  }

  .akce-actions{display:flex;gap:.5rem;flex-wrap:wrap} /* wrap na mobilech */
  .akce-btn{
    background:var(--maroon);color:#fff;text-decoration:none;border:none;border-radius:999px;
    padding:.55rem 1rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center
  }
  .akce-btn:hover{background:#4a1623}
  .akce-btn--ghost{background:#fff;color:var(--maroon);border:1px solid rgba(90,26,43,.35)}
  .akce-btn--ghost:hover{background:rgba(90,26,43,.06)}

  /* === GRID KARET – bez přesahů === */
  .akce-grid {
    display: grid !important;
    gap: 2.5rem !important;
    grid-template-columns: 1fr !important;
  }
  @media (min-width: 850px) {
    .akce-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }


  .akce-card{
    background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:14px;
    padding:1.05rem 1.15rem;max-width:100%;
    box-shadow:0 14px 28px rgba(0,0,0,.05);transition:transform .25s ease, box-shadow .25s ease
  }
  .akce-card:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(0,0,0,.07)}
  .akce-card-head{display:flex;align-items:center;gap:.6rem;margin-bottom:.35rem}
  .akce-dot{width:10px;height:10px;border-radius:50%;background:#3cb371;flex:0 0 10px}
  .akce-dot.is-arch{background:#777}
  .akce-card-title{
    margin:0;font-weight:900;letter-spacing:.2px;line-height:1.25;
    font-size:clamp(1.05rem, 1.2vw, 1.2rem);
    word-break:break-word;overflow-wrap:anywhere;hyphens:auto; /* nevytečou dlouhé názvy */
  }

  .akce-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:.35rem 0 .55rem}
  .akce-badge{
    display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.35rem .65rem;
    border:1px solid rgba(0,0,0,.08);background:#fff;font-weight:700;white-space:nowrap
  }
  .akce-badge i{color:var(--maroon)}

  .akce-desc{margin:.35rem 0 .6rem;color:#444;word-break:break-word;overflow-wrap:anywhere}

  .akce-card-actions{display:flex;gap:.5rem;flex-wrap:wrap}
  .akce-card-actions .akce-btn{flex:1 0 auto}

  /* Mobilní doladění */
  @media (max-width:640px){
    .akce-badge{white-space:normal}                 /* dovol zalomení */
    .akce-card-actions .akce-btn{flex:1 0 100%}     /* tlačítko na šířku */
  }

  /* === Empty === */
  .akce-empty{
    grid-column:1/-1;display:flex;gap:.75rem;align-items:flex-start;padding:1rem 1.05rem;
    border:1px dashed rgba(0,0,0,.15);border-radius:14px;background:#fff
  }
  .akce-empty i{color:var(--maroon);font-size:1.25rem;margin-top:.1rem}

  /* === Stránkování === */
  .akce-pagi{margin-top:1rem;display:flex;justify-content:center}
  .akce-pagi ul{list-style:none;display:flex;gap:.35rem;margin:0;padding:0;flex-wrap:wrap}
  .akce-pagi a{
    display:inline-block;padding:.45rem .75rem;border-radius:9px;border:1px solid rgba(0,0,0,.12);text-decoration:none
  }
  .akce-pagi li.is-active a{background:var(--maroon);color:#fff;border-color:transparent}

  /* === Animace (scroll) === */
  .akce-anim{opacity:0;transform:translateY(12px)}
  .akce-in{opacity:1;transform:none;transition:opacity .6s ease, transform .6s cubic-bezier(.2,.65,.3,1)}
  .akce-anim-fade{opacity:0}
  .akce-anim-up.akce-in{opacity:1;transform:none}

  @media (prefers-reduced-motion:reduce){
    .akce-anim,.akce-anim-fade{opacity:1;transform:none}
  }



  #ep-section-wrapper {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    max-width: 850px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    color: var(--ep-text);
    line-height: 1.7;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }

  #ep-main-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--ep-maroon);
    letter-spacing: -1px;
    text-transform: uppercase;
  }

  #ep-sub-title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--ep-border);
    padding-bottom: 25px;
    color: #666;
  }

  #ep-sub-title small {
    display: block;
    margin-top: 10px;
    color: var(--ep-maroon);
    font-weight: 600;
    font-size: 1.1rem;
  }

  .ep-content-block {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--ep-bg-light);
    border-left: 6px solid var(--ep-maroon);
    border-radius: 0 8px 8px 0;
    transition: transform 0.2s ease;
  }

  .ep-content-block:hover {
    transform: translateX(5px);
  }

  .ep-content-heading {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: block;
    font-weight: 800;
    color: var(--ep-maroon);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .ep-lecturer-box {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
  }

  .ep-lecturer-box:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .ep-lecturer-name {
    font-weight: 700;
    color: var(--ep-maroon);
    font-size: 1.1rem;
    display: block;
  }

  .ep-text-large {
    font-size: 1.05rem;
  }

  #ep-org-info {
    background: #f4f4f4;
    padding: 35px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px solid #e0e0e0;
  }

  .ep-org-row {
    margin-bottom: 18px;
    font-size: 1.1rem;
    display: flex;
    align-items: baseline;
  }

  .ep-org-label {
    font-weight: 700;
    min-width: 140px;
    color: var(--ep-maroon);
    display: inline-block;
  }

  #ep-payment-details {
    margin-top: 25px;
    background: white;
    border-left-color: var(--ep-gold);
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  #ep-cta-container {
    text-align: center;
    margin-top: 50px;
  }

  #ep-btn-register {
    display: inline-block;
    background: linear-gradient(135deg, var(--ep-gold) 0%, var(--ep-gold-dark) 100%);
    color: white !important;
    padding: 20px 60px;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(206, 184, 136, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  #ep-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, var(--ep-gold-dark) 0%, #a38f5f 100%);
  }

  @media (max-width: 650px) {
    #ep-section-wrapper { padding: 15px; margin: 20px 10px; }
    #ep-main-title { font-size: 1.8rem; }
    .ep-org-row { flex-direction: column; }
    .ep-org-label { margin-bottom: 5px; }
    #ep-btn-register { width: 100%; box-sizing: border-box; padding: 18px 20px; font-size: 1.1rem; }
  }



  .custom-course-section {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 8vw, 80px) 0;
    background: var(--custom-bg);
  }

  .custom-course-container {
    width: min(1100px, 94vw);
    margin-inline: auto;
    padding-inline: clamp(12px, 4vw, 24px);
  }

  .custom-course-split {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    grid-template-columns: 1fr;
  }

  @media (min-width: 992px) {
    .custom-course-split { grid-template-columns: 1.2fr 0.8fr; }
  }

  /* Textová část */
  .emoji-lead {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
  }

  .custom-course-heading {
    color: var(--maroon);
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin: 0 0 1.5rem 0;
    position: relative;
  }

  .custom-course-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 6px;
    width: 80px;
    background: var(--maroon);
    border-radius: 4px;
  }

  .custom-course-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-main, #1e293b);
    margin-bottom: 1rem;
  }

  .custom-course-subtext {
    font-size: 1.05rem;
    color: var(--text-muted, #64748b);
  }

  /* Karta s akcí */
  .action-card {
    background: #fff;
    border: 1px solid var(--custom-border);
    border-radius: 24px;
    padding: clamp(24px, 5vw, 40px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    text-align: center;
  }

  .action-title {
    font-weight: 800;
    color: var(--maroon);
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  .custom-course-btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 2rem;
  }

  .custom-course-btn {
    background: var(--maroon);
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    font-weight: 800;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
  }

  .custom-course-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(189, 56, 38, 0.2);
    filter: brightness(1.1);
  }

  .custom-course-btn--ghost {
    background: transparent;
    border-color: var(--custom-border);
    color: var(--text-main);
  }

  .custom-course-btn--ghost:hover {
    background: #f8f9fa;
    border-color: var(--maroon);
    color: var(--maroon);
  }

  /* Animace (shodné s kontakty) */
  .custom-course-anim { opacity: 0; }
  .custom-course-in { opacity: 1; }
  
  @keyframes custom-up { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
  }

  .custom-course-anim-up.custom-course-in {
    animation: custom-up 0.8s cubic-bezier(.2, .65, .3, 1) forwards;
    animation-delay: var(--d, 0s);
  }


.team-ous {
  padding: 25px 0;
  background-color: transparent;
  overflow: visible;
}

.team-ous .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- HLAVIČKA SEKCE --- */
.team-ous .section-head {
  text-align: center;
  margin-bottom: 50px;
}

.team-ous h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-size: clamp(2.4rem, 3.6vw, 2.5rem);
  color: var(--maroon);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.team-ous h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;
  height: 5px;
  border-radius: 999px;
  background: var(--maroon);
}

.team-ous .lead {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15em;
  color: #555;
  line-height: 1.6;
}

/* Mobilní úprava nadpisu */
@media (max-width: 767px) {
  .team-ous h2 { font-size: 2.1em; padding-bottom: 12px; }
  .team-ous h2::after { width: 100px; }
}

/* --- TEXTOVÉ BLOKY (Lektoři / Realizační tým) --- */
.team-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  margin-top: 40px;
}

.team-text-block h3 {
  color: var(--maroon);
  font-weight: 700;
  font-size: 1.5em;
  margin-bottom: 15px;
  border-left: 4px solid var(--maroon);
  padding-left: 15px;
}

.team-text-block p {
  color: #444;
  line-height: 1.7;
  font-size: 1.05em;
}

.section-head blockquote {
  font-style: italic;
  color: var(--maroon);
  background: rgba(128, 0, 0, 0.05);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: none; /* zrušení defaultního borderu */
}

@media (max-width: 768px) {
  .team-info-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* --- KARTY OSOB (PERSONÁL) --- */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px; /* Mezera před formulářem */
}

.person-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg1);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  height: 100%;
}

.person-card:hover {
  background-color: var(--hover-pantone);
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

/* Fotografie */
.person-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px auto;
  border-radius: 50%; /* Kulatá fotka */
  overflow: hidden;
  background-color: #ddd; /* Placeholder barva */
  border: 4px solid var(--maroon);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.person-card:hover .person-photo img {
  transform: scale(1.1);
}

/* Informace o osobě */
.person-card h4 {
  color: var(--maroon);
  font-size: 1.4em;
  font-weight: 800;
  margin-bottom: 5px;
}

.person-card .role {
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.person-card .claim {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
  flex-grow: 1; /* Aby byly kontakty dole zarovnané */
}

/* Kontakty */
.person-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 0.95em;
}

.contact-link i {
  font-size: 1.2em;
}

.contact-link:hover {
  text-decoration: underline;
  color: #5a0000;
}

/* =========================================================
   STAŇTE SE LEKTOREM – DODATEČNÉ STYLY
   ========================================================= */

.lecturer-section {
  padding-top: 40px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* grid s kartami pro přehlednost požadavků / benefitů */
.lecturer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.lecturer-card {
  background: var(--bg1);
  border-radius: 18px;
  padding: 25px 24px 26px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lecturer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(128,0,0,0.10), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lecturer-card-inner {
  position: relative;
  z-index: 1;
}

.lecturer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.10);
  border-color: rgba(128,0,0,0.28);
}

.lecturer-card:hover::before {
  opacity: 1;
}

.lecturer-card h3 {
  font-size: 1.25em;
  margin-bottom: 12px;
  color: var(--maroon);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lecturer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(128,0,0,0.06);
  color: var(--maroon);
  font-weight: 700;
}

.lecturer-card p,
.lecturer-card ul {
  color: #444;
  font-size: 0.98em;
  line-height: 1.7;
  margin: 0;
}

.lecturer-card ul {
  padding-left: 1.1em;
  margin-top: 6px;
}

.lecturer-card li + li {
  margin-top: 3px;
}

/* CTA pásek dole */
.lecturer-cta {
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(128,0,0,0.07), rgba(128,0,0,0.01));
  border: 1px solid rgba(128,0,0,0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lecturer-cta-text {
  font-size: 0.98em;
  color: #333;
}

.lecturer-cta-text strong {
  color: var(--maroon);
}

/* tlačítko */
.btn-lecturer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 10px 25px rgba(128,0,0,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-lecturer span.icon {
  font-size: 1.2em;
  line-height: 1;
}

.btn-lecturer:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(128,0,0,0.65);
  background: #5a0000;
}

.btn-lecturer:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(128,0,0,0.45);
}

/* mobilní úpravy */
@media (max-width: 768px) {
  .lecturer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}



.full-services-section {
  padding: 25px 0;
  background-color: transparent; 
  overflow: visible;
}

.full-services-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- SPOLEČNÉ STYLY PRO NADPISY --- */
.full-services-section .section-head {
  text-align: center;
  margin-bottom: 60px;
}

.full-services-section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-size: clamp(2.4rem, 3.6vw, 2.5rem);
  color: var(--maroon);
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.full-services-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;
  height: 5px;
  border-radius: 999px;
  background: var(--maroon);
}

/* Druhý nadpis (Proč si vybrat nás) má nahoře větší mezeru */
.full-services-section .spacer-head {
  margin-top: 80px;
}

/* --- MOBILNÍ ÚPRAVA NADPISU --- */
@media (max-width: 767px) {
  .full-services-section h2 {
    font-size: 2.1em;
    padding-bottom: 12px;
  }
  .full-services-section h2::after {
    width: 100px;
  }
}

/* --- GRID (MŘÍŽKA) --- */
.full-services-section .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- DESIGN KARTY (SPOLEČNÝ PRO OBĚ ČÁSTI) --- */
.full-services-section .info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 45px 30px 35px 30px; /* Horní padding větší pro ikonku */
  border-radius: 20px;
  
  /* Základní barvy */
  background-color: var(--bg1);
  border: 1px solid rgba(0,0,0,0.05);
  
  /* 3D Efekt */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.05);
  
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  margin-top: 25px; /* Prostor pro vyskočení ikony */
}

/* Hover efekt */
.full-services-section .info-card:hover {
  background-color: var(--hover-pantone);
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

/* --- IKONA V KRUHU --- */
.full-services-section .info-card .icon-circle {
  position: absolute;
  top: -30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: var(--maroon);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
  transition: all 0.4s ease;
  z-index: 2;
}

.full-services-section .info-card:hover .icon-circle {
  transform: scale(1.1) rotate(10deg);
  background-color: var(--maroon); /* Kruh zůstává tmavý */
}

.full-services-section .info-card .icon-circle i {
  font-size: 2em;
  color: #fff;
  transition: color 0.3s ease;
}

.full-services-section .info-card:hover .icon-circle i {
  color: var(--hover-pantone); /* Ikonka se přebarví na barvu pozadí */
}

/* --- TEXTY V KARTĚ --- */
.full-services-section .info-card h3 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.3;
  padding-right: 60px; /* Ochrana proti překrytí ikonou */
}

.full-services-section .info-card p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--maroon);
  opacity: 0.85;
}

/* Hover stavy textu */
.full-services-section .info-card:hover h3,
.full-services-section .info-card:hover p {
  color: var(--maroon);
  opacity: 1;
}

/* Speciální úprava pro "Proč nás vybrat" - pokud nemají popis, nadpis se vycentruje */
.full-services-section .why-us-item h3 {
    margin-bottom: 0;
    padding-right: 50px;
}



.team-ous {
  padding: 25px 0;
  background-color: transparent;
  overflow: visible;
}

.team-ous .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}


.team-ous .section-head {
  text-align: center;
  margin-bottom: 50px;
}

.team-ous h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-size: clamp(2.4rem, 3.6vw, 2.5rem);
  color: var(--maroon);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.team-ous h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;
  height: 5px;
  border-radius: 999px;
  background: var(--maroon);
}

.team-ous .lead {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15em;
  color: #555;
  line-height: 1.6;
}

/* Mobilní úprava nadpisu */
@media (max-width: 767px) {
  .team-ous h2 { font-size: 2.1em; padding-bottom: 12px; }
  .team-ous h2::after { width: 100px; }
}

/* --- TEXTOVÉ BLOKY (Lektoři / Realizační tým) --- */
.team-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  margin-top: 40px;
}

.team-text-block h3 {
  color: var(--maroon);
  font-weight: 700;
  font-size: 1.5em;
  margin-bottom: 15px;
  border-left: 4px solid var(--maroon);
  padding-left: 15px;
}

.team-text-block p {
  color: #444;
  line-height: 1.7;
  font-size: 1.05em;
}

.section-head blockquote {
  font-style: italic;
  color: var(--maroon);
  background: rgba(128, 0, 0, 0.05);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: none; /* zrušení defaultního borderu */
}

@media (max-width: 768px) {
  .team-info-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* --- KARTY OSOB (PERSONÁL) --- */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px; /* Mezera před formulářem */
}

.person-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg1);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  height: 100%;
}

.person-card:hover {
  background-color: var(--hover-pantone);
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

/* Fotografie */
.person-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px auto;
  border-radius: 50%; /* Kulatá fotka */
  overflow: hidden;
  background-color: #ddd; /* Placeholder barva */
  border: 4px solid var(--maroon);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.person-card:hover .person-photo img {
  transform: scale(1.1);
}

/* Informace o osobě */
.person-card h4 {
  color: var(--maroon);
  font-size: 1.4em;
  font-weight: 800;
  margin-bottom: 5px;
}

.person-card .role {
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.person-card .claim {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
  flex-grow: 1; /* Aby byly kontakty dole zarovnané */
}

/* Kontakty */
.person-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 0.95em;
}

.contact-link i {
  font-size: 1.2em;
}

.contact-link:hover {
  text-decoration: underline;
  color: #5a0000;
}




.about-ous {
  padding: 20px 0;
  background-color: transparent; /* Pozadí sekce přebírá web, nebo lze nastavit */
  overflow: visible;
}

.about-ous .fb-head {
  text-align: center;
  margin-bottom: 60px;
}

.about-ous .fb-head .lead {
  max-width: 850px;
  margin: 20px auto 0;
  font-size: 1.15em;
  color: #555;
  line-height: 1.6;
}

/* --- NADPIS --- */
.about-ous.about-band .fb-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-size: clamp(2.4rem, 3.6vw, 2.5rem);
  color: var(--maroon); /* Použití proměnné */
  font-weight: 800; /* Tučný nadpis */
  margin-bottom: 0;
}

.about-ous.about-band .fb-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;
  height: 5px;
  border-radius: 999px;
  background: var(--maroon); /* Podtržení v barvě maroon */
}

/* --- MOBILNÍ ÚPRAVA NADPISU (přidáno) --- */
@media (max-width: 767px) {

  .about-ous.about-band .fb-head h2 {
    font-size: 2.1em; /* Menší písmo na mobilu */
    padding-bottom: 12px;
  }
  .about-ous.about-band .fb-head h2::after {
    width: 100px; /* Kratší podtržení na mobilu */
  }
}

/* --- TEXT A LOGO --- */
.about-ous.about-band .about-text-wrapper {
  margin-bottom: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.about-ous.about-band .about-text p {
  line-height: 1.7;
  color: #333; /* Základní text odstavců tmavý pro čitelnost */
  margin-bottom: 20px;
  font-size: 1.05em;
}

.about-ous.about-band .about-logo {
  text-align: center;
  margin-bottom: 30px;
}

.about-ous.about-band .about-logo img {
   max-width: 320px;
}

/* Desktop layout pro logo a text */
@media (min-width: 720px) {
  .about-ous.about-band .about-text-wrapper::after {
    content: "";
    display: table;
    clear: both;
  }
  .about-ous.about-band .about-logo {
    float: right;
    margin-left: 50px;
    margin-bottom: 20px;
    text-align: left;
  }

  .about-ous.about-band .about-logo img:hover {
    transform: scale(1.02);
  }
}

/* --- KARTY (CARDS) DESIGN --- */
.about-ous .about-subtitle {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 1.9rem;
  color: var(--maroon);
  font-weight: 800;
}

.about-ous.about-band .about-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px; /* Větší mezery mezi kartami */
  list-style: none;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Styl jednotlivé karty */
.about-ous.about-band .about-inner .item {
  position: relative; /* Pro absolutní pozici ikonky */
  display: flex;
  flex-direction: column;
  padding: 40px 30px 30px 30px; /* Horní padding větší kvůli ikonce */
  border-radius: 20px;
  
  /* ZÁKLADNÍ STAV */
  background-color: var(--bg1); /* Barva pozadí karty */
  border: 1px solid rgba(0,0,0,0.05);
  
  /* 3D Stín */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.05);
  
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Pružná animace */
  height: 100%;
  margin-top: 20px; /* Místo pro vyskočení ikony */
}

/* HOVER EFEKT KARTY */
.about-ous.about-band .about-inner .item:hover {
  background-color: var(--hover-pantone); /* Změna pozadí na hover */
  transform: translateY(-15px); /* Výrazný zdvih */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); /* Hluboký stín */
  border-color: transparent;
}

/* KOLEČKO S IKONOU V ROHU */
.about-ous.about-band .about-inner .item .icon-circle {
  position: absolute;
  top: -25px; /* Vysunutí ven z karty */
  right: 30px; /* Pozice zprava */
  width: 65px;
  height: 65px;
  background-color: var(--maroon); /* Hlavní barva kolečka */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3); /* Stín pod kolečkem v barvě maroon */
  transition: all 0.4s ease;
  z-index: 2;
}

.about-ous.about-band .about-inner .item:hover .icon-circle {
  transform: scale(1.1) rotate(10deg); /* Zvětšení a rotace kolečka */
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background-color: var(--maroon); /* Kolečko zůstává maroon pro kontrast s hover-pantone pozadím */
}

/* Ikonka uvnitř kolečka */
.about-ous.about-band .about-inner .item .icon-circle i {
  font-size: 1.8em;
  color: #fff; /* Bílá ikona v základu */
  transition: color 0.3s ease;
}

.about-ous.about-band .about-inner .item:hover .icon-circle i {
   color: var(--hover-pantone); /* Ikonka se změní na barvu pozadí karty */
}

/* Texty v kartě */
.about-ous.about-band .about-inner .item h6 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.3em;
  font-weight: 800; /* Tučné */
  color: var(--maroon); /* Barva textu maroon */
  transition: color 0.3s ease;
}

.about-ous.about-band .about-inner .item p {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
  color: var(--maroon); /* Text maroon i v odstavci */
  opacity: 0.85; /* Mírná průhlednost pro odlišení od nadpisu */
  transition: color 0.3s ease;
}

/* Při hoveru zůstává text maroon (tmavý), protože pozadí je hover-pantone (světlé) */
.about-ous.about-band .about-inner .item:hover h6,
.about-ous.about-band .about-inner .item:hover p {
  color: var(--maroon);
  opacity: 1;
}




  .course-detail {
    max-width: 1240px; margin: 0 auto; padding: 24px 16px 56px; color: var(--ink);
    font-family: system-ui, -apple-system, sans-serif;
  }

  .cd-back {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 24px; text-decoration: none;
    font-weight: 700; color: #475467; font-size: 0.95rem;
  }
  .cd-back:hover { color: var(--brand); }

  .cd-grid {
    display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start;
  }
  @media (max-width: 900px) { .cd-grid { grid-template-columns: 1fr; } }

  .cd-main { min-width: 0; }
  
  .cd-header { margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .cd-title { font-size: 2.4em; color: var(--maroon); margin: 8px 0 12px; line-height: 1.2; font-weight: 900; }
  .cd-subtitle { font-size: 1.15rem; color: #475467; max-width: 800px; margin: 0; }

  .cd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
  .tag-dt { padding: 4px 10px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; border: 1px solid var(--line); }
  .tag-cat { background: #e0f2fe; color: #0284c7; border-color: #bae6fd; }

  .cd-content { line-height: 1.7; font-size: 1.05rem; }
  .cd-content h2 { color: var(--brand); font-size: 1.6em; margin-top: 1.5em; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px; }
  .cd-content h3 { color: var(--ink); margin-top: 1.4em; font-size: 1.3em; }
  .cd-content ul, .cd-content ol { padding-left: 24px; margin-bottom: 16px; }
  .cd-content li { margin-bottom: 6px; }
  .cd-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
  .cd-content th, .cd-content td { border: 1px solid var(--line); padding: 12px; text-align: left; }
  .cd-content th { background: #f9fafb; font-weight: 800; }
  .cd-content img { max-width: 100%; border-radius: 12px; margin: 16px 0; border: 1px solid var(--line); }
  .cd-content blockquote { border-left: 4px solid var(--brand); margin: 16px 0; padding: 12px 20px; background: #fff5f5; border-radius: 0 8px 8px 0; font-style: italic; }

  /* Styly pro termíny */
  .terminy-wrapper { margin-top: 1px; padding: 32px; background: #fcfcfc; border: 1px solid var(--line); border-radius: 20px; }
  .terminy-title { color: var(--maroon); font-weight: 900; margin-bottom: 24px; font-size: 1.8rem; }
  .term-section { margin-bottom: 30px; }
  .term-section h4 { font-size: 1.2rem; margin-bottom: 12px; color: var(--ink); border-left: 4px solid var(--brand); padding-left: 12px; }
  .term-table-responsive { overflow-x: auto; }
  .term-table { width: 100%; border-collapse: collapse; background: white; margin: 0 !important; }
  .term-table th, .term-table td { padding: 12px; border: 1px solid var(--line); text-align: left; }
  .term-table th { background: #f8fafc; font-size: 0.85rem; text-transform: uppercase; color: #667085; }

  .cd-sidebar {
    position: sticky; top: 20px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 20px; padding: 24px;
    box-shadow: 0 12px 32px rgba(16,24,40,.08);
  }
  .cd-img-cover { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--line); display: none; }
  
  .cd-info-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
  .cd-ico { width: 24px; height: 24px; color: #667085; flex-shrink: 0; }
  .cd-info-label { display: block; font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: #667085; margin-bottom: 2px; }
  .cd-info-val { font-weight: 600; color: var(--ink); font-size: 1rem; }

  .cd-price { text-align: center; background: #fafafa; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 24px 0; }
  .cd-price-val { display: block; font-size: 1.8rem; font-weight: 900; color: var(--brand); }
  .cd-price-lbl { font-size: 0.9rem; color: #667085; }

  .cd-cta { 
    display: block; width: 100%; text-align: center; padding: 14px; 
    background: var(--brand); color: white; border-radius: 12px; 
    text-decoration: none; font-weight: 800; font-size: 1.1rem;
    transition: opacity 0.2s;
  }
  .cd-cta:hover { opacity: 0.9; }

  #mapContainer { margin-top: 24px; display: none; }
  #map { height: 260px; width: 100%; border-radius: 12px; border: 1px solid var(--line); z-index: 1; }
  .map-title { font-weight: 800; margin-bottom: 8px; display: block; font-size: 0.95rem; }

  .loader-box { padding: 60px; text-align: center; color: #667085; font-size: 1.1rem; animation: pulse 1.5s infinite; }
  .error-box { padding: 20px; background: #fee2e2; color: #991b1b; border-radius: 12px; text-align: center; margin-top: 20px; }



  .page-module {
    width: 100%;
  }


  .page { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 24px 16px 56px; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    color: var(--text-main); 
  }
  
  #featureHeading { 
    margin: 0 0 10px; 
    color: var(--maroon); 
    font-size: clamp(2rem, 5vw, 2.8rem); 
    font-weight: 900; 
    letter-spacing: -1px;
  }

  #categoryDescription {
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    display: none;
  }

  .filters-wrapper { margin-bottom: 40px; }
  .filter-toggle-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px; border-radius: 14px; background: #fff;
    border: 2px solid var(--line); cursor: pointer; font-weight: 800;
    transition: all 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    color: var(--maroon);
  }
  
  .filters-content { 
    display: none; margin-top: 15px; background: #fff; 
    border: 2px solid var(--line); border-radius: 24px; padding: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }
  .filters-content.active { display: block; animation: slideDown 0.3s ease-out; }

  .filters-grid { 
    display: grid; 
    gap: 20px; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    align-items: end; 
  }

  .filter-group label { display: block; font-weight: 700; font-size: .85rem; color: var(--text-muted); margin-bottom: 6px; }
  .filter-group input, .filter-group select {
    width: 100%; height: 44px; padding: 0 12px; border-radius: 12px;
    border: 1px solid var(--line); background: #fcfdfe; font-size: .95rem; box-sizing: border-box;
  }
  
  .filter-actions { display: flex; gap: 12px; }
  .btn-action { height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 800; cursor: pointer; border: 1px solid var(--line); }
  .btn-search { background: var(--maroon); color: #fff; border: none; }

  .list { display: grid; grid-template-columns: 1fr; gap: 30px; }
  @media (min-width: 992px) { .list { grid-template-columns: 1fr 1fr; } }

  .card {
    display: flex; flex-direction: column; background: var(--card-bg);
    border: 1px solid var(--line); border-radius: 28px; padding: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; height: 100%; box-sizing: border-box;
  }
  .card:hover { transform: translateY(-10px); box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.15); }

  .card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
  .title { margin: 0; font-size: 1.25rem; color: var(--maroon); font-weight: 900; line-height: 1.2; flex: 1; }
  .price-tag { text-align: right; flex-shrink: 0; }
  .price-val { display: block; font-size: 1.4rem; font-weight: 900; color: #111827; line-height: 1; }
  .price-lbl { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

  .card-body { flex-grow: 1; margin-bottom: 25px; }
  .info-list { list-style: none; padding: 0; margin: 0; }
  .info-item { font-size: 1.05rem; color: #4b5563; margin-bottom: 8px; line-height: 1.5; }
  .info-item strong { color: var(--text-main); font-weight: 700; text-transform: lowercase; }

  .card-divider { height: 1px; background: #f1f5f9; margin-bottom: 25px; }
  .card-footer { display: flex; flex-direction: column; gap: 12px; }
  .button-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  
  .cta {
    display: flex; align-items: center; justify-content: center;
    padding: 14px; border-radius: 14px; font-weight: 800;
    text-decoration: none; font-size: 1.08rem; transition: all 0.2s;
  }
  .cta-main { background: var(--pantone); color: #fff; }
  .cta-ghost { background: #fff; color: #374151; border: 1.5px solid var(--line); }
  .cta-up { background: #f0f7ff; color: #004a99; border: 1px solid #cce3ff; grid-column: span 2; font-size: 0.95rem; }
  
  .cta:hover { filter: brightness(95%); transform: scale(1.02); }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }


  
  .footer .f-section summary {
    display:flex; align-items:center; justify-content:space-between;
    cursor:pointer; user-select:none; padding:.4rem 0; font-weight:700;
  }
  .footer .f-section[open] summary i { transform: rotate(180deg); transition: transform .2s ease; }
  .footer .f-content { padding:.4rem 0 .6rem; }



  #prihlaska-typy { background: var(--bg2);  }
  #prihlaska-typy .choseform-container{ background: var(--bg2); width:min(840px, 92vw); margin-inline:auto; }
  #prihlaska-typy .choseform-title-wrap{ margin-top: 2.0rem; margin-bottom: 1.2rem; }
  #prihlaska-typy .choseform-enroll-title{
    color: var(--maroon); font-weight:850; letter-spacing:.2px;
    font-size: clamp(1.9rem, 3.1vw, 2.4rem);
    position:relative; margin: 0 0 1rem 0;
  }
  #prihlaska-typy .choseform-enroll-title::after{
    content:""; position:absolute; left:0; bottom:-8px; height:6px;
    width:40%; background: var(--bg1); border-radius:4px;
  }
  #prihlaska-typy .choseform-form-card{
    background:#fff; border:1px solid rgba(0,0,0,.06);
    border-radius:16px; padding: 1.2rem 1.25rem 1.4rem;
  }
  #prihlaska-typy .choseform-form{ display:block; }
  #prihlaska-typy .choseform-field{ margin-bottom: 1rem; width:100%; }
  #prihlaska-typy .choseform-field label{ font-weight:650; margin-bottom:.35rem; display:block; }
  #prihlaska-typy .choseform-req{ color: var(--maroon); }
  #prihlaska-typy .choseform-input{ position:relative; width:100%; }
  #prihlaska-typy .choseform-form .form-control,
  #prihlaska-typy .choseform-control{ width:100% !important; }
  #prihlaska-typy textarea.choseform-control{ resize:vertical; }
  #prihlaska-typy .choseform-input i{
    position:absolute; left:.7rem; top:50%; transform:translateY(-50%);
    color: var(--maroon) !important; font-size:1rem; pointer-events:none; z-index:3; opacity:.9;
  }
  #prihlaska-typy .choseform-input--textarea i{ top:.95rem; transform:none; }
  #prihlaska-typy .choseform-control{
    position:relative; z-index:1; padding:.60rem .9rem .60rem 2.1rem;
    font-size:.98rem; border-radius:.65rem; background:#fff;
  }
  #prihlaska-typy .choseform-control:focus{
    box-shadow:0 0 0 .2rem rgba(90,26,43,.2); border-color:rgba(90,26,43,.6);
  }
  #prihlaska-typy .choseform-btn-wrap{ margin-top: 1.1rem; }
  #prihlaska-typy .choseform-btn-primary{
    background:var(--pantone); color:#fff; border:none; border-radius:999px;
    padding:.95rem 2.1rem; font-weight:800; letter-spacing:.3px; font-size:1rem;
    display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
    transition:background-color .2s ease, transform .1s ease;
    animation:choseform-softBounce 3.2s ease-in-out infinite;
  }
  #prihlaska-typy .choseform-btn-primary:hover{ transform:translateY(-1px); background:var(--hover-pantone); }
  #prihlaska-typy .choseform-btn-primary:active{ transform:translateY(0); }
  @keyframes choseform-softBounce{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-2px) } }
  #prihlaska-typy .choseform-anim{ opacity:0; }
  #prihlaska-typy .choseform-in{ opacity:1; }
  @keyframes choseform-fade{ from{opacity:0} to{opacity:1} }
  @keyframes choseform-up{ from{opacity:0; transform:translateY(14px)} to{opacity:1; transform:none} }
  @media (prefers-reduced-motion: reduce){
    #prihlaska-typy .choseform-anim-fade.choseform-in,
    #prihlaska-typy .choseform-anim-up.choseform-in{ animation:none; }
    #prihlaska-typy .choseform-btn-primary{ animation:none; }
  }

  .rekval-modern-section {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-wrap: wrap;
    background-color: var(--section-bg);
    overflow: hidden;
    position: relative;
    min-height: 600px;
  }

  .rekval-content {
    flex: 1 1 100%;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
  }

  @media (min-width: 992px) {
    .rekval-content {
      flex: 0 0 55%;
      padding: 80px 60px 80px 10%;
      margin: 0;
    }
  }

  .rekval-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 50px;
  }

  .rekval-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 30px 30px 30px;
    border-radius: 20px;
    background-color: var(--bg1);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 20px;
  }

  .item:hover {
    background-color: var(--hover-pantone);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: transparent;
  }

  .icon-circle {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--maroon);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
  }

  .item:hover .icon-circle {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }

  .icon-circle i {
    font-size: 1.8em;
    color: #fff;
    transition: color 0.3s ease;
  }

  .item:hover .icon-circle i {
    color: var(--hover-pantone);
  }

  /* Upraveno pro h3 místo h6 */
  .item h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 800;
    color: var(--maroon);
    transition: color 0.3s ease;
  }

  .item p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
    color: var(--maroon);
    opacity: 0.85;
    transition: color 0.3s ease;
  }

  .rekval-image-full {
    display: none;
    flex: 0 0 45%;
    position: relative;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
  }

  .rekval-image-full img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (min-width: 992px) {
    .rekval-image-full {
      display: block;
    }
  }

  .rekval-content.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  .rekval-image-full.in-view {
    opacity: 1;
    transform: translateX(0);
  }



    .heropage-section,
    .heropage-section * {
        box-sizing: border-box;
    }

    .heropage-section {
        --hp-accent: #e44d33;
        --hp-text: #ffffff;
        margin: 0;
        font-family: 'Montserrat', sans-serif;
        background: #000;
        color: var(--hp-text);
        overflow: hidden;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
        width: 100%;
        position: relative;
    }

    .heropage-bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        pointer-events: none;
    }

    .heropage-backdrop {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)),
            radial-gradient(circle at top left, rgba(228, 77, 51, 0.35), transparent 98%);
        z-index: 1;
        pointer-events: none;
    }

    .heropage-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 100px;
        max-width: 1600px;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .heropage-left-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 70px;
        order: 1;
    }

    .heropage-icon-link {
        text-decoration: none;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.3s ease;
    }

    .heropage-icon-link:hover {
        transform: scale(1.1);
    }

    .heropage-icon-shape {
        width: 185px;
        height: 185px;
        background: rgba(255, 255, 255, 0.07);
        display: flex;
        justify-content: center;
        align-items: center;
        clip-path: polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%);
        backdrop-filter: blur(5px);
        margin-bottom: 20px;
        box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
        position: relative;
        overflow: hidden;
    }

    .heropage-icon-shape video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .heropage-icon-link:hover .heropage-icon-shape video {
        opacity: 1;
    }

    .heropage-icon-shape i {
        font-size: 68px;
        color: white;
        z-index: 2;
        position: relative;
    }

    .heropage-icon-label {
        font-weight: 700;
        font-size: 18px;
        text-transform: uppercase;
        text-align: center;
        letter-spacing: 1px;
    }

    .heropage-divider-vertical {
        width: 5px;
        height: 550px;
        background: linear-gradient(to bottom, transparent, #e44d33 15%, #ffab91 50%, #e44d33 85%, transparent);
        border-radius: 5px;
        opacity: 0.8;
        flex-shrink: 0;
        order: 2;
    }

    .heropage-right-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 600px;
        order: 3;
    }

    .heropage-logo {
        width: 205px;
        height: auto;
        margin-bottom: 30px;
        filter: brightness(0) invert(1);
    }

    .heropage-title {
        font-size: 52px;
        font-weight: 900;
        line-height: 1.15;
        margin: 0 0 40px 0;
    }

    .heropage-btn-group {
        display: flex;
        gap: 20px;
        margin-bottom: 40px;
    }

    .heropage-btn {
        padding: 18px 45px;
        font-size: 18px;
        font-weight: 800;
        border-radius: 6px;
        text-transform: uppercase;
        text-decoration: none;
        transition: 0.3s;
        display: inline-block;
    }

    .heropage-btn-primary {
        background: var(--hp-accent);
        border: 2px solid var(--hp-accent);
        color: white;
    }

    .heropage-btn-primary:hover {
        background: #ff5e45;
        border-color: #ff5e45;
    }

    @media (max-width: 991px) {
        .heropage-container {
            flex-direction: column;
            gap: 30px;
            text-align: center;
        }

        .heropage-divider-vertical {
            display: none;
        }

        .heropage-right-content {
            order: 1;
            align-items: center;
            width: 100%;
        }

        .heropage-left-grid {
            order: 2;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .heropage-icon-link {
            flex-direction: row;
            width: 100%;
            padding: 12px 15px;
            border-radius: 8px;
            background: rgba(255,255,255,0.12);
            align-items: center;
        }

        .heropage-icon-shape {
            width: 36px;
            height: 36px;
            clip-path: none;
            background: none;
            box-shadow: none;
            margin-bottom: 0;
            margin-right: 12px;
        }

        .heropage-icon-shape i {
            font-size: 22px;
        }

        .heropage-icon-shape video {
            display: none;
        }

        .heropage-icon-label {
            font-size: 16px;
        }

        .heropage-title {
            font-size: 26px;
            margin-bottom: 22px;
        }

        .heropage-btn-group {
            width: 100%;
            flex-direction: column;
            order: 3;
        }

        .heropage-btn {
            width: 100%;
        }

        .heropage-logo {
            width: 170px;
            margin-bottom: 15px;
        }
    }


.brand img {
    width: 105px;
    height: auto !important;
}

/* Skrytý text pro čtečky */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #800000;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.88rem;
    border: 1px solid rgba(128, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}
.call-btn:hover {
    background: #800000;
    color: #fff;
}

@media (max-width: 1200px) {
    .call-text { display: none; }
    .call-btn { padding: 8px; border-radius: 50%; width: 36px; height: 36px; justify-content: center; }
}

@media (min-width: 992px) {
    .top-nav summary::-webkit-details-marker { display: none; }
    .top-nav summary { list-style: none; cursor: pointer; outline: none; }
    .tn-item { position: relative; }
    .tn-sub {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #ffffff;
        border-radius: 12px; 
        border: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        margin: 0;
        padding: 8px 0; 
        list-style: none;
        z-index: 9999;
        overflow: hidden; 
    }
    .tn-drop[open] .tn-sub::before {
        content: "";
        position: absolute;
        top: -25px; 
        left: 0;
        right: 0;
        height: 30px;
        background: transparent;
        z-index: -1;
    }
    .tn-sub-link {
        display: block;
        padding: 10px 20px;
        color: #333;
        text-decoration: none;
        transition: background 0.2s;
    }
    .tn-sub-link:hover { background: #f8f9fa; }
    .tn-drop-nested .tn-sub {
        top: 0;
        left: 100%;
        margin-left: 2px;
    }
}



body.has-ticker{
  --ticker-visible: var(--ticker-h);
}



/*Custom icons add sytsles no deafult */ 
.s-45{width:45px;height:45px}
.s-65{width:65px;height:65px}
.s-75{width:75px;height:75px}
.s-95{width:95px;height:95px}
.s-105{width:105px;height:105px}
.s-125{width:125px;height:125px}
.s-145{width:145px;height:145px}
/* Výchozí stav: zobraz jen desktop ikonu */
.icon--pc { display: inline-block !important; }
.icon--mobile { display: none !important; }

/* Na mobilech přepnout */
@media (max-width: 991.98px) {
  .icon--pc { display: none !important; }
  .icon--mobile { display: inline-block !important; }
}

/* Sidebar – preferuj mobilní sadu ikon */
.sidebar .icon--pc { display: none !important; }
.sidebar .icon--mobile { display: inline-block !important; }





/* Topbar – tmavá vínová */
.topbar{ color: var(--maroon-700, #4a1523); }
.hamburger, .hamburger i{ color:var(--maroon) !important; }

.icon-btn[aria-label="Facebook"] {
    color: #1877F2; /* Modrá Facebooku */
}
.icon-btn[aria-label="Instagram"] {
    color: #C13584; /* Růžovo-fialová Instagramu */
}

/* ======= DESKTOP NAV (globální) ======= */

.tn-link, 
.tn-sub-link, 
.side-link, 
.look, 
.nav-link, 
a {
    text-transform: none !important;
}

.tn-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:.2rem;flex-wrap:nowrap}
.tn-item{position:relative}
.tn-link,
.tn-drop > summary{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.45rem .7rem; text-decoration:none !important;
  color: inherit !important; border-bottom:0 !important;
  cursor:pointer;
  font-size: calc(.95rem - 1.5px); line-height:1.25; font-weight:400;
  white-space: nowrap;

}
.tn-drop[open] > summary{ font-size: calc(.95rem - 1.5px); }
.tn-sub-link{
  text-decoration:none !important; color: inherit; cursor:pointer;
  font-size: calc(.95rem - 1.5px); line-height:1.25; font-weight:400;
  border-bottom:0 !important; white-space: nowrap;
  text-transform: capitalize;
}
.tn-link i, .tn-sub-link i, .tn-drop > summary i { color: inherit; }
.tn-drop > summary::-webkit-details-marker{ display:none }
.tn-drop > summary::marker{ content: "" }
.tn-drop .caret{
  display:inline-block; margin-left:.25rem; transition:transform .15s;
  border:4px solid transparent; border-top-color: currentColor; opacity:.85;
}
.tn-drop[open] > summary .caret{ transform:rotate(180deg) }
.tn-drop{ position:relative }
.tn-sub{
  list-style:none; margin:.25rem 0 0; padding:.25rem;
  position:absolute; left:0; top:100%; z-index:1000;
  background:#fff; border:1px solid rgba(0,0,0,.12); border-radius:.5rem;
  min-width:220px; box-shadow:0 10px 30px rgba(0,0,0,.08);
  color: var(--maroon-700, #4a1523);
  white-space: nowrap;
}
.tn-sub li{ position:relative }
.tn-sub li details.tn-drop{ position:static }
.tn-sub li details.tn-drop > .tn-sub{ left:100%; top:0; margin-left:.25rem; }
.tn-item.has-children > .tn-drop:not([open]) > .tn-sub{ display:none }
.tn-item.has-children > .tn-drop:hover > .tn-sub{ display:block }
.tn-sub li > a.tn-sub-link,
.tn-sub li > summary.tn-sub-link{
  display:flex; align-items:center; gap:.4rem;
  padding:.45rem .7rem; width:100%; box-sizing:border-box;
  border-radius:.35rem;
  text-decoration:none !important; border-bottom:0 !important;
}
.top-nav a.tn-link:hover,
.top-nav .tn-sub a.tn-sub-link:hover{ box-shadow: inset 0 -2px var(--maroon-600, #7b253d) !important; }
.top-nav .tn-drop > summary:hover{ box-shadow:none !important; }
.tn-sub a.tn-sub-link:hover,
.tn-sub summary.tn-sub-link:hover{ background: color-mix(in srgb, var(--maroon-600, #7b253d) 10%, #ffffff); }
.tn-sep{ position:relative; width:10px; height:16px; margin:0 .2rem; flex:0 0 auto; }
.tn-sep::after{ content:""; position:absolute; left:50%; top:0; bottom:0; width:1px; background: currentColor; opacity:.25; transform: skewX(-20deg); }

.tn-link .look, .tn-sub-link .look{ white-space: nowrap; }

/* Rychlé akce – základní vzhled */
.top-actions{ display:flex; align-items:center; gap:.35rem; flex-wrap:nowrap; }
.top-actions .chip,
.top-actions .icon-btn{ font-size: calc(.95rem - 1.5px); white-space: nowrap; }

/* ======= SIDEBAR (MOBILE/TABLET) ======= */
.sidebar{
  background: var(--maroon-700, #4a1523);
}
.sidebar, .side-nav, .side-nav * { color:#fff !important; }
.side-social a i { color:#fff !important; }
.side-nav svg, .side-nav svg *{ fill:#fff !important; stroke:#fff !important; }
.side-nav img{ filter: brightness(0) invert(1) saturate(0) !important; }

.side-link{
  display:block; width:100%;
  padding:.6rem var(--side-x);
  text-decoration:none !important;
  font-size:.95rem; line-height:1.25; font-weight:600;
  border-bottom:0 !important;
  text-transform: capitalize;
}
.side-drop{ border-bottom:1px solid rgba(255,255,255,.25); padding:.1rem 0; }
.side-drop summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between;
  margin:0; padding:0; border:0; background:none;
}
.side-drop summary::-webkit-details-marker{display:none}
.side-drop[open] > summary .side-caret{ transform: rotate(180deg); }
.side-caret{
  width:0; height:0; margin-right:var(--side-x); flex:0 0 auto;
  border:6px solid transparent; border-top-color: currentColor; opacity:.9;
  transition: transform .15s ease;
}
.side-children{ padding-left: calc(var(--side-x) + 10px); }
.side-link:hover,
.side-drop summary:hover .side-link{ background: rgba(255,255,255,.06); text-decoration:none !important; }
.side-sep{height:1px;background:rgba(255,255,255,.25);margin:.25rem 0}
.tn-icon, .side-icon { vertical-align: -2px; }

/* ======= RESPONSIVE VISIBILITY (NOVÝ PRAH) =======
   < 1280px  = hamburger + sidebar (top navigace i top-actions pryč)
   ≥ 1280px  = desktop (horní navigace + rychlé akce), hamburger pryč
*/
@media (max-width: 1279.98px){
  .top-nav{ display:none !important; }
  .top-actions{ display:none !important; }
  .hamburger{ display:inline-flex !important; }
}
@media (min-width: 1280px){
  .top-nav{ display:block !important; }
  .top-actions{ display:flex !important; }
  .hamburger{ display:none !important; }
}

/* ======= SMALL TABLETS TUNING (600–1100px) ======= */
@media (min-width: 600px) and (max-width: 1100px) {
  .tn-link .look, .tn-sub-link .look, .side-link .look { white-space: nowrap; }
  .tn-link, .tn-drop > summary, .tn-sub-link, .side-link { font-size: calc(.95rem - 2px); }
  .tn-drop[open] > summary { font-size: calc(.95rem - 2px); }
  .top-actions .chip, .top-actions .icon-btn { font-size: calc(.95rem - 2px); }
  .tn-list { gap: .2rem; }
  .tn-link, .tn-drop > summary { padding: .42rem .66rem; }
}





  /* --- Layout & barvy --- */
  .rekval-diff-section{position:relative;overflow:hidden}
  .rekval-diff-container{width:min(1100px,92vw);margin-inline:auto}

  /* Výměna barev: nadpis primárně vínový, zvýraznění (span) černé; podtržení zůstává vínové */
  .rekval-diff-title{
    font-weight:900;letter-spacing:.2px;margin:0 0 .5rem;
    color:var(--maroon); /* dříve #111 */
    font-size:clamp(1.6rem,3.2vw,2.2rem);
  }
  .rekval-diff-title span{color:#111;position:relative} /* dříve var(--maroon) */
  .rekval-diff-title span::after{
    content:"";position:absolute;left:0;bottom:-6px;height:5px;width:58%;
    background:var(--maroon);border-radius:4px
  }
  .rekval-diff-intro{margin:.35rem 0 1.1rem;color:#333}

  /* --- Cards grid --- */
  .rekval-diff-grid{
    display:grid;gap:1rem;grid-template-columns:1fr;
  }
  @media (min-width: 900px){ .rekval-diff-grid{ grid-template-columns:1fr 1fr; } }

  .rekval-diff-card{
    background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:16px;padding:1rem 1.1rem;
    box-shadow:0 14px 28px rgba(0,0,0,.06);transition:transform .25s ease, box-shadow .25s ease
  }
  .rekval-diff-card:hover{ transform:translateY(-2px); box-shadow:0 20px 36px rgba(0,0,0,.08); }
  .rekval-diff-card-head{display:flex;align-items:center;gap:.75rem;margin-bottom:.4rem}
  .rekval-diff-ico{
    width:54px;height:54px;border-radius:12px;display:grid;place-items:center;
    color:var(--maroon);background:#fff;border:1px solid rgba(0,0,0,.08);font-size:1.4rem
  }
  .rekval-diff-sub{margin:0;font-weight:900;color:var(--maroon)}
  .rekval-diff-list{padding-left:0;list-style:none;margin:.35rem 0 0}
  .rekval-diff-list li{display:flex;gap:.5rem;align-items:flex-start;margin:.25rem 0}
  .rekval-diff-list i{color:var(--maroon);margin-top:.15rem}

  .rekval-diff-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
  .rekval-diff-chips .chip{
    display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;border-radius:999px;
    border:1px solid rgba(0,0,0,.08);background:#fff;font-weight:700
  }
  .rekval-diff-chips .chip i{color:var(--maroon)}
  .rekval-diff-chips .chip--ghost{background:rgba(0,0,0,.02)}

  /* --- Mini tables (cards) --- */
  .rekval-diff-tables{display:grid;gap:.9rem;margin:1rem 0}
  @media (min-width: 900px){ .rekval-diff-tables{ grid-template-columns:1fr 1fr; } }
  .rekval-diff-table{
    background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:16px;overflow:hidden;
    box-shadow:0 10px 20px rgba(0,0,0,.05)
  }
  .rekval-diff-table .row{
    display:grid;grid-template-columns:180px 1fr;gap:10px;padding:.75rem .9rem;
    border-bottom:1px dashed rgba(0,0,0,.08)
  }
  .rekval-diff-table .row:last-child{border-bottom:0}
  .rekval-diff-table .c1{font-weight:900;color:#111}
  .rekval-diff-table .c2{font-weight:600;color:#333}
  @media (max-width: 640px){
    .rekval-diff-table .row{grid-template-columns:1fr;padding:.6rem .75rem}
    .rekval-diff-table .c1{color:var(--maroon)}
  }

  /* --- Spec box --- */
  .rekval-diff-box{
    margin-top:1rem;background:linear-gradient(0deg, rgba(90,26,43,.06), rgba(90,26,43,.06)) #fff;
    border:1px solid rgba(90,26,43,.18);border-radius:16px;padding:1rem 1.1rem
  }
  .rekval-diff-sublined{
    margin:0 0 .35rem;font-weight:900;color:var(--maroon);position:relative;padding-left:.1rem
  }
  .rekval-diff-sublined::after{
    content:"";position:absolute;left:0;bottom:-6px;height:5px;width:36%;background:var(--maroon);border-radius:4px
  }

  /* --- Příklad blok --- */
  .rekval-example{display:flex;flex-direction:column;gap:.75rem;margin:.5rem 0 1rem}
  .rekval-example .ex-row{
    display:grid;grid-template-columns:52px 1fr;gap:.75rem;align-items:flex-start;
    background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:14px;padding:.75rem .9rem;
    box-shadow:0 6px 14px rgba(0,0,0,.05)
  }
  .rekval-example .ex-icon{display:grid;place-items:center;color:var(--maroon);font-size:1.25rem}
  .rekval-example .ex-title{font-weight:900;margin-bottom:.25rem;color:#111;position:relative}
  .rekval-example .ex-title::after{
    content:"";position:absolute;left:0;bottom:-6px;width:28%;height:4px;background:var(--maroon);border-radius:4px
  }
  .rekval-example .ex-list{margin:0;padding-left:1.1rem}

  /* --- CTA buttons --- */
  .rekval-diff-cta{display:flex;flex-wrap:wrap;gap:.6rem}
  .btn-cta{
    --x:0%;
    position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    text-decoration:none;border-radius:999px;background:var(--maroon);color:#fff;
    padding:.9rem 1.3rem;font-weight:800;letter-spacing:.2px;overflow:hidden
  }
  .btn-cta::before{
    content:"";position:absolute;inset:0;background:#fff;
    clip-path:polygon(0 0,var(--x) 0,calc(var(--x) - 18%) 100%,0 100%);transition:clip-path .35s ease
  }
  .btn-cta .base{position:relative;z-index:1;color:#fff}
  .btn-cta .overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--maroon);
    clip-path:polygon(0 0,var(--x) 0,calc(var(--x) - 18%) 100%,0 100%);transition:clip-path .35s ease}
  .btn-cta:hover,.btn-cta:focus-visible{--x:72%}

  .btn-ghost{
    display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;border-radius:999px;background:#fff;color:var(--maroon);
    border:1px solid rgba(90,26,43,.35);padding:.85rem 1.15rem;font-weight:800
  }
  .btn-ghost:hover{background:rgba(90,26,43,.06)}

  /* --- Scroll animace --- */
  .rekval-diff-anim{opacity:0}
  .rekval-diff-in{opacity:1}
  @keyframes rkd-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
  @keyframes rkd-fade{from{opacity:0}to{opacity:1}}
  .rekval-diff-anim-up.rekval-diff-in{animation:rkd-up .7s cubic-bezier(.2,.65,.3,1) forwards;animation-delay:var(--d,0s)}
  .rekval-diff-anim-fade.rekval-diff-in{animation:rkd-fade .6s ease forwards;animation-delay:var(--d,0s)}

  @media (prefers-reduced-motion:reduce){
    .rekval-diff-anim-up.rekval-diff-in,.rekval-diff-anim-fade.rekval-diff-in{animation:none}
    .btn-cta::before{transition:none}
  }




/* Safari-only patch: iOS + macOS Safari */
@supports (-webkit-touch-callout: none) {
  .hero .circle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .hero .circle i {
    display: block !important;
    line-height: 1 !important;
    transform: translateZ(0);
  }
}

/* === Video v kolečkách (beze změn okolního layoutu) === */
.hero .circle {
  position: relative;
  overflow: visible;              /* pro „vytrysknutí“ videa */
  will-change: transform, opacity;
  --nudgeY: 0px;                  /* jemný svislý posun videa podle sloupce */
}

/* Jemný posun videa na PRAVÉ straně */
.hero .pane.right .circle { --nudgeY: 4px; } /* klidně uprav na 2–6px */

.hero .circle .video-wrapper {
  position: absolute;
  inset: -6px;                    /* mírně přes okraj pro hezčí efekt */
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;           /* link zůstává kliknutelný přes video */
  opacity: 0;
  transform: translateY(calc(8px + var(--nudgeY))) scale(0.98);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  z-index: 0;
}
.hero .circle .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.hero .circle .video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.22) 100%);
  z-index: 1;
}

/* BÍLÝ TEXT uprostřed kolečka – bez ořezávání */
.hero .circle .hover-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-44%);       /* opticky o fous výš */
  padding: 6px 12px;
  max-width: 90%;                         /* víc místa, aby se vešlo celé */
  text-align: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: 0.9rem;                      /* o kousek menší */
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 2;                              /* nad overlayem i videem */
  white-space: nowrap;                     /* držet v jednom řádku */
}

/* Hover: video „vytryskne“, overlay zjemní, label se zobrazí přesně ve středu */
.hero .feature:hover .circle .video-wrapper,
.hero .m-item:hover .circle .video-wrapper {
  opacity: 1;
  transform: translateY(calc(-10px + var(--nudgeY))) scale(1.02);
}
.hero .feature:hover .circle .video-overlay,
.hero .m-item:hover .circle .video-overlay { opacity: .35; }
.hero .feature:hover .circle .hover-label,
.hero .m-item:hover .circle .hover-label {
  opacity: 1;
  transform: translate(-50%,-50%);        /* dorovnání na střed při hoveru */
}

/* Ikona mizí jen při hoveru, jinak je fallback */
.hero .circle i { transition: opacity .2s ease; }
.hero .feature:hover .circle i,
.hero .m-item:hover .circle i { opacity: 0; }

/* Prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero .circle .video-wrapper {
    transition: opacity .2s linear;
    transform: translateY(var(--nudgeY)) !important;
  }
  .hero .feature:hover .circle .video-wrapper,
  .hero .m-item:hover .circle .video-wrapper {
    transform: translateY(var(--nudgeY)) !important;
  }
  .hero .feature:hover .circle .hover-label,
  .hero .m-item:hover .circle .hover-label {
    transition: opacity .2s linear;
  }
}


/* samotná lišta */
.ticker-bar{
  position:fixed; top:0; left:0; right:0; height:var(--ticker-h);
  background: var(--maroon); color:#fff; z-index: 1150;  /* nad stránkou, pod modaly */
  display: block;
}
.ticker-inner{
  height:100%;
  display:flex; align-items:center; gap:10px;
  padding:0 var(--edge-x);
}
.ticker-inner .label{
  display:inline-flex; align-items:center; gap:6px;
  font-weight:900; text-transform:uppercase; letter-spacing:.06em;
  font-size:.78rem; white-space:nowrap; opacity:.95;
}

/* viewport + běžící pás */
.ticker-viewport{ position:relative; overflow:hidden; flex:1; }
.ticker-track{
  display:inline-flex; align-items:center; gap:18px;
  white-space:nowrap; will-change: transform;
  animation: ticker-scroll 28s linear infinite;
}
@keyframes ticker-scroll{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* půl šířky = jedna série (duplikujeme) */
}
.ticker-bar:hover .ticker-track{ animation-play-state: paused; }     /* pause při hoveru */
@media (prefers-reduced-motion: reduce){
  .ticker-track{ animation: none; }
}

.tick{ color:#fff; font-weight:700; font-size:.9rem; opacity:.95; }
.dot{ opacity:.45; }
.ticker-pause{
  width:26px; height:26px; border-radius:6px;
  display:grid; place-items:center; font-size:.8rem;
  background:transparent; color:#fff; border:1px solid rgba(255,255,255,.35);
}

/* jemnější text na menších obrazovkách */
@media (max-width:700px){
  :root{ --ticker-h: 28px; }
  .tick{ font-size:.84rem; }
  .ticker-inner{ gap:8px; }
}







/* === Service Slider === */
.service-slider{
  background:#fff;
  padding:36px var(--edge-x) 40px;
  position:relative;
  overflow:hidden;
}
.service-slider .ss-head{
  text-align:center;
  margin-bottom:16px;
}
.service-slider .eyebrow{
  margin:0;
  text-transform:uppercase; letter-spacing:.14em;
  font-weight:900; font-size:.8rem; color:#7a1f33; opacity:.85;
}
.service-slider h2{
  margin:.25rem 0 0; font-weight:900; color:var(--maroon);
  letter-spacing:-.4px; font-size:clamp(1.4rem,3.8vw,2rem);
}
.service-slider .lead{
  margin:.35rem 0 0; color:#41464b; opacity:.9; font-size:1rem;
}

/* viewport + track */
.ss-viewport{ overflow:hidden; width:100%; }
.ss-track{
  display:flex; transition: transform .5s var(--ease);
  will-change: transform;
}

/* slide */
.ss-slide{
  min-width:100%;
  display:grid; grid-template-columns:140px 1fr; align-items:center;
  gap:18px;
  background:#fff; border:1px solid #eaecef; border-radius:18px;
  padding:20px 22px;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.ss-icon{
  width:120px; height:120px; border-radius:50%;
  display:grid; place-items:center;
  background:#fafafb; border:2px solid #eceff3; color:var(--maroon);
  font-size:2rem; box-shadow:0 6px 16px rgba(0,0,0,.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ss-slide:hover .ss-icon{ transform: translateY(-4px); box-shadow:0 18px 34px rgba(0,0,0,.14); }

.ss-body h3{ margin:0 0 6px; font-size:clamp(1.1rem,2.6vw,1.5rem); color:var(--maroon); font-weight:900; letter-spacing:-.3px }
.ss-body p{ margin:0 0 12px; color:#333; line-height:1.5 }
.ss-actions{ display:flex; gap:10px }

/* nav buttons */
.ss-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center;
  background:#fff; color:var(--maroon);
  border:1px solid #e9ecef; box-shadow:0 10px 22px rgba(0,0,0,.12);
  cursor:pointer;
}
.ss-nav.prev{ left: calc(var(--edge-x) - 6px); }
.ss-nav.next{ right: calc(var(--edge-x) - 6px); }
.ss-nav:hover{ transform:translateY(-50%) scale(1.05) }

/* dots */
.ss-dots{
  display:flex; justify-content:center; gap:8px;
  margin-top:14px;
}
.ss-dot{
  width:10px; height:10px; border-radius:999px;
  border:1px solid var(--maroon); background:transparent; opacity:.4;
}
.ss-dot.active{ background:var(--maroon); opacity:1 }

/* responsive */
@media (max-width:900px){
  .ss-slide{ grid-template-columns:1fr; text-align:center; padding:18px; }
  .ss-icon{ margin:0 auto }
  .ss-nav.prev{ left: 8px } .ss-nav.next{ right: 8px }
}





/* === CTA pod REKVAL (bicolor) === */

.split-cta{ margin-top: 0; display:grid; place-items:center; pointer-events:auto; z-index:6; }
.split-btn-split{
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  /*border: 2px solid var(--maroon);*/
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 900;
  font-size: clamp(.85rem, 1.6vw, .95rem);
  box-shadow: 0 8px 18px rgba(90,26,43,.12);
  transform: translateZ(0);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.split-btn-split span{
  padding: 12px 18px;
  line-height: 1;
  text-align: center;
  user-select: none;
}

.split-btn-split .left{  background: var(--pantone); color: #fff; }
.split-btn-split .right{ background: #fff;        color: var(--maroon); }

.split-btn-split:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}
.split-btn-split:active{ transform: translateY(0); }

.split-btn-split:focus-visible{
  outline: 4px solid rgba(90,26,43,.18);
  outline-offset: 3px;
}

/* menší mezera na velmi nízkých oknech */
/* Schovat CTA (Vybrat kurz) na mobilech/tabletech */
@media (max-width:1199px){
  .split-cta{ display:none !important; }
}



/* responsivní okraje */
@media (max-width:1199.98px){ :root{ --edge-x: var(--edge-x-tablet); } }
@media (max-width:599.98px){ :root{ --edge-x: var(--edge-x-mobile); } }

html{box-sizing:border-box}
*,*::before,*::after{box-sizing:inherit}

/* *** Globální anti-overflow *** */
html{ overflow-x: clip; }               /* moderní prohlížeče – nepropustí nic mimo viewport */
@supports not (overflow: clip){ html{ overflow-x: hidden; } }  /* fallback */
body{ overflow-x: hidden !important; padding-top: calc(var(--topbar-h-current) + var(--ticker-visible, 0px));}  /* jistota na starších iOS/Android */

/* výška dokumentu / sticky footer */
html, body { height: 100%; }
body{
  margin:0;
  font-family:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text); background:var(--bg1);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;

  /* odsazení obsahu o reálnou výšku headeru (počítá JS) */
  padding-top: var(--topbar-h-current);

  display:flex; min-height:100vh; flex-direction:column;
}
main{ flex:1 0 auto; }
.footer{ margin-top:auto; }

a{color:inherit;text-decoration:none}

/* Scroll lock (při otevřeném menu/modalu) */
body.is-scroll-locked{
  overflow:hidden;
  height:100vh; touch-action:none;     /* Android */
}
@supports (height: 100svh){
  body.is-scroll-locked{ height:100svh; } /* iOS 15+ */
}

/* === Progress bar === */
.scroll-progress{
  position:fixed; top:0; left:0; width:0%; height:4px;
  background:linear-gradient(90deg,var(--maroon),#b23a5b);
  z-index:var(--z-progress);
  transition:width .1s linear; pointer-events:none;
}

/* === Topbar (fixed i na mobilu) === */
.topbar{
  position:fixed; top:0; left:0; right:0; width:100%;
  height:var(--topbar-h-current);
  background:#fff; border-bottom:1px solid #e9ecef; box-shadow:0 2px 10px rgba(0,0,0,.05);
  z-index:var(--z-header);
  transform:translateZ(0); will-change:transform;
  top: var(--ticker-visible, 0px);
}
.bar-inner{
  height:100%; width:100%;
  padding-left:var(--edge-x); padding-right:var(--edge-x);
  display:flex; align-items:center; gap:12px;
}
/* hamburger opravdu na doraz vpravo (mobil) */
@media (max-width:599.98px){
  .bar-inner{ padding-right:4px; padding-left:var(--edge-x-mobile); }
}

.brand{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  font-weight:900;font-size:clamp(1.28rem,2.2vw,1.6rem);letter-spacing:-.3px;color:var(--text);
  line-height:1.05; transition: transform var(--t-med) var(--ease);
}
.brand small{font-weight:600;font-size:.72rem;color:var(--muted);margin-top:2px}
.brand:hover{ transform: translateY(-1px); }

.top-nav{display:none;align-items:center;gap:12px;margin-left:auto;margin-right:6px}
@media (min-width:1200px){.top-nav{display:flex}}

.top-nav a{
  position:relative;font-weight:400;text-transform:lowercase;color:var(--maroon);
  font-size:.85rem;padding:6px 2px;
}
.top-nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:currentColor;
  transform:scaleX(0);transform-origin:right;transition:transform var(--t-fast) var(--ease-out)
}
.top-nav a:hover::after{transform:scaleX(1);transform-origin:left}


.look {
  position:relative;font-weight:400;text-transform:lowercase;color:var(--maroon);
  font-size:.85rem;padding:6px 2px;
}

.nav-sep{width:1px;height:18px;background:#d7d7d7;transform:skewX(-22deg)}

@media (min-width:1200px){
    
    
    color: white;
    
}

.top-actions{display:none;align-items:center;gap:8px}
@media (min-width:1200px){.top-actions{display:flex}}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:12px;background:#f8f9fa;color:var(--maroon);
  border:1px solid #edf0f2;font-weight:700;font-size:.9rem;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.chip:hover{ transform: translateY(-1px); box-shadow:0 6px 14px rgba(0,0,0,.06); }
.icon-btn{
  width:40px;height:40px;border:1px solid #edf0f2;border-radius:10px;display:grid;place-items:center;
  color:var(--maroon); background:#fff; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.icon-btn:hover{ transform: translateY(-1px); box-shadow:0 6px 14px rgba(0,0,0,.06); }

.hamburger{
    color:var(--maroon);
  margin-left:auto;                                  /* vytlačíme úplně vpravo */
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border:1px solid var(--maroon);border-radius:10px;background:#fff;cursor:pointer;
}
@media (min-width:1200px){.hamburger{display:none}}

/* === SIDEBAR – off-canvas, ale nikdy nezvětší šířku stránky === */
.sidebar{
  position:fixed; top:0; left:0;
  width: min(340px, 88%);                            /* **žádné vw** */
  height:100vh;                                      /* výška viewportu */
  background:var(--maroon); color:#fff;
  z-index:var(--z-sidebar);
  transform: translateX(calc(-100% - 2px));          /* bezpečně mimo obrazovku */
  transition:transform .28s var(--ease-out);
  display:flex; flex-direction:column; padding:18px 16px 16px;
  overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
  contain: layout paint;                              /* zabrání šíření rozměrů ven */
}
@supports (height: 100svh){ .sidebar{ height:100svh; } }
.sidebar.open{ transform: translateX(0); }

.sidebar-backdrop{
  position:fixed; inset:0; z-index:calc(var(--z-sidebar) - 1);
  background:rgba(0,0,0,.4); opacity:0; pointer-events:none; transition:opacity .25s ease;
  touch-action:none;
}
.sidebar-backdrop.open{ opacity:1; pointer-events:auto; }

.sidebar .side-head{display:flex;align-items:center;justify-content:space-between}
.sidebar .side-title{font-size:1.25rem;font-weight:900;letter-spacing:-.3px}
.sidebar .close-btn{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35);width:36px;height:36px;border-radius:10px}
.side-nav{margin-top:18px;display:grid;gap:6px}
.side-nav a{color:#fff;font-weight:700;text-transform:lowercase;padding:12px 10px;border-radius:12px}
.side-nav a:hover{background:rgba(255,255,255,.1)}
.side-sep{height:1px;background:rgba(255,255,255,.35);margin:6px 4px;transform:skewX(-22deg)}
.side-social{margin-top:auto;display:flex;align-items:center;gap:12px;padding-top:12px;border-top:1px dashed rgba(255,255,255,.25)}
.side-social a{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.35)}

/* === SEARCH MODAL – také nemá používat vw === */

/* 1. Pozadí (Overlay) - zůstává stejné, ztmaví zbytek stránky */
.search-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  
  /* Výchozí stav pozadí */
  background-color: rgba(0, 0, 0, 0.0);
  backdrop-filter: blur(0px);
  visibility: hidden;
  transition: all 0.4s ease;
  
  /* Důležité: aby obsah mohl vyjet seshora */
  display: block; 
}

/* Stav OTEVŘENO - Overlay */
.search-modal.open {
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.4); /* Ztmavnutí */
  backdrop-filter: blur(3px);           /* Lehké rozmazání */
}

/* 2. Samotný box vyhledávání (Obdélníková část) */
.sm-box {
  position: relative; /* Nutné pro umístění oblouku */
  width: 100%;        /* Přes celou šířku */
  background: #ffffff;
  z-index: 2;         /* Musí být nad tím obloukem */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Jemný stín pod hlavní částí */

  /* Animace příletu - startovní pozice mimo obrazovku nahoře */
  transform: translateY(-120%); 
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Plynulý dojezd */
}

/* Stav OTEVŘENO - Box */
.search-modal.open .sm-box {
  transform: translateY(0); /* Přílet na pozici 0 */
}

/* 3. Tvorba OBLOUKU podle nákresu (CSS trik) */
.sm-box::after {
  content: '';
  position: absolute;
  z-index: -1; /* Schováme ho za hlavní bílý box */
  
  /* Umístění přesně pod hlavní box */
  top: 100%; 
  left: -5%; /* Trochu širší než obrazovka, aby byl oblouk plynulý */
  width: 110%;
  
  height: 60px; /* Výška té prohnuté části - upravte dle potřeby */
  background: #ffffff; /* Stejná barva jako box */
  
  /* KLÍČOVÉ: Vytvoření oblouku pomocí poloměrů rohů */
  /* Levý dolní a pravý dolní roh se zakulatí tak moc, až se spojí */
  border-bottom-left-radius: 50% 60px;
  border-bottom-right-radius: 50% 60px;
  
  /* Stín kopírující oblouk */
  box-shadow: 0 10px 15px -5px rgba(0,0,0,0.15); 
}


/* --- Stylování vnitřku (stejné jako předtím, jen drobné úpravy) --- */

.sm-head {
  display: flex;
  align-items: center;
  padding: 20px 30px; /* Větší padding pro vzdušnost */
  /* Zde už není border-bottom, protože pod tím je ten oblouk */
}

.sm-head i.bi-search {
  font-size: 1.4rem; color: #BD3826; margin-right: 20px;
}

/* Vstupní pole */
.search-input {
  flex: 1;
  border: none;
  font-size: 1.4rem; /* Větší písmo */
  outline: none;
  background: transparent;
  color: #222;
  font-weight: 300;
}
.search-input::placeholder { color: #bbb; }

/* Křížek */
.sm-close {
  color: #999; font-size: 1.5rem; padding: 5px; transition: color 0.2s;
  margin-left: 20px;
}
.sm-close:hover { color: #000; }

/* Výsledky - omezíme výšku, aby nepřetekly přes spodní okraj obrazovky */
.sm-results {
  max-height: 70vh;
  overflow-y: auto;
  padding: 0 30px 20px 30px; /* Padding uvnitř boxu */
}

/* Položka výsledku */
.s-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.s-item:hover .s-title { color: #BD3826; } /* Změna barvy nadpisu při hoveru */

.s-title { color: #000; font-size: 1.1rem; margin-bottom: 4px; font-weight: 600; transition: color 0.2s;}
.s-url { font-size: 0.8rem; color: #aaa; }
.s-snippet { font-size: 0.95rem; color: #666; margin-top: 8px; line-height: 1.5; }
.s-snippet mark { background: #eef6fc; color: #BD3826; padding: 2px 4px; border-radius: 4px; font-weight: 600;}

.search-loading, .search-empty { padding: 30px 0; text-align: center; color: #999; font-size: 1.1rem;}



/* === HERO === */
.hero{position:relative; overflow:hidden;}
.hero.desktop-layout{min-height:calc(100vh - var(--topbar-h-current));display:grid;grid-template-columns:1fr 1fr}
.pane{position:relative;display:grid;place-items:center;padding:clamp(24px,5vw,48px);gap:28px;will-change:transform}




.pane.left{background:var(--bg1);   color: var(--maroon);  }



/*
.pane.left {
 
  background-image: url('/Maina/img/bghero5.png');
  background-repeat: no-repeat; 
  background-size: cover; 
  background-position: center center; 
  color: #fff; 
}
*/



/*
.pane.right {
  background-image: linear-gradient(to right top, #2b2926, #48341e, #693c18, #913f19, #bd3826);
  color: #fff;
}
*/



/* Společný kontejner pro obě strany */
.pane {
    position: relative; /* NUTNÉ: Určuje hranice pro vnitřní prvky */
    height: 100%;       /* Musí být na celou výšku */
    overflow: hidden;   /* Ořízne cokoliv, co přečuhuje */
    
    /* SMAŽTE ODSUD VŠECHNY 'display: flex', 'justify-content' atd. */
}

/* Specifika pro pravou stranu (jen video a barva) */
.pane.right {
    color: #fff;
    /* Zde už nic víc o pozicování být nemusí, dědí to z .pane */
}

/* Video musí být absolutní, aby ho Flexbox ignoroval a nesnažil se ho centrovat jako obsah */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Úplně vespod */
    pointer-events: none;
}



.features {
    /* 1. Absolutní pozice - ignoruje ostatní prvky (jako video) */
    position: absolute;
    
    /* 2. Umístění horní hrany do 50% výšky rodiče */
    top: 25%;
    
    /* 3. Roztáhneme na celou šířku, abychom mohli centrovat vodorovně */
    left: 0;
    width: 100%;
    
    /* 4. KLÍČOVÉ: Posuneme element zpět nahoru o polovinu jeho vlastní výšky.
       Tím docílíme matematicky dokonalého vertikálního středu. */
    transform: translateY(-50%);
    
    /* 5. Vodorovné zarovnání (obsah uvnitř - ikonky) */
    display: flex;
    flex-direction: column; /* Ikonky pod sebe */
    align-items: center;    /* Na střed vodorovně */
    gap: 2rem;              /* Mezery mezi ikonami */
    
    /* 6. Z-index musí být vyšší než video (0) */
    z-index: 10;
    
    /* 7. Pro jistotu vynulujeme marginy */
    margin: 0;
}
/* posun koleček od středu (jen desktop) */
@media (min-width:1200px){
  .pane.left .features { transform: translateX(calc(var(--hero-offset) * -1)); }
  .pane.right .features { transform: translateX(var(--hero-offset)); }
}

/* vstupní animace */
body.loaded .hero.desktop-layout .pane.left{ animation: heroInLeft var(--t-slow) var(--ease) both; }
body.loaded .hero.desktop-layout .pane.right{ animation: heroInRight var(--t-slow) var(--ease) both; }
@keyframes heroInLeft{0%{transform:translateX(-100%)}80%{transform:translateX(2%)}100%{transform:translateX(0)}}
@keyframes heroInRight{0%{transform:translateX(100%)}80%{transform:translateX(-2%)}100%{transform:translateX(0)}}

.features{display:grid;gap:28px}
.feature{display:inline-block;color:inherit;text-align:center;transition: transform var(--t-med) var(--ease)}
.feature:hover{ transform: translateY(-3px) }
.feature .circle{
  position:relative;width:128px;height:128px;border-radius:50%;
  display:grid;place-items:center;margin-inline:auto;margin-bottom:12px;
  font-size:2rem;font-weight:900;transition:.25s;cursor:pointer;overflow:hidden;color:inherit;
  box-shadow:0 0 0 rgba(0,0,0,0)
}
.circle .icon,.circle .hover-label{
  position:absolute;transition:opacity .25s var(--ease), transform .25s var(--ease);white-space:nowrap;font-size:.95rem;font-weight:800;letter-spacing:.3px;text-transform:uppercase
}
.circle .icon{opacity:1;transform:translateY(0);font-size:2rem}
.circle .hover-label{opacity:0;transform:translateY(10px)}
.feature:hover .circle .icon{opacity:0;transform:translateY(-8px) scale(.9)}
.feature:hover .circle .hover-label{opacity:1;transform:translateY(0)}
.pane.left .circle{background:var(--pantone);color:#fff}
.pane.left .feature:hover .circle{background:var(--maroon-600);transform:translateY(-2px); box-shadow:0 12px 24px rgba(90,26,43,.18)}
.pane.right .circle{background:transparent;border:2px solid rgba(255,255,255,.75);color:#fff}
.pane.right .feature:hover .circle{background:#fff;color:var(--maroon);transform:translateY(-2px); box-shadow:0 12px 24px rgba(0,0,0,.22)}
.feature h5{margin:0;font-size:.95rem;font-weight:800;letter-spacing:.4px;text-transform:uppercase}

/* Středový REKVAL */
/* NOVĚ – celý blok (REKVAL + CTA) je uprostřed */
.split-header{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:50px;                       /* mezera mezi nadpisem a tlačítkem */
  pointer-events:none; z-index:5; text-align:center;
  opacity:0; transform: translateY(8px);
}

body.loaded .split-header{ animation: fadeUp .6s var(--ease-out) .35s both }
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.rekval{display:inline-flex;align-items:center;justify-content:center;gap:clamp(.35rem,1.5vw,.8rem);margin:0;line-height:1;font-size:calc(clamp(3.2rem,12vw,9rem) - 1px);font-weight:900;letter-spacing:-3px;text-transform:uppercase}
.rekval .left{color:var(--maroon);text-shadow:0 1px 0 rgba(0,0,0,.02)}
.rekval .right{color:#fff;}
.rekval .divider{width:clamp(4px,.7vw,6px);height:1em;border-radius:999px;background:linear-gradient(90deg,var(--maroon) 0 50%,#fff 50% 100%);align-self:stretch;transform:translateY(4%);flex:0 0 auto;position:relative;overflow:visible}
.rekval .divider::after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:14px;background:linear-gradient(90deg,var(--maroon) 0 50%,#fff 50% 100%);clip-path:polygon(50% 100%,0 0,100% 0)}

/* Mobile hero */
.hero.mobile-layout{display:none}
@media (max-width:1199px){
  .hero.desktop-layout{display:none}
  .hero.mobile-layout{display:block;background:var(--maroon);color:#fff;padding:56px 16px 48px}
  .mobile-inner{width:min(960px,100%);margin:0 auto}
  .mobile-inner h1{margin:0;text-align:center;font-size:clamp(2.4rem,8.5vw,3.6rem);font-weight:900;letter-spacing:-1px}
  .m-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:18px}
  .m-item{text-align:center}
  .m-item .circle{width:110px;height:110px;border:2px solid rgba(255,255,255,.75);border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;font-size:1.6rem}
  .m-item h5{margin:0;font-size:.95rem;font-weight:800;letter-spacing:.4px;text-transform:uppercase}
  .m-item a{color:#fff;display:block}
}

/* === Feature band (desktop) – pro verze === */
.feature-band{ display:none; background:var(--bg1); position:relative; overflow:hidden }
@media (min-width:1200px){ .feature-band{ display:block } }

/* lehký horní přechod, aby se sekce opticky “přivázala” k hero */
.feature-band::before{
  content:""; position:absolute; inset:0 0 auto 0; height:28px;
  background:linear-gradient(180deg, rgba(0,0,0,.06), transparent 60%);
  pointer-events:none;
}

.feature-band .fb-head{
  width:min(1100px,100%); margin:0 auto;
  padding:28px var(--edge-x) 10px;
  text-align:center;
}
.feature-band .fb-head .eyebrow{
  margin:0; text-transform:uppercase; letter-spacing:.16em;
  font-weight:900; font-size:.8rem; color:var(--secondary-text); opacity:.85;
}
.feature-band .fb-head h2{
  margin:.25rem 0 0; font-weight:900; color:var(--maroon);
  letter-spacing:-.4px; font-size:clamp(1.4rem,3.8vw,2rem);
}
.feature-band .fb-head .lead{
  margin:.35rem 0 0; color:var(--secondary-text); opacity:.9; font-size:1rem;
}

/* dekorativní linka pod nadpisem */
.feature-band .fb-head h2{
  position:relative; display:inline-block; padding-bottom:6px;
}
.feature-band .fb-head h2::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:0; width:120px; height:4px; border-radius:999px;
  background:linear-gradient(var(--maroon), var(--maroon),var(--pantone));
}

/* mřížka položek */
.feature-band .inner{
  width:min(1200px,100%); margin:0 auto; list-style:none; padding:20px var(--edge-x) 36px;
  display:grid; grid-template-columns: repeat(6, 1fr); gap:22px; align-items:stretch;
}
.feature-band .inner > li{ margin:0; padding:0 }

/* položka */
.feature-band .item{
  display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center;
  opacity:0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change:transform;
}
.feature-band .item.in-view{ opacity:1; transform: translateY(0) }

.feature-band .circle{
  width:124px; height:124px; border-radius:50%;
  display:grid; place-items:center;
  background:#fafafb; color:var(--maroon);
  border:2px solid #eceff3;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
  position:relative; overflow:hidden;
}
/* “lesk” při hoveru */
.feature-band .circle::after{
  content:""; position:absolute; inset:-40% -60% auto auto;
  width:60%; height:200%; transform:rotate(25deg) translateX(-140%);
  background:linear-gradient(120deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 80%);
  transition: transform .9s var(--ease);
}
.feature-band .item:hover .circle::after{ transform:rotate(25deg) translateX(60%); }

.feature-band .item:hover .circle{
  transform: translateY(-4px) rotateX(6deg);
  box-shadow:0 18px 34px rgba(0,0,0,.14);
  background:#fff;
}
.feature-band h6{ margin:0; font-size:1rem; font-weight:800; text-transform:uppercase; color:#333 }

/* ambient – pomalé “dýchání” ikon, jen když je sekce v dohledu */
@keyframes fb-float {
  0%,100% { transform: translateY(0) }
  50%     { transform: translateY(-6px) }
}
@media (prefers-reduced-motion: no-preference){
  .feature-band.animate .circle{
    animation: fb-float 5.4s ease-in-out infinite;
  }
  /* malé fázové posuny, ať “dýchají” rozfázovaně */
  .feature-band.animate .inner > li:nth-child(2) .circle{ animation-delay:.2s }
  .feature-band.animate .inner > li:nth-child(3) .circle{ animation-delay:.4s }
  .feature-band.animate .inner > li:nth-child(4) .circle{ animation-delay:.6s }
  .feature-band.animate .inner > li:nth-child(5) .circle{ animation-delay:.8s }
  .feature-band.animate .inner > li:nth-child(6) .circle{ animation-delay:1s }
}


/* === Katalog === */
.katalogh2 {margin:0 0 18px;font-size: clamp(2.4rem, 3.6vw, 2.5rem); font-weight:900;letter-spacing:-.5px;color:var(--maroon);text-align:center}


/* === Offer sekce === */
.offer{padding:64px 16px;background:var(--bg2)}
.offer .container{width:min(1100px,100%);margin:0 auto}
.offer h2{margin:0 0 18px;font-size:clamp(1.6rem,4.2vw,2.2rem);font-weight:900;letter-spacing:-.5px;color:var(--maroon);text-align:center}
.offer-list{display:grid;gap:12px;width:min(900px,100%);margin:0 auto}
.offer-item{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;background:#fff;border:1px solid #eee;border-radius:14px;padding:14px 16px;transition:transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease)}
.offer-item:hover{ transform: translateY(-3px); box-shadow:0 14px 28px rgba(0,0,0,.06) }
.offer-icon{width:36px;height:36px;border-radius:10px;background:var(--maroon);color:#fff;display:grid;place-items:center}
.offer-item p{margin:6px 0 0;color:#444}

/* === Kontakt / formulář === */
.contact-form{padding:56px 16px}
.contact-form .container{width:min(900px,100%);margin:0 auto}
.contact-form h2{margin:0 0 18px;font-size:clamp(1.6rem,4.2vw,2.2rem);font-weight:900;letter-spacing:-.5px;color:var(--maroon);text-align:center}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:700px){.form-grid{grid-template-columns:1fr}}
.form-field{display:flex;flex-direction:column;gap:6px}
.form-field label{font-weight:700;font-size:.95rem}
.req{color:#b02a37}
.form-control{padding:12px 14px;border:1px solid #e3e5e8;border-radius:12px;font:inherit;transition:border-color .2s, box-shadow .2s, transform var(--t-fast) var(--ease);background:#fff}
.form-control:focus{outline:none;border-color:#cbb3ba;box-shadow:0 0 0 4px rgba(90,26,43,.08); transform: translateY(-1px)}
textarea.form-control{min-height:140px;resize:vertical}
.btn-primary{appearance:none;border:0;border-radius:12px;padding:14px 18px;font-weight:900;text-transform:uppercase;letter-spacing:.4px;background:var(--maroon);color:#fff;cursor:pointer;transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease)}
.btn-primary:hover{background:var(--maroon-600); transform: translateY(-2px); box-shadow:0 14px 28px rgba(0,0,0,.08) }
.btn-secondary{
  appearance:none;border:1px solid #e3e5e8;border-radius:12px;padding:12px 14px;font-weight:800;
  background:#fff;color:var(--maroon);cursor:pointer;display:inline-block;text-decoration:none
}
.btn-secondary:hover{background:#fafafa}
.btn-wrap{display:flex;justify-content:flex-end;margin-top:4px}

/* === Footer === */
.footer{background:var(--maroon);color:#fff;padding:36px 16px 18px}
.footer .container{width:min(1200px,100%);margin:0 auto}
.footer-top{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.footer-top img{height:48px;width:auto;filter:brightness(0) invert(1)}
.footer-top .tagline{font-weight:600;opacity:.9}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr}}
details.f-section{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:8px}
details.f-section summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:10px 0;font-weight:900;letter-spacing:.3px}
details.f-section summary::-webkit-details-marker{display:none}
details.f-section .f-content{padding:6px 0 0}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.footer a{color:#fff}
.footer a:hover{text-decoration:underline}
.footer .contact p{margin:6px 0}
.footer .muted{opacity:.7}
@media (min-width:900px){details.f-section[open] summary{display:none} details.f-section .f-content{padding:0} details.f-section{border:none;padding:0}}
.footer-bottom{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid rgba(255,255,255,.18);padding-top:12px;font-size:.9rem;opacity:.85}
@media (max-width:700px){.footer-bottom{flex-direction:column;align-items:flex-start}}
.social a{margin-right:10px}

/* === Page containers === */
.page-container{width:min(1100px,100%);margin:0 auto;padding:32px var(--edge-x)}
.page-container h1{margin:0 0 14px;font-size:clamp(1.8rem,4vw,2.4rem);font-weight:900;letter-spacing:-.4px;color:var(--maroon)}
.page-container h2{color:var(--maroon)}

/* === Katalog – filtry, tagy, karty === */
.filters{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:12px; margin:10px 0 18px;
}
.filters > div{ display:flex; flex-direction:column; justify-content:flex-end; }
.filters label{ margin:0 0 6px; display:block; font-weight:700; font-size:.9rem }
.form-control{ padding:12px 14px; border:1px solid #e3e5e8; border-radius:12px; font:inherit }

.taglist{ display:flex; flex-wrap:wrap; gap:9px; margin-top:10px }
.tag{ display:inline-block; padding:8px 14px; border-radius:999px; background:#eef2f6; color:#334155; font-weight:800; font-size:.92rem }
.badge{ display:inline-block; padding:4px 10px; border-radius:999px; background:#f1f5f9; color:#475569; font-weight:700; font-size:.82rem }

.k-cards-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px; }
.category-section{ margin:26px 0; }
.category-title{ margin:0 0 12px; color:var(--maroon); }
.course-card{
  background:#fff; border:1.5px solid #e0e3e7; border-radius:16px; padding:18px 20px;
  display:flex; flex-direction:column; min-height:196px;
}
.course-card h3{ margin:0 0 8px; color:var(--maroon) }
.course-card .date{ opacity:.85; font-size:.95rem; margin:0 0 10px }
.course-card .desc{ flex:1 1 auto; margin:0 0 8px }
.course-card .actions{ display:flex; align-items:center; gap:10px; justify-content:flex-end; margin-top:10px }
.course-card .badge{ align-self:flex-start; margin-top:12px }

/* === Buttons (shared) === */
.btn-primary, .btn-secondary { text-decoration:none }

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important }
}

.thank-you-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  min-height: 70vh;
  display: flex;
  align-items: center; /* Vertikální střed */
  justify-content: center; /* Horizontální střed */
}
.success-icon {
  font-size: 4rem;
  color: #14532d; /* Tmavě zelená */
  margin-bottom: 20px;
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.thank-you-card {
  max-width: 700px;
  width: 100%;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center; /* Centruje obsah karty na střed */
  text-align: center;
}

.next-steps {
  text-align: left; /* Text v krocích zůstává vlevo pro lepší čitelnost */
  width: 100%;
  max-width: 500px;
  background: #fdfdfd;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 12px;
  margin: 20px auto 40px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.step-item:last-child { margin-bottom: 0; }

.step-num {
  background: var(--maroon)
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.thank-you-btns {
  display: flex;
  gap: 15px;
  width: 100%;
}

/* Responzivita pro mobilní zařízení */
@media (max-width: 576px) {
  .thank-you-btns {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary-custom, .btn-secondary-custom {
    width: 100%;
    text-align: center;
  }
}

/* Tlačítka */
.thank-you-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--maroon);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  background: var(--maroon);
  transform: translateY(-2px);
  color: white;
}


#main-title{
 color: var(--maroon);
}

.btn-next{

background: var(--pantone);
}

.btn-secondary-custom {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 14px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
}

.btn-secondary-custom:hover {
  background: #e5e7eb;
}

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .thank-you-card { padding: 30px 20px; }
  .thank-you-btns { flex-direction: column; }
}








.prof-body {
  --primary-red: #da3d46;
  --dark-red: #b92b33;
  --text-dark: #222222;
  --text-muted: #666666;
  --bg-color: #fdfaf7;
  --card-bg: #ffffff;
  --shadow-soft: 0 12px 30px rgba(0,0,0,0.06);
  --shadow-hover: 0 18px 40px rgba(0,0,0,0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  margin: 0;
}

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

.prof-body img { max-width: 100%; display: block; }

.prof-rekval-wrapxhdrt94 {
  background-color: var(--bg-color);
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

.prof-rekval-containerxhdrt94 {
  width: min(1150px, 100%);
  margin: 0 auto;
}

/* --- TLAČÍTKA --- */
.prof-btn-red-3dxhdrt94 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: linear-gradient(180deg, #ed5e66 0%, var(--primary-red) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 6px 0 var(--dark-red), 0 10px 20px rgba(218, 61, 70, 0.3);
  transition: all 0.15s ease;
  user-select: none;
  border: none;
  cursor: pointer;
}
.prof-btn-red-3dxhdrt94:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--dark-red), 0 8px 15px rgba(218, 61, 70, 0.3);
}
.prof-btn-red-3dxhdrt94:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 transparent, 0 0 0 transparent;
}

/* --- HEADER GRID (Levá strana + Pravá velká karta) --- */
.prof-header-gridxhdrt94 {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 70px;
}
@media(max-width: 950px) {
  .prof-header-gridxhdrt94 { grid-template-columns: 1fr; gap: 50px; }
}

.prof-header-leftxhdrt94 { padding-right: 20px; }
.prof-h-titlexhdrt94 {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 20px 0;
  color: var(--text-dark);
}
.prof-h-titlexhdrt94 span { color: var(--primary-red); }
.prof-h-dividerxhdrt94 {
  width: 50px;
  height: 3px;
  background-color: var(--primary-red);
  margin-bottom: 25px;
}
.prof-h-subxhdrt94 {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
  font-weight: 500;
}

.prof-meta-rowxhdrt94 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.prof-metaxhdrt94 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}
.prof-metaxhdrt94 i {
  color: var(--primary-red);
  font-size: 1.4rem;
}
.prof-metaxhdrt94 span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* --- PRAVÁ VELKÁ KARTA (Gradient s bílým boxem) --- */
.prof-hero-right-cardxhdrt94 {
  background: linear-gradient(135deg, #ff8a8f 0%, #fca4a8 40%, #ffdfdb 100%);
  border-radius: var(--radius-lg);
  padding: 40px 40px 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(218, 61, 70, 0.15);
}
.prof-hero-right-cardxhdrt94::before {
  content: "";
  position: absolute;
  bottom: -50px; left: -50px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  filter: blur(2px);
}
.prof-hero-right-cardxhdrt94::after {
  content: "";
  position: absolute;
  top: -20px; right: -20px;
  width: 300px; height: 300px;
  border: 40px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  box-sizing: border-box;
}
.prof-pattern-dotsxhdrt94 {
  position: absolute;
  width: 80px; height: 80px;
  background-image: radial-gradient(rgba(255,255,255,0.6) 2px, transparent 2px);
  background-size: 12px 12px;
  z-index: 1;
}
.prof-dots-tlxhdrt94 { top: 25px; left: 25px; }
.prof-dots-brxhdrt94 { bottom: 25px; right: 25px; }

.prof-hero-white-boxxhdrt94 {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 40px 35px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-soft);
  margin-top: 15px;
  margin-left: 20px;
}
.prof-floating-envelopexhdrt94 {
  position: absolute;
  top: -25px; right: -20px;
  width: 60px; height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  color: var(--primary-red);
  font-size: 1.8rem;
}
.prof-hero-box-titlexhdrt94 {
  color: var(--primary-red);
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 15px 0;
  line-height: 1.2;
}
.prof-hero-box-textxhdrt94 {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 25px 0;
  font-weight: 500;
}

/* --- SEPARÁTOR --- */
.prof-section-title-wrapxhdrt94 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}
.prof-title-linexhdrt94 {
  width: 40px;
  height: 2px;
  background-color: var(--primary-red);
}
.prof-section-titlexhdrt94 {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0;
}
.prof-section-subxhdrt94 {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 40px;
}

/* --- 3 KARTY VEDLE SEBE --- */
.prof-three-col-gridxhdrt94 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}
@media(max-width: 950px) {
  .prof-three-col-gridxhdrt94 { grid-template-columns: 1fr; }
}

.prof-cardxhdrt94 {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.prof-cardxhdrt94:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.prof-speaker-img-bgxhdrt94 {
  background: linear-gradient(180deg, #ffb4b7 0%, #ffe3e4 100%);
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.prof-speaker-img-bgxhdrt94 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.prof-speaker-contentxhdrt94 {
  padding: 25px;
  flex-grow: 1;
}
.prof-speaker-namexhdrt94 { font-size: 20px; font-weight: 900; margin: 0 0 10px 0; }
.prof-speaker-topicxhdrt94 { color: var(--primary-red); font-weight: 800; font-size: 14px; margin: 0 0 15px 0; }
.prof-speaker-descxhdrt94 { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0; font-weight: 500; }

.prof-topics-cardxhdrt94 { padding: 35px 30px; justify-content: center; }
.prof-topics-title-wrapxhdrt94 { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.prof-topics-title-linexhdrt94 { width: 4px; height: 22px; background-color: var(--primary-red); border-radius: 4px; }
.prof-topics-titlexhdrt94 { font-size: 18px; font-weight: 900; margin: 0; }
.prof-topics-listxhdrt94 { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.prof-topics-listxhdrt94 li { display: flex; align-items: flex-start; gap: 15px; font-size: 14px; font-weight: 600; color: var(--text-muted); line-height: 1.4; }
.prof-topics-listxhdrt94 i { color: var(--primary-red); font-size: 1.3rem; margin-top: -2px; }

/* --- FOTOGALERIE 18 FOTEK --- */
.prof-gallery-rowxhdrt94 {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 15px;
  margin-bottom: 50px;
}
@media(max-width: 950px) {
  .prof-gallery-rowxhdrt94 { grid-template-columns: repeat(4, 1fr); }
}
@media(max-width: 600px) {
  .prof-gallery-rowxhdrt94 { grid-template-columns: repeat(2, 1fr); }
}

.prof-photo-itemxhdrt94 {
  border-radius: 12px;
  overflow: hidden;
  height: 140px; 
  box-shadow: var(--shadow-soft);
  cursor: pointer; 
}
.prof-photo-itemxhdrt94 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prof-photo-itemxhdrt94:hover img {
  transform: scale(1.08);
}

/* --- LIGHTBOX (Vlastní modální okno) --- */
.prof-lightboxxhdrt94 {
  display: none; 
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.prof-lightboxxhdrt94.prof-show {
  display: flex;
  opacity: 1;
}
.prof-lightbox-contentxhdrt94 {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.prof-lightboxxhdrt94.prof-show .prof-lightbox-contentxhdrt94 {
  transform: scale(1);
}
.prof-lightbox-closexhdrt94 {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10000;
}
.prof-lightbox-closexhdrt94:hover {
  color: var(--primary-red);
}

/* --- SPODNÍ BANNER --- */
.prof-bottom-bannerxhdrt94 {
  background: linear-gradient(90deg, #fff3f4 0%, #ffffff 50%, #fff3f4 100%);
  border-radius: var(--radius-lg);
  padding: 35px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  gap: 30px;
}
@media(max-width: 850px) {
  .prof-bottom-bannerxhdrt94 { flex-direction: column; text-align: center; }
  .prof-bottom-banner-leftxhdrt94 { flex-direction: column; }
}
.prof-bottom-banner-leftxhdrt94 { display: flex; align-items: center; gap: 25px; }
.prof-bottom-icon-wrapxhdrt94 { width: 65px; height: 65px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.06); color: var(--primary-red); font-size: 1.8rem; flex-shrink: 0; }
.prof-bottom-text-wrapxhdrt94 h3 { font-size: 22px; font-weight: 900; margin: 0 0 8px 0; color: var(--text-dark); }
.prof-bottom-text-wrapxhdrt94 p { margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 500; line-height: 1.5; }