html {
    background: #fbfbfb;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #fbfbfb;
    font-family: 'Trebuchet MS', sans-serif;
}

/* =====================================
   NAVBAR
===================================== */

.navbar {
    font-family: "Verdana", sans-serif;
    position: sticky;
    top: 12px;
    z-index: 1000;

    width: 95%;
    max-width: 1440px;
    min-height: 90px;
    margin: 12px auto;
    padding: 0 35px;

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

    background-color: #fbfbfb;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 30, 75, 0.08);
}

.nav-logo img {
    width: 180px;
    height: 40px;
    object-fit: contain;
}

.nav-links a {
    padding: 11px 15px;
    border-radius: 10px;
    color: #001e4b;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    background-color: #f3eee8;
    color: #b28651;
    box-shadow: 0 0 12px #b28651;
}

.nav-cta {
    padding: 13px 18px;
    color: #fbfbfb;
    background-color: #001e4b;
    border-radius: 11px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-cta span {
    color: #b28651;
}

.nav-cta:hover {
    background-color: #b28651;
    color: white;
}

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

.hero {
    width: 90%;
    max-width: 1300px;
    min-height: 620px;
    height: calc(100vh - 140px);

    margin: 0 auto;
    padding: 60px 5%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    background: #fbfbfb;
    border-radius: 24px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b28651;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero h1 {
    margin: 0 0 25px;
    color: #001e4b;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-description {
    max-width: 540px;
    color: #444;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.hero-values {
    max-width: 520px;
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 45px;
}

.hero-primary,
.hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.25s ease;
}

.hero-primary {
    background: #001e4b;
    color: white;
}

.hero-primary:hover {
    background: #b28651;
    transform: translateY(-3px);
}

.hero-secondary {
    color: #001e4b;
    border: 1px solid #001e4b;
}

.hero-secondary:hover {
    background: #001e4b;
    color: white;
}

.hero-experience {
    display: flex;
    align-items: center;
    gap: 18px;
}

.experience-number {
    color: #b28651;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.experience-text strong {
    color: #001e4b;
    font-size: 16px;
}

.experience-text span {
    color: #888;
    font-size: 13px;
}

/* =====================================
   PARTNERS
===================================== */

.partners {
    padding: 100px 8%;
    font-family: 'Trebuchet MS', sans-serif;
}

.partners-heading {
    max-width: 650px;
    margin: 0 auto 55px;
    text-align: center;
}

.partners-eyebrow {
    color: #b28651;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.partners-heading h2 {
    color: #001e4b;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 16px 0;
}

.partners-heading p {
    color: #777;
    line-height: 1.8;
    font-size: 1rem;
}

/* Rozloženie 3 + 2 */
.partner-logos {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
}

.partner-card:nth-child(1),
.partner-card:nth-child(2),
.partner-card:nth-child(3) {
    grid-column: span 2;
}

.partner-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.partner-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.partner-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 30, 75, 0.10);
}

.partner-logo {
    position: relative;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.partner-logo img {
    max-width: 80%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.06);
}

.partner-info {
    padding: 23px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
}

.partner-info h3 {
    color: #001e4b;
    font-size: 1.2rem;
    margin: 0 0 10px;
    min-height: 3.6em; /* rezerva na 3 riadky nadpisu */
}

.partner-info p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

.partner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 18px;
    background: #001e4b;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.partner-button:hover {
    background: #b28651;
    transform: translateY(-2px);
}

.partner-button span {
    transition: transform 0.3s ease;
}

.partner-button:hover span {
    transform: translateX(4px);
}

.partner-button:focus-visible {
    outline: 3px solid #b28651;
    outline-offset: 4px;
}

/* Karta musí byť referenčný bod pre štítok */
.partner-card-cvi {
    position: relative;
}


/* =====================================
   CREDO AI – SOVIČKA
===================================== */

.credo-assistant {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    font-family: "Trebuchet MS", sans-serif;
}

.owl-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;

    z-index: 10001;
    pointer-events: auto;

    transition: transform 0.3s ease;
}

.owl-button:hover {
    transform: scale(1.08);
}

.owl-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* BUBLINA */

.owl-bubble {
    position: absolute;
    right: 100px;
    bottom: 20px;

    width: 280px;
    max-width: 70vw;

    z-index: 10000;
    pointer-events: none;
}

/* CHAT WINDOW */

.chat-window {
    position: absolute;
    right: 0;
    bottom: 110px;

    width: 360px;
    max-width: calc(100vw - 40px);
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(15px);
    transition: 0.3s ease;

    z-index: 10002;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .credo-assistant {
        right: 15px;
        bottom: 15px;
    }

    .owl-button {
        width: 75px;
        height: 75px;
    }

    .chat-window {
        width: calc(100vw - 30px);
        right: -5px;
    }
}


/* Štítok PORADŇA CVI – stále viditeľný v rohu karty */
.partner-category {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;

    padding: 6px 12px;
    border-radius: 20px;
    background: #001e4b;
    color: #fff;

    font-family: "Trebuchet MS", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;

    pointer-events: none;
}

/* =====================================
   CONTACT FORM
===================================== */

.credo-contact-section {
    padding: 100px 20px;
}

.credo-contact {
    max-width: 680px;
    margin: 0 auto;
    padding: 55px;
    background: #ffffff;
    border: 1px solid #e8e9ec;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 30, 75, 0.06);
}

.contact-heading {
    text-align: center;
    margin-bottom: 40px;
}

.contact-eyebrow {
    color: #b28651;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-heading h2 {
    color: #001e4b;
    font-size: 34px;
    margin: 15px 0;
    font-family: "Trebuchet MS", sans-serif;
}

.contact-heading p {
    color: #687386;
    font-size: 15px;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #001e4b;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #dfe3e9;
    border-radius: 9px;
    background: #fbfbfc;
    color: #001e4b;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b28651;
    box-shadow: 0 0 0 3px rgba(178, 134, 81, 0.12);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 22px;
    margin-top: 5px;
    border: none;
    border-radius: 9px;
    background: #001e4b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.contact-submit:hover {
    background: #b28651;
    transform: translateY(-2px);
}

.contact-submit span {
    font-size: 20px;
}

.contact-note {
    color: #9299a5;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* =====================================
   OWL BUBBLE
===================================== */

.owl-bubble {
    position: absolute;
    right: 100px;
    bottom: 100px;
    width: 320px;
    max-width: 75vw;
    padding: 18px 20px;
    background: #fff;
    color: #001e4b;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 1000;
}

.owl-bubble.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =====================================
   THANK YOU / ERROR STRÁNKY
===================================== */

.thank-you {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    padding: 65px 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

body:has(.thank-you) {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #123766 0%, #001e4b 55%, #00132f 100%);
    font-family: Verdana, sans-serif;
    color: #fbfbfb;
}

.top-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #b28651;
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.top-label span {
    width: 25px;
    height: 1px;
    background: #b28651;
}

.mascot {
    margin-bottom: 20px;
}

.owl {
    width: 125px;
    height: 125px;
    display: block;
    margin: 0 auto;
    animation: owl-float 3s ease-in-out infinite;
}

h1 {
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.3;
    margin-bottom: 18px;
    color: #fbfbfb;
}

h1 span {
    color: #b28651;
}

.description {
    color: #c3cede;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.success {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #cbd9d0;
    font-size: 12px;
    margin-bottom: 30px;
    padding: 10px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
}

.success-dot {
    width: 7px;
    height: 7px;
    background: #72c99a;
    border-radius: 50%;
    box-shadow: 0 0 10px #72c99a;
}

.success-mail {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 40px;
    border-radius: 50%;
}

.home-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 14px 23px;
    background: #b28651;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    transition: 0.3s;
}

.home-button:hover {
    background: #fbfbfb;
    color: #001e4b;
    transform: translateY(-3px);
}

.home-button span {
    margin-right: 8px;
}

.footer-text {
    margin-top: 45px;
    color: #73849d;
    font-size: 9px;
    letter-spacing: 3px;
}

body.error-page {
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 25px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 30%, #123766 0%, #001e4b 55%, #00132f 100%);
    font-family: Verdana, sans-serif;
    color: #fbfbfb;
}

.error-page .thank-you {
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    margin: auto;
    padding: 65px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.error-page .mascot {
    margin-bottom: 25px;
}

.error-page .owl {
    width: 125px;
    height: 125px;
    object-fit: contain;
    margin: 0 auto;
    animation: owl-float 3s ease-in-out infinite;
}

.error-page h1 {
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.3;
    margin: 0 0 18px;
    color: #fbfbfb;
}

.error-page .description {
    max-width: 500px;
    margin: 0 auto 30px;
    color: #c3cede;
    font-size: 14px;
    line-height: 1.9;
}

.error-page .home-button {
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
    padding: 14px 23px;
    background: #b28651;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    transition: 0.3s;
}

.error-page .home-button:hover {
    background: #fbfbfb;
    color: #001e4b;
    transform: translateY(-3px);
}

/* =====================================
   ANIMÁCIE
===================================== */

@keyframes owl-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

.hearts {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hearts span {
    position: absolute;
    bottom: -50px;
    color: #b28651;
    opacity: 0;
    font-size: 20px;
    animation: heart-float 10s linear infinite;
}

.hearts span:nth-child(1)  { left: 8%;  animation-delay: 0s; font-size: 17px; }
.hearts span:nth-child(2)  { left: 18%; animation-delay: 3s; font-size: 25px; }
.hearts span:nth-child(3)  { left: 30%; animation-delay: 6s; }
.hearts span:nth-child(4)  { left: 42%; animation-delay: 1s; font-size: 14px; }
.hearts span:nth-child(5)  { left: 55%; animation-delay: 4s; font-size: 24px; }
.hearts span:nth-child(6)  { left: 66%; animation-delay: 7s; }
.hearts span:nth-child(7)  { left: 76%; animation-delay: 2s; font-size: 16px; }
.hearts span:nth-child(8)  { left: 85%; animation-delay: 5s; font-size: 27px; }
.hearts span:nth-child(9)  { left: 94%; animation-delay: 8s; }
.hearts span:nth-child(10) { left: 48%; animation-delay: 9s; font-size: 18px; }

@keyframes heart-float {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    15%  { opacity: 0.45; }
    80%  { opacity: 0.3; }
    100% { transform: translateY(-110vh) rotate(35deg); opacity: 0; }
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1000px) {
    .hero {
        height: 100vh;
        gap: 35px;
        padding: 50px 4%;
    }
}

@media (max-width: 900px) {
    .partner-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-card:nth-child(n) {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .navbar {
        padding: 15px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        order: 3;
    }

    .nav-links a {
        padding: 9px;
    }

    .hero {
        flex-direction: column;
        align-items: stretch;
        gap: 50px;
        width: 92%;
        margin-top: 30px;
        padding: 45px 6%;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-description {
        font-size: 17px;
    }
}

@media (max-width: 600px) {
    .partners {
        padding: 80px 6%;
    }

    .partner-logos {
        grid-template-columns: 1fr;
    }

    .credo-contact-section {
        padding: 60px 15px;
    }

    .credo-contact {
        padding: 30px 20px;
    }

    .contact-heading h2 {
        font-size: 27px;
    }

    .thank-you {
        padding: 45px 18px;
    }

    .footer-text {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .error-page .thank-you {
        padding: 45px 20px;
    }

    .error-page .owl {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 35px 5%;
        margin-bottom: 50px;
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 1.3px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-primary,
    .hero-secondary {
        width: 100%;
        box-sizing: border-box;
    }
}


/* =====================================
   SOFTWARE SECTION
===================================== */

.software {
    padding: 100px 8%;
    background: #fbfbfb;
    position: relative;
    overflow: hidden;
}

/* NADPIS */

.software-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.software-eyebrow {
    display: inline-block;
    color: #b28651;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.software-heading h2 {
    color: #001e4b;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.2;
}

.software-heading p {
    color: #687386;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* GRID */

.software-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* KARTY */

.software-card {
    background: #ffffff;
    border: 1px solid rgba(0, 30, 75, 0.08);
    border-radius: 14px;
    padding: 38px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.software-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: #b28651;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.software-card:hover {
    transform: translateY(-7px);
    border-color: rgba(178, 134, 81, 0.4);
    box-shadow: 0 18px 45px rgba(0, 30, 75, 0.09);
}

.software-card:hover::before {
    opacity: 1;
}

/* LOGÁ */

.software-logo {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.software-logo img {
    max-width: 170px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* TEXT */

.software-card h3 {
    color: #001e4b;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 15px;
}

.software-tag {
    display: inline-block;
    color: #b28651;
    background: rgba(178, 134, 81, 0.10);
    border-radius: 4px;
    padding: 7px 11px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 17px;
}

.software-card p {
    color: #687386;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* INFORMAČNÁ POZNÁMKA */

.software-note {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 22px 26px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f3f5f8;
    border-left: 3px solid #b28651;
    border-radius: 6px;
}

.software-note-icon {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b28651;
    border-radius: 50%;
    color: #b28651;
    font-size: 13px;
    font-weight: 700;
}

.software-note p {
    color: #687386;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.software-note strong {
    color: #001e4b;
}

/* TABLETY */

@media (max-width: 900px) {
    .software {
        padding: 80px 6%;
    }

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


/* =====================================
   SERVICES SECTION
===================================== */

.services {
    padding: 100px 8%;
    background: #ffffff;
}

/* NADPIS */

.services-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.services-eyebrow {
    display: inline-block;
    color: #b28651;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.services-heading h2 {
    color: #001e4b;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px;
}

.services-heading p {
    color: #687386;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* GRID SLUŽIEB */

.service-cards {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* JEDNOTLIVÉ KARTY */

.service-card {
    position: relative;
    background: #fbfbfb;
    border: 1px solid rgba(0, 30, 75, 0.08);
    border-radius: 14px;
    padding: 35px 25px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #b28651;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(178, 134, 81, 0.4);
    box-shadow: 0 18px 40px rgba(0, 30, 75, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* IKONY */

.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(178, 134, 81, 0.12);
    border-radius: 12px;
    color: #b28651;
    font-size: 25px;
    margin-bottom: 25px;
}

/* TEXT KARIET */

.service-card h3 {
    color: #001e4b;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 14px;
}

.service-card p {
    color: #687386;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* TABLETY */

@media (max-width: 1000px) {
    .services {
        padding: 80px 6%;
    }

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

/* MOBILY */

@media (max-width: 600px) {
    .services {
        padding: 65px 20px;
    }

    .services-heading {
        margin-bottom: 35px;
    }

    .services-heading p {
        font-size: 14px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .service-card {
        padding: 28px 24px;
    }
}


/* MOBILY */

@media (max-width: 600px) {
    .software {
        padding: 65px 20px;
    }

    .software-heading {
        margin-bottom: 35px;
    }

    .software-heading p {
        font-size: 14px;
    }

    .software-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .software-card {
        padding: 30px 22px;
    }

    .software-note {
        padding: 18px;
        gap: 12px;
        margin-top: 25px;
    }
}


/* =====================================
   SERVICES SECTION
===================================== */

.services {
    padding: 110px 8%;
    background: #ffffff;
}

/* NADPIS */

.services-heading {
    max-width: 750px;
    margin: 0 auto 65px;
    text-align: center;
}

.services-eyebrow {
    display: inline-block;
    color: #b28651;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 17px;
}

.services-heading h2 {
    color: #001e4b;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
}

.services-heading p {
    color: #687386;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* GRID */

.service-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/* KARTY */

.service-card {
    position: relative;
    background: #fbfbfb;
    border: 1px solid rgba(0, 30, 75, 0.08);
    border-radius: 16px;
    padding: 42px 38px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-height: 290px;

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

/* ZLATÁ HORNÁ LÍNIA */

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #b28651;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* HOVER EFEKT */

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(178, 134, 81, 0.35);
    box-shadow: 0 20px 50px rgba(0, 30, 75, 0.10);
}

/* IKONY */

.service-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(178, 134, 81, 0.12);
    border-radius: 14px;

    color: #b28651;
    font-size: 28px;

    margin-bottom: 26px;
}

/* NADPISY */

.service-card h3 {
    color: #001e4b;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 15px;
}

/* POPIS */

.service-card p {
    color: #687386;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 28px;
}

/* TLAČIDLO */

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: auto;
    padding: 12px 20px;

    background: #001e4b;
    color: #ffffff;

    border: 1px solid #001e4b;
    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        gap 0.3s ease;
}

.service-card a:hover {
    background: #b28651;
    border-color: #b28651;
    color: #ffffff;
    gap: 16px;
}

/* ŠÍPKA V TLAČIDLE */

.service-card a::after {
    content: "→";
    font-size: 17px;
    line-height: 1;
}

/* TABLETY */

@media (max-width: 900px) {
    .services {
        padding: 85px 6%;
    }

    .service-cards {
        gap: 20px;
    }

    .service-card {
        padding: 35px 28px;
    }
}

/* MOBILY */

@media (max-width: 600px) {
    .services {
        padding: 65px 20px;
    }

    .services-heading {
        margin-bottom: 40px;
    }

    .services-heading p {
        font-size: 14px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: 0;
        padding: 30px 25px;
    }

    .service-card h3 {
        font-size: 21px;
    }
}


@media (max-width: 400px) {
    .nav-cta {
        display: none;
    }
}