/* ================================================================
OBSAH SOUBORU
1. ZÁKLADY, TYPOGRAFIE A BAREVNÁ TÉMATA STRÁNEK
2. NAVIGACE A HAMBURGER MENU
3. SDÍLENÉ KOMPONENTY (karty, FAQ, formulář, patička, ...)
4. RESPONZIVITA - OBECNÁ (mobily a tablety pro sdílené komponenty)
5. HOMEPAGE: HERO-SPLIT A KARUSEL
6. HOMEPAGE: DALŠÍ SEKCE (ceník, milníky, "nechápu proč", tmavá sekce)
7. PODSTRÁNKY PŘIJÍMAČEK: PLNOOBRAZOVKOVÉ HERO (ČVUT, CERMAT, UK)
   + mobilní doladění hero sekcí na jednotlivých stránkách
================================================================ */

/* ================================================================
1. ZÁKLADY, TYPOGRAFIE A BAREVNÁ TÉMATA STRÁNEK
================================================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

:root {
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

main {
    padding: 100px 0 60px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main,
.page-index,
.container {
    flex: 1 0 auto;
}

a {
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin: 40px 0 40px 0;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.card-body h3 {
    margin-top: 10px;
    margin-bottom: 14px;
}

.card {
    text-decoration: none;
    color: inherit;
}

.card h3,
.card p {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- TÉMATA PODLE STRÁNEK --- */

.page-index {
    --primary: #1e3a8a;
    --accent: #3b82f6;
}

.page-cvut {
    --primary: #094e9d;
    --accent: #3ebaef;
}

.page-uk {
    --primary: #b40d0d;
    --accent: #fc4242;
}

.page-cermat {
    --primary: #3e38b4;
    --accent: #8590ef;
}

.page-spoluprace {
    --primary: #ed325c;
    --accent: #ff6b8a;
}

.page-scio {
    --primary: #b45309;
    --accent: #f59e0b;
}

.page-individual {
    --primary: #017550;
    --accent: #67d0ad;
}

.page-omne {
    --primary: #1e3a8a;
    --accent: #f98a0c;
}

/* ================================================================
2. NAVIGACE A HAMBURGER MENU
================================================================ */
.navbar {
    background: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: #000000;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Menu listy */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.75rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.btn-nav {
    background: var(--accent);
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- PŘEPÍNAČ JAZYKŮ --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    font-size: 0.85rem;
}

.lang-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: bold;
}

.lang-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}


/* Skrytý checkbox pro mobilní menu */
#menu-toggle {
    display: none;
}
.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    padding: 10px;
    margin: -10px;
}


/* Tlačítka v Headeru */
.btn-primary {
    background-color: var(--accent);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(0.88);
}


/* ================================================================
3. SDÍLENÉ KOMPONENTY (karty, FAQ, formulář, patička, ...)
================================================================ */

/* --- ROZCESTNÍK SLUŽEB --- */

.section-title {
    text-align: center;
    font-size: 2.4rem;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

/* "Spolupracuji s nejlepšími" - karta s textem/funkcemi vlevo, fotkou vpravo */
.partner-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
}

.partner-card {
    --partner: var(--primary);
    --partner-tint: rgba(30, 58, 138, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    gap: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.05);
}

.partner-card-accent {
    --partner: var(--accent);
    --partner-tint: rgba(59, 130, 246, 0.1);
}

.partner-card-main {
    display: flex;
    flex-direction: column;
}

.partner-card-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--partner-tint);
    color: var(--partner);
    font-size: 1.5rem;
}

.partner-card h3 {
    font-family: var(--font-display);
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 0;
}

.partner-card p {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.partner-card-link {
    align-self: flex-start;
    color: var(--partner);
    font-weight: 700;
    font-size: 0.9rem;
}

.partner-card-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin: 28px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid #e5e7eb;
}

.partner-card-features li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 140px;
}

.partner-card-features i {
    color: var(--partner);
    font-size: 1.2rem;
}

.partner-card-features span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
}

/* Fotka partnera: zaoblený rám + barevná skvrna vykukující za rohem */
.partner-card-photo {
    position: relative;
    min-height: 220px;
}

.partner-card-photo::before {
    content: "";
    position: absolute;
    inset: -10px -10px auto auto;
    width: 65%;
    height: 55%;
    background: var(--partner-tint);
    border-radius: 32px;
    z-index: 0;
}

.partner-card-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.15);
}

.partner-card-quote {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    max-width: 12em;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px 14px 2px 14px;
    box-shadow: 0 6px 16px rgba(30, 41, 59, 0.15);
    color: var(--partner);
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    line-height: 1.2;
    text-align: right;
    transform: rotate(-2deg);
}

@media (max-width: 860px) {
    .partner-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .partner-card-photo {
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    .partner-card {
        padding: 24px 22px;
    }

    .partner-card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .partner-card-photo {
        min-height: 200px;
    }
}

.focus-list li i {
    color: var(--accent) !important;
}

.mission-statement {
    border-left-color: var(--accent);
}

/* --- STYLOVÁNÍ SEZNAMŮ ZAMĚŘENÍ --- */
.focus-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.focus-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: transform 0.2s ease;
}

.focus-list li:hover {
    transform: translateX(10px);
    background: #f1f5f9;
}

.focus-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.focus-list li strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.mentor-note {
    background: var(--primary);
    color: white !important;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    line-height: 1.6;
    font-style: italic;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0 40px;
}

@media (max-width: 900px) {
    /* 3 úzké sloupce by na tabletu vypadaly stlačeně - radši 1 sloupec */
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Gridy se 4 kartami (přijímačky na indexu, fakulty ČVUT) - vždy 2 sloupce */
.detail-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
    /* 4 karty -> 1 sloupec, 3 karty -> 1 sloupec */
    .detail-grid,
    .detail-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Nadpis zarovnaný doleva (varianta section-title pro dvousloupcové sekce) */
.section-title-left {
    text-align: left;
}

.section-title-left::after {
    left: 0;
    transform: none;
}

/* --- FAQ (rozbalovací otázky) --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 0 25px;
    border: 1px solid #eef1f5;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--accent);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item p {
    color: var(--text-light);
    padding-bottom: 24px;
    margin: 0;
    line-height: 1.6;
}

.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 0 5px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
    transition: 0.2s;
    padding: 0;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: #ffffff;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: 0.25s;
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 26px;
    border-radius: 5px;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 15px;
    padding: 10px 20px 20px;
}

.card-body p {
    flex: 1;
    margin-bottom: 0;
}

/* --- ROLOVACÍ BOXY (Info & Přístup) --- */
.steps-wrapper {
    padding: 60px 20px;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 50px;
    gap: 30px;
}

/* Spojovací čára mezi kolečky */
.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-item h4 {
    font-family: var(--font-display);
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.step-item p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.btn-submit {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    filter: brightness(1.1);
    background: var(--text-dark);
    transform: translateY(-2px);
}

.about-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    margin: 20px 0;
}

.about-image {
    flex: 1;
    min-width: 320px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--bg-light);
    margin: 10px 0;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.about-text {
    flex: 1.5;
    min-width: 320px;
}

/* --- O MNĚ SEKCE --- */
.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 30px;
}

.mission-statement {
    border-left: 5px solid var(--accent);
    padding: 20px 30px;
    background: #f1f5f9;
    font-style: italic;
    font-size: 1.1rem;
    border-radius: 0 15px 15px 0;
    margin-top: 40px;
    color: var(--primary);
}


/* --- CENÍK: 3 rovnocenné karty, prostřední zvýrazněná --- */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
    padding: 30px 0 10px;
}


/* --- MINI ANKETA (rychlý zájem o konzultaci na konci podstránek) --- */
.mini-poll {
    padding: 60px 0 20px;
    background: var(--bg-light);
}

.mini-poll-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Anketa na homepage nemá obrázek, formulář zabírá celou kartu */
#kontakt .mini-poll-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.mini-poll-form {
    padding: 45px 40px;
    color: var(--text-dark);
}

.mini-poll-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
}

.mini-poll-form h2 {
    color: var(--primary) !important;
    text-align: left;
    margin: 0 0 12px;
    font-size: 1.7rem;
    padding-bottom: 0;
}

.mini-poll-form h2::after {
    display: none;
}

.mini-poll-form>p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.mini-poll-topic {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.mini-poll-topic i {
    color: var(--accent);
}

.mini-poll-form .btn-submit {
    background: var(--accent);
}

.mini-poll-form .btn-submit:hover {
    background: var(--primary);
    color: #ffffff;
}

.mini-poll-image {
    position: relative;
    min-height: 280px;
}

.mini-poll-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .mini-poll-grid {
        grid-template-columns: 1fr;
    }

    .mini-poll-image {
        order: -1;
        min-height: 220px;
    }
}





/* ---  MILNÍKY (KARTY S OBRÁZKY) --- */
.milestones {
    padding: 40px 20px;
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.milestone-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 250px;
    display: flex;
    align-items: flex-end;
    /* Text dole */
}

.milestone-card:hover {
    transform: translateY(-10px);
}

/* Barevný proužek nahoře podle tématu karty (shodné s barvami použitými jinde na webu) */
.milestone-card.card-cvut { border-top: 5px solid #0ea5e9; }
.milestone-card.card-uk { border-top: 5px solid #b91c1c; }
.milestone-card.card-foreigners { border-top: 5px solid #f98a0c; }
.milestone-card.card-logic { border-top: 5px solid #017550; }

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    /* Ztmaví obrázek, aby byl text vidět */
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: white;
}

.card-content i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}


/* --- DROP-DOWN MENU --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.3s ease;
    transform: translateY(0);
}

.dropdown-content a {
    font-size: 0.95rem !important;
    font-weight: 500;
    color: #1e293b;
    padding: 12px 16px;
    text-transform: none;
    display: block;
    text-decoration: none;
    line-height: 1.2;
    border-radius: 10px;
    transition: all 0.2s ease
}

.dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--accent) !important;
}

.dd-caret {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.dropdown:hover .dd-caret,
.dropdown.show .dd-caret {
    transform: rotate(225deg) translateY(-2px);
}

.dropdown.show .dropdown-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* --- FORMULÁŘ --- */
.contact-section {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 1.15rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-social-link:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 0.95rem;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f8fafc;
    font-size: 1rem;
    color: #334155;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    background-color: #ffffff;
}




.card-fit {
    border-top: 5px solid #0059a3;
}

.card-fit h3 {
    color: #0059a3;
}

/* ČVUT modrá */
.card-fel {
    border-top: 5px solid #e3101c;
}

.card-fel h3 {
    color: #e3101c;
}

/* FEL červená */
.card-fs {
    border-top: 5px solid #ffcc00;
}

.card-fs h3 {
    color: #b38f00;
}

/* Strojní žlutá */
.card-fsv {
    border-top: 5px solid #009a4d;
}

.card-fsv h3 {
    color: #009a4d;
}

/* Stavební zelená */
.card-uk-mff {
    border-top: 6px solid #b91c1c !important;
}

.card-uk-mff h3 {
    color: #b91c1c;
}

.card-uk-pedf {
    border-top: 6px solid #e67e22 !important;
}

.card-uk-pedf h3 {
    color: #e67e22;
}

.card-uk-prf {
    border-top: 6px solid #27ae60 !important;
}

.card-uk-prf h3 {
    color: #27ae60;
}

.btn-detail {
    display: inline-block;
    margin-top: 20px;
    align-self: flex-start;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    color: white !important;
    transition: 0.3s;
}

/* Barvy tlačítek */
.btn-fit {
    background: #0059a3;
}

.btn-fel {
    background: #e3101c;
}

.btn-fs {
    background: #ffcc00;
    color: black !important;
}

.btn-fsv {
    background: #009a4d;
}

.btn-mff {
    background: #b91c1c;
}

.btn-pedf {
    background: #e67e22;
}

.btn-prf {
    background: #27ae60;
}

.btn-detail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}


/* --- PATIČKA (FOOTER) --- */
.main-footer {
    background-color: var(--primary);
    color: #ffffff;
    padding-bottom: 10px;
    padding-top: 30px;
    margin-top: 10px;
}

/* .main-footer má sitewide margin-top: 10px - na tmavé sekci #kontakt
   (homepage) by pod ní probleskl bílý pruh, tady ho proto vypínáme */
.page-index .main-footer {
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    padding-bottom: 10px;
    font-weight: 500;
    color: #ffffff;
    padding-right: 30px;
    padding-left: 30px;
}

/* Sjednocený seznam pro všechny sloupce */
.footer-list {
    list-style: none;
    padding-right: 30px;
    padding-left: 30px;
}

.footer-list li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 3px;
}


.footer-list a,
.footer-list li {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: 0.3s;
}

.footer-list i {
    width: 20px;
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-list a:hover {
    color: #ffffff;
    padding-left: 5px;
}


.footer-bottom {
    text-align: center;
    margin-top: 15px;
    padding-top: 1.2em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
4. RESPONZIVITA - OBECNÁ (mobily a tablety pro sdílené komponenty)
================================================================ */

@media (max-width: 600px) {
    main {
        display: block;
        width: 100%;
        min-height: 100vh;
        height: auto !important;
        overflow: visible !important;
        padding-top: 80px;
    }

    .container {
        padding: 0 20px;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    h2 {
        font-size: 1.6rem !important;
        text-align: center;
    }


}


@media (max-width: 768px) {
    .navbar {
        padding: 10px 10px;
        justify-content: space-between;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .milestone-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        grid-template-columns: 1fr;
        text-align: left;
        padding-left: 10%;
    }

    .dropdown>a {
        justify-content: center;
        width: 100%;
    }

    .card-img {
        height: 200px;
    }
}

@media (max-width: 1024px) {
    .menu-icon {
        display: block;
    }

    #menu-toggle:checked~.nav-links {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-top: 1px solid #eee;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }


    .nav-links a {
        font-size: 1rem;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        display: block;
    }

    .nav-links a.btn-nav {
        width: auto;
        padding: 12px 30px;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-top: 8px;
        padding-bottom: 8px;
        background: transparent;
    }

    .dropdown.show .dropdown-content {
        display: block;
        position: static;
        width: 100%;
    }

    .dropdown-content a {
        text-align: center;
        padding: 10px 0;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    /* Ať je pořadí: nadpis -> obrázek -> zbytek textu, ne celý text napřed */
    .about-text {
        display: contents;
    }

    .about-text > h2 {
        order: 1;
        width: 100%;
    }

    .about-text > *:not(h2) {
        order: 3;
    }

    .about-image {
        width: 100%;
        max-width: 380px;
        order: 2;
        margin: 0 auto 20px;
        height: auto;
    }

    .about-image img {
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
        object-fit: cover;
        border-radius: 20px;
    }

    .steps-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-width: 480px;
        margin: 50px auto 0;
    }

    .steps-container::before {
        display: none;
    }

    .step-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 22px;
        position: relative;
        padding-bottom: 36px;
    }

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

    .step-item::after {
        content: '';
        position: absolute;
        top: 60px;
        bottom: 0;
        left: 29px;
        width: 2px;
        background: #e2e8f0;
    }

    .step-item:last-child::after {
        display: none;
    }

    .step-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
ZVĚTŠENÍ IKONEK PRO VELKÁ ZAŘÍZENÍ (Desktop)
============================================================ */

@media (min-width: 1200px) {

    .card-body h3 i {
        font-size: 1.6rem !important;
        margin-right: 10px;
    }

}

/* Extrémně velká obrazovky  */
@media (min-width: 1600px) {
    .logo {
        font-size: 1.6rem;
    }
}

/* ============================================================
5. HOMEPAGE: HERO-SPLIT A KARUSEL
HERO-SPLIT (rozdělený hero s obrázkem/karuselem vpravo)
============================================================ */
.hero-split {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 70%);
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-eyebrow i {
    margin-right: 6px;
}

.hero-split-title {
    text-align: left;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    color: var(--primary) !important;
    padding-bottom: 0;
    margin-bottom: 18px;
}

.hero-split-title .highlight-alt {
    color: #e8830a;
}

.hero-split-text {
    text-align: left;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.hero-split-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-secondary-outline-dark {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: 0.3s;
}

.btn-secondary-outline-dark:hover {
    background: var(--primary);
    color: #fff;
}

/* Výběr formy výuky (osobně / online) na homepage */
.mode-picker {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 28px;
    margin-bottom: 30px;
}

.mode-picker h3 {
    font-size: 1.15rem;
    padding-bottom: 0;
    margin-bottom: 6px;
}

.mode-picker>p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.mode-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.25s;
}

.mode-option:last-child {
    margin-bottom: 0;
}

.mode-option:hover {
    border-color: var(--accent);
}

.mode-option input {
    accent-color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.mode-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.06);
}

.mode-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.mode-text {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.5;
}

.mode-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

/* Karta s přehledem hlavních oblastí v hero (homepage), vpravo vedle textu */
.hero-carousel-wrap {
    position: relative;
    min-width: 0;
}

#hero-carousel {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}

#hero-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    display: flex;
}

#hero-carousel .carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 26, 64, 0.5) 0%, rgba(14, 26, 64, 0.72) 55%, rgba(14, 26, 64, 0.92) 100%);
}

#hero-carousel .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

#hero-carousel .carousel-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 36px 32px 78px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-badge {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#hero-carousel .carousel-overlay h3 {
    color: #fff;
    font-size: clamp(2.2rem, 3vw, 2.9rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    margin-bottom: 16px;
    padding-bottom: 0;
}

#hero-carousel .carousel-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 22px;
    max-width: 30em;
}

.carousel-check {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.carousel-check li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 600;
}

.carousel-check li i {
    color: var(--accent);
    font-size: 0.82rem;
}

.carousel-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 14px 26px;
    border-radius: 50px;
    transition: transform 0.2s ease, filter 0.2s ease;
    margin-top: auto;
}

.carousel-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Jediná šipka vpravo uprostřed karty - posouvá dál, po SCIO se vrátí na ČVUT */
#hero-carousel .carousel-arrow.next {
    top: 50%;
    right: 20px;
    z-index: 3;
}

/* Ukazatel scrollování pod kartami - vidět jen na mobilu, viz media query níže */
.carousel-scroll-indicator {
    display: none;
}

/* ============================================================
   NOVÝ design hero sekce homepage (větev "new-section", jen
   k nahlédnutí) - klasické dvousloupcové hero (text + foto),
   karusel s nabídkami je samostatná sekce přes celou šířku pod ním.
============================================================ */
.hero-intro {
    padding: 150px 0 70px;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 70%);
}

.hero-intro-text {
    max-width: 560px;
}

.hero-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 32px;
}

.hero-feature-row-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.hero-feature-row-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-size: 0.92rem;
    flex-shrink: 0;
}

.hero-intro-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 30px;
    border-radius: 50px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-intro-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    color: #fff;
}

.hero-intro-photo {
    position: relative;
}

.hero-photo-blob {
    position: absolute;
    top: -8%;
    right: 0;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-photo-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.18);
}

.hero-photo-note {
    position: absolute;
    z-index: 2;
    top: 6%;
    right: 4%;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 14px 18px;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
    max-width: 190px;
}

/* Karusel s nabídkami jako samostatná sekce přes celou šířku pod hero -
   klasický fade mezi snímky + šipky po stranách + tečky dole. */
.carousel-full-section {
    padding: 20px 0 70px;
}

.hero-carousel-full-wrap {
    position: relative;
}

#hero-carousel-full {
    position: relative;
    height: 440px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}

#hero-carousel-full .carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    display: flex;
}

#hero-carousel-full .carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 26, 64, 0.88) 0%, rgba(14, 26, 64, 0.6) 45%, rgba(14, 26, 64, 0.25) 100%);
}

#hero-carousel-full .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

#hero-carousel-full .carousel-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 40px 56px;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero-carousel-full .carousel-overlay h3 {
    color: #fff;
    font-size: clamp(1.8rem, 2.4vw, 2.3rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 0;
}

#hero-carousel-full .carousel-overlay p {
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 18px;
    max-width: 34em;
}

#hero-carousel-full .carousel-check {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 22px;
}

.hero-carousel-full-wrap .carousel-arrow.prev {
    left: -24px;
}

.hero-carousel-full-wrap .carousel-arrow.next {
    right: -24px;
}

/* 4 karty s hlavními benefity pod karuselem */
.hero-facts-row {
    padding-top: 10px;
    padding-bottom: 50px;
}

.hero-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hero-fact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.hero-fact-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.hero-fact-card h4 {
    font-size: 1.02rem;
    margin-bottom: 6px;
    padding-bottom: 0;
}

.hero-fact-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    padding-bottom: 0;
    line-height: 1.5;
}

.mode-picker-section {
    padding-bottom: 60px;
}

.mode-picker-section .mode-picker {
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   "Kdo tě bude učit?" + "Vyber si své přijímačky" vedle sebe
   (větev "new-section", podle reference).
============================================================ */
.split-info-section {
    padding: 70px 0;
}

.split-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.05);
    display: flex;
    flex-direction: column;
}

.info-card h2 {
    padding-bottom: 0;
    margin-bottom: 0;
}

.lektor-card-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.lektor-photo {
    position: relative;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
}

.lektor-photo-blob {
    position: absolute;
    inset: -10px;
    background: rgba(59, 130, 246, 0.14);
    border-radius: 50%;
    z-index: 0;
}

.lektor-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.info-card .lead-text {
    font-size: 1rem;
    margin-bottom: 22px;
}

.simple-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simple-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--text-dark);
}

.simple-check-list li i {
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.prijimacky-card > p {
    color: var(--text-light);
    margin: 10px 0 22px;
}

.prijimacky-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.prijimacky-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 16px;
    transition: 0.2s;
}

.prijimacky-item:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.prijimacky-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.prijimacky-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.prijimacky-text strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.prijimacky-text span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.prijimacky-chevron {
    color: #94a3b8;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Redesign kroků "Jak probíhá doučování" - ikona v kolečku a čárkovaná
   spojnice místo karet s číslem (podle reference). */
.step-circle {
    font-size: 1.3rem;
}

.steps-container::before {
    background: transparent;
    background-image: linear-gradient(90deg, #cbd5e1 50%, transparent 50%);
    background-size: 14px 2px;
    background-repeat: repeat-x;
}

.steps-wrapper .step-item-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
}

.steps-wrapper .step-item:hover .step-item-card {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

@media (max-width: 1024px) {
    .step-item::after {
        background-image: linear-gradient(180deg, #cbd5e1 50%, transparent 50%);
        background-size: 2px 14px;
        background-repeat: repeat-y;
        background-color: transparent;
    }

    .steps-wrapper .step-item-card {
        text-align: left;
    }
}

/* "Spolupracuji s nejlepšími" + "Časté otázky" v jedné řadě - spolupráce
   jako jedna karta odkazující na spoluprace.html, FAQ jako prostý seznam. */
.support-row-section {
    padding: 70px 0;
}

.support-row-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.spoluprace-promo {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.promo-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    border-radius: 50px;
}

.spoluprace-promo h2 {
    margin-top: 14px;
    padding-bottom: 0;
}

.spoluprace-promo p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.spoluprace-promo .hero-intro-cta {
    margin-top: auto;
    align-self: flex-start;
}

.faq-compact h2 {
    padding-bottom: 0;
    margin-bottom: 18px;
}

.faq-compact .faq-list-plain {
    max-width: none;
    margin: 0;
    gap: 0;
}

.faq-compact .faq-list-plain .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 0;
}

.faq-compact .faq-list-plain .faq-item:last-child {
    border-bottom: none;
}

.faq-compact .faq-list-plain .faq-item summary {
    padding: 16px 0;
}

.faq-compact .faq-list-plain .faq-item p {
    padding-bottom: 16px;
}

@media (max-width: 900px) {
    .split-info-grid,
    .support-row-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .info-card {
        padding: 26px 22px;
    }

    .prijimacky-grid {
        grid-template-columns: 1fr;
    }
}

/* Anketa jako modální okno, otevírané tlačítkem (a[href="#kontakt"]),
   zavíratelné křížkem, klikem mimo okno nebo klávesou Esc. */
.kontakt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 26, 64, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.kontakt-modal-overlay.is-open {
    display: flex;
}

.kontakt-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    max-width: 560px;
    width: 100%;
    margin: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.kontakt-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
}

.kontakt-modal-close:hover {
    background: #e2e8f0;
}

body.kontakt-modal-open {
    overflow: hidden;
}

/* Kontaktní pruh nad patičkou + nová patička (větev "new-section") */
.cta-banner-section {
    padding-top: 20px;
    padding-bottom: 50px;
}

.cta-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(120deg, #0e1a40 0%, var(--primary) 100%);
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 20px 40px rgba(14, 26, 64, 0.25);
}

.cta-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.4rem;
}

.cta-banner-text {
    flex: 1;
    min-width: 0;
}

.cta-banner-text h2 {
    color: #ffffff;
    font-size: 1.6rem;
    padding-bottom: 0;
    margin: 0 0 4px;
    text-align: left;
}

.cta-banner-text h2::after {
    display: none;
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-banner-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    color: #ffffff;
}

.footer-v2 {
    padding-top: 36px;
}

.footer-v2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-v2-logo {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.footer-v2-logo span {
    font-weight: 500;
    opacity: 0.85;
}

.footer-v2-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 26px;
    padding: 0;
    margin: 0;
}

.footer-v2-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-v2-links a:hover {
    color: #ffffff;
}

.footer-v2-social {
    display: flex;
    gap: 10px;
}

.footer-v2-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-v2-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-v2-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    margin-top: 22px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-v2-contacts a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-v2-contacts a:hover {
    color: #ffffff;
}

.footer-v2-contacts i {
    margin-right: 6px;
}

@media (max-width: 900px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }

    .cta-banner-text h2 {
        text-align: center;
        font-size: 1.4rem;
    }

    .footer-v2-row {
        flex-direction: column;
    }
}

/* Statický obrázek v hero (podstránky přijímaček) */
.hero-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.hero-visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
    padding: 0 28px 30px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}

/* Nakloněná fotka s "echem" karty za sebou (CERMAT, ČVUT hero) */
.hero-visual-frame {
    position: relative;
}

.hero-visual-frame::before {
    content: '';
    position: absolute;
    inset: -14px;
    background: var(--accent);
    opacity: 0.15;
    border-radius: 32px;
    transform: rotate(-4deg);
    z-index: 0;
}

.hero-visual-tilted {
    position: relative;
    z-index: 1;
}

/* Řádek rychlých faktů pod CTA tlačítkem */
.hero-facts {
    display: flex;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 4px;
    margin-top: 30px;
}

.hero-fact {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 0 10px;
}

.hero-fact:not(:first-child) {
    border-left: 1px solid #e2e8f0;
}

.hero-fact i {
    color: var(--accent);
    font-size: 1.05rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.hero-fact > div {
    min-width: 0;
}

.hero-fact strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.8rem;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.hero-fact span {
    display: block;
    color: var(--text-light);
    font-size: 0.7rem;
    line-height: 1.3;
    overflow-wrap: break-word;
}

/* Fotka s ručně psaným citátem (hero na stránce O mně) */
.hero-visual-quote-text {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 34px;
    z-index: 2;
    color: #fff;
    font-family: 'Caveat', cursive;
    font-size: 1.7rem;
    line-height: 1.25;
    transform: rotate(-2deg);
}

.hero-visual-quote-text::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 10px;
    background: #fca311;
    border-radius: 2px;
    transform: rotate(-4deg);
}

.hero-visual-quote img {
    object-position: center 15%;
}

/* Časová osa studia (hero na stránce O mně) */
.timeline {
    position: relative;
    margin: 28px 0;
    padding-left: 26px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--accent);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 14px;
}

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

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px #fff;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.timeline-body {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    flex: 1;
    min-width: 0;
}

.timeline-heading {
    min-width: 140px;
}

.timeline-heading strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.02rem;
}

.timeline-date {
    color: var(--text-light);
    font-size: 0.82rem;
}

.timeline-body p {
    flex: 1;
    min-width: 160px;
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Řádek rychlých faktů pod časovou osou */
.hero-stats-row {
    display: flex;
    justify-content: space-between;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 22px;
    margin-bottom: 26px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    padding: 0 8px;
}

.hero-stat:not(:first-child) {
    border-left: 1px solid #e2e8f0;
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.hero-stat strong {
    color: var(--text-dark);
    font-size: 0.92rem;
}

.hero-stat span {
    color: var(--text-light);
    font-size: 0.78rem;
}

@media (max-width: 700px) {
    .hero-facts {
        flex-wrap: wrap;
        gap: 16px 0;
    }

    .hero-fact {
        flex: 1 1 45%;
        border-left: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        aspect-ratio: 16 / 10;
    }

    #hero-carousel .carousel-overlay {
        padding: 30px 24px 34px;
    }

    /* Na mobilu žádná šipka - karta se posouvá jen přejetím prstem */
    #hero-carousel .carousel-arrow.next {
        display: none;
    }

    /* O kousek užší karty a mezera mezi nimi - vykukující okraj dalšího
       snímku napovídá, že jde o obsah, který se dá odscrollovat prstem. */
    #hero-carousel {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 0;
        box-shadow: none;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #hero-carousel::-webkit-scrollbar {
        display: none;
    }

    #hero-carousel .carousel-slide {
        position: relative;
        flex: 0 0 88%;
        scroll-snap-align: start;
        opacity: 1;
        pointer-events: auto;
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
    }

    /* Pásek pod kartami, který ukazuje polohu ve scrollu - dělá scrollování
       karuselu vizuálně zjevným i bez šipek a teček. */
    .carousel-scroll-indicator {
        display: block;
        position: relative;
        height: 4px;
        margin: 14px 6px 0;
        background: rgba(15, 23, 42, 0.12);
        border-radius: 4px;
        overflow: hidden;
    }

    .carousel-scroll-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 25%;
        background: var(--accent);
        border-radius: 4px;
    }

    .hero-split-title,
    .hero-split-text {
        text-align: center;
    }

    .hero-split-btns {
        justify-content: center;
    }

    .hero-visual-quote {
        aspect-ratio: 4 / 5;
    }

    /* Na mobilu ať je obrázek/karusel hned pod nadpisem, ne před ním ani úplně na konci */
    .hero-left {
        display: contents;
    }

    .hero-eyebrow,
    .hero-split-title,
    .hero-split-text {
        order: 1;
    }

    .hero-visual-frame,
    .hero-visual,
    .hero-carousel-wrap {
        order: 2;
    }

    .mode-picker,
    .hero-split-btns,
    .hero-facts,
    .timeline,
    .hero-stats-row {
        order: 3;
    }

    /* Nové hero (větev "new-section") na mobilu */
    .hero-intro {
        padding: 100px 0 50px;
    }

    .hero-intro-text {
        max-width: none;
        text-align: center;
    }

    .hero-feature-row,
    .hero-intro-cta {
        justify-content: center;
    }

    .hero-intro-photo {
        margin-top: 30px;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-photo-blob {
        display: none;
    }

    .hero-photo-note {
        max-width: 150px;
        font-size: 0.78rem;
        padding: 10px 14px;
        top: 4%;
        right: 2%;
    }

    #hero-carousel-full {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    #hero-carousel-full .carousel-slide::after {
        background: linear-gradient(180deg, rgba(14, 26, 64, 0.35) 0%, rgba(14, 26, 64, 0.6) 45%, rgba(14, 26, 64, 0.92) 100%);
    }

    #hero-carousel-full .carousel-overlay {
        max-width: none;
        padding: 64px 24px 34px;
        justify-content: flex-end;
    }

    #hero-carousel-full .carousel-check {
        flex-direction: column;
        gap: 10px;
    }

    /* Na mobilu je text kartou zarovnaný dolů, takže šipky patří nahoru
       nad text, ať mu nepřekrývají obsah */
    .hero-carousel-full-wrap .carousel-arrow {
        top: 16px;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .hero-carousel-full-wrap .carousel-arrow.prev {
        left: 12px;
    }

    .hero-carousel-full-wrap .carousel-arrow.next {
        right: 12px;
    }

    .hero-facts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero-split {
        padding: 100px 0 50px;
    }

    .mode-picker {
        padding: 20px;
    }

    .timeline-item {
        align-items: flex-start;
    }

    .hero-stat span {
        display: none;
    }

    #hero-carousel .carousel-overlay h3 {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }

    #hero-carousel .carousel-overlay p {
        font-size: 0.9rem;
    }

    .carousel-badge {
        font-size: 0.56rem;
        padding: 4px 9px;
        gap: 4px;
        margin-bottom: 12px;
    }

    /* Nové hero (větev "new-section") na mobilu */
    .hero-intro-title,
    .hero-intro .hero-split-title {
        font-size: 1.9rem;
    }

    #hero-carousel-full .carousel-overlay h3 {
        font-size: 1.6rem;
    }

    .hero-facts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
6. HOMEPAGE: DALŠÍ SEKCE (ceník, milníky, "nechápu proč", tmavá sekce)
KARTA U KROKU (step-item-card) A CENOVÉ KARTY NA HOMEPAGE
============================================================ */
.step-item-card {
    width: 100%;
    flex: 1;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.step-item:hover .step-item-card {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.price-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
    margin: -14px 0;
    padding: 50px 32px;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.price-card.featured:hover {
    transform: translateY(-6px);
}

.price-tag {
    align-self: flex-start;
    display: inline-block;
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.price-card.featured .price-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.price-tag.highlight {
    background: var(--accent);
    color: #ffffff;
}

.price-value {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 6px;
}

.price-card.featured .price-value {
    color: #ffffff;
}

.price-value span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.price-card.featured .price-value span {
    color: rgba(255, 255, 255, 0.75);
}

.price-desc {
    color: var(--text-light);
    margin-bottom: 22px;
}

.price-card.featured .price-desc {
    color: rgba(255, 255, 255, 0.8);
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.price-card.featured .price-features li {
    color: #ffffff;
}

.price-features li i {
    color: var(--accent);
    margin-top: 4px;
}

.price-card.featured .price-features li i {
    color: rgba(255, 255, 255, 0.85);
}

.btn-secondary-outline {
    display: inline-block;
    text-align: center;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: 0.3s;
    margin-top: auto;
}

.btn-secondary-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-cta-featured {
    display: inline-block;
    text-align: center;
    margin-top: auto;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 999px;
    transition: 0.3s;
}

.btn-cta-featured:hover {
    transform: translateY(-2px);
    filter: brightness(0.92);
}

.faq-section {
    padding-bottom: 20px;
}

@media (max-width: 1000px) {
    .price-card.featured {
        margin: 0;
        padding: 36px 32px;
    }
}

@media (max-width: 900px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Na stránce Individuální doučování ať je nadpis nad textem, ne vedle něj */
.page-individual .timeline-body {
    flex-direction: column;
    gap: 6px;
}

.page-individual .timeline-heading {
    min-width: 0;
}

/* ============================================================
STŘÍDÁNÍ POZADÍ SEKCÍ (jasné oddělení jednotlivých částí stránky)
============================================================ */
.section-alt {
    background: var(--bg-light);
}

.section-alt .faq-item,
.section-alt .card {
    background: #ffffff;
}

.section-dark {
    background-color: #0e1a40;
    color: #b6c3e3;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark p {
    color: #b6c3e3;
}

/* ============================================================
SEKCE „NEJDE JEN O VÝSLEDEK. JDE O POCHOPENÍ.“ (tmavá)
============================================================ */
.philosophy-board {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(14, 26, 64, 0.94) 0%, rgba(14, 26, 64, 0.88) 55%, rgba(14, 26, 64, 0.97) 100%),
        url('images/formulas-board.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 56px;
    align-items: center;
}

.philosophy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-weight: 600;
    color: #b6c3e3;
}

.philosophy-eyebrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.philosophy-list {
    display: grid;
    gap: 22px;
    margin-top: 30px;
}

.philosophy-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
}

.philosophy-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    font-size: 1.1rem;
}

.philosophy-list strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #ffffff;
}

.philosophy-list span {
    color: #b6c3e3;
}

.philosophy-diagram {
    width: 100%;
    max-width: 420px;
    justify-self: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.035);
}

.philosophy-diagram svg {
    display: block;
    width: 100%;
    height: auto;
}

.pd-line {
    fill: none;
    stroke: #e8eefc;
    stroke-opacity: 0.75;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-node {
    fill: rgba(255, 255, 255, 0.06);
    stroke: #e8eefc;
    stroke-width: 2.5;
}

.pd-result {
    fill: var(--accent);
}

.pd-txt {
    font-family: var(--font-display);
    font-weight: 700;
    text-anchor: middle;
    fill: #ffffff;
}

.pd-txt-navy {
    fill: #0e1a40;
}

@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-diagram {
        max-width: 340px;
        margin: 0 auto;
    }
}

/* ============================================================
JEDNOTNÉ SVISLÉ ODSAZENÍ SEKCÍ NA HOMEPAGE
(aby byl na první pohled vidět přechod na novou část stránky)
============================================================ */
#lektor,
.partner-section,
.section-alt,
.section-dark,
.py-10 {
    padding: 70px 0;
}

.contact-section {
    padding: 70px 20px;
}

@media (max-width: 600px) {
    #lektor,
    .partner-section,
    .section-alt,
    .section-dark,
    .py-10,
    .contact-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }
}

/* ============================================================
7. PODSTRÁNKY PŘIJÍMAČEK: PLNOOBRAZOVKOVÉ HERO (ČVUT, CERMAT, UK)
   + mobilní doladění hero sekcí na jednotlivých stránkách
PLNOOBRAZOVKOVÉ HERO S TABULOVÝM POZADÍM (ČVUT, CERMAT, UK)
Stejný "tabulový" jazyk jako u SCIO a individuálního doučování
(tmavé pozadí s jemnou mřížkou), ale se skutečnou fotkou místo
kreslené SVG ukázky - sjednocuje vzhled přípravných stránek.
============================================================ */
.page-cvut .hero-split,
.page-cermat .hero-split,
.page-uk .hero-split,
.page-index .hero-split,
.page-omne .hero-split {
    /* clamp misto čistého 100vh: při vysokém zoomu (nebo velmi vysoké/nízké
       liště prohlížeče) by section jinak rostla neomezeně, zatímco obsah
       má díky clamp()/max-width pevný strop, a zůstal by uprostřed obří
       prázdné plochy */
    min-height: clamp(560px, 100vh, 900px);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 110px 0 60px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}

.page-cvut .hero-split { background-color: #071c33; }
.page-cermat .hero-split { background-color: #17123a; }
.page-uk .hero-split { background-color: #2a0a0a; }
.page-index .hero-split { background-color: #0e1a40; }
.page-omne .hero-split { background-color: #0e1a40; }

.page-cvut .hero-split .hero-eyebrow,
.page-cermat .hero-split .hero-eyebrow,
.page-uk .hero-split .hero-eyebrow,
.page-index .hero-split .hero-eyebrow,
.page-omne .hero-split .hero-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.page-cvut .hero-split .hero-split-title,
.page-cermat .hero-split .hero-split-title,
.page-uk .hero-split .hero-split-title,
.page-index .hero-split .hero-split-title,
.page-omne .hero-split .hero-split-title {
    color: #ffffff !important;
}

.page-cvut .hero-split .hero-split-text,
.page-cermat .hero-split .hero-split-text,
.page-uk .hero-split .hero-split-text,
.page-index .hero-split .hero-split-text,
.page-omne .hero-split .hero-split-text {
    color: rgba(255, 255, 255, 0.75);
}

.page-cvut .hero-split .hero-facts,
.page-cermat .hero-split .hero-facts,
.page-uk .hero-split .hero-facts,
.page-index .hero-split .hero-facts,
.page-omne .hero-split .hero-facts {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.page-cvut .hero-split .hero-fact:not(:first-child),
.page-cermat .hero-split .hero-fact:not(:first-child),
.page-uk .hero-split .hero-fact:not(:first-child),
.page-index .hero-split .hero-fact:not(:first-child),
.page-omne .hero-split .hero-fact:not(:first-child) {
    border-left-color: rgba(255, 255, 255, 0.16);
}

.page-cvut .hero-split .hero-fact strong,
.page-cermat .hero-split .hero-fact strong,
.page-uk .hero-split .hero-fact strong,
.page-index .hero-split .hero-fact strong,
.page-omne .hero-split .hero-fact strong {
    color: #ffffff;
}

.page-cvut .hero-split .hero-fact span,
.page-cermat .hero-split .hero-fact span,
.page-uk .hero-split .hero-fact span,
.page-index .hero-split .hero-fact span,
.page-omne .hero-split .hero-fact span {
    color: rgba(255, 255, 255, 0.65);
}

.page-index .hero-split .btn-secondary-outline-dark {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.page-index .hero-split .btn-secondary-outline-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
}

.page-omne .hero-split .timeline-dot {
    box-shadow: 0 0 0 4px #0e1a40;
}

.page-omne .hero-split .hero-stats-row {
    border-top-color: rgba(255, 255, 255, 0.16);
}

.page-omne .hero-split .hero-stat:not(:first-child) {
    border-left-color: rgba(255, 255, 255, 0.16);
}

.page-omne .hero-split .hero-stat strong {
    color: #ffffff;
}

.page-omne .hero-split .hero-stat span {
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 600px) {
    .page-cvut .hero-split,
    .page-cermat .hero-split,
    .page-uk .hero-split {
        padding: 90px 0 40px;
    }

    /* .hero-left{display:contents} vytáhne nadpisy jako samostatné položky
       grid kontejneru, který má gap: 60px pro desktopové dva sloupce - na
       mobilu to mezi nadpisem, textem a obrázkem dělalo obří mezery. Text
       navíc na mobilu schováváme (stejně jako u SCIO/individuálního
       doučování), ať se nadpis, tlačítko a obrázek vejdou hned na obrazovku.
       Stejný problém měl i index (karusel) a omne (foto s citátem), tak
       jsou zařazené do stejného pravidla. */
    .page-cvut .hero-split .hero-split-grid,
    .page-cermat .hero-split .hero-split-grid,
    .page-uk .hero-split .hero-split-grid,
    .page-index .hero-split .hero-split-grid,
    .page-omne .hero-split .hero-split-grid {
        gap: 14px;
    }

    .page-cvut .hero-split .hero-eyebrow,
    .page-cermat .hero-split .hero-eyebrow,
    .page-index .hero-split .hero-eyebrow,
    .page-omne .hero-split .hero-eyebrow {
        margin-bottom: 10px;
    }

    .page-cvut .hero-split .hero-split-title,
    .page-cermat .hero-split .hero-split-title,
    .page-uk .hero-split .hero-split-title,
    .page-index .hero-split .hero-split-title,
    .page-omne .hero-split .hero-split-title {
        margin-bottom: 6px;
    }

    .page-cvut .hero-split .hero-split-text,
    .page-cermat .hero-split .hero-split-text,
    .page-uk .hero-split .hero-split-text,
    .page-index .hero-split .hero-split-text,
    .page-omne .hero-split .hero-split-text {
        display: none;
    }
}
/* ============================================================
   Větev "new-section" - zvětšení a zvýraznění (hero, karusel,
   přijímačky, kroky, spolupráce/FAQ, CTA, patička)
============================================================ */
.hero-intro {
    padding: 170px 0 100px;
}

.hero-intro .hero-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.hero-intro-text {
    max-width: 660px;
}

.hero-big-title {
    font-size: clamp(2.6rem, 4.6vw, 4.3rem);
    line-height: 1.08;
    margin-bottom: 26px;
}

.hero-intro .hero-split-text {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 34em;
    margin-bottom: 34px;
}

.hero-intro .hero-feature-row {
    gap: 18px 30px;
    margin-bottom: 40px;
}

.hero-intro .hero-feature-row-item {
    font-size: 1.05rem;
}

.hero-intro .hero-feature-row-item i {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-intro .hero-intro-cta {
    padding: 19px 38px;
    font-size: 1.1rem;
}

.hero-intro-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 17px 34px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: 0.2s;
}

.hero-intro-cta-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.hero-photo-img {
    aspect-ratio: 4 / 4.6;
    border-radius: 36px;
}

.hero-photo-note {
    font-size: 1.05rem;
    padding: 18px 24px;
    max-width: 240px;
}

/* Karusel větší a s praktickými informacemi */
.carousel-full-section {
    padding: 10px 0 90px;
}

#hero-carousel-full {
    height: 580px;
    border-radius: 36px;
}

#hero-carousel-full .carousel-overlay {
    padding: 56px 80px;
    max-width: 860px;
}

#hero-carousel-full .carousel-overlay h3 {
    font-size: clamp(2.4rem, 3.6vw, 3.6rem);
    margin-bottom: 16px;
}

#hero-carousel-full .carousel-overlay p {
    font-size: 1.2rem;
    line-height: 1.55;
    margin-bottom: 22px;
}

#hero-carousel-full .carousel-check {
    gap: 10px 28px;
    margin-bottom: 20px;
}

#hero-carousel-full .carousel-check li {
    font-size: 1.05rem;
}

.carousel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.carousel-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.carousel-meta i {
    color: #7dd3fc;
}

#hero-carousel-full .carousel-cta {
    padding: 17px 34px;
    font-size: 1.08rem;
}

/* Benefity bez rámečků */
.hero-facts-row {
    padding-bottom: 80px;
}

.hero-facts-grid {
    gap: 0;
}

.hero-fact-card {
    background: none;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: none;
    padding: 12px 30px;
}

.hero-fact-card:first-child {
    border-left: none;
}

.hero-fact-card i {
    width: auto;
    height: auto;
    background: none;
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 14px;
}

.hero-fact-card h4 {
    font-size: 1.2rem;
}

.hero-fact-card p {
    font-size: 1rem;
}

/* Kdo tě bude učit + osobně/online */
.split-info-section {
    padding: 100px 0;
}

.split-info-grid {
    gap: 32px;
}

.info-card {
    padding: 48px;
    border-radius: 32px;
}

.info-card h2 {
    font-size: 2.2rem;
    text-align: left;
}

.info-card h2::after,
.spoluprace-promo h2::after,
.faq-compact h2::after {
    left: 0;
    transform: none;
}

.lektor-photo {
    width: 116px;
    height: 116px;
}

.lektor-card-top {
    gap: 26px;
    margin-bottom: 22px;
}

.info-card .lead-text {
    font-size: 1.1rem;
}

.simple-check-list li {
    font-size: 1.02rem;
}

.lektor-modes {
    margin-bottom: 30px;
}

.lektor-modes h3 {
    font-size: 1.15rem;
    padding-bottom: 0;
    margin-bottom: 14px;
}

.lektor-modes-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lektor-mode {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-light);
    transition: 0.2s;
}

.lektor-mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lektor-mode strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.98rem;
    margin-bottom: 2px;
}

.lektor-mode:has(input:checked) {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.07);
}

.lektor-mode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    flex-shrink: 0;
}

.lektor-card .hero-intro-cta {
    align-self: flex-start;
    padding: 17px 34px;
}

/* Přijímačky - velké interaktivní karty */
.prijimacky-card > p {
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.prijimacky-grid {
    gap: 18px;
    flex: 1;
}

.prijimacky-item {
    --c: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    min-height: 200px;
    padding: 28px;
    border: 2px solid transparent;
    border-radius: 22px;
}

.prijimacky-item:nth-child(2) { --c: #0ea5e9; }
.prijimacky-item:nth-child(3) { --c: #b91c1c; }
.prijimacky-item:nth-child(4) { --c: #b45309; }

.prijimacky-item:hover {
    background: #ffffff;
    border-color: var(--c);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-5px);
}

.prijimacky-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.prijimacky-text strong {
    font-size: 1.4rem;
}

.prijimacky-text span {
    font-size: 0.92rem;
}

.prijimacky-more {
    margin-top: auto;
    padding-top: 10px;
    color: var(--c);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.prijimacky-more i {
    transition: transform 0.2s ease;
}

.prijimacky-item:hover .prijimacky-more i {
    transform: translateX(6px);
}

/* Jak probíhá doučování - větší */
.steps-large {
    padding-top: 40px;
    padding-bottom: 90px;
}

.steps-large .section-title {
    font-size: 2.9rem;
}

.steps-large .steps-container {
    margin-top: 76px;
    gap: 40px;
}

.steps-large .steps-container::before {
    top: 45px;
    left: 70px;
    right: 70px;
}

.steps-large .step-circle {
    width: 90px;
    height: 90px;
    font-size: 2rem;
    margin-bottom: 28px;
}

.steps-large .step-item h4 {
    font-size: 1.55rem;
}

.steps-large .step-item p {
    font-size: 1.12rem;
}

/* Ceník - jen kosmeticky */
.cenik-lead {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 8px 0 0;
}

#cenik-pro .price-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#cenik-pro .price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

/* Spolupráce + FAQ - větší a vzdušnější */
.support-row-section {
    padding: 120px 0;
}

.support-row-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
}

.spoluprace-promo {
    padding: 56px 50px;
    border-radius: 32px;
}

.spoluprace-promo h2 {
    font-size: 2.5rem;
    line-height: 1.15;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 22px;
}

.spoluprace-promo p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 34px;
}

.spoluprace-promo .hero-intro-cta {
    padding: 18px 36px;
}

.faq-compact h2 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 30px;
}

.faq-compact .faq-list-plain .faq-item summary {
    font-size: 1.15rem;
    padding: 26px 0;
}

.faq-compact .faq-list-plain .faq-item p {
    font-size: 1.05rem;
    padding-bottom: 26px;
}

/* Silnější zakončení: CTA pruh + patička */
.cta-banner-section {
    padding-top: 40px;
    padding-bottom: 90px;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    gap: 40px;
    padding: 64px 64px;
    border-radius: 36px;
}

.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.22);
    pointer-events: none;
}

.cta-banner::before {
    width: 360px;
    height: 360px;
    right: -100px;
    top: -140px;
}

.cta-banner::after {
    width: 220px;
    height: 220px;
    left: 30%;
    bottom: -130px;
    background: rgba(255, 255, 255, 0.06);
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner-icon {
    width: 88px;
    height: 88px;
    font-size: 2.1rem;
}

.cta-banner-text h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: 8px;
}

.cta-banner-text p {
    font-size: 1.2rem;
}

.cta-banner-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    padding: 0;
    margin: 20px 0 0;
}

.cta-banner-points li {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.95rem;
}

.cta-banner-points i {
    color: #7dd3fc;
    margin-right: 8px;
}

.cta-banner-btn {
    padding: 22px 46px;
    font-size: 1.2rem;
}

.footer-v2 {
    padding-top: 64px;
}

.footer-v2-logo {
    font-size: 1.4rem;
}

.footer-v2-links a {
    font-size: 1rem;
}

.footer-v2-social a {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
}

.footer-v2-contacts {
    font-size: 0.95rem;
    margin-top: 34px;
    margin-bottom: 10px;
}

.footer-v2 .footer-bottom {
    margin-top: 30px;
    padding-bottom: 8px;
}

@media (max-width: 1024px) {
    .hero-intro {
        padding: 110px 0 60px;
    }

    .hero-intro .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-intro .hero-split-text {
        margin-left: auto;
        margin-right: auto;
    }

    #hero-carousel-full {
        height: 680px;
        aspect-ratio: auto;
        border-radius: 28px;
    }

    #hero-carousel-full .carousel-overlay {
        padding: 70px 28px 30px;
        max-width: none;
    }

    #hero-carousel-full .carousel-overlay h3 {
        font-size: 2.2rem;
    }

    #hero-carousel-full .carousel-overlay p {
        font-size: 1.05rem;
    }

    .carousel-meta {
        margin-bottom: 22px;
    }

    .hero-fact-card {
        border-left: none;
        padding: 14px 12px;
    }

    .split-info-section {
        padding: 70px 0;
    }

    .info-card {
        padding: 34px 28px;
    }

    .steps-large .section-title {
        font-size: 2.2rem;
    }

    .steps-large .steps-container {
        margin-top: 50px;
        gap: 0;
    }

    .steps-large .step-circle {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
        margin-bottom: 0;
    }

    .steps-large .step-item::after {
        top: 70px;
        left: 34px;
    }

    .support-row-section {
        padding: 80px 0;
    }

    .support-row-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .spoluprace-promo {
        padding: 36px 28px;
    }

    .spoluprace-promo h2,
    .faq-compact h2 {
        font-size: 2rem;
    }

    .cta-banner {
        padding: 44px 26px;
        gap: 26px;
    }

    .cta-banner-points {
        justify-content: center;
    }

    .cta-banner-btn {
        padding: 18px 38px;
    }
}

@media (max-width: 600px) {
    .hero-big-title {
        font-size: 2.4rem;
    }

    .hero-intro .hero-split-text {
        font-size: 1.1rem;
    }

    .hero-intro .hero-feature-row {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-row {
        flex-direction: column;
    }

    .hero-cta-row a {
        justify-content: center;
    }

    #hero-carousel-full {
        height: 700px;
    }

    .lektor-modes-row {
        grid-template-columns: 1fr;
    }

    .lektor-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .prijimacky-grid {
        grid-template-columns: 1fr;
    }

    .prijimacky-item {
        min-height: 0;
    }

    .info-card h2 {
        font-size: 1.8rem;
    }
}

/* Stránka Často kladené otázky */
.faq-hero {
    padding: 150px 0 50px;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
    text-align: center;
}

.faq-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    color: var(--primary);
    margin-bottom: 14px;
}

.faq-hero p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 34em;
    margin: 0 auto;
}

.faq-page {
    max-width: 860px;
    padding-top: 30px;
    padding-bottom: 60px;
}

.faq-group {
    margin-bottom: 50px;
}

.faq-group h2 {
    font-size: 2rem;
    text-align: left;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.faq-group h2::after {
    display: none;
}

.faq-more {
    text-align: center;
    background: var(--bg-light);
    border-radius: 24px;
    padding: 40px 24px;
}

.faq-more p {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

/* ============================================================
   CERMAT + ČVUT – redesign navazující na homepage
   (společné komponenty + specifika stránek)
============================================================ */
body.page-cvut {
    --primary: #1e3a8a;
    --accent: #3b82f6;
}

body.page-cvut main.container,
body.page-cermat main.container,
body.page-uk main.container {
    max-width: 1240px;
    min-height: 0;
    justify-content: flex-start;
    padding-top: 90px;
    padding-bottom: 20px;
}

body.page-cvut main > section,
body.page-cermat main > section,
body.page-uk main > section {
    margin-bottom: 90px;
}

body.page-cvut .section-title,
body.page-cermat .section-title,
body.page-uk .section-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}

body.page-cvut .main-footer,
body.page-cermat .main-footer,
body.page-uk .main-footer {
    margin-top: 0;
}

/* ---------- HERO ---------- */
body.page-cvut .hero-split,
body.page-cermat .hero-split,
body.page-uk .hero-split {
    min-height: 0;
    padding: 160px 0 100px;
    background-size: 32px 32px, 32px 32px, auto, auto;
    background-repeat: repeat, repeat, no-repeat, no-repeat;
}

body.page-cvut .hero-split {
    background-color: #0b1533;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 88% 15%, rgba(59, 130, 246, 0.38), transparent 45%),
        linear-gradient(135deg, #0b1533 0%, #1e3a8a 100%);
}

body.page-cermat .hero-split {
    background-color: #2a2485;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 88% 15%, rgba(167, 139, 250, 0.42), transparent 45%),
        linear-gradient(135deg, #2a2485 0%, #3e38b4 55%, #6a63e0 100%);
}

body.page-cvut .hero-split .hero-split-grid,
body.page-cermat .hero-split .hero-split-grid,
body.page-uk .hero-split .hero-split-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
}

body.page-cvut .hero-split .hero-eyebrow,
body.page-cermat .hero-split .hero-eyebrow,
body.page-uk .hero-split .hero-eyebrow {
    font-size: 0.9rem;
    padding: 9px 18px;
    margin-bottom: 24px;
}

body.page-cvut .hero-split .hero-split-title,
body.page-cermat .hero-split .hero-split-title,
body.page-uk .hero-split .hero-split-title {
    font-size: clamp(2.4rem, 4.4vw, 3.9rem);
    line-height: 1.08;
    margin-bottom: 22px;
}

body.page-cvut .hero-split .hero-split-title .highlight-alt {
    color: #7db3ff;
}

body.page-cermat .hero-split .hero-split-title .highlight-alt {
    color: #d4ccff;
}

body.page-cvut .hero-split .hero-split-text,
body.page-cermat .hero-split .hero-split-text,
body.page-uk .hero-split .hero-split-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34em;
}

body.page-cvut .hero-split .btn-primary,
body.page-cermat .hero-split .btn-primary,
body.page-uk .hero-split .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
}

body.page-cvut .hero-split .btn-primary {
    background: var(--accent);
    color: #ffffff;
}

body.page-cermat .hero-split .btn-primary {
    background: #ffffff;
    color: var(--primary);
}

body.page-cvut .hero-split .hero-facts,
body.page-cermat .hero-split .hero-facts,
body.page-uk .hero-split .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
    background: none;
    border: none;
    padding: 0;
    margin-top: 42px;
}

body.page-cvut .hero-split .hero-fact,
body.page-cermat .hero-split .hero-fact,
body.page-uk .hero-split .hero-fact {
    align-items: center;
    gap: 14px;
    padding: 0;
}

body.page-cvut .hero-split .hero-fact:not(:first-child),
body.page-cermat .hero-split .hero-fact:not(:first-child),
body.page-uk .hero-split .hero-fact:not(:first-child) {
    border-left: none;
}

body.page-cvut .hero-split .hero-fact i,
body.page-cermat .hero-split .hero-fact i,
body.page-uk .hero-split .hero-fact i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.1rem;
}

body.page-cvut .hero-split .hero-fact strong,
body.page-cermat .hero-split .hero-fact strong,
body.page-uk .hero-split .hero-fact strong {
    font-size: 1rem;
    color: #ffffff;
}

body.page-cvut .hero-split .hero-fact span,
body.page-cermat .hero-split .hero-fact span,
body.page-uk .hero-split .hero-fact span {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
}

body.page-cvut .hero-visual,
body.page-cermat .hero-visual,
body.page-uk .hero-visual {
    aspect-ratio: 4 / 4.7;
    border-radius: 36px;
}

body.page-cvut .hero-visual-frame::before,
body.page-cermat .hero-visual-frame::before,
body.page-uk .hero-visual-frame::before {
    border-radius: 40px;
    opacity: 0.22;
}

body.page-cvut .hero-visual-quote-text,
body.page-cermat .hero-visual-quote-text,
body.page-uk .hero-visual-quote-text {
    font-size: 2rem;
}

/* ---------- ČVUT: Studium v srdci Dejvic ---------- */
body.page-cvut .about-image {
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.16);
    border-radius: 32px;
}

body.page-cvut .about-image img {
    border-radius: 32px;
}

body.page-cvut .about-text > p {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 24px;
}

body.page-cvut .focus-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
}

body.page-cvut .focus-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: none;
    text-align: left;
}

body.page-cvut .focus-list li i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    font-size: 1.1rem;
}

body.page-cvut .mentor-note {
    border-radius: 22px;
    padding: 26px 30px;
    font-size: 1.05rem;
    margin-top: 24px;
    text-align: left;
}

@media (min-width: 1025px) {
    body.page-cvut .about-hero {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 64px;
        align-items: center;
        margin: 0 0 90px;
    }

    body.page-cvut .about-image {
        min-width: 0;
        margin: 0;
    }

    body.page-cvut .about-text {
        min-width: 0;
    }

    body.page-cvut .about-text .section-title {
        text-align: left;
        margin-bottom: 18px;
    }

    body.page-cvut .about-text .section-title::after {
        left: 0;
        transform: none;
    }
}

/* ---------- ČVUT: fakulty ---------- */
body.page-cvut .detail-grid-4 {
    gap: 28px;
    padding: 30px 0 0;
}

body.page-cvut .detail-grid-4 .card {
    border-radius: 26px;
}

body.page-cvut .detail-grid-4 .card-img {
    height: 250px;
}

body.page-cvut .detail-grid-4 .card-body {
    margin-top: 0;
    padding: 24px 28px 28px;
}

body.page-cvut .detail-grid-4 .card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

body.page-cvut .detail-grid-4 .card-body p {
    font-size: 1.02rem;
}

body.page-cvut .btn-detail {
    border-radius: 50px;
    padding: 11px 26px;
    margin-top: 22px;
}

/* ---------- Ceník (shodný na obou stránkách) ---------- */
body.page-cvut #cenik,
body.page-cermat #cenik,
body.page-uk #cenik {
    padding: 0;
}

body.page-cvut #cenik .price-card,
body.page-cermat #cenik .price-card,
body.page-uk #cenik .price-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-cvut #cenik .price-card:hover,
body.page-cermat #cenik .price-card:hover,
body.page-uk #cenik .price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

/* ---------- FAQ: 4 otázky + odkaz na všechny ---------- */
.faq-teaser {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.faq-teaser .faq-compact .faq-list-plain .faq-item summary {
    font-size: 1.1rem;
    padding: 22px 0;
}

.faq-all-wrap {
    text-align: center;
    margin-top: 34px;
}

.faq-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    transition: 0.2s;
}

.faq-all-link:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ---------- Kontaktní formulář jako závěrečná karta ---------- */
body.page-cvut .mini-poll,
body.page-cermat .mini-poll,
body.page-uk .mini-poll {
    padding: 0;
    background: none;
    margin-bottom: 40px;
}

body.page-cvut .mini-poll-grid,
body.page-cermat .mini-poll-grid,
body.page-uk .mini-poll-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

body.page-cvut .mini-poll-form,
body.page-cermat .mini-poll-form,
body.page-uk .mini-poll-form {
    padding: 52px 48px;
}

body.page-cvut .mini-poll-form h2,
body.page-cermat .mini-poll-form h2,
body.page-uk .mini-poll-form h2 {
    font-size: 2.1rem;
}

body.page-cvut .mini-poll-form > p,
body.page-cermat .mini-poll-form > p,
body.page-uk .mini-poll-form > p {
    font-size: 1.05rem;
}

body.page-cvut .form-group input,
body.page-cvut .form-group select,
body.page-cermat .form-group input,
body.page-cermat .form-group select {
    padding: 14px 16px;
    border-radius: 14px;
}

body.page-cvut .mini-poll-form .btn-submit,
body.page-cermat .mini-poll-form .btn-submit,
body.page-uk .mini-poll-form .btn-submit {
    border-radius: 50px;
    padding: 17px;
    font-size: 1.05rem;
}

body.page-cermat .mini-poll-form .btn-submit {
    background: var(--primary);
}

/* ---------- CERMAT: průvodce ročníky 01 → 02 → 03 ---------- */
body.page-cermat .cm-guide-cards {
    counter-reset: cm;
    gap: 40px;
    margin-top: 10px;
}

body.page-cermat .cm-guide-card {
    position: relative;
    counter-increment: cm;
    padding: 40px;
    border-radius: 32px;
    gap: 32px;
    --gc: #6d5dd3;
    --gc-tint: #f5f3ff;
}

body.page-cermat .cm-guide-card.cm-green {
    --gc: #2563eb;
    --gc-tint: #eff6ff;
}

body.page-cermat .cm-guide-card.cm-amber {
    --gc: #0f766e;
    --gc-tint: #f0fdfa;
}

body.page-cermat .cm-guide-card::before {
    content: "0" counter(cm);
    position: absolute;
    top: 20px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gc);
    opacity: 0.16;
}

body.page-cermat .cm-guide-card:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    height: 40px;
    border-left: 2px dashed #c4c9e8;
}

body.page-cermat .cm-guide-card h3 {
    font-size: 1.75rem;
}

body.page-cermat .cm-guide-body > p {
    font-size: 1.05rem;
}

body.page-cermat .cm-guide-checklist li {
    font-size: 1rem;
}

body.page-cermat .cm-guide-photo {
    min-height: 280px;
    border-radius: 22px;
}

body.page-cermat .cm-guide-boost {
    border-radius: 22px;
}

body.page-cermat .cm-guide-cta {
    margin-top: 56px;
    border-radius: 32px;
    padding: 52px 56px;
}

/* ---------- CERMAT: klíčová témata (kompaktní grid) ---------- */
body.page-cermat .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 30px 0 0;
}

body.page-cermat .services-grid .card {
    border-radius: 24px;
}

body.page-cermat .services-grid .card-img {
    height: 190px;
}

body.page-cermat .services-grid .card-body {
    margin-top: 0;
    padding: 22px 24px 26px;
}

body.page-cermat .services-grid .card-body h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

body.page-cermat .services-grid .card-body h3 i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(62, 56, 180, 0.1);
    color: var(--primary);
    font-size: 1rem;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    body.page-cvut .hero-split,
    body.page-cermat .hero-split,
    body.page-uk .hero-split {
        padding: 100px 0 60px;
    }

    body.page-cvut .hero-split .hero-split-grid,
    body.page-cermat .hero-split .hero-split-grid,
    body.page-uk .hero-split .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    body.page-cvut .hero-visual,
    body.page-cermat .hero-visual,
    body.page-uk .hero-visual {
        aspect-ratio: 16 / 10;
        border-radius: 28px;
    }

    body.page-cvut .hero-split .hero-facts,
    body.page-cermat .hero-split .hero-facts,
    body.page-uk .hero-split .hero-facts {
        justify-items: start;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    body.page-cvut main > section,
    body.page-cermat main > section,
    body.page-uk main > section {
        margin-bottom: 70px;
    }

    body.page-cermat .cm-guide-card {
        grid-template-columns: 1fr 1fr;
        padding: 32px;
    }

    body.page-cermat .cm-guide-body {
        grid-column: 1 / -1;
    }

    body.page-cermat .cm-guide-photo {
        order: 0;
        max-height: none;
        min-height: 220px;
    }

    body.page-cvut .mini-poll-grid,
    body.page-cermat .mini-poll-grid,
    body.page-uk .mini-poll-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
    body.page-cvut .hero-split,
    body.page-cermat .hero-split,
    body.page-uk .hero-split {
        padding: 90px 0 50px;
    }

    body.page-cvut .hero-split .hero-split-title,
    body.page-cermat .hero-split .hero-split-title,
    body.page-uk .hero-split .hero-split-title {
        font-size: 2.3rem;
    }

    body.page-cvut .hero-split .hero-split-text,
    body.page-cermat .hero-split .hero-split-text,
    body.page-uk .hero-split .hero-split-text {
        font-size: 1.08rem;
    }

    body.page-cvut .hero-visual,
    body.page-cermat .hero-visual,
    body.page-uk .hero-visual {
        aspect-ratio: 4 / 3;
    }

    body.page-cvut .hero-visual-frame::before,
    body.page-cermat .hero-visual-frame::before,
    body.page-uk .hero-visual-frame::before {
        display: none;
    }

    body.page-cvut .hero-split .hero-facts,
    body.page-cermat .hero-split .hero-facts,
    body.page-uk .hero-split .hero-facts {
        grid-template-columns: 1fr;
    }

    body.page-cvut .hero-split .btn-primary,
    body.page-cermat .hero-split .btn-primary,
    body.page-uk .hero-split .btn-primary {
        width: 100%;
        justify-content: center;
    }

    body.page-cvut main > section,
    body.page-cermat main > section,
    body.page-uk main > section {
        margin-bottom: 56px;
    }

    body.page-cermat .cm-guide-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    body.page-cermat .cm-guide-card::before {
        font-size: 2.6rem;
        right: 20px;
        top: 14px;
    }

    body.page-cermat .cm-guide-photo {
        order: -1;
        min-height: 200px;
        max-height: 240px;
    }

    body.page-cermat .services-grid {
        grid-template-columns: 1fr;
    }

    body.page-cvut .detail-grid-4 .card-img {
        height: 210px;
    }

    body.page-cvut .mini-poll-form,
    body.page-cermat .mini-poll-form,
    body.page-uk .mini-poll-form {
        padding: 32px 22px;
    }

    body.page-cvut .mini-poll-form h2,
    body.page-cermat .mini-poll-form h2,
    body.page-uk .mini-poll-form h2 {
        font-size: 1.7rem;
    }

    body.page-cermat .cm-guide-cta {
        padding: 32px 24px;
    }
}

/* ---------- UK: specifika (červená) ---------- */
body.page-uk .hero-split {
    background-color: #3a0a0a;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 88% 15%, rgba(252, 66, 66, 0.35), transparent 45%),
        linear-gradient(135deg, #3a0a0a 0%, #b40d0d 100%);
}

body.page-uk .hero-split .hero-split-title .highlight-alt {
    color: #ffc9c9;
}

body.page-uk .hero-split .btn-primary {
    background: #ffffff;
    color: var(--primary);
}

body.page-uk .mini-poll-form .btn-submit {
    background: var(--primary);
}

body.page-uk .about-image {
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.16);
    border-radius: 32px;
}

body.page-uk .about-image img {
    border-radius: 32px;
}

body.page-uk .about-text .lead-text {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-light);
}

body.page-uk .focus-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0 0 24px;
}

body.page-uk .focus-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: none;
    text-align: left;
}

body.page-uk .focus-list li i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(180, 13, 13, 0.08);
    font-size: 1.1rem;
}

body.page-uk .mission-statement {
    border-radius: 0 22px 22px 0;
    padding: 24px 30px;
    text-align: left;
}

body.page-uk .about-hero {
    margin-bottom: 90px;
}

body.page-uk .detail-grid {
    gap: 28px;
    padding: 30px 0 0;
}

body.page-uk .detail-grid .card {
    border-radius: 26px;
}

body.page-uk .detail-grid .card-img {
    height: 230px;
}

body.page-uk .detail-grid .card-body {
    margin-top: 0;
    padding: 24px 26px 28px;
}

body.page-uk .btn-detail {
    border-radius: 50px;
    padding: 11px 26px;
    margin-top: 22px;
}

body.page-uk #cenik {
    padding: 0;
}

body.page-uk main > section.py-10 {
    padding: 0;
}

@media (min-width: 1025px) {
    body.page-uk .about-hero:has(> .about-image) {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 64px;
        align-items: center;
    }

    body.page-uk .about-hero .about-text {
        min-width: 0;
    }

    body.page-uk .about-text .section-title {
        text-align: left;
        margin-bottom: 18px;
    }

    body.page-uk .about-text .section-title::after {
        left: 0;
        transform: none;
    }
}

/* Kontaktní pruh bez tlačítka (anketa je pod ním) */
.cta-banner-nobtn {
    justify-content: flex-start;
}

/* Odznak v hero menší vůči záhlaví (CERMAT, ČVUT, UK vč. RU verzí) */
body.page-cvut .hero-split .hero-eyebrow,
body.page-cermat .hero-split .hero-eyebrow,
body.page-uk .hero-split .hero-eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    padding: 6px 14px;
    margin-bottom: 16px;
}

/* Menší mezery mezi nadpisem, fotkou a textem v sekcích s fotkou na tabletu a mobilu */
@media (max-width: 1024px) {
    body.page-cvut .about-hero,
    body.page-uk .about-hero {
        gap: 14px;
        margin: 0 0 48px;
    }

    body.page-cvut .about-hero .about-image,
    body.page-uk .about-hero .about-image {
        margin: 4px auto 6px;
        min-width: 0;
    }

    body.page-cvut .about-hero .section-title,
    body.page-uk .about-hero .section-title {
        margin-bottom: 0;
    }

    body.page-cvut .about-hero .about-text > *,
    body.page-uk .about-hero .about-text > * {
        margin-top: 0;
        margin-bottom: 0;
    }

    body.page-cvut .about-hero .about-text > .mentor-note,
    body.page-uk .about-hero .about-text > .mission-statement {
        margin-top: 6px;
    }
}

@media (max-width: 1024px) {
    body.page-cvut .hero-split .hero-eyebrow,
    body.page-cermat .hero-split .hero-eyebrow,
    body.page-uk .hero-split .hero-eyebrow {
        justify-self: center;
        width: fit-content;
        max-width: 100%;
        margin-bottom: 0;
    }

    body.page-cvut .hero-split .hero-split-grid,
    body.page-cermat .hero-split .hero-split-grid,
    body.page-uk .hero-split .hero-split-grid {
        gap: 16px;
    }

    body.page-cvut .hero-split .hero-split-title,
    body.page-cermat .hero-split .hero-split-title,
    body.page-uk .hero-split .hero-split-title {
        margin-bottom: 0;
    }

    body.page-cvut .hero-split .hero-split-text,
    body.page-cermat .hero-split .hero-split-text,
    body.page-uk .hero-split .hero-split-text {
        margin-bottom: 8px;
    }
}


/* Homepage (CZ + RU) na mobilu: kompaktnější přehled benefitů a přijímaček */
@media (max-width: 600px) {
    .hero-facts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px 4px;
    }

    .hero-fact-card {
        padding: 12px 10px;
    }

    .hero-fact-card i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .hero-fact-card h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .hero-fact-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .info-card {
        padding: 24px 18px;
    }

    .prijimacky-card > p {
        font-size: 0.98rem;
        margin: 8px 0 16px;
    }

    .prijimacky-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .prijimacky-item {
        min-height: 0;
        padding: 16px 14px;
        gap: 2px;
        border-radius: 18px;
    }

    .prijimacky-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 13px;
        margin-bottom: 6px;
    }

    .prijimacky-text strong {
        font-size: 1.1rem;
    }

    .prijimacky-text span {
        font-size: 0.78rem;
    }

    .prijimacky-more {
        font-size: 0.82rem;
        padding-top: 6px;
    }
}

@media (max-width: 600px) {
    .carousel-full-section {
        padding-bottom: 36px;
    }

    .hero-facts-row {
        padding-top: 0;
        padding-bottom: 36px;
    }

    .hero-fact-card h4 {
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }

    .split-info-section {
        padding: 44px 0;
    }

    .info-card h2 {
        margin-top: 0;
    }

    .info-card .lead-text,
    .prijimacky-card > p {
        margin-top: 8px;
    }

    .steps-large {
        padding-top: 10px;
        padding-bottom: 50px;
    }

    .cta-banner-section {
        padding-bottom: 50px;
    }
}

/* ============================================================
   Mobil: karusel jen s pravou šipkou uprostřed, přijímačky jako
   swipe karty a benefity jako karty 2x2 (podle reference)
============================================================ */
.prijimacky-dots {
    display: none;
}

@media (max-width: 1024px) {
    .hero-carousel-full-wrap .carousel-arrow.prev {
        display: none;
    }

    .hero-carousel-full-wrap .carousel-arrow.next {
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        z-index: 5;
    }

    #hero-carousel-full .carousel-overlay {
        padding: 40px 58px 30px 22px;
    }
}

@media (max-width: 700px) {
    .split-info-grid > * {
        min-width: 0;
    }

    .prijimacky-card {
        padding: 0;
        overflow: hidden;
        background: #ffffff;
    }

    .prijimacky-card > h2 {
        color: #ffffff;
        padding: 28px 22px 0;
        background: linear-gradient(180deg, #1e3a8a 0%, #2f5fd0 100%);
        font-size: 1.7rem;
    }

    .prijimacky-card > h2::after {
        display: none;
    }

    .prijimacky-card > p {
        color: rgba(255, 255, 255, 0.85);
        background: #2f5fd0;
        margin: 0;
        padding: 10px 22px 34px;
    }

    .prijimacky-grid {
        position: relative;
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-top: -22px;
        padding: 4px 22px 18px;
    }

    .prijimacky-grid::-webkit-scrollbar {
        display: none;
    }

    .prijimacky-item {
        flex: 0 0 74%;
        scroll-snap-align: center;
        background: #ffffff;
        border: 1px solid #e8edf6;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
        border-radius: 22px;
        padding: 20px 18px 18px;
        gap: 4px;
    }

    .prijimacky-item:hover {
        transform: none;
    }

    .prijimacky-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .prijimacky-text strong {
        font-size: 1.35rem;
    }

    .prijimacky-text span {
        font-size: 0.88rem;
    }

    .prijimacky-more {
        align-self: stretch;
        justify-content: center;
        margin-top: 14px;
        padding: 13px 18px;
        background: var(--primary);
        color: #ffffff;
        border-radius: 14px;
        font-size: 0.95rem;
    }

    .prijimacky-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 0 0 22px;
    }

    .prijimacky-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d1d5db;
        transition: 0.2s;
    }

    .prijimacky-dots span.active {
        width: 24px;
        border-radius: 5px;
        background: var(--primary);
    }
}

@media (max-width: 600px) {
    .hero-facts-grid {
        gap: 14px;
    }

    .hero-fact-card {
        background: #ffffff;
        border: 1px solid #e8edf6;
        border-radius: 22px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
        padding: 18px 16px 20px;
    }

    .hero-fact-card i {
        display: grid;
        place-items: center;
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: rgba(59, 130, 246, 0.1);
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .hero-fact-card h4 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .hero-fact-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .hero-fact-card h4 {
        font-size: 0.92rem;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: auto;
    }

    .hero-fact-card {
        padding: 18px 14px 20px;
    }
}

/* Karta "Kdo tě bude učit?" na mobilu: fotka vedle nadpisu a kompaktní obsah (jako v referenci) */
@media (max-width: 600px) {
    .lektor-card-top {
        flex-direction: row;
        align-items: center;
        gap: 18px;
        margin-bottom: 14px;
    }

    .lektor-photo {
        width: 88px;
        height: 88px;
    }

    .lektor-card .info-card h2,
    .lektor-card h2 {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .lektor-card .lead-text {
        font-size: 1rem;
        line-height: 1.55;
        margin: 0 0 16px;
    }

    .lektor-card .simple-check-list {
        gap: 8px;
        margin-bottom: 20px;
    }

    .lektor-card .simple-check-list li {
        font-size: 0.95rem;
    }

    .lektor-modes {
        margin-bottom: 20px;
    }

    .lektor-modes h3 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .lektor-modes-row {
        gap: 10px;
    }

    .lektor-mode {
        padding: 12px 14px;
    }

    .lektor-card .hero-intro-cta {
        align-self: stretch;
        justify-content: center;
    }
}


/* Karta "Kdo tě bude učit?" - ilustrace, ikonky u checklistu a barevné volby (podle reference) */
.lektor-deco,
.check-deco {
    display: none;
}

.lektor-mode:nth-child(1) {
    background: #e3ecfc;
}

.lektor-mode:nth-child(2) {
    background: #fbf2df;
}

.lektor-mode:nth-child(2) .lektor-mode-icon {
    color: #c8912b;
}

.lektor-mode:has(input:checked) {
    background-color: #e3ecfc;
}

.lektor-mode:nth-child(2):has(input:checked) {
    background-color: #fbf2df;
    border-color: #c8912b;
}

@media (max-width: 600px) {
    .lektor-card-top {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px 10px;
    }

    .lektor-photo {
        width: 92px;
        height: 92px;
    }

    .lektor-deco {
        display: block;
        position: relative;
        flex: 1;
        min-width: 0;
        height: 92px;
    }

    .lektor-deco svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .lektor-deco i {
        position: absolute;
        color: #1e3a8a;
    }

    .lektor-deco-cap {
        left: 4%;
        top: 4px;
        font-size: 3rem;
    }

    .lektor-deco-uni {
        right: 0;
        top: 16px;
        font-size: 3.3rem;
        color: #2f5fd0;
    }

    .lektor-card-top h2 {
        flex: 0 0 100%;
        margin-top: 8px;
    }

    .lektor-card .simple-check-list li {
        align-items: center;
    }

    .lektor-card .simple-check-list li i:first-child {
        align-self: flex-start;
        margin-top: 5px;
    }

    .check-deco {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        margin-left: auto;
        border-radius: 50%;
        background: #eef3ff;
        color: #1e3a8a;
        font-size: 1.15rem;
    }

    .check-deco i {
        color: inherit !important;
        font-size: inherit !important;
        margin: 0 !important;
        align-self: auto !important;
    }

    .simple-check-list li:nth-child(3) .check-deco {
        background: #fdf3dc;
        color: #c8912b;
    }
}


/* Homepage: po hero rovnou karta "Kdo tě bude učit?" a pak karusel */
.split-info-grid {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.split-info-section {
    padding-bottom: 70px;
}

@media (max-width: 1024px) {
    /* Pořadí hero na mobilu: záhlaví, text, fotka, tlačítka (jako na ostatních stránkách, bez odznaku) */
    .hero-intro .hero-intro-text {
        display: contents;
    }

    .hero-intro .hero-split-grid {
        gap: 20px;
    }

    .hero-intro .hero-intro-text > .hero-big-title { order: 1; margin-bottom: 0; }
    .hero-intro .hero-intro-text > .hero-split-text { order: 2; margin-bottom: 0; }
    .hero-intro .hero-intro-photo { order: 3; margin-top: 8px; }
    .hero-intro .hero-intro-text > .hero-cta-row { order: 4; }
}

@media (max-width: 600px) {
    .split-info-section {
        padding-top: 30px;
        padding-bottom: 36px;
    }
}


/* Menší mezera po hero na CERMAT / ČVUT / UK / SCIO */
body.page-cvut main.container,
body.page-cermat main.container,
body.page-uk main.container {
    padding-top: 24px;
}

body.page-cvut .hero-split,
body.page-cermat .hero-split,
body.page-uk .hero-split {
    padding-bottom: 64px;
}

.sc-hero {
    padding-bottom: 48px;
}

.sc-hero + .sc-sec {
    padding-top: 56px;
}

@media (max-width: 1024px) {
    body.page-cvut main.container,
    body.page-cermat main.container,
    body.page-uk main.container {
        padding-top: 10px;
    }

    body.page-cvut .hero-split,
    body.page-cermat .hero-split,
    body.page-uk .hero-split {
        padding-bottom: 36px;
    }

    .sc-hero {
        padding-bottom: 28px;
    }

    .sc-hero + .sc-sec {
        padding-top: 40px;
    }
}


/* ============================================================
   Ceník výrazný jako na Individuálním doučování (CVUT, CERMAT, UK)
============================================================ */
body.page-cvut { --cenik-tint: #eef3ff; --cenik-glow: rgba(30, 58, 138, 0.35); }
body.page-cermat { --cenik-tint: #f3f1ff; --cenik-glow: rgba(62, 56, 180, 0.35); }
body.page-uk { --cenik-tint: #fdf1f1; --cenik-glow: rgba(180, 13, 13, 0.32); }

body.page-cvut #cenik,
body.page-cermat #cenik,
body.page-uk #cenik {
    background: var(--cenik-tint);
    border-radius: 36px;
    padding: 60px 40px 70px;
}

body.page-cvut #cenik .cenik-lead,
body.page-cermat #cenik .cenik-lead,
body.page-uk #cenik .cenik-lead {
    margin: 6px 0 0;
}

body.page-cvut #cenik .pricing-cards,
body.page-cermat #cenik .pricing-cards,
body.page-uk #cenik .pricing-cards {
    padding: 44px 0 10px;
    gap: 26px;
    align-items: stretch;
}

body.page-cvut #cenik .price-card,
body.page-cermat #cenik .price-card,
body.page-uk #cenik .price-card {
    border-radius: 28px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

body.page-cvut #cenik .price-value,
body.page-cermat #cenik .price-value,
body.page-uk #cenik .price-value {
    font-size: clamp(2.8rem, 4.4vw, 3.6rem);
}

body.page-cvut #cenik .price-tag,
body.page-cermat #cenik .price-tag,
body.page-uk #cenik .price-tag {
    font-size: 0.9rem;
    padding: 6px 14px;
}

body.page-cvut #cenik .price-features li,
body.page-cermat #cenik .price-features li,
body.page-uk #cenik .price-features li {
    font-size: 1rem;
}

body.page-cvut #cenik .price-card.featured,
body.page-cermat #cenik .price-card.featured,
body.page-uk #cenik .price-card.featured {
    margin: -18px 0;
    padding: 56px 34px;
    box-shadow: 0 30px 60px var(--cenik-glow);
}

@media (max-width: 1000px) {
    body.page-cvut #cenik .price-card.featured,
    body.page-cermat #cenik .price-card.featured,
    body.page-uk #cenik .price-card.featured {
        margin: 0;
        padding: 40px 32px;
    }
}

@media (max-width: 600px) {
    body.page-cvut #cenik,
    body.page-cermat #cenik,
    body.page-uk #cenik {
        padding: 40px 16px 44px;
        border-radius: 28px;
    }
}

/* SCIO ceník: silnější stíny a větší částky */
.sc-price {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.sc-price-main {
    box-shadow: 0 30px 60px rgba(180, 83, 9, 0.35);
}

.sc-price-amount {
    font-size: clamp(2.8rem, 4.6vw, 3.8rem);
}

/* SCIO anketa ve stejném stylu jako CERMAT / ČVUT / UK */
body.page-scio .scio-anketa {
    padding: 90px 0 60px;
    background: none;
}

body.page-scio .scio-anketa .mini-poll-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

body.page-scio .scio-anketa .mini-poll-form {
    padding: 52px 48px;
}

body.page-scio .scio-anketa .mini-poll-form h2 {
    font-size: 2.1rem;
    line-height: 1.15;
    margin: 0 0 12px;
}

body.page-scio .scio-anketa .mini-poll-form > p {
    font-size: 1.05rem;
}

body.page-scio .scio-anketa .form-group input,
body.page-scio .scio-anketa .form-group select {
    padding: 14px 16px;
    border-radius: 14px;
}

body.page-scio .scio-anketa .btn-submit {
    background: var(--primary);
    border-radius: 50px;
    padding: 17px;
    font-size: 1.05rem;
}

body.page-scio .scio-anketa-extra {
    margin-top: 34px;
    text-align: center;
}

body.page-scio .scio-anketa-extra .sc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

body.page-scio .scio-anketa-extra .sc-channel {
    color: var(--primary);
    border: 1.5px solid rgba(180, 83, 9, 0.35);
}

body.page-scio .scio-anketa-extra .sc-channel:hover {
    background: rgba(180, 83, 9, 0.08);
    border-color: var(--primary);
}

body.page-scio .scio-anketa-extra .sc-others {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 12px;
    margin-top: 26px;
    padding-top: 0;
    border-top: none;
}

body.page-scio .scio-anketa-extra .sc-others-label {
    color: var(--text-light);
    font-weight: 600;
}

body.page-scio .scio-anketa-extra .sc-chip {
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

@media (max-width: 900px) {
    body.page-scio .scio-anketa .mini-poll-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body.page-scio .scio-anketa {
        padding: 50px 0 40px;
    }

    body.page-scio .scio-anketa .mini-poll-form {
        padding: 32px 22px;
    }

    body.page-scio .scio-anketa .mini-poll-form h2 {
        font-size: 1.7rem;
    }
}

/* ============================================================
   Homepage: hero bez textu a vejde se na mobil, karta lektora
   s důrazem na checklist a volby
============================================================ */
.hero-big-title {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
}

@media (max-width: 600px) {
    .hero-intro {
        padding: 88px 0 28px;
    }

    .hero-intro .hero-split-grid {
        gap: 18px;
    }

    .hero-big-title {
        font-size: 2.9rem;
        line-height: 1.05;
    }

    .hero-intro .hero-intro-photo {
        max-width: none;
        margin-top: 0;
    }

    .hero-photo-img {
        aspect-ratio: auto;
        height: 240px;
        height: clamp(140px, calc(100svh - 500px), 300px);
        border-radius: 26px;
    }

    .hero-intro .hero-cta-row {
        gap: 10px;
    }

    .hero-intro .hero-intro-cta,
    .hero-intro .hero-intro-cta-outline {
        padding: 15px 24px;
        font-size: 1rem;
    }
}

.simple-check-list {
    gap: 10px;
}

.lektor-card .simple-check-list li {
    background: #f4f7ff;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 1.05rem;
}

.lektor-card .simple-check-list li > i:first-child {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
}

.lektor-modes h3 {
    font-size: 1.25rem;
}

@media (max-width: 600px) {
    .lektor-card-top {
        margin-bottom: 8px;
    }

    .lektor-deco {
        flex: 0 0 auto;
        width: 170px;
        height: 70px;
    }

    .lektor-deco-cap {
        font-size: 2.3rem;
        top: 2px;
    }

    .lektor-deco-uni {
        font-size: 2.5rem;
        top: 10px;
    }

    .lektor-card .simple-check-list li {
        font-size: 1rem;
        padding: 12px 14px;
    }

    .lektor-card .simple-check-list li > i:first-child {
        align-self: center;
        margin-top: 0;
    }
}


/* Homepage mobil: výraznější h1, ilustrace na celou šířku karty a menší části */
@media (max-width: 600px) {
    .hero-big-title {
        font-size: 3.5rem;
        line-height: 1.02;
        letter-spacing: -0.02em;
    }

    .lektor-card-top {
        display: block;
        margin-bottom: 6px;
    }

    .lektor-card-top .lektor-deco {
        display: block;
        position: relative;
        width: 100%;
        height: 96px;
        margin: 0 0 10px;
    }

    .lektor-card-top .lektor-deco svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .lektor-card-top .lektor-deco-cap {
        left: 6%;
        top: 8px;
        font-size: 3rem;
    }

    .lektor-card-top .lektor-deco-uni {
        right: 6%;
        top: 16px;
        font-size: 3.2rem;
    }

    .lektor-card-top h2 {
        margin: 0 0 12px;
        font-size: 1.5rem;
    }

    .lektor-card .simple-check-list {
        gap: 6px;
        margin-bottom: 16px;
    }

    .lektor-card .simple-check-list li {
        padding: 9px 12px;
        font-size: 0.9rem;
        line-height: 1.3;
        border-radius: 14px;
        gap: 10px;
    }

    .lektor-card .simple-check-list li > i:first-child {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }

    .lektor-card .check-deco {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .lektor-modes h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .lektor-mode {
        padding: 10px 12px;
        gap: 10px;
    }

    .lektor-mode strong {
        font-size: 0.95rem;
    }

    .lektor-mode span {
        font-size: 0.85rem;
    }

    .lektor-mode-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }
}


/* ============================================================
   Mobil: hero na celou obrazovku (mezerami) a jednotné mezery mezi sekcemi
============================================================ */
@media (max-width: 600px) {
    .hero-intro,
    body.page-cvut .hero-split,
    body.page-cermat .hero-split,
    body.page-uk .hero-split,
    .sc-hero,
    .ix-hero {
        min-height: 100vh;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
    }

    .hero-intro > .container,
    body.page-cvut .hero-split .hero-split-grid,
    body.page-cermat .hero-split .hero-split-grid,
    body.page-uk .hero-split .hero-split-grid,
    .sc-hero-grid,
    .ix-hero-grid {
        flex: 1 0 auto;
        display: grid;
        align-content: space-evenly;
        gap: 12px;
    }

    /* jako na SCIO a Individuálním: v hero zůstane odznak, záhlaví, obrázek a tlačítko */
    body.page-cvut .hero-split .hero-split-text,
    body.page-cermat .hero-split .hero-split-text,
    body.page-uk .hero-split .hero-split-text,
    body.page-cvut .hero-split .hero-facts,
    body.page-cermat .hero-split .hero-facts,
    body.page-uk .hero-split .hero-facts {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --sec-gap: 64px;
    }

    /* Domovská stránka */
    body.page-index:not(.page-faq) .hero-intro {
        padding-bottom: 28px;
    }

    body.page-index:not(.page-faq) .hero-facts-row,
    body.page-index:not(.page-faq) .carousel-full-section,
    body.page-index:not(.page-faq) .steps-wrapper,
    body.page-index:not(.page-faq) #cenik-pro {
        margin-top: var(--sec-gap);
        padding-top: 0;
        padding-bottom: 0;
    }

    body.page-index:not(.page-faq) .split-info-section,
    body.page-index:not(.page-faq) .philosophy-board {
        margin-top: var(--sec-gap);
    }

    body.page-index:not(.page-faq) .split-info-section {
        padding: 40px 0;
    }

    /* CVUT / CERMAT / UK */
    body.page-cvut main.container,
    body.page-cermat main.container,
    body.page-uk main.container {
        padding-top: 0;
        padding-bottom: 0;
    }

    body.page-cvut main.container > *,
    body.page-cermat main.container > *,
    body.page-uk main.container > * {
        margin-top: var(--sec-gap);
        margin-bottom: 0;
    }

    body.page-cvut main.container > section:not(#cenik),
    body.page-cermat main.container > section:not(#cenik),
    body.page-uk main.container > section:not(#cenik),
    body.page-cermat main.container > .cm-guide {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* SCIO a Individuální */
    .sc-hero + .sc-sec,
    .ix-hero + .ix-sec {
        padding-top: var(--sec-gap);
    }

    body.page-scio .scio-anketa {
        padding-top: var(--sec-gap);
        padding-bottom: 0;
    }

    .ix-anketa {
        margin-top: var(--sec-gap);
    }

    /* Závěrečný banner a patička na všech stránkách */
    .cta-banner-section {
        margin-top: var(--sec-gap);
        padding-top: 0;
        padding-bottom: 0;
    }

    .cta-banner-section + .main-footer {
        margin-top: var(--sec-gap);
    }
}

@media (max-width: 900px) {
    section > .section-title:first-child,
    .container > .section-title:first-child {
        margin-top: 0;
    }

    body[class] .cta-banner-section + .main-footer,
    body[class] main.container + .main-footer {
        margin-top: var(--sec-gap);
    }

    body.page-faq .faq-page {
        padding-bottom: 0;
    }
}

@media (max-width: 600px) {
    body.page-cvut .hero-split .hero-visual,
    body.page-cermat .hero-split .hero-visual,
    body.page-uk .hero-split .hero-visual,
    .sc-hero .hero-visual,
    .ix-hero .hero-visual {
        aspect-ratio: auto;
        height: 262px;
        height: clamp(110px, calc(100svh - 505px), 262px);
    }
}
