/* =========================================================
   SK Rozcestník – Frontend styles
   Všechny styly jsou scoped pod .sk-rc aby nekonfliktovaly
   s motivem WordPressu.
   ========================================================= */

/* --- RESET & BASE --- */

.sk-rc,
.sk-rc * {
    box-sizing: border-box;
}

.sk-rc {
    font-family: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8fafc;
    color: #1e293b;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.sk-rc a {
    text-decoration: none;
    color: inherit;
}

.sk-rc img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sk-rc h1,
.sk-rc h2,
.sk-rc h3,
.sk-rc h4,
.sk-rc p {
    margin: 0;
    padding: 0;
}

/* --- BACKGROUND DECORATIONS --- */

.sk-rc-dotbg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.25;
}

.sk-rc-blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

.sk-rc-blob-1 {
    top: 0;
    right: 0;
    width: min(700px, 60vw);
    height: min(700px, 60vw);
    background: rgba(96, 165, 250, 0.2);
    filter: blur(140px);
}

.sk-rc-blob-2 {
    top: 128px;
    left: 0;
    width: min(600px, 55vw);
    height: min(600px, 55vw);
    background: rgba(52, 211, 153, 0.15);
    filter: blur(140px);
}

.sk-rc-blob-3 {
    bottom: 0;
    right: 25%;
    width: min(500px, 50vw);
    height: min(500px, 50vw);
    background: rgba(251, 113, 133, 0.1);
    filter: blur(120px);
}

/* --- TOP BAR --- */

.sk-rc-topbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    color: #64748b;
    padding: 12px 0;
    position: relative;
    z-index: 50;
    flex-shrink: 0;
}

.sk-rc-topbar-inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 640px) {
    .sk-rc-topbar-inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.sk-rc-topbar-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

@media (min-width: 640px) {
    .sk-rc-topbar-left {
        justify-content: flex-start;
        gap: 24px;
    }
}

.sk-rc-topbar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    color: #64748b;
}

.sk-rc-topbar-link:hover {
    color: #0f172a;
}

.sk-rc-topbar-link iconify-icon {
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.2s;
}

.sk-rc-topbar-link:hover iconify-icon {
    color: #3b82f6;
}

.sk-rc-topbar-link.phone:hover iconify-icon {
    color: #10b981;
}

.sk-rc-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sk-rc-topbar-right .sk-rc-social {
    display: flex;
    align-items: center;
    color: #94a3b8;
    transition: color 0.2s;
}

.sk-rc-topbar-right .sk-rc-social.fb:hover { color: #1877F2; }
.sk-rc-topbar-right .sk-rc-social.ig:hover { color: #E4405F; }
.sk-rc-topbar-right .sk-rc-social.li:hover { color: #0A66C2; }

/* --- MAIN CONTENT --- */

.sk-rc-main {
    flex-grow: 1;
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .sk-rc-main {
        padding: 32px 24px;
    }
}

@media (min-width: 1024px) {
    .sk-rc-main {
        padding: 48px 32px;
    }
}

/* --- HERO --- */

.sk-rc-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-bottom: 64px;
}

@media (min-width: 1024px) {
    .sk-rc-hero {
        flex-direction: row;
        gap: 80px;
    }
}

.sk-rc-hero-left {
    width: 100%;
}

@media (min-width: 1024px) {
    .sk-rc-hero-left {
        width: 50%;
    }
}

.sk-rc-logo-wrap {
    margin-bottom: 48px;
}

.sk-rc-logo {
    width: auto;
    object-fit: contain;
}

.sk-rc-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sk-rc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #ffffff;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    font-family: inherit;
}

.sk-rc-btn:hover {
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sk-rc-btn.contacts:hover {
    border-color: #6ee7b7;
    background: rgba(236, 253, 245, 0.5);
}

.sk-rc-btn.website:hover {
    border-color: #93c5fd;
    background: rgba(239, 246, 255, 0.5);
}

.sk-rc-btn iconify-icon {
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.2s;
}

.sk-rc-btn.contacts:hover iconify-icon { color: #10b981; }
.sk-rc-btn.website:hover  iconify-icon { color: #3b82f6; }

/* Hero right */

.sk-rc-hero-right {
    width: 100%;
    position: relative;
    z-index: 20;
    display: none;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .sk-rc-hero-right {
        display: block;
    }
}

@media (min-width: 1024px) {
    .sk-rc-hero-right {
        width: 50%;
        margin-top: 0;
    }
}

.sk-rc-hero-bg {
    position: absolute;
    inset: -16px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(52, 211, 153, 0.25));
    border-radius: 40px;
    transform: rotate(3deg);
    z-index: -1;
    transition: transform 0.7s, opacity 0.7s;
    opacity: 0.9;
}

@media (min-width: 1024px) {
    .sk-rc-hero-bg {
        inset: -32px;
    }
}

.sk-rc-hero-right:hover .sk-rc-hero-bg {
    transform: rotate(6deg) scale(1.05);
}

.sk-rc-hero-frame {
    position: relative;
    border-radius: 32px;
    height: 256px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 6px solid rgba(255, 255, 255, 0.95);
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.7s, box-shadow 0.7s;
}

@media (min-width: 1024px) {
    .sk-rc-hero-frame {
        height: 320px;
    }
}

.sk-rc-hero-right:hover .sk-rc-hero-frame {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.sk-rc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s;
}

.sk-rc-hero-right:hover .sk-rc-hero-img {
    transform: scale(1.1);
}

.sk-rc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.2), transparent);
    pointer-events: none;
}

/* --- SECTION TITLE --- */

.sk-rc-section-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
    padding: 0 4px !important;
    line-height: 1.3 !important;
}

/* --- INSTITUTION GRID --- */

.sk-rc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 56px;
}

@media (min-width: 640px) {
    .sk-rc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .sk-rc-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- INSTITUTION CARD --- */

.sk-rc-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    text-decoration: none !important;
    color: inherit !important;
}

.sk-rc-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sk-rc-card-bar {
    width: 4px;
    align-self: stretch;
    border-radius: 12px 0 0 12px;
    flex-shrink: 0;
}

.sk-rc-card-body {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    padding: 14px 16px;
    min-height: 64px;
}

.sk-rc-card-svg {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 36px;
    opacity: 0.08;
    transition: opacity 0.5s;
    pointer-events: none;
}

.sk-rc-card:hover .sk-rc-card-svg {
    opacity: 0.18;
}

.sk-rc-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
    flex: 1;
    padding-right: 32px;
}

.sk-rc-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    flex-shrink: 0;
    display: inline-block;
}

.sk-rc-card-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    transition: color 0.2s !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.sk-rc-card-arrow {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    color: #cbd5e1;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.sk-rc-card:hover .sk-rc-card-arrow {
    color: #64748b;
}

/* Card color variants */

.sk-rc-card--emerald .sk-rc-card-bar { background: linear-gradient(to bottom, #34d399, #6ee7b7); }
.sk-rc-card--emerald .sk-rc-card-svg { color: #34d399; }
.sk-rc-card--emerald .sk-rc-card-dot { background: #10b981; }
.sk-rc-card--emerald:hover .sk-rc-card-title { color: #059669 !important; }

.sk-rc-card--blue .sk-rc-card-bar { background: linear-gradient(to bottom, #60a5fa, #7dd3fc); }
.sk-rc-card--blue .sk-rc-card-svg { color: #60a5fa; }
.sk-rc-card--blue .sk-rc-card-dot { background: #3b82f6; }
.sk-rc-card--blue:hover .sk-rc-card-title { color: #2563eb !important; }

.sk-rc-card--rose .sk-rc-card-bar { background: linear-gradient(to bottom, #fb7185, #f9a8d4); }
.sk-rc-card--rose .sk-rc-card-svg { color: #fb7185; }
.sk-rc-card--rose .sk-rc-card-dot { background: #f43f5e; }
.sk-rc-card--rose:hover .sk-rc-card-title { color: #e11d48 !important; }

.sk-rc-card--cyan .sk-rc-card-bar { background: linear-gradient(to bottom, #22d3ee, #7dd3fc); }
.sk-rc-card--cyan .sk-rc-card-svg { color: #22d3ee; }
.sk-rc-card--cyan .sk-rc-card-dot { background: #06b6d4; }
.sk-rc-card--cyan:hover .sk-rc-card-title { color: #0891b2 !important; }

.sk-rc-card--fuchsia .sk-rc-card-bar { background: linear-gradient(to bottom, #e879f9, #f0abfc); }
.sk-rc-card--fuchsia .sk-rc-card-svg { color: #e879f9; }
.sk-rc-card--fuchsia .sk-rc-card-dot { background: #d946ef; }
.sk-rc-card--fuchsia:hover .sk-rc-card-title { color: #c026d3 !important; }

.sk-rc-card--orange .sk-rc-card-bar { background: linear-gradient(to bottom, #fb923c, #fcd34d); }
.sk-rc-card--orange .sk-rc-card-svg { color: #fb923c; }
.sk-rc-card--orange .sk-rc-card-dot { background: #f97316; }
.sk-rc-card--orange:hover .sk-rc-card-title { color: #ea580c !important; }

.sk-rc-card--amber .sk-rc-card-bar { background: linear-gradient(to bottom, #fbbf24, #fde047); }
.sk-rc-card--amber .sk-rc-card-svg { color: #fbbf24; }
.sk-rc-card--amber .sk-rc-card-dot { background: #f59e0b; }
.sk-rc-card--amber:hover .sk-rc-card-title { color: #d97706 !important; }

.sk-rc-card--yellow .sk-rc-card-bar { background: linear-gradient(to bottom, #facc15, #bef264); }
.sk-rc-card--yellow .sk-rc-card-svg { color: #facc15; }
.sk-rc-card--yellow .sk-rc-card-dot { background: #eab308; }
.sk-rc-card--yellow:hover .sk-rc-card-title { color: #ca8a04 !important; }

/* --- INFO PANELS --- */

.sk-rc-panels {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .sk-rc-panels {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .sk-rc-panels {
        gap: 24px;
    }
}

.sk-rc-panel {
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* PORG panel */

.sk-rc-panel-porg {
    background: linear-gradient(135deg, #eff6ff, rgba(240, 249, 255, 0.6));
    padding: 24px;
    border: 1px solid #dbeafe;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}


@media (min-width: 640px) {
    .sk-rc-panel-porg {
        padding: 32px;
    }
}

.sk-rc-panel-porg::before {
    content: '';
    position: absolute;
    top: -32px;
    right: -32px;
    width: 192px;
    height: 192px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 9999px;
    filter: blur(32px);
    pointer-events: none;
}

.sk-rc-panel-porg::after {
    content: '';
    position: absolute;
    bottom: -48px;
    left: -32px;
    width: 160px;
    height: 160px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 9999px;
    filter: blur(32px);
    pointer-events: none;
}

.sk-rc-porg-logo {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    height: 40px;
    width: auto;
	max-width: 180px!important;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .sk-rc-porg-logo { height: 48px; }
}

.sk-rc-porg-text {
    font-size: 16px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    position: relative;
    z-index: 10;
    flex: 1;
}

.sk-rc-panel-footer {
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.sk-rc-porg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #003B71;
    transition: color 0.2s, background 0.2s;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1px solid rgba(147, 197, 253, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-family: inherit;
}

.sk-rc-porg-btn:hover {
    color: #002244;
    background: #ffffff;
}

.sk-rc-porg-btn iconify-icon {
    transition: transform 0.2s;
}

.sk-rc-porg-btn:hover iconify-icon {
    transform: translate(2px, -2px);
}

/* Original concept panel */

.sk-rc-panel-orig {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
    .sk-rc-panel-orig {
        padding: 32px;
    }
}

.sk-rc-panel-orig::before {
    content: '';
    position: absolute;
    top: -32px;
    right: -32px;
    width: 160px;
    height: 160px;
    background: rgba(203, 213, 225, 0.2);
    border-radius: 9999px;
    filter: blur(32px);
    pointer-events: none;
}

.sk-rc-orig-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.sk-rc-orig-icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.sk-rc-orig-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

.sk-rc-orig-text {
    font-size: 16px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
}

/* --- FOOTER --- */

.sk-rc-footer {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    font-size: 14px;
    color: #64748b;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .sk-rc-footer {
        padding: 32px 24px;
    }
}

@media (min-width: 768px) {
    .sk-rc-footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 32px 32px;
    }
}

.sk-rc-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

@media (min-width: 640px) {
    .sk-rc-footer-brand {
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }
}

.sk-rc-footer-name {
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #0f172a;
    font-size: 14px;
}

.sk-rc-footer-sep {
    display: none;
    color: #cbd5e1;
}

@media (min-width: 640px) {
    .sk-rc-footer-sep { display: inline; }
}

.sk-rc-footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 640px) {
    .sk-rc-footer-right {
        flex-direction: row;
        gap: 0;
    }
}

.sk-rc-footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 640px) {
    .sk-rc-footer-nav { gap: 24px; }
}

.sk-rc-footer-nav a {
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s;
}

.sk-rc-footer-nav a:hover {
    color: #0f172a;
}

.sk-rc-footer-social {
    display: none;
    align-items: center;
    gap: 16px;
}

@media (min-width: 640px) {
    .sk-rc-footer-social {
        display: flex;
        padding-left: 24px;
        margin-left: 24px;
        border-left: 1px solid rgba(226, 232, 240, 0.6);
    }
}

.sk-rc-footer-social a {
    color: #94a3b8;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.sk-rc-footer-social a.fb:hover { color: #1877F2; }
.sk-rc-footer-social a.ig:hover { color: #E4405F; }
