*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.5;
    background-color: #f5f7f9;
    color: #222;
    padding-top: 64px;
}

:root {
    --color-primary: #0b3d5e;   /* tmavá modrá */
    --color-accent: #ff9800;    /* oranžová */
    --color-white: #ffffff;
    --color-gray-light: #e6e9ec;
    --color-text: #1f2933;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: var(--color-primary);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


.header-inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px; /* medzera medzi ikonou a textom */
}


}

.site-logo a:hover {
    opacity: 0.9;
}

.site-search {
    display: flex;
    align-items: center;
}

.site-search input {
    height: 38px;
    padding: 0 12px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
    min-width: 180px;
}

.site-search button {
    height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: var(--color-accent);
    cursor: pointer;
    font-size: 16px;
}
.site-search button:hover {
    opacity: 0.9;
}

#obsah, #demand, #faq, #uvod {
    scroll-margin-top: 60px; /* výška headera + rezerva */
}
h1{color: var(--color-primary);font-size: 2em;}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero {
    background: linear-gradient(180deg, #0c3d63 0%, #134f7d 100%);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
 
}

.hero h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
     animation: slideIn 1s ease forwards;
}

.hero-inner {
    max-width: 900px;
}

.btn-primary {
    display: inline-block;
        background-color: var(--color-accent);
        color: var(--color-primary);
        border-radius: 8px;
        padding: 14px 32px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 18px;  
    text-decoration: none;
    animation: slideIn 1s ease forwards;
    
}
@media (max-width: 768px) {

    .hero {
        min-height: 240px;        /* zmenšenie výšky */
        padding: 30px 16px;
    }

    .hero h1 {
        font-size: 1.5rem;        /* menší nadpis */
        line-height: 1.35;
        margin-bottom: 20px;
    }

    .btn-primary {
        padding: 12px 24px;       /* kompaktnejšie CTA */
        font-size: 0.95rem;
    }
}
@media (max-width: 400px) {

    .hero {
        min-height: 200px;
    }

    .hero h1 {
        font-size: 1.35rem;
    }
}


@media (max-width: 768px) {

    body {
        padding-top: 56px;
    }

    .site-header {
        height: 56px;
    }

    .site-search input {
        width: 180px;
        min-width: 20px;
    }

    .site-logo a {
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .site-search input {
        width: 140px;
        min-width: 20px;
    }
}

@media (max-width: 340px) {
    .site-search input {
        width: 100px;
        min-width: 20px;
    }
}

.section-title {
    text-align:center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 0 20px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0c3d63;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.35rem;
        margin-bottom: 16px;
    }
}




.offers-grid {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 40px 20px;
}

/* CARD */
.offer-card {
    background: #ffffff;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.1);
}

/* IMAGE */
.offer-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f2f2f2;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
}
/* CONTENT */
.offer-card-content {
    padding: 20px;
    flex: 1;
}

.offer-card-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0c3d63;
}

.offer-card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

@media (max-width: 768px) {

    .offers-grid {
        gap: 16px;
        padding: 24px 16px;
    }


    .offer-card-content h3 {
        font-size: 1rem;
    }
}


.demand-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top:30px;
     margin-bottom:20px;
}

@media (max-width: 600px) {
    .demand-form {
        margin: 0 16px;      /* odsadenie od okrajov displeja */
        padding: 24px 20px; /* trochu menší vnútorný padding */
    }
}

.demand-form h2 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.demand-form p {
padding:0 4px 6px 4px;
}

.demand-form input,
.demand-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    font-size: 16px;
}

.demand-form input:focus,
.demand-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.btn-dopyt {
    width: 100%;
    padding: 16px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.btn-dopyt:hover {
    opacity: 0.92;
}

.gdpr-note {
    font-size: 13px;
    text-align: center;
    color: #666;
    margin-top: 12px;
}

.faq-section {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}
.faq-section h2
{
    text-align:center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 20px 20px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0c3d63;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #f4f7fb;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #eef2f7;
    border: none;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #0b3d5e;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #ffffff;
    border-top: 1px solid #e0e6ef;
    line-height: 1.6;
    color: #333;
    transition: all 0.55s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* dostatočne veľká hodnota */
    padding: 18px 20px;
}


/* PARTNER SECTION */
.partner-section {
    padding: 60px 20px;
    background: #ffffff;
}

.partner-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0c3d63;
    margin-bottom: 40px;
    position: relative;
}

.partner-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0c3d63;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* GRID */
.partner-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* CARD */
.partner-card {
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.partner-card.light {
    background: #eef5ff;
    color: #0c3d63;
}

.partner-card.dark {
    background: #0c3d63;
    color: #ffffff;
}

.partner-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.partner-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}


.partner-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


.btn-secondary {
    display: inline-block;
    background: #0c3d63;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        padding: 32px 24px;
    }

    .partner-title {
        font-size: 1.5rem;
    }
}

.about-section {
    padding: 60px 20px;
    background: #ffffff;
}

.about-box {
    max-width: 1100px;
    margin: 0 auto;
    background: #f6f9fc;
    border-radius: 20px;
    padding: 40px 48px;
}

.about-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0c3d63;
    margin-bottom: 24px;
}

.about-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0c3d63;
    margin: 32px 0 16px;
}

.about-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 16px;
}

.about-box ul {
    margin: 0 0 24px 20px;
    padding: 0;
}

.about-box li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.about-goal {
    font-weight: 600;
    margin-top: 24px;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
    margin-top: clamp(12px, 2vw, 24px);
   
}
.container_2 {
    max-width: 820px;
    margin: 0 auto;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    margin-bottom:30px;
    min-height:300px;
}
.container_2 h2{
    text-align:center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 10px 20px 10px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0c3d63;

}
.search-title-top {
    font-size: 18px;
    font-weight: 600;
    margin: 16px 0 12px;
}
.container h1
{
text-align:center;
}

.detail-image {
    margin: 24px 0 32px;
}

.detail-image img {
    width: 100%;
    max-width: 440px;
    height: auto; 
    aspect-ratio: 640 / 400;
    margin: 0 auto 24px;
    display: block;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .detail-image img {
        max-width: 100%;
    }
}

.detail-content {
    font-size: 17px;
    line-height: 1.7;
    color: #222;
}

.detail-content p {
    margin-bottom: 20px;
}
.detail-content a {
   color: #222;
}

.detail-content h2 {
    margin: 48px 0 16px;
}

.text-full {
    display: none;
}

.read-more {
    margin-left: 6px;
    font-weight: 500;
    color: #0f7699;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }

    .detail-content {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    .about-box {
        padding: 28px 22px;
    }

    .about-box h2 {
        font-size: 1.5rem;
    }

    .about-box h3 {
        font-size: 1.15rem;
    }

    .about-box p,
    .about-box li {
        font-size: 0.95rem;
    }
}


.breadcrumb {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 10px 0 16px;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    margin: 0 6px;
}

.breadcrumb .current {
    color: #111827;
    font-weight: 500;
}

.process-wrapper {
    max-width: 520px;
    margin: 40px auto;
    padding: 28px 26px;
    background: #f9fbfd;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.process-wrapper p {
    font-size: 1rem;
    line-height: 1.55;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* === Steps === */

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    position: relative;
}

.process-steps li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #4a5d73;
}

.process-steps li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    background: #e6f4ea;
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Phone form === */

.phone-form {
    margin-top: 20px;
}

.phone-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.phone-form input[type="tel"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* === CTA button === */

.phone-form .btn-dopyt {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.phone-form .btn-dopyt:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(59,130,246,0.35);
}

/* === Mobile === */

@media (max-width: 480px) {
    .process-wrapper {
        padding: 22px 18px;
    }
}


.search-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

.search-item:hover {
    background: #f1f5f9;
}

.search-thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.search-content {
    flex: 1;
}

.search-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.search-excerpt {
    font-size: 13px;
    color: #516b82;
    line-height: 1.4;
}

.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    margin-top: 0;
    font-size: 14px;
}
.faq-cta-dark {
    margin: 48px 0  48px 0;
    padding: 42px 20px;
    background: linear-gradient(135deg, #0b3d5e, #092f49);
    text-align:center;
}

.faq-cta-dark h3,.faq-cta-dark a {
    margin: 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
}



/* Mobil */
@media (max-width: 768px) {
    .faq-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .faq-cta-btn {
        width: 100%;
        text-align: center;
    }
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 16px;
    text-align:center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
     border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--color-white);
}

.footer-col p {
    line-height: 1.6;
    color: #e2e8f0;
}
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}
.footer-email {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
}

.footer-email:hover {
    opacity: 0.9;
}
.footer-bottom {
    max-width: 480px;
    margin: 0 auto;
  
   
    padding: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;


    font-size: 13px;
}

.footer-legal a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-legal .sep {
    margin: 0 8px;
    opacity: 0.6;
}

@media (max-width: 768px) {

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 32px 16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
.footer-btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary) !important; /* tmavá modrá */
        padding: 10px 18px;
        border-radius: 10px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 16px;        
    margin-top: 20px;
    margin-bottom: 20px;
}
.footer-btn-primary:hover {
    opacity: 0.9;
     text-decoration: none !important;
    
}
@media (max-width: 768px) {
    .footer-btn-primary {
        display: none;
    }
}
.mobile-bottom-bar {
    display: none;
}
@media (max-width: 768px) {
    body {
        padding-bottom: 64px; 
    }
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        background-color: var(--color-primary);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 2000;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
    }
    .mobile-bar-link {
        color: #ffffff;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        opacity: 0.9;
    }
    .mobile-bar-cta {
        background-color: var(--color-accent);
        color: var(--color-primary);
        padding: 10px 18px;
        border-radius: 10px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .mobile-bar-cta:hover {
        opacity: 0.95;
    }
}

/* =====================================================
   COOKIE BANNER – VEĽKÝ, ALE FÉROVÝ
   ===================================================== */
#pokracovatcoo {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;

  z-index: 9999;

  /* skryté defaultne */
  display: none;
  opacity: 0;
  transform: translateY(20px);

  transition: opacity 0.4s ease, transform 0.4s ease;

  /* vzhľad */
  background: linear-gradient(180deg, #eef5fb 0%, #dce9f5 100%);
  color: #1f2933;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
  padding:40px 0;
}

/* =====================================================
   ZOBRAZENIE
   ===================================================== */

#pokracovatcoo.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   SKRÝVANIE (FADE-OUT)
   ===================================================== */

#pokracovatcoo.is-hiding {
  opacity: 0;
  transform: translateY(20px);
}

/* =====================================================
   VNÚTORNÝ OBSAH
   ===================================================== */

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* text */
#pokracovatcoo p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #1f2933;
  max-width: 700px;
}

/* nadpis */
.cookie-banner__title {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0f4c81;
}

/* link */
#pokracovatcoo a {
  color: #0f4c81;
  text-decoration: underline;
}

#pokracovatcoo a:hover {
  text-decoration: none;
}

/* =====================================================
   TLAČIDLÁ
   ===================================================== */

.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

#pokracovatcoo button {
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #9bb9d6;
  background-color: #ffffff;
  color: #0f4c81;
  font-weight:600;

  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#pokracovatcoo button:hover {
  background-color: #f3f8fd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* primárne tlačidlo */
#pokracovatcoo .btn-primary {
  background-color: #006600;
  border-color: #008a44;
  color: #ffffff;
}

#pokracovatcoo .btn-primary:hover {
  background-color: #008a44;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  #pokracovatcoo button {
    width: 100%;
    text-align: center;
  }
}

.onoffswitch {
    position: relative;
    width: 90px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    float: left;
    width: 50%;
    height: 28px;
    line-height: 28px;
    font-size: 13px;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "Ano";
    padding-left: 12px;
    background-color: #2ecc71;
    color: #fff;
}

.onoffswitch-inner:after {
    content: "Ne";
    padding-right: 12px;
    background-color: #eee;
    color: #777;
    text-align: right;
}

.onoffswitch-switch {
    width: 18px;
    margin: 6px;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid #999;
    border-radius: 20px;
    transition: all 0.3s ease-in;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0;
}