:root {
    --bg: #0a1628;
    --bg-deep: #040b14;
    --gold: #e5b65d;
    --teal: #4ecdc4;
    --text: #ffffff;
    --muted: #a0aec0;
    --soft: #d0d8e0;
    --content: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 18% 42%, rgba(78, 205, 196, 0.055), transparent 34%),
        radial-gradient(circle at 82% 42%, rgba(78, 205, 196, 0.045), transparent 34%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

p {
    font-size: 14px;
}

h2 {
    font-size: 29px;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 4px;
}

/* Hlavička a navigácia */
.site-header {
    border-bottom: 1px solid rgba(78, 205, 196, 0.28);
}

.header-inner {
    width: min(calc(100% - 40px), var(--content));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-nav {
    align-self: stretch;
    display: flex;
    align-items: stretch;
    gap: 34px;
}

.site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--gold);
}

.site-nav a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
}

/* Spoločná šírka obsahu a pätička */
main,
.site-footer {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.site-footer {
    padding: 17px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-top: 1px solid rgba(160, 174, 192, 0.2);
    color: var(--muted);
    font-size: 14px;
}

.site-footer strong {
    color: var(--gold);
    font-size: 18px;
}

.site-footer p {
    margin: 6px 0 0;
}

.site-footer a {
    text-decoration:none;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.footer-contact a {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Nadpisy a úvodné sekcie */
.section-label {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 18px;
    color: var(--teal);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 27px;
    height: 2px;
    flex: 0 0 27px;
    background: var(--teal);
}

h1 {
    max-width: 900px;
    margin: 21px 0;
    font-size: 55px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.intro {
    padding: 34px 0;
}

.intro > p:last-child {
    max-width: 900px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}

/* Hlavné tlačidlo */
.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 34px;
    padding: 13px 24px;
    color: var(--bg-deep);
    background: var(--gold);
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.primary-button:hover {
    background: var(--teal);
    transform: translateY(-1px);
}

/* Spoločný pás s výzvou na kontakt */
.contact-strip {
    position: relative;
    margin: 34px 0;
    padding: 24px 30px 24px 39px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(78, 205, 196, 0.34);
    border-radius: 7px;
    background: rgba(15, 33, 58, 0.5);
    overflow: hidden;
}

.contact-strip::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--teal);
}

.contact-strip > svg {
    width: 41px;
    height: 41px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 1.7;
}
.page-pricing .contact-highlight svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    stroke: var(--teal);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    top: 5px;
}

.contact-strip h2 {
    margin: 0 0 5px;
    font-size: 18px;
}

.contact-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-strip > a,
.page-about .offer-card > a {
    padding: 13px 23px;
    color: var(--bg-deep);
    background: var(--gold);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.contact-strip > a:hover,
.page-about .offer-card > a:hover {
    background: var(--teal);
}

/* Ikony služieb používané na viacerých stránkach */
.service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 15px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Domov — prehľad služieb */
.page-home .home-services > h2 {
    margin: 0 0 16px;
    font-size: 29px;
}

.page-home .home-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

.page-home .home-service-card {
    min-height: 124px;
    padding: 22px 27px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    border: 1px solid rgba(160, 174, 192, 0.35);
    border-radius: 7px;
    background: rgba(15, 33, 58, 0.35);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home .home-service-card:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
    background: rgba(15, 33, 58, 0.7);
}

.page-home .home-service-card h3 {
    margin: 1px 0 7px;
    font-size: 18px;
}

.page-home .home-service-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.page-home .home-service-card span {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
}

.page-home .home-values {
    padding: 34px 0 0;
}

.page-home .home-values > h2 {
    margin: 0 0 16px;
    font-size: 29px;
}

.page-home .home-values > h3 {
    font-size: 18px;
}

.page-home .home-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .home-value-item {
    min-width: 0;
    padding: 8px 38px 12px;
    text-align: center;
}

.page-home .home-value-item:first-child {
    padding-left: 0;
}

.page-home .home-value-item:last-child {
    padding-right: 0;
}

.page-home .home-value-item + .home-value-item {
    border-left: 2px solid var(--teal);
}

.page-home .home-value-item h3 {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 25px;
    line-height: 1.15;
    
}

.page-home .home-value-item p {
    margin: 0 auto;
    color: var(--soft);
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
}


/* O nás — ponuka a profil */
.page-about .offer-card {
    padding: 30px 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 35px;
    border: 1px solid rgba(160, 174, 192, 0.24);
    border-radius: 8px;
    background: rgba(15, 33, 58, 0.3);
}

.page-about .profile-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    padding: 34px;
    border: 1px solid rgba(78, 205, 196, 0.32);
    border-radius: 8px;
    background: rgba(15, 33, 58, 0.38);
}

.page-about .profile-photo {
    position: relative;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(78, 205, 196, 0.26);
    border-radius: 7px;
    background: linear-gradient(145deg, rgba(78, 205, 196, 0.12), rgba(15, 33, 58, 0.7));
    overflow: hidden;
}

.page-about .profile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about .profile-content {
    align-self: center;
}

.page-about .profile-content h2,
.page-about .offer-card h2 {
    margin: 0 0 20px;
    color: var(--gold);
    font-size: 29px;
    line-height: 1.15;
}

.page-about .profile-content > p,
.page-about .offer-card p {
    color: var(--soft);
    font-size: 18px;
    line-height: 1.5;
}

.page-about .profile-content > p {
    margin: 0 0 16px;
}

.page-about .offer-card h2 {
    margin-bottom: 12px;
}

.page-about .offer-card p {
    max-width: 900px;
    margin: 0;
    line-height: 1.5;
}

.page-about .profile-content strong,
.page-about .offer-card strong {
    color: var(--text);
}

.page-about .credentials {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-about .credentials span {
    padding: 7px 12px;
    border: 1px solid rgba(78, 205, 196, 0.35);
    border-radius: 999px;
    color: var(--teal);
    background: rgba(78, 205, 196, 0.06);
    font-size: 12px;
    font-weight: 700;
}

.page-about .guarantee-note {
    color: var(--soft);
    font-size: 18px;
    line-height: 1.5;
}

/* Služby — karty s podrobným popisom */
.page-services .services-grid,
.page-pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.page-services .services-grid {
    align-items: stretch;
}

.page-services .service-detail-card,
.page-pricing .price-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(78, 205, 196, 0.34);
    border-radius: 8px;
}

.page-services .service-detail-card {
    padding: 28px 28px 24px;
    background: rgba(15, 33, 58, 0.34);
}

.page-services .service-detail-card--recommended {
    padding: 27px 27px 23px;
    border: 2px solid var(--gold);
}

.page-services .badge-recommended {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 17px;
    border-radius: 999px;
    color: var(--bg-deep);
    background: var(--gold);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-services .service-detail-card h2 {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 25px;
    line-height: 1.15;
}

.page-services .service-desc {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--soft);
    font-size: 14px;
    line-height: 1.5;
}

.page-services .service-detail-card ul {
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
}

.page-services .service-detail-card li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 23px;
}

.page-services .service-detail-card li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.page-services .service-audience {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(160, 174, 192, 0.22);
}

.page-services .service-audience h3 {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 14px;
    text-transform: uppercase;
}

.page-services .service-cta {
    margin-top: 16px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.page-services .service-cta span {
    margin-left: 8px;
}

/* Služby — postup spolupráce */
.page-services .process {
    padding: 0 0 34px;
}

.page-services .process-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
    list-style: none;
}

.page-services .process-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--soft);
}

.page-services .process-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 8px;
    right: -15px;
    color: rgba(78, 205, 196, 0.7);
}

.page-services .process-list li > span {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 2px solid var(--teal);
    border-radius: 50%;
    color: var(--text);
    font-weight: 700;
}

.page-services .process-list strong {
    display: block;
    margin: 8px 0;
    color: var(--text);
    font-size: 14px;
}

.page-services .process-list p,
.page-services .process-note {
    margin: 0;
    color: var(--soft);
    font-size: 14px;
    line-height: 1.5;
}

.page-services .process-note {
    margin-top: 18px;
}

/* Cenník */
.page-pricing .price-card {
    min-height: 340px;
    padding: 28px 32px 24px;
    background: rgba(15, 33, 58, 0.37);
}

.page-pricing .price-card h2 {
    margin: 0 0 15px;
    color: var(--gold);
    font-size: 27px;
    line-height: 1.15;
}

.page-pricing .price-amount {
    margin-bottom: 13px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--teal);
    font-size: 36px;
    font-weight: 900;
}

.page-pricing .price-card p {
    margin: 0 0 18px;
    color: var(--soft);
    font-size: 16px;
    line-height: 1.5;
}

.page-pricing .price-card > a {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(160, 174, 192, 0.25);
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.page-pricing .price-card > a span {
    margin-left: 8px;
}

.page-pricing .pricing-details {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.page-pricing .pricing-details p {
    margin: 6px 0;
    font-size: 14px;
}

.page-pricing .pricing-guarantee {
    color: var(--soft);
}

.page-pricing .contact-label {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--text);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.page-pricing .contact-label::before,
.page-pricing .contact-label::after {
    content: "";
    width: 30px;
    height: 2px;
    flex: 0 0 30px;
    background: var(--teal);
}

.page-pricing .contact-note {
    color: var(--muted);
}

.page-pricing .contact-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-pricing .contact-options a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.page-pricing .contact-options svg {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-pricing .separator {
    width: 1px;
    height: 35px;
    flex: 0 0 1px;
    background: rgba(160, 174, 192, 0.3);
}

.page-pricing .contact-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 22px;
    text-align: left;
}
.page-pricing .contact-card {
    min-width: 0;
    min-height: 230px;
    padding: 28px 32px 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(78, 205, 196, 0.34);
    border-radius: 8px;
    background: rgba(15, 33, 58, 0.37);
}
.page-pricing .contact-card h3 {
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(160, 174, 192, 0.25);
    color: var(--text);
    font-size: 23px;
    line-height: 1.15;
}
.page-pricing .contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.page-pricing .contact-card p,
.page-pricing .contact-card a {
    margin: 0;
    color: var(--soft);
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.page-pricing .contact-card strong {
    color: var(--soft);
    font-weight: 700;
}
.page-pricing .contact-card a.contact-highlight {
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}
.page-pricing .contact-card a.contact-highlight:hover {
    transform: translateX(2px);
}


/* Responzivita — menšie notebooky a tablety */
@media (max-width: 1024px) {
    .header-inner {
        gap: 24px;
    }

    .site-nav {
        gap: 22px;
    }

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

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

    .page-services .process-list li::after {
        display: none;
    }
    .page-pricing .contact-card-grid {
        grid-template-columns: 1fr;
    }
    .page-pricing .contact-card {
        min-height: 0;
        padding: 25px 23px;
    }
}

/* Responzivita — telefóny */
@media (max-width: 760px) {
    .header-inner {
        min-height: 0;
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .site-nav {
        position: static;
        width: 100%;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
        border: none;
        background: transparent;
    }

    .site-nav a {
        min-height: 40px;
    }

    .site-nav a.active::after {
        height: 2px;
    }

    h1 {
        font-size: clamp(29px, 11vw, 36px);
    }

    .page-home .home-service-grid,
    .page-services .services-grid,
    .page-pricing .pricing-grid {
        grid-template-columns: 1fr;
    }

    .page-home .home-service-card {
        padding: 20px;
    }
    
    .page-home .home-values-grid {
        grid-template-columns: 1fr;
    }

    .page-home .home-value-item,
    .page-home .home-value-item:first-child,
    .page-home .home-value-item:last-child {
        padding: 24px 10px;
    }

    .page-home .home-value-item + .home-value-item {
        border-left: 0;
        border-top: 1px solid var(--teal);
    }

    .page-services .service-detail-card {
        padding: 24px 22px;
    }

    .page-services .service-detail-card--recommended {
        padding: 23px 21px;
    }

    .page-services .service-desc {
        min-height: 0;
    }

    .page-about .profile-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 20px;
    }

    .page-about .profile-photo {
        width: min(280px, 100%);
        height: auto;
        aspect-ratio: 1;
    }

    .page-about .offer-card {
        grid-template-columns: 1fr;
        padding: 25px 22px;
    }

    .page-about .offer-card > a {
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .contact-strip {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 23px 20px 23px 30px;
        gap: 18px;
    }

    .contact-strip > a {
        grid-column: 1 / -1;
        text-align: center;
        white-space: normal;
    }

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

    .page-pricing .price-card {
        min-height: 0;
        padding: 25px 23px;
    }

    .page-pricing .contact-label {
        font-size: 24px;
    }

    .page-pricing .contact-options {
        flex-direction: column;
        gap: 17px;
    }

    .page-pricing .separator {
        width: 80px;
        height: 1px;
        flex: 0 0 1px;
    }

    .site-footer {
        flex-direction: column;
        gap: 22px;
    }

    .footer-contact {
        align-items: flex-start;
    }
    
}

@media (max-width: 540px) {
    .header-inner {
        width: calc(100% - 24px);
        padding-inline: 8px;
    }

    .site-title {
        font-size: 30px;
    }

    .site-nav {
        gap: 4px 12px;
    }

    .site-nav a {
        font-size: 13px;
    }

    main,
    .site-footer {
        width: calc(100% - 32px);
    }

    .intro {
        padding: 28px 0;
    }

    .intro > p:last-child {
        font-size: 16px;
    }

    .contact-strip {
        grid-template-columns: 1fr;
        padding: 22px 18px 22px 24px;
        gap: 14px;
    }

    .contact-strip > svg {
        width: 36px;
        height: 36px;
    }

    .contact-strip > a {
        grid-column: auto;
    }

    .page-services .process-list {
        grid-template-columns: 1fr;
    }

    .page-about .profile-content h2,
    .page-about .offer-card h2 {
        font-size: 25px;
    }

    .page-pricing .contact-options a {
        gap: 8px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
