/* ==========================================================================
   Šišmiš – doplňkové efekty webu (patička, lightbox galerie)
   ========================================================================== */

:root {
    --sm-accent: #fd6b1c;
    --sm-navy: #001c2e;
    --sm-ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Patička: odkazy v seznamech --------------------------------------- */
.page-footer .uk-list-disc li { position: relative; }
.page-footer .uk-list-disc li:before { transition: color .3s, transform .3s var(--sm-ease); transform-origin: center; }
.page-footer .uk-list-disc li:hover:before { color: var(--sm-accent); transform: scale(1.5); }
.page-footer .uk-list-disc li a {
    display: inline-block;
    line-height: 1.45;
    padding: 6px 0 4px;
    background-image: linear-gradient(var(--sm-accent), var(--sm-accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: color .3s, background-size .35s var(--sm-ease), transform .3s var(--sm-ease);
}
.page-footer .uk-list-disc li a:hover,
.page-footer .uk-list-disc li a:focus-visible {
    color: #fff;
    background-size: 100% 2px;
    transform: translateX(6px);
    text-decoration: none;
}
.page-footer .uk-list-disc li a:focus-visible {
    color: #fff;
    background-size: 100% 2px;
    padding-left: 6px;
    text-decoration: none;
}
.page-footer .uk-list-disc li a:focus-visible { outline: 2px solid var(--sm-accent); outline-offset: 3px; }

/* --- Patička: nadpisy sloupců – linka se při najetí na sloupec prodlouží -- */
.page-footer .uk-h5:after { transform-origin: 0 50%; transition: transform .45s var(--sm-ease); }
.page-footer-top .uk-grid > div:hover .uk-h5:after { transform: scaleX(2); }

/* --- Patička: logo ------------------------------------------------------ */
.page-footer .logo__link { display: inline-block; transition: transform .4s var(--sm-ease), filter .4s; }
.page-footer .logo__link:hover { transform: translateY(-3px); filter: drop-shadow(0 8px 18px rgba(253, 107, 28, .35)); }

/* --- Patička: On-line objednání ----------------------------------------- */
.page-footer .block-with-icon__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: background-color .35s, transform .35s var(--sm-ease);
}
.page-footer .block-with-icon__icon:after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--sm-accent);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .35s, transform .35s var(--sm-ease);
}
.page-footer .block-with-icon__icon img { transition: transform .35s var(--sm-ease), filter .35s; }
.page-footer .block-with-icon__value { position: relative; display: inline-block; transition: color .3s, transform .35s var(--sm-ease); }
.page-footer .block-with-icon__value:after {
    content: '→';
    position: absolute;
    left: 100%;
    bottom: 0;
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .3s, transform .35s var(--sm-ease);
}
.page-footer .block-with-icon__link:hover .block-with-icon__icon,
.page-footer .block-with-icon__link:focus-visible .block-with-icon__icon { background-color: var(--sm-accent); transform: rotate(-8deg); }
.page-footer .block-with-icon__link:hover .block-with-icon__icon:after,
.page-footer .block-with-icon__link:focus-visible .block-with-icon__icon:after { opacity: 1; transform: scale(1); animation: smPing 1.6s var(--sm-ease) .35s infinite; }
.page-footer .block-with-icon__link:hover .block-with-icon__icon img,
.page-footer .block-with-icon__link:focus-visible .block-with-icon__icon img { transform: scale(.72) rotate(8deg); filter: brightness(0) invert(1); }
.page-footer .block-with-icon__link:hover .block-with-icon__value,
.page-footer .block-with-icon__link:focus-visible .block-with-icon__value { color: #fff; transform: translateX(4px); }
.page-footer .block-with-icon__link:hover .block-with-icon__value:after,
.page-footer .block-with-icon__link:focus-visible .block-with-icon__value:after { opacity: 1; transform: translateX(0); color: var(--sm-accent); }
@keyframes smPing { 0% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.35); } }

/* --- Kontakty: patička, stránka Kontakty a postranní widget kontaktů ------ */
.page-footer .contacts-list-item__icon,
.widjet-contacts .contacts-list-item__icon { transition: transform .4s var(--sm-ease), color .3s; }
.page-footer .contacts-list-item__icon svg,
.page-footer .contacts-list-item__icon svg *,
.widjet-contacts .contacts-list-item__icon svg,
.widjet-contacts .contacts-list-item__icon svg * { transition: stroke .3s, fill .3s; }
.page-footer .contacts-list-item:hover .contacts-list-item__icon,
.widjet-contacts .contacts-list-item:hover .contacts-list-item__icon { transform: scale(1.12) rotate(-6deg); color: var(--sm-accent); }
.page-footer .contacts-list-item:hover .contacts-list-item__icon .cls-1,
.widjet-contacts .contacts-list-item:hover .contacts-list-item__icon .cls-1 { stroke: var(--sm-accent); }
.page-footer .contacts-list-item__label,
.widjet-contacts .contacts-list-item__label { transition: color .3s; }
.page-footer .contacts-list-item:hover .contacts-list-item__label { color: #bdbdbd; }
.widjet-contacts .contacts-list-item:hover .contacts-list-item__label { color: rgba(255, 255, 255, .72); }
.page-footer .contacts-list-item__content a,
.widjet-contacts .contacts-list-item__content a {
    background-image: linear-gradient(var(--sm-accent), var(--sm-accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    padding-bottom: 2px;
    transition: color .3s, background-size .35s var(--sm-ease);
}
.page-footer .contacts-list-item__content a:hover,
.page-footer .contacts-list-item__content a:focus-visible,
.widjet-contacts .contacts-list-item__content a:hover,
.widjet-contacts .contacts-list-item__content a:focus-visible { background-size: 100% 2px; }
@media (prefers-reduced-motion: reduce) {
    .page-footer .contacts-list-item:hover .contacts-list-item__icon,
    .widjet-contacts .contacts-list-item:hover .contacts-list-item__icon { transform: none; }
}

/* --- Patička: spodní lišta ---------------------------------------------- */
.page-footer .page-footer-bottom a {
    background-image: linear-gradient(var(--sm-accent), var(--sm-accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: color .3s, background-size .35s var(--sm-ease);
}
.page-footer .page-footer-bottom a:hover,
.page-footer .page-footer-bottom a:focus-visible { background-size: 100% 1px; }

/* --- Galerie na úvodní stránce ------------------------------------------ */
.section-projects .project-item { border-radius: 4px; }
.section-projects .project-item img { transition: transform .6s var(--sm-ease); }
.section-projects .project-item:hover img { transform: scale(1.06); }
.section-projects .project-item a { cursor: zoom-in; }

/* --- Lightbox (UIkit) ---------------------------------------------------- */
.uk-lightbox { background: rgba(0, 18, 30, .95); }
.uk-lightbox-items > * > img { border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.uk-lightbox .uk-lightbox-toolbar { background: transparent; color: #fff; }
.uk-lightbox .uk-lightbox-toolbar:not(.uk-lightbox-caption) { padding: 18px 20px; }
.uk-lightbox .uk-lightbox-caption { padding: 16px 20px 24px; font-size: 15px; background: linear-gradient(transparent, rgba(0, 18, 30, .85)); }
.uk-lightbox .uk-lightbox-caption:empty { display: none; }
.uk-lightbox .uk-close { color: #fff; opacity: .85; transition: opacity .2s, transform .3s var(--sm-ease); }
.uk-lightbox .uk-close:hover { opacity: 1; transform: rotate(90deg); color: var(--sm-accent); }
.uk-lightbox .uk-slidenav {
    width: 52px;
    height: 52px;
    margin: 0 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background-color .25s, transform .25s var(--sm-ease);
}
.uk-lightbox .uk-slidenav:hover { background: var(--sm-accent); color: #fff; transform: scale(1.08); }
.uk-lightbox .uk-slidenav svg { width: 12px; height: auto; }
.sm-lb-counter {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
.sm-lb-counter b { color: var(--sm-accent); }
.sm-lb-thumbs {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 1;
    display: flex;
    gap: 8px;
    max-width: calc(100% - 40px);
    padding: 6px;
    overflow-x: auto;
    transform: translateX(-50%);
    scrollbar-width: none;
}
.sm-lb-thumbs::-webkit-scrollbar { display: none; }
.sm-lb-thumbs button {
    flex: 0 0 64px;
    width: 64px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #0b2a3f;
    cursor: pointer;
    opacity: .5;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: opacity .2s, outline-color .2s, transform .2s var(--sm-ease);
}
.sm-lb-thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.sm-lb-thumbs button.is-active { opacity: 1; outline-color: var(--sm-accent); }
.sm-lb-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uk-lightbox.sm-has-thumbs .uk-lightbox-caption { bottom: 74px; }
.uk-lightbox.sm-has-thumbs .uk-lightbox-items > * > img { max-height: calc(100vh - 150px); }
@media (max-width: 640px) {
    .sm-lb-thumbs { display: none; }
    .uk-lightbox.sm-has-thumbs .uk-lightbox-caption { bottom: 0; }
    .uk-lightbox .uk-slidenav { width: 42px; height: 42px; margin: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .page-footer *, .page-footer *:before, .page-footer *:after, .section-projects .project-item img, .uk-lightbox * { transition: none !important; animation: none !important; }
}

/* --- Drobečkové menu v záhlaví stránek ---------------------------------- */
.section-first-screen__breadcrumb .uk-breadcrumb > * > a[href] {
    position: relative;
    display: inline-block;
    padding: 4px 2px;
    color: #fff;
    text-decoration: none;
    transition: color .3s, transform .3s var(--sm-ease);
}
.section-first-screen__breadcrumb .uk-breadcrumb > * > a[href]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--sm-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s var(--sm-ease);
}
.section-first-screen__breadcrumb .uk-breadcrumb > * > a[href]:hover,
.section-first-screen__breadcrumb .uk-breadcrumb > * > a[href]:focus-visible {
    color: var(--sm-accent);
    transform: translateY(-2px);
    outline: none;
}
.section-first-screen__breadcrumb .uk-breadcrumb > * > a[href]:hover::after,
.section-first-screen__breadcrumb .uk-breadcrumb > * > a[href]:focus-visible::after { transform: scaleX(1); }
.section-first-screen__breadcrumb .uk-breadcrumb > :last-child > span { opacity: .75; }
.section-first-screen__breadcrumb .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before { color: rgba(255, 255, 255, .45); transition: color .3s; }
@media (prefers-reduced-motion: reduce) {
    .section-first-screen__breadcrumb .uk-breadcrumb > * > a[href],
    .section-first-screen__breadcrumb .uk-breadcrumb > * > a[href]::after { transition: none; }
    .section-first-screen__breadcrumb .uk-breadcrumb > * > a[href]:hover { transform: none; }
}

/* --- Detail článku: předchozí / další článek ------------------------------ */
.article-full__image img { display: block; width: 100%; height: auto; }
.article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e7ea;
}
.article-nav__item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 116px;
    padding: 18px 20px;
    border: 1px solid #e5e7ea;
    border-radius: 6px;
    background: #fff;
    color: var(--sm-navy);
    text-decoration: none;
    transition: border-color .3s, box-shadow .35s var(--sm-ease), transform .35s var(--sm-ease);
}
.article-nav__item--next { justify-content: flex-end; text-align: right; }
.article-nav__item:hover,
.article-nav__item:focus-visible {
    color: var(--sm-navy);
    text-decoration: none;
    border-color: var(--sm-accent);
    box-shadow: 0 14px 32px rgba(0, 28, 46, .12);
    transform: translateY(-4px);
    outline: none;
}
.article-nav__arrow {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f3f5;
    color: var(--sm-navy);
    transition: background-color .3s, color .3s, transform .35s var(--sm-ease);
}
.article-nav__item:hover .article-nav__arrow,
.article-nav__item:focus-visible .article-nav__arrow { background: var(--sm-accent); color: #fff; }
.article-nav__item--prev:hover .article-nav__arrow { transform: translateX(-5px); }
.article-nav__item--next:hover .article-nav__arrow { transform: translateX(5px); }
.article-nav__media {
    flex: 0 0 96px;
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 4px;
    background: #f1f3f5;
}
.article-nav__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sm-ease); }
.article-nav__item:hover .article-nav__media img { transform: scale(1.08); }
.article-nav__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.article-nav__label { color: var(--sm-accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-nav__title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.article-nav__date { color: #8a8f98; font-size: 14px; }
.article-nav__back { margin-top: 26px; text-align: center; }
.article-nav__back a {
    display: inline-block;
    padding-bottom: 2px;
    color: var(--sm-navy);
    font-weight: 600;
    text-decoration: none;
    background-image: linear-gradient(var(--sm-accent), var(--sm-accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: color .3s, background-size .35s var(--sm-ease);
}
.article-nav__back a:hover,
.article-nav__back a:focus-visible { color: var(--sm-accent); background-size: 100% 2px; }
@media (max-width: 767px) {
    .article-nav { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; padding-top: 28px; }
    .article-nav__spacer { display: none; }
    .article-nav__item { min-height: 0; padding: 14px; gap: 14px; }
    .article-nav__media { flex-basis: 72px; width: 72px; height: 56px; }
    .article-nav__title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .article-nav__item, .article-nav__arrow, .article-nav__media img { transition: none; }
    .article-nav__item:hover, .article-nav__item:hover .article-nav__arrow, .article-nav__item:hover .article-nav__media img { transform: none; }
}

/* ==========================================================================
   O nás (šablona „sismis“) – obsah z editoru a widgetů stránky
   ========================================================================== */
.onas-story { overflow: hidden; }
.onas-story__media { position: relative; margin: 0; padding: 0 0 34px 34px; }
.onas-story__media::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62%;
    height: 72%;
    border-radius: 6px;
    background: var(--sm-accent);
    opacity: .14;
}
.onas-story__media img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 28, 46, .18); }
.onas-story__play {
    position: absolute;
    left: 0;
    bottom: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 22px 10px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--sm-navy);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 28, 46, .2);
    transition: transform .35s var(--sm-ease), box-shadow .35s var(--sm-ease);
}
.onas-story__play span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sm-accent); color: #fff; }
.onas-story__play span svg { margin-left: 3px; }
.onas-story__play span::after { content: ''; position: absolute; left: 10px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--sm-accent); animation: smPing 2.2s ease-out infinite; }
.onas-story__play em { font-style: normal; }
.onas-story__play:hover, .onas-story__play:focus-visible { color: var(--sm-navy); text-decoration: none; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 28, 46, .26); }
.onas-story__eyebrow { color: #888; font-size: 18px; }
.onas-story__text h2, .onas-story__text h3 { margin: 4px 0 0; font-size: 38px; line-height: 1.25; }
.onas-story__text h2::after, .onas-story__text h3::after {
    display: block;
    width: 64px;
    height: 8px;
    margin: 22px 0 26px;
    background-image: url(../img/decor-double-line-accent.svg);
    content: '';
}
.onas-story__text p { color: #555; font-size: 18px; line-height: 1.7; }
.onas-story__text ul { margin: 22px 0 0; padding: 0; list-style: none; }
.onas-story__text ul li { position: relative; padding: 9px 0 9px 38px; color: #333; font-size: 17px; line-height: 1.45; border-top: 1px solid #edf0f2; }
.onas-story__text ul li:first-child { border-top: 0; }
.onas-story__text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sm-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.onas-story__text a { color: #013e64; }
.onas-story__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.onas-story__call { display: flex; align-items: center; gap: 12px; color: var(--sm-navy); text-decoration: none; }
.onas-story__call small { display: block; color: #888; font-size: 14px; line-height: 1.2; }
.onas-story__call b { font-size: 22px; line-height: 1.2; transition: color .3s; }
.onas-story__call-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #eef2f5; color: #013e64; transition: background-color .3s, color .3s, transform .4s var(--sm-ease); }
.onas-story__call:hover, .onas-story__call:focus-visible { color: var(--sm-navy); text-decoration: none; }
.onas-story__call:hover b { color: var(--sm-accent); }
.onas-story__call:hover .onas-story__call-icon { background: var(--sm-accent); color: #fff; transform: rotate(-12deg) scale(1.06); }

/* čísla a fakta – v pásu „section-stats“ z motivu webu */
.onas-facts .section-stats__shape { padding: 80px 0 150px; }
.onas-facts__list ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.onas-facts__list li { position: relative; padding: 0 0 0 22px; color: rgba(255, 255, 255, .82); font-size: 17px; line-height: 1.45; border-left: 2px solid rgba(255, 255, 255, .18); transition: border-color .35s; }
.onas-facts__list li:hover { border-color: var(--sm-accent); }
.onas-facts__list li strong, .onas-facts__list li b { display: block; margin-bottom: 6px; color: #fff; font-size: 44px; font-weight: 700; line-height: 1.05; }
.onas-facts__list li:nth-child(odd) strong, .onas-facts__list li:nth-child(odd) b { color: var(--sm-accent); }
.onas-facts__list p { margin: 0; color: #fff; }

/* proč my + fotky */
.onas-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.onas-mosaic > * { margin: 0 !important; overflow: hidden; border-radius: 6px; background: #eef2f5; }
.onas-mosaic > :first-child { grid-row: span 2; }
.onas-mosaic > :nth-child(4):last-child { grid-column: span 2; }
.onas-mosaic img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .7s var(--sm-ease); }
.onas-mosaic > :hover img { transform: scale(1.06); }
.onas-why__text h2, .onas-why__text h3 { margin: 0; font-size: 38px; line-height: 1.25; }
.onas-why__text h2::after, .onas-why__text h3::after {
    display: block;
    width: 64px;
    height: 8px;
    margin: 22px 0 30px;
    background-image: url(../img/decor-double-line-accent.svg);
    content: '';
}
.onas-why__text ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: why; }
.onas-why__text li {
    position: relative;
    padding: 16px 18px 16px 64px;
    border: 1px solid #e5e9ed;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 17px;
    line-height: 1.45;
    counter-increment: why;
    transition: border-color .3s, box-shadow .35s var(--sm-ease), transform .35s var(--sm-ease);
}
.onas-why__text li::before {
    content: counter(why, decimal-leading-zero);
    position: absolute;
    left: 16px;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: 50%;
    background: #eef2f5;
    color: #013e64;
    font-size: 13px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    transition: background-color .3s, color .3s;
}
.onas-why__text li:hover { border-color: var(--sm-accent); box-shadow: 0 12px 28px rgba(0, 28, 46, .09); transform: translateX(4px); }
.onas-why__text li:hover::before { background: var(--sm-accent); color: #fff; }

/* služby */
.onas-services { background: #f2f5f7; }
.onas-service { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 6px; background: #fff; color: var(--sm-navy); text-decoration: none; box-shadow: 0 6px 20px rgba(0, 28, 46, .06); transition: box-shadow .35s var(--sm-ease), transform .35s var(--sm-ease); }
.onas-service:hover, .onas-service:focus-visible { color: var(--sm-navy); text-decoration: none; transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0, 28, 46, .16); }
.onas-service__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dde3e8; }
.onas-service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sm-ease); }
.onas-service:hover .onas-service__media img { transform: scale(1.07); }
.onas-service__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 24px 26px 26px; border-top: 3px solid transparent; transition: border-color .35s; }
.onas-service:hover .onas-service__body { border-top-color: var(--sm-accent); }
.onas-service__title { font-size: 22px; font-weight: 700; line-height: 1.25; }
.onas-service__text { flex: 1; color: #666; font-size: 16px; line-height: 1.55; }
.onas-service__more { display: inline-flex; align-items: center; gap: 8px; color: var(--sm-accent); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.onas-service__more svg { transition: transform .35s var(--sm-ease); }
.onas-service:hover .onas-service__more svg { transform: translateX(6px); }

/* navštivte nás */
.onas-visit__box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); overflow: hidden; border-radius: 6px; background: #013e64; color: #fff; box-shadow: 0 24px 50px rgba(0, 28, 46, .18); }
.onas-visit__info { padding: 60px 56px; }
.onas-visit__info .section-title { margin-bottom: 30px; }
.onas-visit__info .section-title span { color: rgba(255, 255, 255, .6); }
.onas-visit__info .section-title .uk-h2 { color: #fff; }
.onas-visit__info .section-title::after { margin-top: 20px; }
.onas-visit__list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.onas-visit__list li { display: flex; align-items: flex-start; gap: 16px; font-size: 17px; line-height: 1.5; }
.onas-visit__list small { display: block; color: rgba(255, 255, 255, .6); font-size: 14px; }
.onas-visit__list a {
    color: #fff;
    font-weight: 600;
    background-image: linear-gradient(var(--sm-accent), var(--sm-accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: color .3s, background-size .35s var(--sm-ease);
}
.onas-visit__list a:hover, .onas-visit__list a:focus-visible { color: #fff; text-decoration: none; background-size: 100% 2px; }
.onas-visit__icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--sm-accent); transition: background-color .3s, color .3s, transform .4s var(--sm-ease); }
.onas-visit__list li:hover .onas-visit__icon { background: var(--sm-accent); color: #fff; transform: scale(1.08) rotate(-6deg); }
.onas-visit__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.onas-visit__actions .uk-button-default { border-color: rgba(255, 255, 255, .45); color: #fff; }
.onas-visit__actions .uk-button-default:hover { border-color: #fff; background: #fff; color: #013e64; }
.onas-visit__map { min-height: 420px; }
.onas-visit__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.85); }

@media (max-width: 1199px) {
    .onas-facts__list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
    .onas-story__text h2, .onas-story__text h3, .onas-why__text h2, .onas-why__text h3 { font-size: 30px; }
    .onas-visit__box { grid-template-columns: 1fr; }
    .onas-visit__info { padding: 40px 28px; }
    .onas-visit__map, .onas-visit__map iframe { min-height: 320px; }
}
@media (max-width: 639px) {
    .onas-story__media { padding: 0 0 22px 22px; }
    .onas-story__play { bottom: 40px; padding-right: 16px; }
    .onas-story__play em { display: none; }
    .onas-facts__list ul { grid-template-columns: 1fr 1fr; gap: 22px; }
    .onas-facts__list li strong, .onas-facts__list li b { font-size: 32px; }
    .onas-mosaic { grid-auto-rows: 150px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .onas-story__play span::after { animation: none; }
    .onas-service, .onas-service__media img, .onas-why__text li, .onas-mosaic img { transition: none; }
}
.onas-visit.uk-section-large { padding-top: 90px; }
.onas-visit__map { background: #dde3e8; }

/* --- Přehled služeb (šablona Pneuservis) --------------------------------- */
.service-intro:empty { display: none; }
.service-intro { margin-bottom: 50px; }
.service-item-list__title .uk-h3 { margin: 0; }
.service-item-list__title .uk-h3 a { color: inherit; text-decoration: none; transition: color .3s; }
.service-item-list__title .uk-h3 a:hover { color: var(--sm-accent); }
.service-item-list__body p .uk-button { margin: 14px 12px 0 0; }
.service-item-list__media { overflow: hidden; }
.service-item-list__media img { transition: transform .7s var(--sm-ease); }
.service-item-list__media a:hover img { transform: scale(1.05); }

/* --- Úvodní stránka: obsah z editoru ------------------------------------- */
.home-about-text ul { display: block; margin: 20px 0 0; padding: 0; list-style: none; }
.home-about-text ul li { position: relative; padding: 7px 0 7px 30px; color: #555; font-size: 16px; line-height: 1.2; }
.home-about-text ul li::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23013e64' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 48c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56m140.2 130.3-22.5-22.7c-4.7-4.7-12.3-4.7-17-.1L215.3 303.7l-59.8-60.3c-4.7-4.7-12.3-4.7-17-.1l-22.7 22.5c-4.7 4.7-4.7 12.3-.1 17l90.8 91.5c4.7 4.7 12.3 4.7 17 .1l172.6-171.2c4.7-4.7 4.7-12.3.1-17z'/%3E%3C/svg%3E") center / cover no-repeat;
}
.home-price-body p .uk-button { margin: 14px 12px 0 0; }
.step-item__text { margin-top: 8px; color: #666; font-size: 16px; }

/* --- Děkujeme ------------------------------------------------------------- */
.thanks-box { max-width: 760px; margin: 0 auto; padding: 56px 48px; border-radius: 6px; background: #fff; text-align: center; box-shadow: 0 5px 24px 6px rgba(0, 0, 0, .06); }
.thanks-box__icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; background: var(--sm-accent); color: #fff; box-shadow: 0 0 0 10px rgba(253, 107, 28, .14); }
.thanks-box__text h1, .thanks-box__text h2 { margin: 0 0 14px; font-size: 34px; }
.thanks-box__text p { color: #555; font-size: 18px; }
.thanks-box__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
@media (max-width: 639px) { .thanks-box { padding: 40px 22px; } .thanks-box__text h1, .thanks-box__text h2 { font-size: 26px; } }

/* --- Výpis novinek ---------------------------------------------------------- */
.news-intro:empty { display: none; }
.news-intro { margin-bottom: 40px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 28, 46, .07);
    transition: box-shadow .4s var(--sm-ease), transform .4s var(--sm-ease);
}
.news-card:hover, .news-card:focus-within { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0, 28, 46, .16); }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dde3e8; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sm-ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 28, 46, .35)); }
.news-card__category {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--sm-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}
.news-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 28px; border-top: 3px solid transparent; transition: border-color .4s; }
.news-card:hover .news-card__body { border-top-color: var(--sm-accent); }
.news-card__date { display: inline-flex; align-items: center; gap: 8px; color: #8a8f98; font-size: 15px; }
.news-card__date svg { color: var(--sm-accent); }
.news-card__title { margin: 12px 0 12px; font-size: 24px; line-height: 1.25; }
.news-card__title a { color: var(--sm-navy); text-decoration: none; transition: color .3s; }
.news-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 2; } /* celá karta je klikací */
.news-card:hover .news-card__title a { color: var(--sm-accent); }
.news-card__title a:focus-visible { outline: none; }
.news-card:focus-within { outline: 3px solid rgba(253, 107, 28, .45); outline-offset: 3px; }
.news-card__intro {
    display: -webkit-box;
    margin: 0 0 22px;
    overflow: hidden;
    color: #5f6670;
    font-size: 16px;
    line-height: 1.6;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--sm-navy); font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.news-card__more svg { color: var(--sm-accent); transition: transform .35s var(--sm-ease); }
.news-card:hover .news-card__more svg { transform: translateX(6px); }
.news-empty { color: #666; text-align: center; }
.news-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.news-pagination a, .news-pagination span {
    display: grid;
    place-items: center;
    min-width: 46px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid #dde3e8;
    border-radius: 50%;
    color: var(--sm-navy);
    font-weight: 700;
    text-decoration: none;
    transition: background-color .3s, border-color .3s, color .3s;
}
.news-pagination a:hover { border-color: var(--sm-accent); color: var(--sm-accent); }
.news-pagination .is-active { border-color: var(--sm-accent); background: var(--sm-accent); color: #fff; }
@media (max-width: 959px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
/* Novinky na úvodní stránce – stejné karty ve slideru */
.blog-slider .uk-slider-items { padding: 8px 0 24px; } /* místo pro zvednutí a stín karty */
.blog-slider .uk-slider-items > li { display: flex; }
.blog-slider .news-card { width: 100%; }
@media (max-width: 639px) { .news-grid { grid-template-columns: 1fr; } .news-card__title { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .news-card, .news-card__media img, .news-card__more svg { transition: none; } .news-card:hover { transform: none; } }

/* --- Rychlost: úvodní slideshow má výšku a první slide už z CSS ----------------
   UIkit výšku (16:9, 470–780 px) dopočítá až po spuštění skriptu; do té doby by
   měla nulovou výšku a obsah pod ní by po načtení poskočil. */
.section-first-screen [data-uk-slideshow] .uk-slideshow-items { width: 100%; aspect-ratio: 16 / 9; min-height: 470px; max-height: 780px; }
.section-first-screen [data-uk-slideshow] .uk-slideshow-items:not(:has(> .uk-active)) > :first-child { display: block; }
