:root {
    --bg: #f3f1eb;
    --surface: #fbfaf6;
    --surface-soft: #ebe8df;

    --text: #17201c;
    --muted: #6b746f;

    --accent: #295c49;
    --accent-light: #dbe9e2;

    --border: rgba(23, 32, 28, 0.12);

    --shadow:
        0 30px 80px rgba(22, 31, 27, 0.10);

    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 15px;

    --transition: 220ms ease;
}


/* DARK MODE */

body.dark {
    --bg: #111613;
    --surface: #171d19;
    --surface-soft: #202823;

    --text: #edf2ef;
    --muted: #98a49d;

    --accent: #93cbb2;
    --accent-light: #21352c;

    --border: rgba(255, 255, 255, 0.09);

    --shadow:
        0 30px 80px rgba(0, 0, 0, 0.28);
}


/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(94, 145, 119, 0.10),
            transparent 35%
        ),
        var(--bg);

    color: var(--text);

    transition:
        background var(--transition),
        color var(--transition);
}

button {
    font: inherit;
}


/* APP */

.app-shell {
    width: 100%;
    min-height: 100vh;
}


/* HEADER */

.topbar {
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5vw;

    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 0;

    border: 0;
    background: none;

    color: var(--text);

    cursor: pointer;
}

.brand-mark {
    width: 70px;
    height: 60px;

    display: grid;
    place-items: center;

    
    font-family: Georgia, serif;
    font-size: 22px;
    font-style: italic;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-text strong {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 500;
}

.brand-text small {
    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-button,
.icon-button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);

    cursor: pointer;

    transition: var(--transition);
}

.nav-button {
    padding: 10px 16px;
    border-radius: 999px;
}

.icon-button {
    width: 42px;
    height: 42px;

    border-radius: 50%;
}

.nav-button:hover,
.icon-button:hover {
    background: var(--surface);
}


/* SCREENS */

.screen {
    display: none;
}

.screen.active {
    display: block;

    animation: screenIn 420ms ease;
}

@keyframes screenIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* HOME */

.hero {
    width: min(1400px, 90vw);

    min-height: calc(100vh - 88px);

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, 0.8fr);

    align-items: center;

    gap: 8vw;

    padding:
        70px
        0
        80px;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    margin-bottom: 24px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.hero h1 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(56px, 6vw, 96px);

    line-height: 0.97;

    font-weight: 400;

    letter-spacing: -0.045em;
}

.hero h1 span {
    display: block;

    color: var(--accent);

    font-style: italic;
}

.hero-text {
    max-width: 650px;

    margin:
        32px
        0
        0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}


/* BUTTONS */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 38px;
}

.primary-button,
.secondary-button {
    min-height: 56px;

    padding:
        0
        24px;

    border-radius: 999px;

    cursor: pointer;

    transition: var(--transition);
}

.primary-button {
    display: flex;
    align-items: center;

    gap: 28px;

    border: 0;

    background: var(--accent);
    color: var(--bg);

    font-weight: 600;
}

.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(41, 92, 73, 0.22);
}

.primary-button .arrow {
    font-size: 22px;

    transition: transform var(--transition);
}

.primary-button:hover .arrow {
    transform: translateX(5px);
}

.secondary-button {
    border: 1px solid var(--border);

    background: transparent;

    color: var(--text);
}

.secondary-button:hover {
    background: var(--surface);
}


/* HERO META */

.hero-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 38px;

    margin-top: 62px;

    padding-top: 28px;

    border-top: 1px solid var(--border);
}

.hero-meta div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.hero-meta strong {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 500;
}

.hero-meta span {
    color: var(--muted);

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* SPECIMEN VISUAL */

.hero-visual {
    position: relative;

    min-height: 620px;

    display: grid;
    place-items: center;
}

.visual-orbit {
  display: none
}

.orbit-one {
    width: 570px;
    height: 570px;
}

.orbit-two {
    width: 430px;
    height: 430px;
}

.specimen-card {
    background: rgba(245, 243, 237, 0.90) !important;
	transp
    border: 1px solid #dedbd2 !important;
    border-radius: 28px;

    width: 600px;
    min-height: 600px;
    padding: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: none;
}
.specimen-top,
.specimen-bottom {
    display: none;
}

.specimen-stage {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specimen-glow {
    display: none;
}

.specimen-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
}

.specimen-placeholder img {
    width: 100%;
    max-width: none;
    height: auto;

    transform: scale(1.55);
    transform-origin: center;
}
.specimen-symbol {
    color:
        rgba(66, 55, 27, 0.55);

    font-family: Georgia, serif;

    font-size: 110px;
    font-style: italic;
}


.specimen-bottom div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.specimen-bottom small {
    color: var(--muted);

    font-size: 9px;

    letter-spacing: 0.12em;
}

.specimen-bottom strong {
    font-family: Georgia, serif;

    font-size: 15px;
    font-weight: 500;
}


/* DETERMINATION */

.key-layout {
    width: min(1450px, 92vw);

    min-height: calc(100vh - 88px);

    margin: auto;

    display: grid;
    grid-template-columns:
        310px
        minmax(0, 1fr);

    gap: 70px;

    padding:
        70px
        0;
}

.key-sidebar {
    position: sticky;

    top: 120px;

    align-self: start;
}

.section-label {
    margin-bottom: 15px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.key-sidebar h2 {
    margin: 0;

    font-family: Georgia, serif;

    font-size: 38px;
    font-weight: 400;
}

.key-sidebar p {
    margin-top: 18px;

    color: var(--muted);

    line-height: 1.65;
}

.progress-box {
    margin-top: 40px;

    padding: 22px;

    border-radius: var(--radius-lg);

    background: var(--surface);
    border: 1px solid var(--border);
}

.progress-box span {
    display: block;

    color: var(--muted);

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.progress-box strong {
    display: block;

    margin-top: 5px;

    font-family: Georgia, serif;

    font-size: 42px;
    font-weight: 400;
}

.back-button {
    margin-top: 22px;

    padding: 0;

    border: 0;
    background: none;

    color: var(--muted);

    cursor: pointer;
}

.back-button:hover {
    color: var(--text);
}


/* DECISION */

.decision-area {
    max-width: 900px;
}

.decision-header {
    display: flex;
    justify-content: space-between;

    padding-bottom: 22px;

    border-bottom: 1px solid var(--border);
}

.step-number,
.family-label {
    color: var(--muted);

    font-size: 11px;

    letter-spacing: 0.12em;
}

.decision-title {
    margin:
        44px
        0
        14px;

    font-family: Georgia, serif;

    font-size:
        clamp(38px, 4vw, 58px);

    line-height: 1.05;

    font-weight: 400;
}

.decision-description {
    max-width: 720px;

    margin: 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.7;
}


/* CHOICES */

.choices {
    display: grid;

    gap: 14px;

    margin-top: 42px;
}

.choice-card {
    width: 100%;

    display: grid;

    grid-template-columns:
        55px
        1fr
        36px;

    align-items: center;

    gap: 20px;

    padding: 24px;

    text-align: left;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

    color: var(--text);

    cursor: pointer;

    transition: var(--transition);
}

.choice-card:hover {
    transform: translateY(-2px);

    border-color:
        color-mix(
            in srgb,
            var(--accent) 45%,
            var(--border)
        );

    box-shadow:
        0 18px 45px rgba(20, 35, 28, 0.08);
}

.choice-letter {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--accent-light);

    color: var(--accent);

    font-family: Georgia, serif;

    font-size: 19px;
}

.choice-content {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.choice-content strong {
    font-family: Georgia, serif;

    font-size: 20px;
    font-weight: 500;
}

.choice-content span {
    color: var(--muted);

    line-height: 1.5;
}

.choice-arrow {
    color: var(--accent);

    font-size: 24px;

    transition:
        transform var(--transition);
}

.choice-card:hover .choice-arrow {
    transform: translateX(5px);
}


/* HINT */

.hint-card {
    display: none !important;
}

.hint-icon {
    width: 27px;
    height: 27px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: 1px solid var(--accent);

    border-radius: 50%;

    color: var(--accent);

    font-family: Georgia, serif;
    font-style: italic;
}

.hint-card div:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.hint-card strong {
    font-size: 13px;
}

.hint-card span {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.45;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .hero {
        grid-template-columns: 1fr;

        padding-top: 60px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .key-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .key-sidebar {
        position: static;
    }

}


@media (max-width: 650px) {

    .topbar {
        height: 74px;

        padding: 0 20px;
    }

    .brand-text small {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .hero {
        width: calc(100% - 40px);

        min-height: auto;

        padding:
            60px
            0;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-meta {
        gap: 24px;
    }

    .hero-visual {
        min-height: 450px;
    }

    .orbit-one {
        width: 390px;
        height: 390px;
    }

    .orbit-two {
        width: 300px;
        height: 300px;
    }

    .specimen-stage {
        height: 310px;
    }

    .key-layout {
        width: calc(100% - 36px);

        padding:
            40px
            0;
    }

    .choice-card {
        grid-template-columns:
            46px
            1fr;

        padding: 18px;
    }

    .choice-arrow {
        display: none;
    }

}
/* RESULT TAXÓNU */

.species-result {
    margin-top: 42px;
}

.sex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.specimen-result-card {
    padding: 16px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--surface);
}

.result-label {
    margin-bottom: 12px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.13em;
}

.result-image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 15px;
}

.flea-photo {
    cursor: zoom-in;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.flea-photo:hover {
    transform: scale(1.015);
}

.species-map {
    margin-top: 30px;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--surface);
}

.restart-result {
    margin-top: 28px;
}


/* FULLSCREEN OBRÁZOK */

.image-overlay {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: grid;
    place-items: center;

    padding: 40px;

    background:
        rgba(7, 10, 8, 0.92);

    backdrop-filter: blur(12px);

    cursor: zoom-out;
}

.image-overlay img {
    max-width: 92vw;
    max-height: 88vh;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.5);
}

.image-close {
    position: fixed;

    top: 24px;
    right: 30px;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: white;

    font-size: 28px;

    cursor: pointer;
}


@media (max-width: 700px) {

    .sex-grid {
        grid-template-columns: 1fr;
    }

}
/* LUPA VO FULLSCREEN NÁHĽADE */

.fullscreen-image {
    cursor: crosshair;
}

.image-magnifier {
    position: fixed;

    width: 220px;
    height: 220px;

    z-index: 10000;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.8);

    background-repeat: no-repeat;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.55);

    pointer-events: none;

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(0.85);

    transition:
        opacity 120ms ease,
        transform 120ms ease;
}

.image-magnifier.visible {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}
/* HISTÓRIA DETERMINÁCIE */

.history-box {
    margin-top: 18px;

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);
}

.history-label {
    display: block;

    margin-bottom: 10px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.history-path {
    color: var(--text);

    font-family: Georgia, serif;

    font-size: 16px;
    line-height: 1.6;
}

.step-back-button {
    width: 100%;

    margin-top: 22px;

    padding: 13px 18px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--surface);

    color: var(--text);

    cursor: pointer;

    transition: var(--transition);
}

.step-back-button:hover:not(:disabled) {
    border-color: var(--accent);

    transform: translateY(-1px);
}

.step-back-button:disabled {
    opacity: 0.35;
    cursor: default;
}

.back-button {
    margin-top: 14px;
}
/* =========================================
   ANATOMICKÁ POMOC
   ========================================= */

.anatomy-tools {
    display: none;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 18px;
}


.anatomy-help-button {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 9px 14px 9px 10px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--surface);

    color: var(--text);

    font-size: 13px;

    cursor: pointer;

    transition: var(--transition);
}


.anatomy-help-button:hover {
    border-color: var(--accent);

    transform: translateY(-1px);

    box-shadow:
        0 10px 25px rgba(20, 35, 28, 0.08);
}


.anatomy-help-icon {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--accent-light);

    color: var(--accent);

    font-family: Georgia, serif;

    font-size: 16px;
    font-weight: 700;
}


/* POPUP */

.anatomy-overlay {
    position: fixed;
    inset: 0;

    z-index: 10020;

    display: grid;
    place-items: center;

    padding: 30px;

    background:
        rgba(7, 10, 8, 0.76);

    backdrop-filter: blur(10px);
}


.anatomy-dialog {
    position: relative;

    width: min(720px, 92vw);
    max-height: 90vh;

    overflow: auto;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 26px;

    background: var(--surface);

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.35);
}


.anatomy-dialog-label {
    margin-bottom: 10px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;
}


.anatomy-dialog h3 {
    margin:
        0
        60px
        22px
        0;

    font-family: Georgia, serif;

    font-size: 34px;
    font-weight: 400;
}


.anatomy-dialog img {
    display: block;

    width: 100%;
    max-height: 560px;

    object-fit: contain;

    border-radius: 15px;
	
	padding: 18px;

    background: #ffffff;
}


.anatomy-dialog p {
    margin:
        20px
        0
        0;

    color: var(--muted);

    line-height: 1.65;
}


.anatomy-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface-soft);

    color: var(--text);

    font-size: 25px;

    cursor: pointer;
}
/* =========================================
   INFORMÁCIE O DRUHU
   ========================================= */

.species-information {
    margin-bottom: 34px;
}


.species-facts {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 14px;
}


.species-fact {
    padding: 18px 20px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);
}


.species-fact span {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
}


.species-fact strong {
    font-family: Georgia, serif;

    font-size: 19px;
    font-weight: 500;
}


.species-text-block,
.species-hosts {
    margin-top: 14px;

    padding: 22px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);
}


.species-text-block p {
    max-width: 780px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;
}


.host-list {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.host-chip {
    padding: 7px 11px;

    border-radius: 999px;

    background: var(--accent-light);

    color: var(--accent);

    font-size: 12px;
}


.host-chip em {
    font-family: Georgia, serif;
}


@media (max-width: 700px) {

    .species-facts {
        grid-template-columns: 1fr;
    }

}

.atlas-page {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0 120px;
}

.atlas-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.atlas-header h1 {
    margin: 10px 0 12px;
    font-size: clamp(42px, 6vw, 72px);
}

.atlas-header p {
    max-width: 620px;
    margin: 0;
}
/* =====================================================
   ATLAS DRUHOV
   ===================================================== */

.atlas-count {
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
}

.atlas-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.atlas-card {
    appearance: none;
    width: 100%;
    padding: 0;

    background: var(--surface, #ffffff);
    color: inherit;

    border: 1px solid rgba(50, 70, 60, 0.12);
    border-radius: 24px;

    overflow: hidden;
    text-align: left;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.atlas-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.10);
}

.atlas-card-image {
    height: 240px;
    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(120, 140, 125, 0.06);
}

.atlas-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.atlas-card-no-image {
    font-size: 14px;
    opacity: 0.45;
}

.atlas-card-body {
    padding: 24px;
}

.atlas-family {
    display: inline-block;
    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.55;
}

.atlas-card h2 {
    margin: 0 0 6px;
    font-size: 21px;
    line-height: 1.25;
}

.atlas-author {
    margin: 0 0 22px;
    font-size: 14px;
    opacity: 0.65;
}

.atlas-detail {
    font-size: 13px;
    font-weight: 700;
}

body.dark .atlas-card {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.10);
}

body.dark .atlas-card-image {
    background: rgba(255, 255, 255, 0.035);
}


@media (max-width: 900px) {

    .atlas-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .atlas-page {
        width: min(
            100% - 28px,
            1200px
        );
        padding-top: 40px;
    }

    .atlas-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .atlas-grid {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   NÁSTROJE ATLASU
   ===================================================== */

.atlas-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.atlas-search {
    flex: 1;
}

.atlas-search input,
#atlasFamilyFilter {
    width: 100%;
    height: 52px;
    padding: 0 18px;

    font: inherit;
    color: inherit;

    background: rgba(255, 255, 255, 0.75);

    border:
        1px solid rgba(50, 70, 60, 0.14);

    border-radius: 14px;

    outline: none;
}

.atlas-search input:focus,
#atlasFamilyFilter:focus {
    border-color: rgba(60, 110, 75, 0.55);
}

#atlasFamilyFilter {
    width: 240px;
    cursor: pointer;
}

.atlas-empty {
    padding: 60px 20px;
    text-align: center;
    opacity: 0.55;
}

body.dark .atlas-search input,
body.dark #atlasFamilyFilter {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}


@media (max-width: 700px) {

    .atlas-tools {
        flex-direction: column;
        align-items: stretch;
    }

    #atlasFamilyFilter {
        width: 100%;
    }

}

/* =====================================================
   O PROJEKTE
   ===================================================== */

.about-page {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0 120px;
}

.about-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 56px;
}

.about-header h1 {
    margin: 10px 0 12px;
    font-size: clamp(42px, 6vw, 72px);
}

.about-lead {
    max-width: 680px;
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
    opacity: 0.72;
}


.about-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 24px;
}


.about-card {
    padding: 32px;

    background: rgba(255, 255, 255, 0.72);

    border:
        1px solid rgba(50, 70, 60, 0.12);

    border-radius: 24px;
}


.about-card-large {
    grid-row: span 2;
}


.about-card-wide {
    grid-column: 1 / -1;
}


.about-label {
    display: block;
    margin-bottom: 18px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.5;
}


.about-card h2,
.about-card h3 {
    margin-top: 0;
}


.about-card p {
    line-height: 1.75;
    opacity: 0.74;
}


.about-number {
    margin-bottom: 4px;

    font-size: 64px;
    line-height: 1;
    font-weight: 800;
}


.about-reference {
    display: flex;
    flex-direction: column;
    gap: 6px;

    margin-top: 24px;
    padding: 24px;

    border-radius: 16px;

    background:
        rgba(80, 110, 85, 0.06);
}


.about-reference strong {
    font-size: 18px;
}


.about-reference span {
    opacity: 0.7;
}


.about-families {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.about-families span {
    padding: 10px 16px;

    border-radius: 999px;

    background:
        rgba(80, 110, 85, 0.08);

    font-size: 14px;
    font-weight: 650;
}


/* DARK MODE */

body.dark .about-card {
    background:
        rgba(255, 255, 255, 0.045);

    border-color:
        rgba(255, 255, 255, 0.10);
}

body.dark .about-reference,
body.dark .about-families span {
    background:
        rgba(255, 255, 255, 0.055);
}


/* MOBIL */

@media (max-width: 750px) {

    .about-page {
        width: min(
            100% - 28px,
            1200px
        );

        padding-top: 40px;
    }

    .about-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card-large,
    .about-card-wide {
        grid-column: auto;
        grid-row: auto;
    }

}

/* =====================================================
   ORIENTÁCIA PRI URČOVANÍ
   ===================================================== */

.choice-card {
    position: relative;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}


/* Zvýraznenie vybranej možnosti */

.choice-card:hover,
.choice-card:focus-visible {
    transform: translateY(-2px);

    border-color: var(--accent);

    background:
        color-mix(
            in srgb,
            var(--accent-light) 35%,
            var(--surface)
        );

    box-shadow:
        0 18px 45px
        rgba(20, 35, 28, 0.10);

    outline: none;
}


/* A / B / C / D sa pri výbere zvýrazní */

.choice-letter {
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.choice-card:hover .choice-letter,
.choice-card:focus-visible .choice-letter {
    background: var(--accent);
    color: var(--bg);

    transform: scale(1.06);
}


/* Nadpis možnosti */

.choice-card:hover .choice-content strong,
.choice-card:focus-visible .choice-content strong {
    color: var(--accent);
}


/* Šípka */

.choice-card:hover .choice-arrow,
.choice-card:focus-visible .choice-arrow {
    transform: translateX(7px);
}





/* =====================================================
   ANATOMICKÉ POMÔCKY
   ===================================================== */

.anatomy-tools {
    margin-top: 24px;
}


/* Malý nadpis nad otáznikmi */

.anatomy-tools-label {
    margin-bottom: 9px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}


/* Kontajner otáznikov */

.anatomy-tools-list {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}


/* Jednotné tlačidlá */

.anatomy-help-button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 8px 14px 8px 9px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--surface);

    color: var(--text);

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}


/* Otáznik */

.anatomy-help-icon {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--accent);
    color: var(--bg);

    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
}


/* Názov anatomického znaku */

.anatomy-help-text {
    font-size: 13px;
    font-weight: 600;

    line-height: 1.25;
}


/* Jemný hover */

.anatomy-help-button:hover,
.anatomy-help-button:focus-visible {
    transform: translateY(-1px);

    border-color: var(--accent);

    background:
        color-mix(
            in srgb,
            var(--accent-light) 40%,
            var(--surface)
        );

    box-shadow:
        0 8px 22px rgba(20, 35, 28, 0.08);

    outline: none;
}


/* Mobil */

@media (max-width: 650px) {

    .anatomy-tools-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .anatomy-help-button {
        width: 100%;
    }

}

/* =====================================================
   KLIKATEĽNÁ HISTÓRIA URČOVANIA
   ===================================================== */

.history-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 6px;
}


/* Jednotlivý krok */

.history-step {
    padding: 5px 9px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--surface);

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}


/* Hover */

.history-step:hover,
.history-step:focus-visible {
    color: var(--accent);

    border-color: var(--accent);

    background: var(--accent-light);

    transform: translateY(-1px);

    outline: none;
}


/* Šípka medzi krokmi */

.history-separator {
    color: var(--muted);

    font-size: 13px;

    opacity: 0.65;
}

/* =====================================================
   AKO PRACOVAŤ S KĽÚČOM
   ===================================================== */

.key-help {
    margin-top: 16px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);
}


/* Nadpis */

.key-help summary {
    padding: 14px 16px;

    color: var(--text);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    user-select: none;
}


/* Hover nad nadpisom */

.key-help summary:hover {
    color: var(--accent);
}


/* Obsah */

.key-help-content {
    padding:
        0
        16px
        16px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 12px;
    line-height: 1.55;
}


.key-help-content p {
    margin:
        12px
        0
        0;
}


/* Klávesové skratky */

.keyboard-help {
    margin-top: 16px;

    padding-top: 14px;

    border-top: 1px solid var(--border);
}


.keyboard-help > strong {
    display: block;

    margin-bottom: 10px;

    color: var(--text);

    font-size: 11px;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.keyboard-help div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 8px;
}


.keyboard-help div span {
    margin-left: 4px;
}


/* Vzhľad klávesov */

.keyboard-help kbd {
    min-width: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px 7px;

    border: 1px solid var(--border);
    border-bottom-width: 2px;

    border-radius: 6px;

    background: var(--surface-soft);

    color: var(--text);

    font-family:
        Inter,
        sans-serif;

    font-size: 11px;
    font-weight: 700;
}

/* =====================================================
   DIAGNOSTICKÝ SÚHRN
   ===================================================== */

.diagnostic-summary {
    margin-bottom: 28px;

    padding: 20px 22px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background:
        color-mix(
            in srgb,
            var(--accent-light) 30%,
            var(--surface)
        );
}


.diagnostic-label {
    margin-bottom: 13px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.diagnostic-list {
    display: grid;

    gap: 9px;
}


.diagnostic-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: var(--text);

    font-size: 14px;
    line-height: 1.45;
}


.diagnostic-check {
    flex-shrink: 0;

    color: var(--accent);

    font-size: 14px;
    font-weight: 800;
}

/* =====================================================
   POZNÁMKA K URČENIU
   ===================================================== */

.identification-warning {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 26px;

    padding: 16px 18px;

    border: 1px solid
        color-mix(
            in srgb,
            #b98635 38%,
            var(--border)
        );

    border-radius: var(--radius-md);

    background:
        color-mix(
            in srgb,
            #b98635 8%,
            var(--surface)
        );
}


.identification-warning-icon {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #b98635;
    color: #ffffff;

    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 700;
}


.identification-warning-content {
    min-width: 0;
}


.identification-warning-content strong {
    display: block;

    margin-bottom: 4px;

    color: var(--text);

    font-size: 13px;
    font-weight: 700;
}


.identification-warning-content p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.55;
}

/* =====================================================
   NOVÉ URČOVANIE – SIDEBAR
   ===================================================== */

.new-determination-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 10px;

    padding: 13px 16px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);

    color: var(--text);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color var(--transition),
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}


.new-determination-button:hover,
.new-determination-button:focus-visible {
    border-color: var(--accent);

    background: var(--accent-light);

    color: var(--accent);

    transform: translateY(-1px);

    outline: none;
}


.new-determination-icon {
    color: var(--accent);

    font-size: 17px;
    font-weight: 700;
}

/* =====================================================
   ROZŠÍRENÝ NÁVOD K KĽÚČU
   ===================================================== */

.key-help-section {
    padding-top: 15px;
}


.key-help-section + .key-help-section {
    margin-top: 15px;

    border-top: 1px solid var(--border);
}


.key-help-heading {
    display: block;

    margin-bottom: 7px;

    color: var(--text);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.04em;
}


.key-help-section p {
    margin:
        7px
        0
        0;
}


.key-help-note {
    margin-top: 17px;

    padding: 12px 13px;

    border-radius: 9px;

    background: var(--surface-soft);

    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}

.key-help-section p,
.key-help-note {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* =====================================================
   KONTROLA NEOBVYKLÉHO VÝSLEDKU
   ===================================================== */

.result-check {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 24px;

    padding: 15px 17px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface-soft);
}


.result-check-icon {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    display: grid;
    place-items: center;

    border: 1px solid var(--accent);
    border-radius: 50%;

    color: var(--accent);

    font-family: Georgia, serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 700;
}


.result-check-content {
    min-width: 0;
}


.result-check-content strong {
    display: block;

    margin-bottom: 4px;

    color: var(--text);

    font-size: 12px;
    font-weight: 700;
}


.result-check-content p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.55;

    text-align: justify;
    hyphens: auto;
}