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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background: #f5f7fa;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    background: #111827;
    color: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center; /* centrovanie menu */
    padding: 0.9rem 0;
}


.logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
}

.logo-main {
    letter-spacing: 0.12em;
    font-size: 1rem;
}

.logo-sub {
    font-size: 0.75rem;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;

    list-style: none;
    margin: 0;
    padding: 0;
}


.nav-links a {
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    border-bottom-color: #38bdf8;
}

.hero {
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #f9fafb;
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.hero p {
    max-width: 40rem;
    opacity: 0.95;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero {
    /* ak máš veľký spodný padding, môžeš ho zmenšiť */
    padding-bottom: 3rem;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    max-height: 420px;   /* môžeš upraviť podľa fotky */
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
    text-align: center;
}

.btn-primary {
    background: #38bdf8;
    color: #0b1120;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(249, 250, 251, 0.3);
    color: #e5e7eb;
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.85);
}

.hero-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1.25rem;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card-title {
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.hero-card ul {
    list-style: none;
    font-size: 0.9rem;
}

.hero-card li + li {
    margin-top: 0.3rem;
}

.section {
    padding: 2.7rem 0;
}

.section-alt {
    background: #e5e7eb;
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
    align-items: start;
}

.card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card-quote {
    background: #0f172a;
    color: #e5e7eb;
    border-color: transparent;
}

.quote-text {
    font-style: italic;
    margin-bottom: 0.6rem;
}

.quote-name {
    font-size: 0.9rem;
    opacity: 0.9;
}

.page-header {
    padding: 2.5rem 0 1.5rem;
    background: #0f172a;
    color: #f9fafb;
}

.page-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.page-header p {
    max-width: 38rem;
    opacity: 0.9;
}

.service-block + .service-block {
    margin-top: 1.6rem;
}

.service-block h2 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.reference-note {
    margin-top: 2rem;
}

.list-check {
    list-style: none;
    padding-left: 0;
}

.list-check li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.4rem;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
    color: #16a34a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.contact-form label {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-form input,
.contact-form textarea {
    border-radius: 0.6rem;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 0.7rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #38bdf8;
    outline-offset: 1px;
    border-color: #38bdf8;
}

.contact-form button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 2rem 0 1.4rem;
    margin-top: 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    font-size: 0.9rem;
}

.footer-block h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.footer-copy {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1.3rem;
    }

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

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

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    .footer-copy {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}


    .hero {
        padding: 2.4rem 0 2.2rem;
    }

    .section {
        padding: 2rem 0;
    }

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

.grid-3 .card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-image {
    margin-top: 1rem;
}

.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 1rem; /* prispôsob k zaobleniu karty */
}
.site-header .container {
    max-width: 100% !important;  /* header je cez celú šírku */
    padding-left: 0;
    padding-right: 0;
}
