
/* HERO */

.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right,
            rgba(35, 64, 137, .06),
            transparent 40%);
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.hero__content {
    flex: 1;
    max-width: 620px;
}

.hero__subtitle {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-weight: 600;
}

.hero__title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero__text {
    font-size: 22px;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.hero__buttons {
    display: flex;
    gap: 20px;
}

.hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero__image img {
    max-width: 520px;
    width: 100%;
}

/* ==========================
   ABOUT PREVIEW
========================== */

.about-preview {
    padding: 120px 0;
}

.about-preview__container {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;

}

.about-preview__image {

    flex: 1;

}

.about-preview__image img {

    width: 100%;
    max-width: 500px;
    border-radius: 20px;

}

.about-preview__content {

    flex: 1;

}

.about-preview__content p {

    margin: 30px 0;
    color: var(--color-text-light);
    line-height: 1.8;

}

.about-preview__list {

    margin-bottom: 40px;

}

.about-preview__list li {

    margin-bottom: 14px;
    padding-left: 30px;
    position: relative;

}

.about-preview__list li::before {

    content: "✓";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;

}
/* ==========================================================
   HOME PROGRAM
========================================================== */

.program {
    position: relative;

    padding: 120px 0 125px;

    overflow: hidden;

    background: #f7f9fc;
}


.program::before {
    content: "";

    position: absolute;

    top: -260px;
    right: -220px;

    width: 560px;
    height: 560px;

    border: 1px solid rgba(35, 64, 137, .05);
    border-radius: 50%;

    pointer-events: none;
}


.program .container {
    position: relative;

    z-index: 1;
}


.program .section-header {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.program .section-description {
    max-width: 700px;

    margin: 22px auto 0;

    font-size: 18px;
    line-height: 1.75;

    color: var(--color-text-light);
}



/* ==========================================================
   HOME PROGRAM GRID
========================================================== */

.program-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;

    margin-top: 62px;
}



/* ==========================================================
   HOME PROGRAM CARD
========================================================== */

.program-card {
    position: relative;

    min-width: 0;
    min-height: 390px;

    display: flex;
    flex-direction: column;

    padding: 34px 32px 31px;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--color-border);
    border-radius: 18px;

    text-decoration: none;

    color: inherit;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.program-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--color-secondary);

    transform: scaleX(0);
    transform-origin: left center;

    transition: transform .35s ease;
}


.program-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255, 209, 0, .55);

    box-shadow:
        0 22px 50px rgba(35, 64, 137, .11);
}


.program-card:hover::before {
    transform: scaleX(1);
}



/* ==========================================================
   HOME PROGRAM NUMBER
========================================================== */

.program-card__number {
    display: block;

    margin-bottom: 38px;

    font-size: 64px;
    line-height: .85;

    font-weight: 800;

    letter-spacing: -.05em;

    color: rgba(35, 64, 137, .08);

    transition: color .3s ease;
}


.program-card:hover .program-card__number {
    color: rgba(35, 64, 137, .14);
}



/* ==========================================================
   HOME PROGRAM CONTENT
========================================================== */

.program-card__label {
    display: block;

    margin-bottom: 11px;

    font-size: 11px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

    color: var(--color-secondary);
}


.program-card h3 {
    margin: 0 0 17px;

    font-size: 27px;
    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -.02em;

    color: var(--color-primary);
}


.program-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: var(--color-text-light);
}



/* ==========================================================
   HOME PROGRAM LINK
========================================================== */

.program-card__more {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: auto;
    padding-top: 28px;

    font-size: 14px;
    line-height: 1;

    font-weight: 800;

    color: var(--color-primary);
}


.program-card__more span {
    transition: transform .25s ease;
}


.program-card:hover .program-card__more span {
    transform: translateX(5px);
}



/* ==========================================================
   HOME PROGRAM BUTTON
========================================================== */

.program-button {
    margin-top: 55px;

    text-align: center;
}



/* ==========================================================
   HOME PROGRAM TABLET
========================================================== */

@media (max-width: 1100px) {

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 22px;
    }


    .program-card {
        min-height: 340px;
    }

}



/* ==========================================================
   HOME PROGRAM SMALL TABLET
========================================================== */

@media (max-width: 768px) {

    .program {
        padding: 90px 0 95px;
    }


    .program .section-description {
        font-size: 17px;
    }


    .program-grid {
        margin-top: 45px;
    }


    .program-card {
        padding: 30px;

        min-height: 330px;
    }


    .program-card__number {
        margin-bottom: 32px;

        font-size: 56px;
    }


    .program-card h3 {
        font-size: 25px;
    }

}



/* ==========================================================
   HOME PROGRAM MOBILE
========================================================== */

@media (max-width: 640px) {

    .program {
        padding: 75px 0 80px;
    }


    .program .section-header {
        text-align: left;
    }


    .program .section-description {
        margin-left: 0;

        font-size: 16px;
        line-height: 1.7;
    }


    .program-grid {
        grid-template-columns: minmax(0, 1fr);

        gap: 16px;

        margin-top: 38px;
    }


    .program-card {
        min-height: 0;

        padding: 27px 25px;

        border-radius: 16px;
    }


    .program-card__number {
        margin-bottom: 28px;

        font-size: 50px;
    }


    .program-card__label {
        font-size: 10px;
    }


    .program-card h3 {
        font-size: 24px;

        overflow-wrap: anywhere;
    }


    .program-card p {
        font-size: 15px;
    }


    .program-card__more {
        margin-top: 25px;

        padding-top: 0;
    }


    .program-button {
        margin-top: 38px;
    }


    .program-button .btn {
        width: 100%;
    }

}
/* ==========================================================
   HOME NEWS
========================================================== */

.home-news {
    padding: 115px 0 120px;

    background: #f8fafc;
}


.home-news .section-header {
    max-width: 760px;

    margin: 0 auto 58px;

    text-align: center;
}


.home-news__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}


/* ==========================================================
   HOME NEWS CARD
========================================================== */

.home-news-card {
    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--color-border);
    border-radius: 20px;

    box-shadow:
        0 12px 34px rgba(35, 64, 137, .065);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.home-news-card:hover {
    transform: translateY(-6px);

    border-color: rgba(35, 64, 137, .18);

    box-shadow:
        0 24px 52px rgba(35, 64, 137, .11);
}


.home-news-card__link {
    display: flex;
    flex-direction: column;

    height: 100%;

    color: inherit;

    text-decoration: none;
}


/* ==========================================================
   HOME NEWS IMAGE
========================================================== */

.home-news-card__image {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eef1f6;
}


.home-news-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.home-news-card:hover .home-news-card__image img {
    transform: scale(1.035);
}


/* ==========================================================
   HOME NEWS CONTENT
========================================================== */

.home-news-card__content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 30px;
}


.home-news-card__meta {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    font-size: 13px;
    line-height: 1.3;

    color: var(--color-text-light);
}


.home-news-card__meta span:first-child {
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: var(--color-secondary);
}


.home-news-card__meta span + span::before {
    content: "•";

    margin-right: 12px;

    color: rgba(35, 64, 137, .35);
}


.home-news-card h3 {
    margin: 0 0 17px;

    font-size: 26px;
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.025em;

    color: var(--color-primary);
}


.home-news-card p {
    margin: 0 0 26px;

    font-size: 16px;
    line-height: 1.7;

    color: var(--color-text-light);
}


.home-news-card__more {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: auto;
    padding-top: 20px;

    border-top: 1px solid var(--color-border);

    font-size: 14px;
    line-height: 1;

    font-weight: 800;

    color: var(--color-primary);
}


.home-news-card__more > span {
    font-size: 20px;

    transition: transform .25s ease;
}


.home-news-card:hover .home-news-card__more > span {
    transform: translateX(5px);
}


/* ==========================================================
   HOME NEWS BUTTON
========================================================== */

.home-news__button {
    display: flex;

    justify-content: center;

    margin-top: 48px;
}


/* ==========================================================
   HOME NEWS TABLET
========================================================== */

@media (max-width: 1000px) {

    .home-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   HOME NEWS MOBILE
========================================================== */

@media (max-width: 576px) {

    .home-news {
        padding: 70px 0 75px;
    }


    .home-news .section-header {
        margin-bottom: 38px;

        text-align: left;
    }


    .home-news__grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .home-news-card {
        border-radius: 17px;
    }


    .home-news-card__content {
        padding: 25px 23px;
    }


    .home-news-card__meta {
        margin-bottom: 15px;

        font-size: 12px;
    }


    .home-news-card h3 {
        font-size: 24px;
        line-height: 1.22;
    }


    .home-news-card p {
        font-size: 16px;
        line-height: 1.7;
    }


    .home-news__button {
        margin-top: 35px;
    }


    .home-news__button .btn {
        width: 100%;
    }

}
/* ==========================================================
   HOME NEWS DYNAMIC GRID
========================================================== */

.home-news__grid[data-count="1"] {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}

.home-news__grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 440px));
    justify-content: center;
}

.home-news__grid[data-count="1"] .home-news-card h3 {
    font-size: 30px;
}

@media (max-width: 576px) {

    .home-news__grid[data-count="1"],
    .home-news__grid[data-count="2"] {
        grid-template-columns: 1fr;
    }

    .home-news__grid[data-count="1"] .home-news-card h3 {
        font-size: 24px;
    }

}
/* ==================================================
   PRAVNE STRANI
================================================== */

.page-hero{
    padding:140px 0 80px;
    background:#f8f9fc;
    text-align:center;
}

.page-hero .section-title{
    margin-bottom:20px;
}

.page-hero .section-description{
    max-width:700px;
    margin:0 auto;
}

.legal-content{

    max-width:900px;
    margin:0 auto;

    background:#fff;

    padding:60px;

    border-radius:20px;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.last-updated{

    color:#777;
    font-size:.95rem;

    margin-bottom:35px;

}

.legal-content h2{

    margin-top:45px;
    margin-bottom:18px;

    color:var(--primary-color);

}

.legal-content p{

    line-height:1.9;

    margin-bottom:20px;

}

.legal-content ul{

    margin:20px 0 30px 25px;

}

.legal-content li{

    margin-bottom:12px;

    line-height:1.8;

}

.legal-content a{

    color:var(--primary-color);

    font-weight:600;

    text-decoration:none;

}

.legal-content a:hover{

    text-decoration:underline;

}

@media (max-width:768px){

    .page-hero{

        padding:110px 0 60px;

    }

    .legal-content{

        padding:35px 25px;

        border-radius:14px;

    }

}