
/* =====================================================
   THEME
===================================================== */

:root {
    --mutlibrand-blue: #249fd3;
    --multibrand-gradient: linear-gradient(
            12deg,
            #174a9b 0%,
            #4e347f 32%,
            #ed0033 68%,
            #ff6b00 100%
    );
    --trophy-cyan: #00c7c7;
    --trophy-ink: #0f223a;
    --trophy-muted: #6c7a90;
    --trophy-bg: #f4f8ff;
    --brand-blue: #174a9b;
    --brand-blue-dark: #003f91;
    --brand-cyan: #00b7ae;
    --brand-red: #ed0033;
    --brand-orange: #ff6b00;
    --brand-orange-light: #ff7800;
    --brand-purple: #54347d;
    --text-dark: #0c2f6f;
    --text-muted: #5f6f89;
    --bg-soft: #f5f8fc;
    --border-soft: #dfe7f2;

    --font-heading: "Ubuntu", "Inter", "Segoe UI", system-ui, sans-serif;
    --font-body: "Roboto", "Inter", "Segoe UI", system-ui, sans-serif;
}

/* =====================================================
   BASE
===================================================== */

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body), serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--trophy-ink);
    margin: 0;
}

header {
    backdrop-filter: saturate(180%) blur(6px);
    background: rgba(255,255,255,.9);
}

.site-logo {
   max-width: 160px;
}
/* =====================================================
   TYPOGRAPHY
===================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-heading), serif;
    font-weight: 600; /* zjemněno kvůli Ubuntu */
    letter-spacing: -0.015em;
    /*margin: 1.5em 0 .75em;*/
}

h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    color: var(--mutlibrand-blue);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--mutlibrand-blue);
}

h3 {
    font-size: 1.6rem;
    color: var(--mutlibrand-blue);
}

h4 {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--mutlibrand-blue);
}

p {
    margin-bottom: 1rem;
}
b, strong {
    font-weight: bolder;
    color: #0c5cc6;
}

.margin-0 {
    margin: 0 !important;
}
.margin-heading {
    margin: 1rem !important;
}

.text-white {
    color: #fff;
}
.text-muted {
    color: var(--trophy-muted) !important;
}

/* HEADER / NAV */

.site-header {
    z-index: 1040;
}

.site-header .navbar {
    min-height: 86px;
    padding: 12px 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223, 231, 242, .9);
    box-shadow: 0 10px 34px rgba(23, 74, 155, .08);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.site-logo {
    display: block;
    width: 180px;
    height: auto;
}

.site-header .navbar-nav {
    align-items: center;
}

.site-header .nav-link {
    position: relative;
    padding: 12px 14px;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .02em;
    text-decoration: none;
    transition: color .2s ease;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 14px;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: var(--brand-orange);
}

.site-header .nav-link:hover::after,
.site-header .nav-link:focus::after {
    transform: scaleX(1);
}

.header-cta {
    margin-left: 18px;
}

.header-cta .btn {
    white-space: nowrap;
    /*padding: 13px 22px;*/
}

/* BURGER */

.burger {
    position: relative;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 14px 30px rgba(237, 0, 51, .22);
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
}

body.menu-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
    opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1035;
    background: rgba(12, 47, 111, .46);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1036;
    width: min(390px, 92vw);
    height: 100vh;
    padding: 110px 24px 30px;
    background: #fff;
    box-shadow: -24px 0 60px rgba(23, 74, 155, .18);
    transform: translateX(100%);
    transition: transform .28s ease;
}

.mobile-menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(
            180deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu a:not(.btn) {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 16px 18px;
    border-radius: 0 14px 14px 0;
    background: var(--bg-soft);
    color: var(--brand-blue);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.mobile-menu a:not(.btn)::after {
    content: "→";
    margin-left: auto;
    color: var(--brand-orange);
    font-size: 24px;
    font-weight: 900;
}

.mobile-menu a:not(.btn):hover {
    background: #fff;
    color: var(--brand-orange);
    box-shadow: 0 14px 32px rgba(23, 74, 155, .12);
}

.mobile-menu-cta {
    margin-top: 16px;
    width: 100%;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

body.menu-open .mobile-menu {
    transform: translateX(0);
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .site-logo {
        width: 160px;
    }

    .site-header .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    .header-cta .btn {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 76px;
        padding: 10px 0;
    }

    .site-logo {
        width: 150px;
    }
}

@media (max-width: 575.98px) {
    .site-logo {
        width: 138px;
    }

    .burger {
        width: 48px;
        height: 48px;
    }

    .mobile-menu {
        width: 92vw;
        padding: 96px 20px 26px;
    }

    .mobile-menu a:not(.btn) {
        min-height: 54px;
        padding: 15px 16px;
        font-size: 15px;
    }
}

/* drop down */

/* Desktop dropdown */

.site-header .nav-dropdown .dropdown-toggle::before {
    display: none;
}

.site-header .nav-dropdown .dropdown-toggle::after {
    position: static;
    display: inline-block;
    margin-left: 8px;
    width: auto;
    height: auto;
    vertical-align: middle;
    border-top: .35em solid var(--brand-orange);
    border-right: .35em solid transparent;
    border-left: .35em solid transparent;
    background: none;
    transform: none;
}

.site-header .dropdown-menu {
    margin-top: 14px;
    padding: 12px;
    min-width: 280px;
    border: 0;
    border-radius: 0 18px 18px 0;
    background: #fff;
    box-shadow: 0 24px 60px rgba(23, 74, 155, .16);
}

.site-header .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 6px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(
            180deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
}

.site-header .dropdown-item {
    position: relative;
    padding: 13px 16px 13px 22px;
    border-radius: 0 12px 12px 0;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: normal;
}

.site-header .dropdown-item::after {
    content: "→";
    float: right;
    margin-left: 12px;
    color: var(--brand-orange);
    font-size: 18px;
    line-height: 1;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: var(--bg-soft);
    color: var(--brand-orange);
}

/* Oprava desktop underline, aby se nehádal se šipkou bootstrapu */
.site-header .nav-dropdown > .nav-link::after {
    transform: none;
}


/* Mobile dropdown */

.mobile-menu-dropdown {
    border-radius: 0 14px 14px 0;
    background: var(--bg-soft);
    overflow: hidden;
}

.mobile-menu-dropdown summary {
    position: relative;
    min-height: 58px;
    padding: 16px 18px;
    color: var(--brand-blue);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.mobile-menu-dropdown summary::-webkit-details-marker {
    display: none;
}

.mobile-menu-dropdown summary::after {
    content: "→";
    position: absolute;
    margin-left: auto;
    right: 18px;
    top: 40%;
    color: var(--brand-orange);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

/*.mobile-menu-dropdown[open] summary::after {*/
/*    transform: translateY(-50%) rotate(180deg);*/
/*}*/

.mobile-menu-subitems {
    display: grid;
    gap: 8px;
    padding: 0 10px 12px 18px;
}

.mobile-menu .mobile-menu-subitems a:not(.btn) {
    min-height: auto;
    padding: 12px 14px;
    background: #fff;
    font-size: 14px;
}

.mobile-menu .mobile-menu-subitems a:not(.btn)::after {
    font-size: 20px;
}


/* =====================================================
   HEADING UNDERLINE
===================================================== */

.heading-underline {
    position: relative;
    display: inline-block;
    padding-bottom: .35rem;
}

.heading-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--mutlibrand-blue);
    transition: width .3s ease;
}

/* volitelný hover efekt */
.heading-underline:hover::after {
    width: 60px;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.navbar-brand {
    font-family: var(--font-heading), serif;
    font-weight: 700;
    color: var(--mutlibrand-blue);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--mutlibrand-blue);
    padding: .5rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--mutlibrand-blue);
    transition: width .25s ease;
}

.nav-link:hover {
    color: var(--mutlibrand-blue);
}

.nav-link:hover::after {
    width: 100%;
}
@media (max-width: 991px) {
    .navbar-nav {
        gap: .75rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }
}

/* =====================================================
   SECTIONS
===================================================== */

section {
    padding: 4rem 0;
    scroll-margin-top: 100px;
}

.hero {
    background: linear-gradient(180deg, var(--trophy-bg), #fff);
}

.section-dark {
    background: var(--mutlibrand-blue);
    color: #fff;
}

.section-dark h2,
.section-dark p {
    color: #fff;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: .7rem 1.4rem;
}

.btn-primary {
    background: var(--mutlibrand-blue);
    border: none;
}

.btn-primary:hover {
    background: #094aa0;
}

.btn-cyan {
    background: var(--trophy-cyan);
    color: #fff;
    border: none;
}

.btn-cyan:hover {
    background: #02b0b0;
    color: #fff;
}

.button-bordered {
    background: #fff;
    color: var(--mutlibrand-blue);
    border: 2px solid;
}

.btn-brand {

    border: none;
    background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    color: #fff;

}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-light-brand {

    background: #fff;
    color: var(--brand-blue);

}

.btn-light-brand:hover {
    background: var(--bg-soft);
    color: var(--brand-blue);
}
/* =====================================================
   BUTTON ARROW
===================================================== */

.btn-arrow {
    position: relative;
    padding-right: 2.4rem; /* místo pro šipku */
}

.btn-arrow::after {
    content: "→";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .25s ease;
}

.btn-arrow:hover::after {
    transform: translate(4px, -50%);
}

/* =====================================================
   CARDS / MEDIA
===================================================== */

.hero-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.winner-card h3 {
    color: var(--mutlibrand-blue);
}
.winner-card img {
    border-radius: 12px;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #f3f6fa;
    padding: 3rem 0 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,.1);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: .9rem;
    color: var(--trophy-muted);
    text-align: center;
}

/* =====================================================
   VOTING PROJECTS
===================================================== */

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.project-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-body {
    padding: 1.25rem;
    text-align: center;
}

.project-body h3 {
    margin-bottom: .5rem;
}

.project-body p {
    color: var(--trophy-muted);
    font-size: .95rem;
}

/* =====================================================
   RULES
===================================================== */

.rules-wrap {
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    padding: 1.5rem;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .75rem;
}

.rules-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    border-radius: 12px;
    background: rgba(11,92,198,.05);
}

.rules-badge {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--mutlibrand-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    line-height: 1;
}

.rules-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

/* Odstraní případný scroll z .row mimo container */
.hero-header {
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.hero-header h1 {
    color: #fff
}

/* Levá část */
.hero-left {
    background: linear-gradient(
            14deg,
            #174a9b 0%,
            #007fc4 45%,
            #00b7ae 100%
    );
    color: #fff;
    padding: clamp(40px, 6vw, 100px);
}

/* Pravá část */
.hero-right {
    min-height: 400px;
}

/* Obrázek jako cover */
.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

/* Desktop výška */
@media (min-width: 992px) {
    .hero-header .row {
        min-height: 550px;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .hero-right {
        min-height: 300px;
    }
}

/* Outline button */
.rg-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    border: 1.5px solid #cfe1ff;
    color: #fff;
    background: transparent;

    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;

    transition: all 0.2s ease-in-out;
}

/* Hover efekt */
.rg-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
}

/* Ikona / šipka */
.rg-btn .arrow {
    display: inline-block;
    width: 1em;
    height: 1em;
}

html {
    scroll-behavior: smooth;
}

.rg-subnav {
    position: sticky;
    top: 95px;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: .35rem 0;
}

.rg-subnav-inner {
    position: relative;
}

.rg-subnav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: .2rem 0;
    margin: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rg-subnav-list::-webkit-scrollbar {
    display: none;
}

.rg-subnav-list .nav-item {
    flex: 0 0 auto;
}

.rg-subnav-list .nav-link {
    display: inline-flex;
    align-items: center;
    font-size: .9rem;
    font-weight: 600;
    color: #6c757d;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
    transition: all .2s ease;
}

.rg-subnav-list .nav-link:hover {
    color: #0b5cc6;
}

.rg-subnav-list .nav-link.active {
    color: #0b5cc6;
    border-bottom-color: #0b5cc6;
}

.rg-subnav-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    display: none;
    align-items: center;
    width: 52px;
    pointer-events: none;
    z-index: 2;
}

.rg-subnav-arrow-left {
    left: 0;
    justify-content: flex-start;
    background: linear-gradient(to right, #fff 55%, rgba(255,255,255,0));
}

.rg-subnav-arrow-right {
    right: 0;
    justify-content: flex-end;
    background: linear-gradient(to left, #fff 55%, rgba(255,255,255,0));
}

.rg-subnav-arrow button {
    pointer-events: auto;
    border: 0;
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    font-size: 18px;
    line-height: 1;
    color: #0b5cc6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.rg-subnav-arrow.is-hidden {
    display: none !important;
}

#program {
    padding-top: 1rem;
}

.text-muted.mb-5 {
    margin-bottom: 2rem !important;
}

.rg-anchor {
    scroll-margin-top: 125px;
    padding-top: .25rem;
    margin-bottom: 2rem;
}

.rg-anchor h2 {
    margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
    .rg-subnav {
        /*top: 78px;*/
        padding: .2rem 0;
    }

    .rg-subnav-list {
        gap: .9rem;
        padding-left: 3.25rem;
        padding-right: 3.25rem;
    }

    .rg-subnav-list .nav-link {
        font-size: .8rem;
        padding: .25rem 0;
    }

    .rg-subnav-arrow {
        display: flex;
    }

    .rg-anchor {
        scroll-margin-top: 105px;
    }

    #program {
        padding-top: .75rem;
    }
}




/* BURGER */

.burger{
    border:0;
    background:transparent;
    width:28px;
    height:22px;
    padding:0;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1100;
}

.burger span{
    position:absolute;
    width:100%;
    height:3px;
    background:var(--mutlibrand-blue);
    transition:.35s ease;
}

.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2){ top:9px; }
.burger span:nth-child(3){ bottom:0; }

.burger.active span:nth-child(1){
    top:9px;
    transform:rotate(45deg);
}

.burger.active span:nth-child(2){
    opacity:0;
}

.burger.active span:nth-child(3){
    top:9px;
    transform:rotate(-45deg);
}


/* OVERLAY */

.menu-overlay{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.35);
    backdrop-filter:blur(6px);

    opacity:0;
    pointer-events:none;

    transition:.35s ease;

    z-index:998;
}

.menu-overlay.show{
    opacity:1;
    pointer-events:auto;
}


/* MOBILE MENU */

.mobile-menu{

    position:fixed;
    top:0;
    right:0;

    width:420px;
    max-width:90%;

    height:100vh;

    background:#fff;

    padding:190px 30px 40px;

    transform:translateX(100%);
    transition:transform .35s ease;

    z-index:999;

    display:flex;
    flex-direction:column;
    gap:22px;

}

.mobile-menu.show{
    transform:translateX(0);
}


/* LINKS */

.mobile-menu a{
    font-size:1.25rem;
    font-weight:700;
    text-decoration:none;
    /*color:var(--mutlibrand-blue);*/
    transition:.2s;
}

.mobile-menu a:hover{
    color:var(--trophy-cyan);
    font-weight:400;
}

.secondary-mail-confirm {
    display: none !important;
}

/* DESKTOP */

@media(min-width:992px){

    .mobile-menu,
    .menu-overlay,
    .burger{
        display:none;
    }

}

.brand-logo-strip {
    padding: clamp(28px, 4vw, 48px) 0 12px;
    background: #fff;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 72px);
    flex-wrap: wrap;
}

.brand-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    transition: transform .2s ease, opacity .2s ease;
}

.brand-logo-item:hover {
    transform: translateY(-2px);
    opacity: .85;
}

.brand-logo-item img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 46px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .brand-logo-wrap {
        gap: 22px 30px;
    }

    .brand-logo-item {
        width: calc(50% - 15px);
    }

    .brand-logo-item img {
        max-width: 120px;
        max-height: 40px;
    }
}


.competition-page {
    background: #fff;
    color: var(--text-dark);
    font-family: inherit;
}

.competition-section {
    padding: clamp(56px, 7vw, 110px) 0;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--brand-blue);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.competition-section h2 {
    margin: 0 0 24px;
    color: var(--brand-blue);
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.section-lead,
.section-heading p,
.competition-section p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
}


/* Jak soutěž funguje */

.competition-how {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.steps-card {
    position: relative;
    padding: clamp(28px, 4vw, 54px);
    border-radius: 0 18px 18px 0;
    background:
            linear-gradient(#fff, #fff) padding-box,
            linear-gradient(12deg, var(--brand-blue) 0%, var(--brand-purple) 32%, var(--brand-red) 68%, var(--brand-orange) 100%) border-box;
    border: 14px solid transparent;
    box-shadow: 0 28px 70px rgba(23, 74, 155, .14);
}

.step-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-soft);
}

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

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.step-item h3 {
    margin: 0 0 8px;
    color: var(--brand-blue);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.step-item p {
    margin: 0;
    font-size: 16px;
}

.steps-note {
    margin: 28px 0 0;
    padding: 22px 24px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--brand-blue);
    font-weight: 700;
}

/* Výhry */

.competition-prizes {
    background: #fff;
}

.section-heading {
    max-width: 880px;
    margin-bottom: 44px;
}

.prize-row {
    align-items: stretch;
}

.prize-card {
    height: 100%;
    padding: clamp(28px, 3vw, 42px);
    border-radius: 0 18px 18px 0;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0087c8 48%, var(--brand-cyan) 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(23, 74, 155, .18);
}

.prize-card-main {
    background: linear-gradient(12deg, var(--brand-blue) 0%, var(--brand-purple) 32%, var(--brand-red) 68%, var(--brand-orange) 100%);
}

.prize-rank {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.prize-value {
    margin-bottom: 22px;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 900;
    line-height: .95;
}

.prize-card p,
.prize-card small {
    color: rgba(255, 255, 255, .92);
}

.prize-card p {
    margin: 0;
    font-size: 17px;
}

.prize-card small {
    display: block;
    margin-top: 16px;
}

.bonus-card {
    margin-top: 28px;
    padding: 26px 32px;
    border-radius: 18px;
    background: var(--bg-soft);
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.5;
}

.bonus-card strong {
    color: var(--brand-blue);
}

.price-list-note {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}

.price-list-note p {
    font-size: 14px;
}

.price-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.price-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--brand-blue);
    font-weight: 800;
    text-decoration: none;
}

.price-links a:hover {
    border-color: var(--brand-blue);
}

/* Materiály */

.competition-materials {
    background: var(--bg-soft);
}

.materials-panel {
    padding: clamp(34px, 5vw, 70px);
    border-radius: 0 26px 26px 0;
    background: #fff;
    box-shadow: 0 26px 70px rgba(23, 74, 155, .12);
    border-left: 16px solid var(--brand-orange);
}

.materials-panel p:last-child {
    margin-bottom: 0;
}

/* Proč se zapojit */

.competition-why {
    background: #fff;
}

.why-card {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 76px);
    border-radius: 0 26px 26px 0;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange-light) 100%);
    color: #fff;
}

.why-card::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -120px;
    width: 420px;
    height: 420px;
    border: 18px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    opacity: .45;
}

.why-card h2,
.why-card p,
.why-card .section-kicker {
    color: #fff;
}

.why-card p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, .94);
    font-size: 20px;
}

.big-number {
    display: block;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(90px, 12vw, 180px);
    font-weight: 300;
    line-height: .8;
}

/* Responsive */

@media (max-width: 991.98px) {
    .competition-section {
        padding: 56px 0;
    }

    .steps-card,
    .materials-panel,
    .why-card,
    .prize-card {
        border-radius: 0 16px 16px 0;
    }

    .step-item {
        grid-template-columns: 52px 1fr;
        gap: 18px;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .price-links {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* time line */

.competition-timeline {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.competition-timeline .section-heading {
    max-width: 820px;
    margin-bottom: 54px;
}

.timeline-widget {
    position: relative;
    padding: clamp(30px, 5vw, 58px);
    border-radius: 0 26px 26px 0;
    background: #fff;
    box-shadow: 0 28px 70px rgba(23, 74, 155, .14);
    overflow: hidden;
}

.timeline-widget::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 14px;
    background: linear-gradient(
            180deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
}

.timeline-progress {
    position: absolute;
    left: clamp(30px, 5vw, 58px);
    right: clamp(30px, 5vw, 58px);
    top: 112px;
    height: 8px;
    border-radius: 999px;
    background: #dfe7f2;
    overflow: hidden;
}

.timeline-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
            90deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
    transition: width .6s ease;
}

.timeline-items {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.timeline-item {
    position: relative;
    text-align: center;
}

.timeline-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: #fff;
    border: 8px solid #dfe7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(23, 74, 155, .12);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.timeline-icon span {
    font-size: 34px;
    line-height: 1;
}

.timeline-content {
    padding: 24px 20px;
    border-radius: 18px;
    background: var(--bg-soft);
    min-height: 210px;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.timeline-status {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.timeline-content h3 {
    margin: 0 0 12px;
    color: var(--brand-blue);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.timeline-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.4;
}

.timeline-item.is-past .timeline-icon {
    border-color: var(--brand-blue);
}

.timeline-item.is-past .timeline-status {
    background: var(--brand-blue);
    color: #fff;
}

.timeline-item.is-current .timeline-icon {
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    border-color: #fff;
    transform: scale(1.08);
}

.timeline-item.is-current .timeline-icon span {
    filter: grayscale(1) brightness(0) invert(1);
}

.timeline-item.is-current .timeline-content {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0087c8 48%, var(--brand-cyan) 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(23, 74, 155, .22);
    transform: translateY(-6px);
}

.timeline-item.is-current .timeline-status {
    background: #fff;
    color: var(--brand-orange);
}

.timeline-item.is-current h3,
.timeline-item.is-current p {
    color: #fff;
}

.timeline-current-note {
    position: relative;
    z-index: 2;
    margin-top: 34px;
    padding: 18px 22px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(237, 0, 51, .08), rgba(255, 107, 0, .1));
    color: var(--brand-blue);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 991.98px) {
    .timeline-widget {
        padding: 32px 24px;
    }

    .timeline-widget::before {
        width: 10px;
    }

    .timeline-progress {
        top: 0;
        bottom: 0;
        left: 66px;
        right: auto;
        width: 8px;
        height: auto;
    }

    .timeline-progress-fill {
        width: 100%;
        height: 0;
        background: linear-gradient(
                180deg,
                var(--brand-blue) 0%,
                var(--brand-purple) 32%,
                var(--brand-red) 68%,
                var(--brand-orange) 100%
        );
    }

    .timeline-items {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timeline-item {
        display: grid;
        grid-template-columns: 86px 1fr;
        gap: 22px;
        text-align: left;
        align-items: start;
    }

    .timeline-icon {
        margin: 0;
    }

    .timeline-content {
        min-height: auto;
    }

    .timeline-current-note {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .timeline-item {
        grid-template-columns: 68px 1fr;
        gap: 16px;
    }

    .timeline-icon {
        width: 68px;
        height: 68px;
        border-width: 6px;
    }

    .timeline-icon span {
        font-size: 28px;
    }

    .timeline-progress {
        left: 52px;
    }
}
.timeline-icon span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    /*background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 100%);*/
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}
.timeline-item.is-current .timeline-icon span {
    filter: none;
    background: #fff;
    color: var(--brand-orange);
}

/* Průvodce rekonstrukcí */

.reconstruction-guide {
    background: #fff;
}

.guide-hero {
    padding: clamp(36px, 5vw, 76px);
    border-radius: 0 26px 26px 0;
    background:
            linear-gradient(#fff, #fff) padding-box,
            linear-gradient(
                    12deg,
                    var(--brand-blue) 0%,
                    var(--brand-purple) 32%,
                    var(--brand-red) 68%,
                    var(--brand-orange) 100%
            ) border-box;
    border: 14px solid transparent;
    box-shadow: 0 28px 70px rgba(23, 74, 155, .14);
}

.guide-hero p {
    margin: 0;
    font-size: 21px;
    color: var(--text-muted);
}

/* Kalkulačky */

.calculators-section {
    /*background: var(--bg-soft);*/
}

.tool-card {
    height: 100%;
    min-height: 430px;
    padding: clamp(28px, 3vw, 42px);
    border-radius: 0 22px 22px 0;
    color: #fff;
    box-shadow: 0 24px 60px rgba(23, 74, 155, .18);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tool-card-blue {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0087c8 48%, var(--brand-cyan) 100%);
}

.tool-card-gradient {
    background: linear-gradient(
            12deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
}

.tool-card-orange {
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange-light) 100%);
}

.tool-card-label {
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tool-card h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.tool-card p {
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.55;
}

.tool-card .btn {
    margin-top: auto;
}

/* Podpora */

.support-section {
    background: #fff;
}

.support-card,
.mini-support-card {
    border-radius: 0 22px 22px 0;
    box-shadow: 0 24px 60px rgba(23, 74, 155, .12);
}

.support-card-main {
    height: 100%;
    padding: clamp(34px, 4vw, 58px);
    background: #fff;
    border-left: 16px solid var(--brand-orange);
}

.support-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
}

.support-card h2 {
    font-size: clamp(34px, 4vw, 52px);
}

.support-list {
    margin: 26px 0 8px;
    padding: 0;
    list-style: none;
}

.support-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 800;
}

.support-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-orange);
    font-weight: 900;
}

.mini-support-card {
    padding: clamp(28px, 3vw, 38px);
    background: var(--bg-soft);
}

.mini-support-card h3 {
    margin: 0 0 16px;
    color: var(--brand-blue);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.mini-support-card p {
    margin-bottom: 20px;
    font-size: 17px;
}

.inline-cta {
    color: var(--brand-blue);
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
}

.inline-cta::after {
    content: " →";
    color: var(--brand-orange);
}

.inline-cta:hover {
    color: var(--brand-orange);
}

/* Energetické poradenství */

.energy-section {
    background: var(--bg-soft);
}

.energy-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 76px);
    border-radius: 0 26px 26px 0;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0087c8 48%, var(--brand-cyan) 100%);
    color: #fff;
}

.energy-panel::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -120px;
    width: 420px;
    height: 420px;
    border: 18px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    opacity: .45;
}

.energy-panel h2,
.energy-panel p,
.energy-panel .section-kicker {
    position: relative;
    z-index: 2;
    color: #fff;
}

.energy-panel p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 20px;
}

.energy-panel .btn {
    position: relative;
    z-index: 2;
}

/* Návody */

.guides-section {
    background: #fff;
}

.guide-link-card {
    height: 100%;
    min-height: 230px;
    padding: clamp(28px, 3vw, 42px);
    border-radius: 0 22px 22px 0;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--brand-blue);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.guide-link-card span {
    margin-bottom: 34px;
    color: var(--brand-orange);
    font-size: 18px;
    font-weight: 900;
}

.guide-link-card h3 {
    margin: 0;
    color: var(--brand-blue);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.guide-link-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 24px 60px rgba(23, 74, 155, .16);
}

/* FAQ */

.faq-section {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.accordion-header h3 {
    margin: 0 !important;
}

.competition-faq {
    max-width: 100%;
}

.competition-faq .accordion-item {
    margin-bottom: 14px;
    border: 0;
    border-radius: 0 18px 18px 0;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(23, 74, 155, .08);
}

.competition-faq .accordion-button {
    padding: 24px 28px;
    background: #fff;
    color: var(--brand-blue);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    box-shadow: none;
}

.competition-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, var(--brand-blue) 0%, #0087c8 55%, var(--brand-cyan) 100%);
    color: #fff;
}

.competition-faq .accordion-button::after {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-soft);
    background-position: center;
    background-size: 18px;
}

.competition-faq .accordion-button:not(.collapsed)::after {
    background-color: #fff;
}

.competition-faq .accordion-body {
    padding: 26px 28px 30px;
    background: #fff;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.65;
}

/* Responsive */

@media (max-width: 991.98px) {
    .guide-hero,
    .support-card,
    .mini-support-card,
    .energy-panel,
    .guide-link-card,
    .tool-card {
        border-radius: 0 16px 16px 0;
    }

    .tool-card {
        min-height: auto;
    }

    .energy-panel .text-lg-end {
        text-align: left !important;
    }
}

@media (max-width: 575.98px) {
    .competition-faq .accordion-button {
        padding: 20px;
        font-size: 17px;
    }

    .competition-faq .accordion-body {
        padding: 22px 20px 24px;
    }
}

.site-footer {
    padding: 56px 0 28px;
    background: #fff;
}

.site-footer h4 {
    margin-bottom: 18px;
    color: var(--brand-blue);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer a {
    /*color: var(--brand-blue);*/
    font-weight: 700;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--brand-orange);
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-sg-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.footer-sg-logo img {
    display: block;
    width: 120px;
    height: auto;
}

.footer-brand-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(82px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 230px;
}

.footer-brand-logo-item {
    min-height: 58px;
    padding: 10px 12px;
    /*border: 1px solid var(--border-soft);*/
    /*border-radius: 12px;*/
    /*background: var(--bg-soft);*/
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/*.footer-brand-logo-item:hover {*/
/*    transform: translateY(-2px);*/
/*    border-color: rgba(23, 74, 155, .35);*/
/*    box-shadow: 0 12px 28px rgba(23, 74, 155, .1);*/
/*}*/

.footer-brand-logo-item img {
    display: block;
    width: auto;
    max-width: 86px;
    max-height: 34px;
    object-fit: contain;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .footer-brand-block {
        align-items: flex-start;
    }

    .footer-brand-logos {
        max-width: 260px;
    }

    .footer-sg-logo img {
        width: 110px;
    }
}

.price-list-note {
    margin-top: 28px;
    padding: 24px;
    border-radius: 0 18px 18px 0;
    background: var(--bg-soft);
    border-left: 8px solid var(--brand-orange);
}

.price-list-note-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.price-list-note-content strong {
    color: var(--brand-blue);
}

.price-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.price-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.price-links a::after {
    content: " →";
    margin-left: 6px;
    color: var(--brand-orange);
}

.price-links a:hover {
    transform: translateY(-2px);
    border-color: var(--brand-blue);
    color: var(--brand-orange);
}

@media (max-width: 575.98px) {
    .price-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .price-links a {
        justify-content: space-between;
    }
}

.guide-link-card {
    position: relative;
    height: 100%;
    min-height: 250px;
    padding: clamp(28px, 3vw, 42px);
    border-radius: 0 22px 22px 0;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--brand-blue);
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.guide-link-card::after {
    content: "→";
    position: absolute;
    right: 24px;
    top: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    transition: transform .25s ease;
}

.guide-number {
    margin-bottom: 34px;
    color: var(--brand-orange);
    font-size: 18px;
    font-weight: 900;
}

.guide-link-card h3 {
    margin: 0 0 32px;
    padding-right: 46px;
    color: var(--brand-blue);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.guide-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-blue);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.guide-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    transition: transform .25s ease;
}

.guide-link-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 24px 60px rgba(23, 74, 155, .16);
}

.guide-link-card:hover::after {
    transform: translateX(4px);
}

.guide-link-card:hover .guide-arrow {
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .guide-link-card {
        min-height: 220px;
    }

    .guide-link-card::after {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .guide-link-card h3 {
        padding-right: 38px;
    }
}
.energy-icon {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    line-height: 1;
    box-shadow: 0 18px 42px rgba(12, 47, 111, .18);
}

/* front detail */

/* PROJECT DETAIL FRONT */

.project-front-detail {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.project-detail-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 76px);
    border-radius: 0 28px 28px 0;
    background: linear-gradient(
            12deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
    color: #fff;
    box-shadow: 0 28px 70px rgba(23, 74, 155, .18);
}

.project-detail-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -130px;
    width: 420px;
    height: 420px;
    border: 18px solid rgba(255, 255, 255, .62);
    border-radius: 50%;
    opacity: .45;
}

.project-detail-hero .section-kicker,
.project-detail-hero h1 {
    position: relative;
    z-index: 2;
    color: #fff;
}

.project-detail-hero h1 {
    margin: 0;
    max-width: 950px;
    font-size: clamp(42px, 6vw, 86px);
    font-weight: 900;
    line-height: .92;
    text-transform: uppercase;
}

.project-public-name {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-top: 26px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.project-public-name::before {
    margin-right: 4px;
    opacity: .78;
}

.project-detail-hero .btn {
    position: relative;
    z-index: 2;
}


/* STORY */

.project-story-panel {
    margin-top: clamp(34px, 5vw, 64px);
    padding: clamp(34px, 5vw, 70px);
    border-radius: 0 26px 26px 0;
    background: #fff;
    border-left: 16px solid var(--brand-orange);
    box-shadow: 0 26px 70px rgba(23, 74, 155, .12);
}

.story-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-story-panel h2 {
    margin: 0;
    color: var(--brand-blue);
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}

.project-story-content {
    color: var(--text-muted);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.75;
}

.project-story-content p:last-child {
    margin-bottom: 0;
}


/* GALLERY */

.project-gallery-simple-group {
    margin-top: clamp(34px, 5vw, 58px);
}

.project-gallery-simple-group:first-of-type {
    margin-top: 0;
}

.project-gallery-simple-group h3 {
    margin: 0 0 20px;
    color: var(--brand-blue);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.project-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.project-gallery-thumbnail {
    position: relative;
    display: block;
    height: 210px;
    border-radius: 0 18px 18px 0;
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: 0 16px 40px rgba(23, 74, 155, .12);
    text-decoration: none;
}

.project-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.project-gallery-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(12, 47, 111, 0) 0%,
            rgba(12, 47, 111, .62) 100%
    );
    opacity: 0;
    transition: opacity .25s ease;
}

.project-gallery-thumbnail span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.project-gallery-thumbnail span::after {
    content: " →";
    color: var(--brand-orange);
}

.project-gallery-thumbnail:hover img {
    transform: scale(1.06);
}

.project-gallery-thumbnail:hover::after,
.project-gallery-thumbnail:hover span {
    opacity: 1;
}

.project-gallery-thumbnail:hover span {
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .project-gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-gallery-thumbnail {
        height: 180px;
        border-radius: 0 14px 14px 0;
    }
}

@media (max-width: 575.98px) {
    .project-gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .project-gallery-thumbnail {
        height: 135px;
        border-radius: 0 10px 10px 0;
    }

    .project-gallery-thumbnail span {
        display: none;
    }
}
.project-story-card {
    margin-top: clamp(28px, 4vw, 52px);
    padding: clamp(28px, 4vw, 48px);
    border-radius: 0 24px 24px 0;
    background: #fff;
    border-left: 12px solid var(--brand-orange);
    box-shadow: 0 22px 56px rgba(23, 74, 155, .11);
}

.project-story-card h2 {
    max-width: 820px;
    margin: 0 0 22px;
    color: var(--brand-blue);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.project-story-card .story-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-story-content {
    max-width: 980px;
    color: var(--text-muted);
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.75;

    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.project-story-content p {
    margin-bottom: 1.1em;
}

.project-story-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .project-story-card {
        padding: 30px 24px;
        border-left-width: 9px;
        border-radius: 0 18px 18px 0;
    }

    .project-story-card h2 {
        font-size: 28px;
    }
}

/* front preview */

.project-card-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.project-card-preview-item {
    position: relative;
    height: 170px;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    background: var(--bg-soft);
}

.project-card-preview-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-card-preview-item > span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.project-card-preview-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0087c8 48%, var(--brand-cyan) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .project-card-preview-item {
        height: 130px;
    }
}

/* Inspirace z minulých ročníků */

.past-inspiration-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.past-inspiration-section .section-heading {
    max-width: 900px;
    margin-bottom: clamp(38px, 5vw, 62px);
}

.inspiration-block {
    margin-top: clamp(34px, 5vw, 58px);
}

.inspiration-block:first-of-type {
    margin-top: 0;
}

.inspiration-block-apartments {
    margin-top: clamp(52px, 7vw, 86px);
}

.inspiration-category-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 18px;
}

.inspiration-category-heading span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.inspiration-category-heading h3 {
    margin: 0;
    color: var(--brand-blue);
    font-size: clamp(26px, 3.5vw, 46px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    text-align: right;
}

.inspiration-card {
    position: relative;
    min-height: 330px;
    height: 100%;
    padding: clamp(28px, 3vw, 42px);
    border-radius: 0 22px 22px 0;
    background: #fff;
    color: var(--brand-blue);
    text-decoration: none;
    box-shadow: 0 22px 56px rgba(23, 74, 155, .11);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.inspiration-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 10px;
    background: linear-gradient(
            180deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
}

.inspiration-card::after {
    content: "→";
    position: absolute;
    right: 24px;
    top: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    transition: transform .25s ease;
}

.inspiration-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(23, 74, 155, .16);
}

.inspiration-card:hover::after {
    transform: translateX(4px);
}

.inspiration-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 22px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.inspiration-card h4 {
    max-width: 88%;
    margin: 0 0 18px;
    color: var(--brand-blue);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.inspiration-card p {
    margin: 0 0 28px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.65;
}

.inspiration-cta {
    margin-top: auto;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.inspiration-cta::after {
    content: " →";
    color: var(--brand-orange);
    font-size: 20px;
    line-height: 1;
}

/* Barevné varianty */

.inspiration-card-gradient {
    background: linear-gradient(
            12deg,
            var(--brand-blue) 0%,
            var(--brand-purple) 32%,
            var(--brand-red) 68%,
            var(--brand-orange) 100%
    );
}

.inspiration-card-blue {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0087c8 48%, var(--brand-cyan) 100%);
}

.inspiration-card-orange {
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange-light) 100%);
}

.inspiration-card-gradient::before,
.inspiration-card-blue::before,
.inspiration-card-orange::before {
    display: none;
}

.inspiration-card-gradient h4,
.inspiration-card-gradient p,
.inspiration-card-gradient .inspiration-cta,
.inspiration-card-blue h4,
.inspiration-card-blue p,
.inspiration-card-blue .inspiration-cta,
.inspiration-card-orange h4,
.inspiration-card-orange p,
.inspiration-card-orange .inspiration-cta {
    color: #fff;
}

.inspiration-card-gradient .inspiration-tag,
.inspiration-card-blue .inspiration-tag,
.inspiration-card-orange .inspiration-tag {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.inspiration-card-gradient .inspiration-cta::after,
.inspiration-card-blue .inspiration-cta::after,
.inspiration-card-orange .inspiration-cta::after {
    color: #fff;
}

.inspiration-card-gradient::after,
.inspiration-card-blue::after,
.inspiration-card-orange::after {
    background: #fff;
    color: var(--brand-orange);
}

/* Responsive */

@media (max-width: 991.98px) {
    .inspiration-category-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .inspiration-category-heading h3 {
        text-align: left;
    }

    .inspiration-card {
        min-height: auto;
        border-radius: 0 18px 18px 0;
    }
}

@media (max-width: 575.98px) {
    .inspiration-card {
        padding: 28px 24px;
    }

    .inspiration-card::after {
        width: 40px;
        height: 40px;
        font-size: 24px;
        right: 18px;
        top: 18px;
    }

    .inspiration-card h4 {
        max-width: 100%;
        padding-right: 38px;
    }
}

.footer-menu {
    margin: 0;
    padding: 0;
}

.footer-menu > li {
    margin-bottom: 10px;
}

.footer-menu a:not(.btn),
.footer-menu-group > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--brand-blue);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
}

.footer-menu a:not(.btn)::after {
    content: "→";
    margin-left: 8px;
    color: var(--brand-orange);
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.footer-menu a:not(.btn):hover {
    color: var(--brand-orange);
}

.footer-menu a:not(.btn):hover::after {
    transform: translateX(4px);
}

.footer-menu-group {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.footer-menu-group > span {
    margin-bottom: 10px;
    color: var(--brand-blue);
    /*font-size: 13px;*/
    letter-spacing: .06em;
}

.footer-menu-group ul {
    margin: 0;
    padding: 0 0 0 14px;
    list-style: none;
}

.footer-menu-group ul li {
    margin-bottom: 8px;
}

.footer-menu-group ul a {
    font-size: 13px;
}

.footer-menu-cta {
    margin-top: 18px;
}

.footer-menu-cta .btn {
    padding: 12px 20px;
    font-size: 13px;
}

.footer-menu-row {
    max-width: 100%;
}

.footer-menu-group {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.footer-submenu {
    margin-top: 10px;
    padding-left: 0;
}

.footer-submenu li {
    margin-bottom: 8px;
}

@media (max-width: 767.98px) {
    .footer-menu-group {
        margin-top: 10px;
        padding-top: 18px;
        border-top: 1px solid var(--border-soft);
    }
}
.small
{font-size: 0.4rem;}

.email-two {
    display:none !important;
}

