/* DOMOV */
.main_right_bg {
    display: none !important;
}

body {
    background: #eef7ff;
}

.home-page {
    margin-top: 8.385vw;
    color: #253047;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(62, 159, 255, 0.16), transparent 26vw),
        linear-gradient(180deg, #f8fcff 0%, #eaf6ff 48%, #f7fbff 100%);
}

.home-hero,
.home-section,
.home-store,
.home-contact {
    width: min(90vw, 1580px);
    margin-left: auto;
    margin-right: auto;
}

.home-hero {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
    gap: 3.6vw;
    align-items: center;
    margin-top: 3vw;
    margin-bottom: 4.2vw;
    padding: clamp(34px, 3.1vw, 58px);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(229,244,255,0.92) 42%, rgba(43,106,180,0.14) 100%);
    box-shadow: 0 26px 70px rgba(37, 96, 230, 0.14);
}

.home-eyebrow {
    margin: 0 0 0.8vw;
    font-family: SourceSansBold;
    font-size: 0.95vw;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3e9fff;
}

.home-hero h1,
.home-section h2,
.home-store h2,
.home-contact h2 {
    margin: 0;
    font-family: SourceSansSemiBold;
    letter-spacing: 0;
    color: #30334f;
}

.home-hero h1 {
    max-width: 44vw;
    font-size: clamp(44px, 3.55vw, 72px);
    line-height: 1.06;
}

.home-hero h1 span {
    color: #3e9fff;
}

.home-lead,
.home-section__head p,
.home-service-card p,
.home-news-empty p,
.home-store p,
.home-contact p,
.home-contact-card small {
    font-family: SourceSansRegular;
    color: #617085;
}

.home-lead {
    max-width: 40vw;
    margin: 1.15vw 0 0;
    font-size: clamp(17px, 1.02vw, 21px);
    line-height: 1.68;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin-top: 1.55vw;
    flex-wrap: wrap;
}

.home-primary-btn {
    width: 13.6vw;
    min-width: 190px;
    height: 3.65vw;
    min-height: 52px;
    font-size: 0.92vw;
    letter-spacing: 0.06em;
}

.home-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.35vw;
    border: 1px solid rgba(62, 159, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    color: #2b6ab4;
    font-family: SourceSansBold;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(62, 159, 255, 0.13);
}

.home-secondary-btn:hover {
    color: #1581ed;
    text-decoration: none;
}

.home-hero__visual {
    position: relative;
}

.home-hero__visual img,
.home-service-card img,
.home-news-card img,
.home-store__media img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.home-hero__visual img {
    height: clamp(390px, 30vw, 560px);
    border-radius: 24px;
    box-shadow: 0 24px 55px rgba(37, 96, 230, 0.2);
}

.home-hero__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -2.2vw -2.5vw auto auto;
    width: 20vw;
    height: 20vw;
    border-radius: 50%;
    background: rgba(62, 159, 255, 0.14);
}

.home-hero__card {
    position: absolute;
    left: 1.6vw;
    bottom: 1.6vw;
    width: clamp(230px, 19vw, 330px);
    padding: clamp(18px, 1.25vw, 26px);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(229,244,255,0.92));
    box-shadow: 0 22px 52px rgba(37, 96, 230, 0.28);
    border: 1px solid rgba(62, 159, 255, 0.22);
}

.home-hero__card strong {
    display: block;
    color: #2b6ab4;
    font-family: SourceSansBold;
    font-size: clamp(38px, 3.1vw, 58px);
    line-height: 0.95;
    margin: 0.15vw 0 0.5vw;
}

.home-hero__card span {
    display: block;
    color: #617085;
    font-family: SourceSansRegular;
    font-size: clamp(14px, 0.9vw, 17px);
    line-height: 1.35;
}

.home-hero__card .home-speed-label {
    color: #3e9fff;
    font-family: SourceSansBold;
    font-size: clamp(12px, 0.76vw, 14px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-section {
    margin-bottom: 4.6vw;
}

#sluzby,
#predajna,
#kontakty_card {
    scroll-margin-top: 190px;
}

.home-section__head {
    max-width: 52vw;
    margin-bottom: 2.1vw;
}

.home-section h2,
.home-store h2,
.home-contact h2 {
    font-size: clamp(30px, 2.45vw, 48px);
    line-height: 1.12;
}

.home-section__head p,
.home-store p,
.home-contact__head p {
    margin-top: 1vw;
    font-size: 1.03vw;
    line-height: 1.7;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25vw;
}

.home-service-card {
    min-height: 24vw;
    overflow: hidden;
    border: 1px solid rgba(62, 159, 255, 0.14);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(62, 159, 255, 0.13);
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(62, 159, 255, 0.2);
}

.home-service-card img {
    height: 10.5vw;
}

.home-service-card > div {
    padding: 1.25vw;
}

.home-service-card--wide {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: auto;
}

.home-service-card--wide img {
    height: 100%;
    min-height: 17vw;
}

.home-service-icon {
    display: inline-flex;
    width: 2.7vw;
    height: 2.7vw;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #3e9fff, #1678ed);
    color: #fff;
    font-size: 1vw;
    box-shadow: 0 14px 28px rgba(62, 159, 255, 0.28);
}

.home-service-card h3 {
    margin: 1vw 0 0.55vw;
    color: #2b6ab4;
    font-family: SourceSansBold;
    font-size: 1.3vw;
}

.home-service-card p {
    min-height: 4.1vw;
    margin: 0;
    font-size: 0.96vw;
    line-height: 1.5;
}

.home-service-card a {
    display: inline-flex;
    align-items: center;
    margin-top: 1vw;
    color: #3e9fff;
    font-family: SourceSansBold;
    text-decoration: none;
}

.home-service-card a:hover {
    color: #2b6ab4;
    text-decoration: none;
}

.home-news {
    padding: 3vw;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 20px 55px rgba(62, 159, 255, 0.12);
}

.home-news__head {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2vw;
}

.home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6vw;
    min-height: 3vw;
    padding: 0 1vw;
    border-radius: 13px;
    background: #fff;
    color: #2b6ab4;
    font-family: SourceSansBold;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(62, 159, 255, 0.12);
    white-space: nowrap;
}

.home-section-link:hover {
    color: #1581ed;
    text-decoration: none;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15vw;
}

.home-news-grid--count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.home-news-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-news-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-news-card {
    min-height: 16vw;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(62, 159, 255, 0.16);
}

.home-news-card--featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 33.15vw;
}

.home-news-grid--count-1 .home-news-card--featured {
    min-height: 28vw;
    grid-column: auto;
    grid-row: auto;
}

.home-news-card a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.home-news-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    transition: transform 0.25s ease;
}

.home-news-card:hover img {
    transform: scale(1.04);
}

.home-news-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 44, 67, 0.08) 0%, rgba(21, 44, 67, 0.78) 100%);
}

.home-news-card__content {
    position: absolute;
    left: 1.35vw;
    right: 1.35vw;
    bottom: 1.15vw;
    z-index: 2;
}

.home-news-card h3 {
    margin: 0 0 0.55vw;
    color: #fff;
    font-family: SourceSansBold;
    font-size: 1.17vw;
    line-height: 1.2;
}

.home-news-card--featured h3 {
    font-size: 1.7vw;
}

.home-news-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: SourceSansBold;
    font-size: 0.78vw;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-news-empty {
    padding: 3vw;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 14px 34px rgba(62, 159, 255, 0.12);
}

.home-news-empty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4vw;
    height: 4vw;
    border-radius: 18px;
    background: linear-gradient(145deg, #3e9fff, #1678ed);
    color: #fff;
    font-size: 1.55vw;
}

.home-news-empty h3 {
    margin: 1vw 0 0.4vw;
    color: #2b6ab4;
    font-family: SourceSansBold;
    font-size: 1.4vw;
}

.home-news-empty p {
    max-width: 36vw;
    margin: 0 auto;
    font-size: 1vw;
    line-height: 1.55;
}

.home-store {
    display: grid;
    grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
    gap: 2vw;
    align-items: center;
    margin-bottom: 4.6vw;
}

.home-store__content {
    padding: 2.2vw;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 55px rgba(62, 159, 255, 0.12);
}

.home-store__list {
    display: grid;
    gap: 0.8vw;
    margin-top: 1.5vw;
}

.home-store__list div {
    display: flex;
    gap: 0.8vw;
    align-items: flex-start;
    padding: 1vw;
    border-radius: 14px;
    background: #fff;
    color: #43516a;
    font-family: SourceSansRegular;
    box-shadow: 0 10px 24px rgba(62, 159, 255, 0.1);
}

.home-store__list i,
.home-store__list .home-list-icon {
    color: #3e9fff;
    margin-top: 0.15vw;
}

.home-store__media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1vw;
    align-items: stretch;
}

.home-store__media img {
    height: 22vw;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(37, 96, 230, 0.18);
    overflow: hidden;
    object-position: center 45%;
}

.home-map {
    height: 13vw;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(37, 96, 230, 0.18);
    overflow: hidden;
}

.home-map iframe {
    display: block;
}

.home-contact {
    margin-bottom: 5.5vw;
    padding: 3.2vw;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #dff0ff 100%);
    box-shadow: 0 20px 48px rgba(62, 159, 255, 0.17);
}

.home-contact__head {
    max-width: 58vw;
    margin-bottom: 2.2vw;
}

.home-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
    gap: 1.15vw;
    align-items: stretch;
}

.home-contact-card {
    padding: 1.45vw;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(62, 159, 255, 0.12);
    box-shadow: 0 14px 34px rgba(62, 159, 255, 0.1);
}

.home-contact-card--main {
    background: rgba(255, 255, 255, 0.97);
}

.home-contact-card__title {
    display: flex;
    align-items: flex-start;
    gap: 0.9vw;
    margin-bottom: 1.1vw;
}

.home-contact-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7vw;
    height: 2.7vw;
    border-radius: 14px;
    background: #eef7ff;
    border: 1px solid rgba(62, 159, 255, 0.2);
    color: #2b6ab4;
    font-size: 1vw;
    box-shadow: 0 8px 18px rgba(62, 159, 255, 0.12);
}

.home-contact-icon svg {
    width: 1.15vw;
    height: 1.15vw;
    fill: currentColor;
}

.home-contact-icon svg[fill="none"] {
    fill: none;
}

.home-contact-card--main .home-contact-icon {
    background: linear-gradient(145deg, #3e9fff, #1678ed);
    color: #fff;
    border: none;
    box-shadow: 0 14px 28px rgba(62, 159, 255, 0.28);
}

.home-contact-card h3 {
    margin: 0 0 0.35vw;
    color: #2b6ab4;
    font-family: SourceSansBold;
    font-size: 1.18vw;
}

.home-contact-card p {
    margin: 0 0 1vw;
    font-size: 0.95vw;
    line-height: 1.5;
}

.home-contact-card strong,
.home-contact-card a {
    display: block;
    margin-top: 0.35vw;
    color: #30334f;
    font-family: SourceSansBold;
    font-size: 1vw;
    text-decoration: none;
}

.home-contact-card p strong {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.home-contact-card--main strong {
    margin-top: 0;
    color: #30334f;
    font-size: 1.28vw;
    line-height: 1.1;
}

.home-phone-list {
    display: grid;
    gap: 0.75vw;
    margin-top: 1vw;
}

.home-phone-list div,
.home-email-list div,
.home-hours-list p {
    margin: 0;
    padding: 0.9vw 1vw;
    border-radius: 14px;
    background: #f4f9ff;
    border: 1px solid rgba(62, 159, 255, 0.12);
}

.home-phone-list span {
    display: block;
    margin-bottom: 0.3vw;
    color: #617085;
    font-family: SourceSansRegular;
    font-size: 0.82vw;
}

.home-hours-list {
    display: grid;
    gap: 0.75vw;
}

.home-email-list {
    display: grid;
    gap: 0.75vw;
    margin-top: 0;
}

.home-email-list a {
    margin-top: 0;
    color: #2b6ab4;
    font-size: 1.02vw;
}

.home-email-list span {
    display: block;
    margin-top: 0.25vw;
    color: #617085;
    font-family: SourceSansRegular;
    font-size: 0.9vw;
    line-height: 1.35;
}

.home-contact-card a:hover {
    color: #3e9fff;
    text-decoration: none;
}

.home-contact-card small {
    display: block;
    margin-top: 0.9vw;
    font-size: 0.82vw;
    line-height: 1.4;
}

.downdiv {
    height: 1vw;
}

@media (max-width: 991px) {
    .home-page {
        margin-top: 18vw;
    }

    .home-hero,
    .home-section,
    .home-store,
    .home-contact {
        width: calc(100% - 36px);
    }

    .home-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding: 26px;
    }

    .home-hero h1 {
        max-width: none;
        font-size: 42px;
    }

    .home-lead,
    .home-section__head,
    .home-contact__head {
        max-width: none;
    }

    .home-lead,
    .home-section__head p,
    .home-store p,
    .home-contact__head p {
        font-size: 17px;
        line-height: 1.65;
    }

    .home-eyebrow {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .home-hero__actions {
        gap: 12px;
        margin-top: 24px;
    }

    .home-primary-btn,
    .home-secondary-btn {
        width: auto;
        min-width: 0;
        height: 52px;
        font-size: 13px;
        padding: 0 18px;
    }

    .home-hero__visual img {
        height: auto;
        max-height: 430px;
    }

    .home-hero__card {
        left: 18px;
        bottom: 18px;
        width: min(270px, calc(100% - 36px));
        padding: 16px;
    }

    .home-hero__card strong {
        font-size: 42px;
    }

    .home-hero__card span {
        font-size: 14px;
    }

    .home-section h2,
    .home-store h2,
    .home-contact h2 {
        font-size: 32px;
    }

    .home-service-grid,
    .home-news-grid,
    .home-contact-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .home-contact-card--main {
        grid-column: span 2;
    }

    .home-service-card,
    .home-service-card--wide {
        display: block;
        grid-column: auto;
        min-height: auto;
    }

    .home-service-card img,
    .home-service-card--wide img {
        height: 210px;
        min-height: 0;
    }

    .home-service-card > div,
    .home-contact-card {
        padding: 20px;
    }

    .home-service-icon,
    .home-contact-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .home-contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .home-service-card h3,
    .home-contact-card h3 {
        font-size: 20px;
        margin-top: 14px;
    }

    .home-service-card p,
    .home-contact-card p,
    .home-contact-card strong,
    .home-contact-card a,
    .home-contact-card small,
    .home-email-list a,
    .home-email-list span,
    .home-phone-list span {
        min-height: 0;
        font-size: 16px;
    }

    .home-news {
        padding: 22px;
    }

    .home-news__head {
        display: block;
    }

    .home-section-link {
        margin-top: 16px;
        min-height: 48px;
        padding: 0 14px;
        gap: 10px;
    }

    .home-news-card,
    .home-news-card--featured,
    .home-news-grid--count-1 .home-news-card--featured {
        grid-column: auto;
        grid-row: auto;
        min-height: 260px;
    }

    .home-news-card__content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .home-news-card h3,
    .home-news-card--featured h3 {
        font-size: 21px;
    }

    .home-news-card p {
        font-size: 13px;
    }

    .home-news-empty span {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .home-news-empty h3 {
        font-size: 23px;
    }

    .home-news-empty p {
        max-width: none;
        font-size: 16px;
    }

    .home-store {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-store__content,
    .home-contact {
        padding: 24px;
    }

    .home-store__list {
        gap: 10px;
    }

    .home-store__list div {
        padding: 14px;
        gap: 12px;
    }

    .home-store__media {
        grid-template-columns: 1fr;
    }

    .home-store__media img {
        height: 320px;
    }

    .home-map {
        height: 260px;
    }
}

@media (max-width: 575px) {
    .home-page {
        margin-top: 22vw;
    }

    .home-hero,
    .home-section,
    .home-store,
    .home-contact {
        width: calc(100% - 28px);
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-primary-btn,
    .home-secondary-btn {
        width: 100%;
    }

    .home-service-grid,
    .home-news-grid,
    .home-contact-layout,
    .home-store__media {
        grid-template-columns: 1fr;
    }

    .home-contact-card--main {
        grid-column: auto;
    }

    .home-hero {
        padding: 22px;
        grid-template-columns: 1fr;
    }

    #sluzby,
    #predajna,
    #kontakty_card {
        scroll-margin-top: 105px;
    }

    .home-hero__visual img,
    .home-service-card,
    .home-news,
    .home-news-card,
    .home-store__content,
    .home-store__media img,
    .home-map,
    .home-contact {
        border-radius: 18px;
    }

    .home-section h2,
    .home-store h2,
    .home-contact h2 {
        font-size: 28px;
    }

    .home-news-card,
    .home-news-card--featured,
    .home-news-grid--count-1 .home-news-card--featured {
        min-height: 235px;
    }

    .home-store__media img {
        height: 250px;
    }

    .home-map {
        height: 230px;
    }
}
