/* =========================================================
   DATAPAY – HLAVNÉ CSS
   Optimalizované pre desktop, tablet a mobil
========================================================= */


/* =========================================================
   GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f8fc;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

header {
    background: linear-gradient(135deg, #052c64, #0d6efd);
    color: white;
    padding: 20px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    color: white;
    font-size: 18px;
    line-height: 1.3;
}


/* =========================================================
   HLAVNÉ MENU
========================================================= */

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.main-menu > a {
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 15px;
    border-radius: 22px;
    font-size: 14px;
    white-space: nowrap;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.main-menu > a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
}

.main-menu > a.active {
    background: white;
    color: #052c64;
}


/* =========================================================
   JAZYKY
========================================================= */

.language-switch {
    display: flex;
    gap: 8px;
    margin-left: 2px;
}

.language-switch a {
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 14px;
    border-radius: 22px;
    font-size: 14px;
    white-space: nowrap;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.language-switch a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.language-switch a.active {
    background: white;
    color: #052c64;
}


/* =========================================================
   HAMBURGER
========================================================= */

#menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    color: white;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    user-select: none;
}


/* =========================================================
   ANNOUNCEMENT
========================================================= */

.announcement-bar {
    background: #071933;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    font-weight: 600;
}

.announcement-text {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 35s linear infinite;
}

@keyframes scrollText {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }

}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 70px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(35px, 5vw, 70px);
    align-items: center;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 58px);
    color: #052c64;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: clamp(17px, 1.7vw, 20px);
    color: #555;
    margin-bottom: 30px;
    max-width: 650px;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    display: block;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.btn:hover {
    background: #084fc7;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    max-width: 500px;
}

.hero-buttons .btn {
    flex: 1;
    text-align: center;
}


/* =========================================================
   WHY US / BENEFITS
========================================================= */

.benefits {
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: clamp(17px, 1.5vw, 19px);
    color: #666;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin-top: 50px;
}

.benefit-card {
    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 24px;

    padding: 40px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);
}

.benefit-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-card::before {
    content: "";

    position: absolute;

    top: -80px;
    right: -80px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(24, 84, 180, 0.18),
            transparent 70%
        );

    pointer-events: none;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: #0a3a80;
}

.benefit-card p {
    line-height: 1.7;
    color: #555;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    padding: 80px 0;
    background: white;
}

.process h2,
.process .section-subtitle {
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.process-step {
    background: #f7f9fc;
    text-align: center;
    border-radius: 18px;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    font-size: 24px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;
}

.process-step h3 {
    color: #052c64;
    margin-bottom: 15px;
}


/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta {
    background: #052c64;
    text-align: center;
    padding: 90px 20px;
}

.contact-cta h2 {
    color: white;
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.2;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 20px auto 35px;
    font-size: clamp(17px, 1.8vw, 20px);
}

.contact-cta .btn {
    background: white;
    color: #052c64;
    font-weight: bold;
}

.contact-cta .btn:hover {
    background: #ececec;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #021b40;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.footer-column {
    text-align: left;
}

.footer-column:nth-child(1) {
    grid-column: 1;
}

.footer-column:nth-child(2) {
    grid-column: 2 / 4;
    text-align: center;
}

.footer-column:nth-child(3) {
    grid-column: 4;
    text-align: right;
}

.footer-column h3 {
    margin: 0 0 20px;
    color: white;
    font-size: 20px;
}

.footer-column p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}


/* =========================================================
   GDPR ODKAZ
========================================================= */

.footer-bottom a,
.footer-bottom a:link,
.footer-bottom a:visited,
.footer-bottom a:active {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #66b3ff !important;
    text-decoration: underline;
}

```css
/* =========================================================
   DATAPAY – KOMPAKTNÝ CAROUSEL REFERENCIÍ
========================================================= */

.testimonials {
    padding: 55px 0 60px;
    background: #ffffff;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    color: #052c64;
    font-size: clamp(28px, 3.5vw, 36px);
    margin-bottom: 10px;
}

.testimonials-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    position: relative;
}

/* Fade po stranách */

.testimonials-wrapper::before,
.testimonials-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-wrapper::before {
    left: 0;
    background: linear-gradient(
        to right,
        #ffffff,
        rgba(255, 255, 255, 0)
    );
}

.testimonials-wrapper::after {
    right: 0;
    background: linear-gradient(
        to left,
        #ffffff,
        rgba(255, 255, 255, 0)
    );
}


/* ---------- TRACK ---------- */

.testimonials-track {
    display: flex;
    gap: 18px;
    width: max-content;

    animation:
        testimonials-scroll 35s linear infinite;

    will-change: transform;
}


/* ---------- CARD ---------- */

.testimonial-card {
    width: 340px;
    min-height: 240px;

    flex-shrink: 0;

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95),
            rgba(244, 248, 253, 0.95)
        );

    border: 1px solid rgba(5, 44, 100, 0.08);
    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(5, 44, 100, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* ---------- HOVER ---------- */

.testimonial-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 30px rgba(5, 44, 100, 0.12);
}


/* ---------- TOP ---------- */

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;
    margin-bottom: 16px;
}


/* ---------- COMPANY ---------- */

.testimonial-company {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}


/* ---------- LOGO ---------- */

.testimonial-logo {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 10px;

    background: white;
    border: 1px solid rgba(5, 44, 100, 0.1);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.testimonial-logo span {
    font-size: 8px;
    font-weight: bold;
    color: #0d6efd;
    text-align: center;
}


/* ---------- COMPANY NAME ---------- */

.testimonial-company strong {
    display: block;
    color: #052c64;
    font-size: 14px;
    line-height: 1.3;
}

.testimonial-company small {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 2px;
}


/* ---------- STARS ---------- */

.testimonial-stars {
    color: #f5b301;
    font-size: 13px;
    letter-spacing: 1px;
    white-space: nowrap;
}


/* ---------- TEXT ---------- */

.testimonial-text {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
}


/* ---------- AUTHOR ---------- */

.testimonial-author {
    display: flex;
    flex-direction: column;

    padding-top: 12px;

    border-top:
        1px solid rgba(5, 44, 100, 0.08);
}

.testimonial-author strong {
    color: #052c64;
    font-size: 14px;
}

.testimonial-author span {
    color: #777;
    font-size: 12px;
    margin-top: 1px;
}


/* ---------- ANIMATION ---------- */

@keyframes testimonials-scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* ---------- HOVER PAUSE ---------- */

.testimonials-wrapper:hover .testimonials-track {
    animation-play-state: paused;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .testimonial-card {
        width: 320px;
        min-height: 230px;
    }

}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 768px) {

    .testimonials {
        padding: 45px 0 50px;
    }

    .testimonials-wrapper {
        margin-top: 25px;
    }

    .testimonial-card {
        width: 290px;
        min-height: 230px;
        padding: 20px;
        border-radius: 16px;
    }

    .testimonial-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .testimonial-stars {
        order: -1;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        width: 35px;
    }

}


/* =========================================================
   MALÝ MOBIL
========================================================= */

@media (max-width: 480px) {

    .testimonial-card {
        width: 270px;
        min-height: 225px;
        padding: 18px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.55;
    }

    .testimonial-logo {
        width: 44px;
        height: 44px;
    }

}
```

/* =========================================================
   ANIMATION
========================================================= */

@keyframes testimonials-scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* Zastavenie pri hoveri */

.testimonials-wrapper:hover .testimonials-track {
    animation-play-state: paused;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .testimonials {
        padding: 65px 0 70px;
    }

    .testimonial-card {
        width: 350px;
    }

}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 768px) {

    .testimonials {
        padding: 55px 0 60px;
    }

    .testimonials-wrapper {
        margin-top: 35px;
    }

    .testimonial-card {
        width: 310px;

        min-height: 290px;

        padding: 24px;

        border-radius: 20px;
    }

    .testimonial-top {
        flex-direction: column;

        gap: 12px;
    }

    .testimonial-stars {
        order: -1;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        width: 45px;
    }

}


/* =========================================================
   MALÝ MOBIL
========================================================= */

@media (max-width: 480px) {

    .testimonial-card {
        width: 285px;

        min-height: 300px;

        padding: 22px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .testimonial-logo {
        width: 52px;
        height: 52px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .testimonials-track {
        animation: none;
    }

    .testimonial-card {
        transition: none;
    }

}


/* =========================================================
   TABLET – do 1100 px
========================================================= */

@media (max-width: 1100px) {

    .container {
        width: 92%;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero h1 {
        font-size: 48px;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 30px;
    }

    .footer-column:nth-child(1),
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        grid-column: auto;
        text-align: center;
    }

}


/* =========================================================
   TABLET – do 900 px
========================================================= */

@media (max-width: 900px) {

    .hero {
        padding: 55px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(38px, 6vw, 48px);
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image img {
        max-width: 600px;
    }

    .benefits {
        padding: 65px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 35px;
    }

    .process {
        padding: 65px 0;
    }

    .process-grid {
        gap: 20px;
    }

}


/* =========================================================
   MOBIL – do 768 px
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 92%;
    }


    /* ---------- HEADER ---------- */

    header {
        padding: 18px 0;
    }

    .nav {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .logo img {
        height: 50px;
    }

    .logo-text {
        font-size: 15px;
    }


    /* ---------- LANGUAGE ---------- */

    .language-switch {
        gap: 8px;
    }

    .language-switch a {
        padding: 6px 12px;
        font-size: 13px;
    }


    /* ---------- ANNOUNCEMENT ---------- */

    .announcement-bar {
        padding: 10px 0;
        font-size: 14px;
    }

    .announcement-text {
        animation-duration: 28s;
    }


    /* ---------- HERO ---------- */

    .hero {
        padding: 45px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 42px);
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 17px;
        text-align: left;
        margin-bottom: 25px;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }


    /* ---------- BUTTONS ---------- */

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 13px 20px;
    }

    .btn {
        padding: 13px 22px;
    }


    /* ---------- BENEFITS ---------- */

    .benefits {
        padding: 55px 15px;
    }

    .section-subtitle {
        font-size: 17px;
        margin-bottom: 35px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px;
    }

    .benefit-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .benefit-card:hover {
        transform: none;
    }


    /* ---------- PROCESS ---------- */

    .process {
        padding: 55px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px;
    }

    .process-step {
        padding: 25px 20px;
    }

    .step-number {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 15px;
    }


    /* ---------- CONTACT ---------- */

    .contact-cta {
        padding: 60px 20px;
    }

    .contact-cta h2 {
        font-size: 31px;
    }

    .contact-cta p {
        font-size: 17px;
        margin: 18px auto 28px;
    }

    .contact-cta .btn {
        width: 100%;
        max-width: 320px;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        padding: 45px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-column,
    .footer-column:nth-child(1),
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        grid-column: auto;
        text-align: center;
    }

    .footer-column h3 {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .footer-column p {
        margin-bottom: 8px;
        font-size: 15px;
    }

    .footer-bottom {
        margin-top: 35px;
        padding-top: 18px;
        font-size: 14px;
    }

}


/* =========================================================
   MALÝ MOBIL – do 480 px
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 94%;
    }


    /* ---------- HEADER ---------- */

    header {
        padding: 15px 0;
    }

    .logo img {
        height: 44px;
    }

    .logo-text {
        font-size: 14px;
    }

    .language-switch {
        gap: 6px;
    }

    .language-switch a {
        padding: 5px 10px;
        font-size: 12px;
    }


    /* ---------- ANNOUNCEMENT ---------- */

    .announcement-bar {
        font-size: 13px;
        padding: 9px 0;
    }


    /* ---------- HERO ---------- */

    .hero {
        padding: 38px 0;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-image img {
        border-radius: 14px;
    }


    /* ---------- BENEFITS ---------- */

    .benefits {
        padding: 45px 10px;
    }

    .benefit-card {
        padding: 25px 18px;
        border-radius: 18px;
    }

    .benefit-card h3 {
        font-size: 19px;
    }

    .benefit-card p {
        font-size: 15px;
    }


    /* ---------- PROCESS ---------- */

    .process {
        padding: 45px 0;
    }

    .process-step {
        padding: 23px 17px;
    }


    /* ---------- CONTACT ---------- */

    .contact-cta {
        padding: 50px 15px;
    }

    .contact-cta h2 {
        font-size: 28px;
    }

    .contact-cta p {
        font-size: 16px;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        padding: 40px 0 18px;
    }

    .footer-bottom {
        font-size: 13px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .announcement-text {
        animation: none;
    }

    .btn,
    .benefit-card {
        transition: none;
    }
}
