/* =========== BASE =========== */
body {
    margin: 0;
    padding: 20px;
    background-color: #f6f9fc;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #111111; /* tmavšia čierna pre lepší kontrast */
}

.container {
    max-width: 535px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* ====== VIZITKA ====== */
.top-section {
    display: flex;
    align-items: flex-start;
    padding: 20px;
}
.top-section .logo img {
    width: 150px;
}
.info {
    padding-left: 25px;
}
.info-name {
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111111;
}
.info-title {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1565C0; /* tmavý text namiesto stredne šedej */
}
.contact-list {
    font-size: 13px;
    line-height: 1.8;
    color: #111111; /* tmavý text pre lepší kontrast */
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.contact-item img {
    width: 15px;
    margin-right: 10px;
}

/* ====== FOOTER ====== */
.bottom-section {
    display: flex;
    width: 100%;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    font-size: 0.7em;
}
.bottom-col-1 { width: 236px; padding:12px 20px; }
.bottom-col-2 { width: 30%;   padding:12px; }
.bottom-col-3 { width: 25%;   padding:12px; }
.bottom-text {
    display: block;
    color: #111111; /* tmavší text */
}
.agency { color: #005ba9; margin-left:15px; }
.bottom-link { text-decoration:none; color:#111111; }

/* ====== ONLINE POISTENIE ====== */
.online-section {
    padding: 4rem 1rem 2rem;
    max-width:1000px;
    margin:0 auto;
}
.online-section h1,
.online-section h2,
.online-section p {
    text-align: center;
}
.online-section h1 {
    margin-bottom: .5rem;
    font-size:2rem;
    font-weight:700;
    color:#003366; /* tmavomodrá z palety UNIQA */
}
.online-section h2 {
    margin-bottom: .75rem;
    font-size:1.5rem;
    font-weight:600;
    color:#003366;
}
.online-section p {
    margin-bottom:1.5rem;
    font-size:.95rem;
    color:#657780;
}
.benefits {
    list-style: none;
    padding:0;
    margin:0 auto 2rem;
    max-width:400px;
    color:#111111; /* úplne čierna pre body text v zozname */
}
.benefits li {
    margin: .5rem 0;
    padding-left:1.5rem;
    position: relative;
}
.benefits li:before {
    content: "✔";
    position: absolute;
    left:0;
    color:#388e3c;
}
.benefits-online {
    list-style: none;
    counter-reset: step-counter;
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
}
.benefits-online li {
    position: relative;
    padding-left: 2.5em;       /* dostatok priestoru pre číslo */
    margin-bottom: 1em;
    counter-increment: step-counter;
}
.benefits-online li::before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #2c5ba9;            /* prípadne UNIQA modrá */
}
.benefits-plus {
    list-style: none;
    padding:0;
    margin:0 auto 2rem;
    max-width:750px;
    color:#111111; /* úplne čierna pre body text v zozname */
}
.benefits-plus li {
    margin: .5rem 0;
    padding-left:1.5rem;
    position: relative;
}
.benefits-plus li:before {
    content: "✔";
    position: absolute;
    left:0;
    color:#388e3c;
}

/* dva stĺpce na desktop */
.online-list {
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
}
.online-list .online-item {
    flex:1 1 calc(50% - .375rem);
    box-sizing: border-box;
}

/* položka */
.online-item {
    display:block;
    padding:1rem;
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
    text-decoration:none;
    color:#002855; /* tmavomodrá pre text aj linky */
    font-weight:600;
    font-size:1rem;
    position:relative;
    transition: background-color .3s, box-shadow .3s, transform .3s, color .3s;
}
.online-item:hover {
    background-color:#e9f2fe;
    box-shadow:0 6px 16px rgba(0,0,0,0.12);
    transform:translateY(-3px);
}
.online-item span.arrow {
    position:absolute;
    right:1rem;
    top:50%;
    transform: translateY(-50%);
    color:#657780;
    font-size:1.2rem;
    line-height:1;
    transition: color .3s, transform .3s;
}
.online-item:hover span.arrow {
    color:#003366;
    transform: translate(3px, -50%);
}

/* ====== PRODUKTOVÉ KARTY ====== */
.uniqa-obtainer {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:1rem;
    max-width:1000px;
    margin:2rem auto 0;
    padding-bottom:2rem;
}
.uniqa-obtainer .product-card {
    flex:1 1 calc(50% - 1rem);
    max-width:calc(50% - 1rem);
    box-sizing:border-box;
}
.product-card {
    display:flex;
    align-items:center;
    padding:1rem;
    border:1px solid #e0e0e0;
    border-radius:8px;
    background:#f9f9f9;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.product-card img {
    width:80px; height:80px;
    object-fit:contain;
    border-radius:50%;
    background:#f5f8fa;
}
.product-info { margin-left:1rem; flex:1; }
.product-info h3 {
    margin:0 0 .5rem;
    font-size:1.25rem;
    font-weight:600;
    color:#111111;
}
.product-buttons { display:flex; gap:.5rem; }
.product-buttons a {
    display:inline-block;
    padding:.5rem 1rem;
    font-size:.95rem;
    border-radius:4px;
    text-decoration:none;
    text-align:center;
    color: #002855; /* tmavomodrá pre tlačidlá */
    border: 2px solid #002855;
}
.btn-primary {
    color:#004b9b;
    border-color:#004b9b;
}
.btn-primary:hover {
    background:#004b9b;
    color:#fff;
}
.btn-secondary {
    color:#002855;
    border-color:#002855;
}
.btn-secondary:hover {
    background:#002855;
    color:#fff;
}

.product-buttons .btn-primary {
    background-color: #fff;
    color: #388e3c;
    border-color: #388e3c;
}
.product-buttons .btn-primary:hover {
    background-color: #388e3c;
    color: #fff;
}

.product-buttons .btn-secondary {
    background-color: #fff;
    color: #1565c0;
    border-color: #1565c0;
}
.product-buttons .btn-secondary:hover {
    background-color: #1565c0;
    color: #fff;
}

p.list-section-title {
    color: #002855;
}
p.list-section-description {
    font-size: 0.8rem;
    margin-right: 2rem;
    color: #111111;
}

/* Kontakt karta */
.contact-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    max-width: 900px;
}

.contact-card__img {
    width: 80px;
    display: block;
    border: none;
    border-radius: 0;
    outline: none;
}

.contact-card__info {
    margin-left: 1rem;
    flex: 1;
}

.contact-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111111;
}

.contact-card__text {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.4;
}

/* Tlačidlá */
.contact-card__actions {
    display: flex;
    gap: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}

/* Primárne tlačidlo */
.btn--primary {
    background-color: #388e3c;
    color: #fff;
    border: 2px solid #388e3c;
}

.btn--primary:hover {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

/* Zelené obrysové tlačidlo */
.btn--outline-green {
    background-color: #fff;
    color: #388e3c;
    border: 2px solid #388e3c;
}

.btn--outline-green:hover {
    background-color: #388e3c;
    color: #fff;
}

/* Modré obrysové tlačidlo */
.btn--outline-blue {
    background-color: #fff;
    color: #1565c0;
    border: 2px solid #1565c0;
}

.btn--outline-blue:hover {
    background-color: #1565c0;
    color: #fff;
}

/* ====== RESPONSIVE ====== */
@media (max-width:600px) {
    .container { max-width:100%; margin:0 10px; padding:0; }
    .top-section { flex-direction:column; align-items:center; padding:10px; }
    .info { padding-left:0; text-align:center; margin-top:10px; }
    .bottom-section { flex-direction:column; align-items:center; text-align:center; }
    .bottom-col-1, .bottom-col-2, .bottom-col-3 { width:100%; padding:8px 0; }
    .online-list { flex-direction:column; }
    .online-list .online-item { flex:1 1 100%; max-width:100%; }
    .uniqa-obtainer { flex-direction:column; align-items:center; }
    .uniqa-obtainer .product-card { flex:none; width:100%; max-width:450px; }
    .contact-card { flex-direction: column; align-items: center; padding: 10px; }
    .contact-card__actions { display: grid; }
    .contact-card__info { margin-left: 0; }
    .contact-card__title { font-size: 1.7rem; font-weight: 600; text-align: center; }
    .contact-card__text { text-align: center; }
}