/*
 * site.css - upravy nad temou (theme.css) pre server-side rendering verziu webu:
 * lokalne fonty, SVG ikony namiesto Font Awesome, <details> namiesto Bootstrap collapse,
 * obrazky cez <img> (srcset) namiesto CSS pozadi, GDPR prvky a stranka Informacie o spracuvani OU.
 */

/* ===== Poppins (OFL), hostovany lokalne - ziadne Google Fonts ===== */
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/poppins-latin-400-normal-9212f6f9860f9fc6c69b02fedf6db8c3.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/poppins-latin-ext-400-normal-90926c36b712cb131f3f890bbb8c477e.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/poppins-latin-500-normal-a09f2fccfee35b7247b08a1a266f0328.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/poppins-latin-ext-500-normal-1f24684cbd726414ff212d90accc8cdf.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/poppins-latin-600-normal-72993dddf88a63e8f226656f7de88e57.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/poppins-latin-ext-600-normal-a575b6d9df987563f85571f442cfe795.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/poppins-latin-700-normal-25b0e113ca7cce3770d542736db26368.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/poppins-latin-ext-700-normal-367d2aa05bf0382d8bc48614fbaf8740.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --pm-yellow: #fcd703;
    --pm-text: #727695;
    --pm-shadow: 2px 8px 20px 0 rgba(25, 42, 70, 0.13);
}

html {
    scroll-behavior: smooth;
    /* kotvy (#contact, #spareCar ...) pod fixnou hlavickou */
    scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* animate.css fadeInDown - pouziva ju .header-sticky.is-sticky z temy */
@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -100%, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* tema ma :focus { outline: 0 !important } - pre klavesnicu vratime viditelny fokus */
a:focus-visible, button:focus-visible, summary:focus-visible, .form-control:focus-visible {
    outline: 2px solid #000 !important;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 10px;
    top: -60px;
    z-index: 10000;
    padding: 10px 16px;
    background: #000;
    color: #fff;
    border-radius: 0 0 5px 5px;
}
.skip-link:focus { top: 0; color: var(--pm-yellow); }

.highlight-link { color: var(--pm-yellow); font-weight: bold; }
.highlight-link:hover, .highlight-link:focus { color: #000; }

/* ===== SVG ikony v obale <i> (miesto Font Awesome) ===== */
.svg-i { font-style: normal; display: inline-block; line-height: 1; }
.svg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.btn .svg-i { margin-right: 6px; }

/* ===== Navigacia ===== */
.navbar-light .navbar-brand { line-height: 1; }
.navbar-toggler { cursor: pointer; }

/* ===== Uvodny banner - obrazok cez <img> (LCP), prekrytie a text z temy ===== */
.main-banner, .page-title-area { isolation: isolate; background-image: none; }
.main-banner-bg, .page-title-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.main-banner .d-table, .page-title-area .d-table { position: relative; }
.main-banner-text .btn { margin-top: 5px; margin-bottom: 5px; }

/* ===== Hlavicka podstranok ===== */
.page-title-content h1 { line-height: 1.25; margin-bottom: 20px; }
.page-title-lead {
    color: #fff;
    max-width: 720px;
    margin: 0 auto 25px;
    font-size: 16px;
}
.page-title-content ol { padding: 0; margin: 0; list-style: none; }
.page-title-content ol li {
    display: inline-block;
    color: #ccc;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}
.page-title-content ol li + li::before { content: "»"; color: var(--pm-yellow); margin: 0 10px; }
.page-title-content ol li a { color: #fff; }
.page-title-content ol li a:hover { color: var(--pm-yellow); }

/* ===== Karty sluzieb (single-box je teraz odkaz) ===== */
a.single-box { display: block; color: inherit; }
.single-box .icon .svg-i {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.single-box .link-btn .svg-i { line-height: 44px; }
.shape2 img { width: 400px; height: auto; }

/* ===== O nas ===== */
.about-content .features-list li { display: flex; align-items: flex-start; }
.about-content .features-list li .svg-i { flex: 0 0 auto; margin-top: 4px; }
.about-video img { width: 100%; height: auto; border-radius: 5px; }

/* ===== FAQ: <details> so vzhladom povodneho Bootstrap accordionu ===== */
.faq-accordion .card { overflow: hidden; }
/* .card > summary - vyssia specificita ako .faq-accordion .card .card-header { padding: 0 } z temy */
.faq-accordion .card > summary.card-header {
    list-style: none;
    cursor: pointer;
    position: relative;
    display: block;
    padding: 20px 45px 20px 20px;
    background: transparent;
    transition: .5s;
}
.faq-accordion summary.card-header::-webkit-details-marker { display: none; }
.faq-accordion summary.card-header:hover,
.faq-accordion details[open] > summary.card-header { background: var(--pm-yellow); }
.faq-accordion .faq-question {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    margin: 0;
    transition: .5s;
}
.faq-accordion summary.card-header:hover .faq-question,
.faq-accordion details[open] > summary .faq-question { color: #fff; }
.faq-accordion summary.card-header > .svg-i {
    position: absolute;
    right: 20px;
    top: 50%;
    font-size: 16px;
    transform: translateY(-50%);
    transition: transform .3s;
}
.faq-accordion summary.card-header:hover > .svg-i,
.faq-accordion details[open] > summary > .svg-i { color: #fff; }
.faq-accordion details[open] > summary > .svg-i { transform: translateY(-50%) rotate(180deg); }
.faq-accordion .card-body ul { padding-left: 0; }
.faq-more { margin-top: 25px; }

/* fotka sekcie: <img> s object-fit namiesto CSS pozadia (desktop: vyska stlpca) */
.faq-image { background: none; }
.faq-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 5px;
}
@media only screen and (max-width: 991px) {
    .faq-image img { display: block; height: auto; min-height: 0; }
}

/* ===== Vyzva na telefonat ===== */
.cta-call {
    background: #000;
    padding: 40px 0;
    text-align: center;
}
.cta-call-text { color: #fff; font-size: 22px; font-weight: 500; margin-bottom: 20px; }
.cta-call-buttons .btn { margin: 5px; }
.cta-call .btn-outline-dark { color: #fff; border-color: #fff; border-radius: 30px; }
.cta-call .btn-outline-dark:hover { background: #fff; color: #000; }

/* ===== Kontaktny formular ===== */
.contact-form .form-group { margin-bottom: 10px; margin-top: 10px; }
.contact-form label { color: #000; margin-bottom: 6px; }
.contact-form textarea.form-control { height: auto; min-height: 120px; }
.contact-form .form-control[aria-invalid="true"] { border-color: red; }
.validation-message { font-size: 14px; margin-top: 2px; margin-bottom: 6px; }
.validation-message:empty { display: none; }
.form-message { margin-bottom: 15px; font-weight: 500; }
.contact-form .btn:disabled { opacity: .7; cursor: wait; }

/* Text podla analyzy GDPR (OOU_02b, bod 2.7) - nad tlacidlom odoslania */
.gdpr-notice {
    margin-top: 20px;
    font-size: 13.5px;
    line-height: 1.6;
}
.gdpr-notice a { color: #000; text-decoration: underline; font-weight: 500; }
.gdpr-notice a:hover { color: var(--pm-yellow); }
.contact-form .gdpr-notice + .btn { margin-top: 12px; }

/* pasca na roboty - mimo obrazovky (nie display:none, to roboty poznaju) */
.hp-field {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* kontakty: ikona v kruhu ako pri Font Awesome */
.contact-info ul li .svg-i {
    position: absolute;
    left: 0;
    top: 50%;
    color: var(--pm-yellow);
    font-size: 19px;
    background: #f6f6f6;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: .5s;
    transform: translateY(-50%);
}
.contact-info ul li:hover .svg-i { background-color: var(--pm-yellow); color: #fff; }
.contact-info ul li a { color: #000; }
.contact-info ul li a:hover { color: var(--pm-yellow); }

/* mapa Google az po suhlase (kliknuti) */
.contact-map .btn { width: 100%; margin-top: 30px; }
.map-consent {
    background: #f6f6f6;
    border: 1px dashed #ccc;
    border-radius: 5px;
    padding: 30px 20px;
    min-height: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.map-consent > .svg-i { color: var(--pm-yellow); font-size: 40px; margin-bottom: 10px; }
.map-consent p { font-size: 13.5px; line-height: 1.6; margin-bottom: 15px; max-width: 360px; }
.map-consent .btn { width: auto; margin-top: 0; }
.map-frame { border: 0; width: 100%; height: 450px; display: block; }
.btn-outline-dark { border-radius: 30px; }

/* ===== Paticka ===== */
.footer-brand { line-height: 22px; margin-bottom: 30px; margin-top: 0; }
.footer-brand a { color: #fff; display: inline-block; font-size: 35px; font-weight: 600; }
.footer-brand span { color: var(--pm-yellow); font-size: 35px; font-weight: 700; }
.footer-brand a:hover { color: #fff; }
.footer-area .footer-social { margin-bottom: 30px; }
.footer-area .footer-social li a { line-height: 30px; }
.footer-area .footer-social li a .svg-i { font-size: 15px; }
.footer-area .footer-nav ul { margin-bottom: 25px; }
.footer-area .footer-nav ul li { margin: 4px 10px; }
.footer-area .footer-nav ul li a {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    line-height: 1.6;
    font-size: 15px;
    display: inline;
    color: #fff;
}
.footer-area .footer-nav ul li a:hover,
.footer-area .footer-nav ul li a:focus { background: transparent; color: var(--pm-yellow); }

/* Samostatna sekcia "Informacia o spracuvani osobnych udajov" (analyza GDPR OOU_02b, bod 2.8) */
.footer-gdpr {
    max-width: 560px;
    margin: 0 auto 25px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 5px;
}
.footer-gdpr-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}
.footer-gdpr-title .svg-i { color: var(--pm-yellow); margin-right: 6px; }
.footer-gdpr-btn { border-radius: 30px; white-space: normal; }
.footer-gdpr-btn:hover, .footer-gdpr-btn:focus { background: var(--pm-yellow); border-color: var(--pm-yellow); color: #000; }
.footer-company { color: #bbb; font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.footer-made { color: #fff; }
.footer-made a { color: var(--pm-yellow); }
.footer-made .svg-i { color: var(--pm-yellow); }

.go-top { color: #fff; }
.go-top .svg-i {
    position: absolute;
    left: 0;
    right: 0;
    top: 55%;
    transform: translateY(-55%);
    transition: .3s;
}
.go-top:hover { color: #fff; }
.go-top:hover .svg-i { margin-top: -3px; }

/* ===== Informacie o spracuvani osobnych udajov (vrstvena informacia) ===== */
.oou-area { background: #f7f5f4; }
.oou-document {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 0 30px 0 rgba(67, 67, 67, 0.1);
    border-top: 3px solid var(--pm-yellow);
    border-bottom: 3px solid var(--pm-yellow);
}
.oou-document p, .oou-document li, .oou-document td { color: #4a4d63; line-height: 1.75; }
.oou-document p { margin-bottom: 14px; }
.oou-document a { color: #000; text-decoration: underline; text-decoration-color: var(--pm-yellow); text-underline-offset: 3px; }
.oou-document a:hover { color: #000; text-decoration-thickness: 2px; }
.oou-document ul { margin: 0 0 16px; padding-left: 0; }
.oou-document ul li { list-style: none; position: relative; padding-left: 22px; margin-bottom: 6px; }
.oou-document ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 7px;
    height: 7px;
    background: var(--pm-yellow);
    border-radius: 50%;
}
.oou-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.oou-version { font-size: 13.5px; margin: 0 !important; }
.oou-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.oou-actions .btn { padding: 6px 18px; font-size: 14px; }
.oou-subtitle { font-weight: 500; color: #000 !important; }
.oou-document h2.oou-subheading { font-size: 24px; font-weight: 600; margin: 10px 0 18px; line-height: 1.3; }
.oou-document h3.oou-subheading { font-size: 18px; font-weight: 600; margin: 26px 0 12px; line-height: 1.4; }

.oou-toc { margin: 30px 0; }
.oou-toc h2 { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.oou-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}
.oou-toc li a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    line-height: 1.5;
    transition: .3s;
}
.oou-toc li a:hover { border-color: var(--pm-yellow); background: #fffbe0; }
.oou-toc .oou-num {
    flex: 0 0 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: var(--pm-yellow);
    font-weight: 600;
}

.oou-part {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 12px;
    box-shadow: var(--pm-shadow);
}
.oou-part > summary, .oou-agenda > summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 50px 18px 20px;
}
.oou-part > summary::-webkit-details-marker, .oou-agenda > summary::-webkit-details-marker { display: none; }
.oou-part > summary::after, .oou-agenda > summary::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: translateY(-75%) rotate(45deg);
    transition: transform .3s;
}
.oou-part[open] > summary::after, .oou-agenda[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.oou-part > summary:hover, .oou-part[open] > summary { background: var(--pm-yellow); }
.oou-part-title { font-size: 19px; font-weight: 600; line-height: 1.4; margin: 0; }
.oou-part-title .oou-num { margin-right: 4px; }
.oou-part-body { padding: 20px 20px 10px; }

.oou-agenda {
    border-left: 3px solid var(--pm-yellow);
    background: #fafafa;
    margin-bottom: 10px;
    border-radius: 0 5px 5px 0;
}
.oou-agenda > summary:hover { background: #fff6bf; }
.oou-agenda[open] > summary { background: #fff6bf; }
.oou-agenda-title { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0; }
.oou-agenda-title .oou-num { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; color: #6b6e85; }
.oou-agenda .oou-table-wrap { padding: 0 15px 15px; }

.oou-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.oou-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; }
.oou-table th, .oou-table td { border: 1px solid #e6e6e6; padding: 10px 12px; vertical-align: top; text-align: left; }
.oou-table th { color: #000; font-weight: 600; background: #fafafa; }
.oou-table tbody th[scope="row"] { width: 28%; }
.oou-table thead th { background: var(--pm-yellow); }
.oou-table td p:last-child { margin-bottom: 0; }
.oou-box {
    border: 2px solid var(--pm-yellow);
    background: #fffbe0;
    border-radius: 5px;
    padding: 18px 20px 6px;
    margin: 10px 0 18px;
}
.oou-box-title { font-size: 17px; }

@media only screen and (max-width: 767px) {
    .oou-document { padding: 22px 16px; }
    .oou-part-body { padding: 15px 12px 5px; }
    /* tabulky agend pod sebou */
    .oou-table:not(.oou-table-head), .oou-table:not(.oou-table-head) tbody,
    .oou-table:not(.oou-table-head) tr, .oou-table:not(.oou-table-head) th,
    .oou-table:not(.oou-table-head) td { display: block; width: 100% !important; }
    .oou-table:not(.oou-table-head) th { border-bottom: 0; }
    .page-title-content h1 { font-size: 26px; }
}

/* ===== Chybove stranky ===== */
.error-page .error-brand a { color: #000; font-size: 28px; font-weight: 600; }
.error-page .error-brand span { color: var(--pm-yellow); font-weight: 700; }
.error-page h1 { font-size: 40px; margin-bottom: 20px; }
.error-page h1 span { color: var(--pm-yellow); font-weight: 600; }

/* ===== Tlac ===== */
@media print {
    .navbar, .go-top, .footer-area, .oou-toolbar .oou-actions, .skip-link, .cta-call, .contact-area { display: none !important; }
    .page-title-area { height: auto; padding: 0; }
    .page-title-area::before, .page-title-bg { display: none; }
    .page-title-content { margin: 0; }
    .page-title-content h1 { color: #000; }
    .page-title-content ol { display: none; }
    .oou-area { background: #fff; padding: 0; }
    .oou-document { box-shadow: none; border: 0; padding: 0; max-width: none; }
    .oou-part, .oou-agenda { box-shadow: none; break-inside: auto; }
    .oou-part > summary::after, .oou-agenda > summary::after { display: none; }
    .oou-part[open] > summary { background: #fff; }
}
