/* =====================================================
   ISSA spol. s r.o.
   Premium 2.0
   Vyčištěná a sjednocená verze CSS
===================================================== */

/* =====================================================
   01. PROMĚNNÉ
===================================================== */

/* =====================================================
   02. RESET A ZÁKLAD
===================================================== */

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
}

img,
svg {
    max-width: 100%;
}

button,
a {
    font: inherit;
}

.services,
.references,
.contact {
    scroll-margin-top: var(--header-offset);
}


/* =====================================================
   03. SPOLEČNÝ LAYOUT
===================================================== */

.container,
.container-services,
.references-container,
.contact-container,
.footer-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
}

.container {
    padding: 20px;
}


/* =====================================================
   04. HLAVIČKA A NAVIGACE
===================================================== */

header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition:
        background-color .35s ease,
        box-shadow .35s ease;
}

header.scrolled {
    background: rgba(13,42,92,.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    color: #0F172A;
    text-decoration: none;
}

.logo img {
    display: block;
    width: auto;
    height: 70px;
    transition: transform .35s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

#navMenu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 30px;
}

#navMenu a {
    position: relative;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition:
        color .3s ease,
        transform .3s ease;
}

#navMenu a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

#navMenu a.active {
    color: var(--accent);
}

#navMenu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 20px;
    background: var(--accent);
    transition: width .3s ease;
}

#navMenu a.active::after {
    width: 100%;
}

.phone-button {
    justify-self: end;
    display: inline-block;
    padding: 16px 36px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition:
        background-color .3s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.phone-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(245, 124, 0, .35);
}

.menu-toggle {
    display: none;
    background: rgba(13,42,92,.96);
    backdrop-filter: blur(10px);
    border: 0;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.mobile-phone {
    display: none;
}


/* =====================================================
   05. HERO
===================================================== */

.hero {
    min-height: calc(100vh - 80px);
    padding-top: 80px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            to right,
            rgba(15, 23, 42, 0.90),
            rgba(15, 23, 42, 0.35),
            rgba(15, 23, 42, 0.05)
        ),
        url("../images/hero-antena.jpg") center / cover no-repeat;
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-content {
    max-width: 560px;
    padding-right: 40px;
    animation: heroFade 1s ease-out;
}

.hero h1 {
    margin-bottom: 32px;
    color: var(--white);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
}

.hero p {
    margin-bottom: 36px;
    color: rgba(255, 255, 255, .9);
    font-size: 20px;
    line-height: 1.7;
}

.hero-list {
    margin-bottom: 50px;
    padding: 0;
    list-style: none;
    color: var(--white);
}

.hero-list li {
    margin-bottom: 14px;
}

.hero-list li::before {
    content: "✓";
    margin-right: 12px;
    color: var(--accent);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-motto {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

/* =====================================================
   06. TLAČÍTKA
===================================================== */

.btn-primary,
.btn-secondary,
.button {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition:
        background-color .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.btn-primary {
    padding: 18px 38px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
}

.btn-secondary {
    padding: 16px 36px;
    border: 2px solid var(--white);
    border-radius: 12px;
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.button {
    padding: 18px 40px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
}

.button:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
}


/* =====================================================
   07. SLUŽBY
===================================================== */

.services {
    padding: 100px 20px;
    background: var(--light);
}

.container-services {
    padding: 100px 20px;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-title h2,
.services h2 {
    color: var(--dark);
    font-size: 42px;
}

.section-title h2 {
    margin-bottom: 20px;
}

.services h2 {
    text-align: center;
}

.services h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 20px;
    background: var(--accent);
}

.section-title p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

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

.card {
    padding: 40px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.icon {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
}

.icon img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.card:hover .icon {
    transform: scale(1.08);
}

.card h3 {
    min-height: 70px;
    margin-bottom: 20px;
}

.card p {
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    margin-top: 25px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition:
        color .3s ease,
        transform .3s ease,
        letter-spacing .3s ease;
}

.card-link:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.card:hover .card-link {
    letter-spacing: .3px;
}


/* =====================================================
   08. REFERENCE
===================================================== */

.references {
    padding: 120px 20px;
    background: var(--white);
}

.references-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.references-text h2 {
    margin-bottom: 25px;
    color: var(--dark);
    font-size: 48px;
}

.references-text p {
    color: var(--muted);
    font-size: 22px;
    line-height: 1.8;
}

.reference-gallery {
    display: grid;
    grid-template-columns: repeat(2, 340px);
    justify-content: end;
    gap: 30px;
}

.reference-item {
    position: relative;
    width: 340px;
    height: 240px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.reference-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.reference-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.reference-item:hover img {
    transform: scale(1.08);
}

.reference-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--white);
    background:
        linear-gradient(
            to top,
            rgba(21, 101, 192, .95) 0%,
            rgba(21, 101, 192, .75) 25%,
            rgba(21, 101, 192, .20) 55%,
            transparent 75%
        );
}

.reference-overlay h3 {
    margin-bottom: 8px;
    font-size: 32px;
}

.reference-overlay p {
    font-size: 18px;
    line-height: 1.5;
}


/* =====================================================
   09. KONTAKT
===================================================== */

.contact {
    padding: 120px 20px;
    background:
        linear-gradient(
            135deg,
            #1255B0 0%,
            var(--primary-dark) 100%
        );
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-left {
    color: var(--white);
}

.contact-tag {
    display: inline-block;
    margin-bottom: 25px;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .15);
    font-size: 15px;
}

.contact-left h2 {
    margin-bottom: 25px;
    font-size: 48px;
    line-height: 1.2;
}

.contact-left > p {
    margin-bottom: 45px;
    font-size: 20px;
    line-height: 1.8;
    opacity: .92;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 45px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    color: var(--white);
    text-decoration: none;
    transition:
        background-color .35s ease,
        transform .35s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, .20);
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 28px;
}

.contact-card h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.contact-card span {
    opacity: .9;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-white {
    border: 0;
    background: var(--white);
    color: var(--primary);
}

.contact-white:hover {
    background: #F3F4F6;
}

.contact-right {
    position: relative;
    height: 700px;
    overflow: hidden;
    border-radius: 24px;
}

.contact-right img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center 22%;

    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

.contact-photo-info {
    position: absolute;
    right: 25px;
    bottom: 40px;
    left: 25px;
    padding: 25px;
    border-radius: 18px;
    background: rgba(15,35,69,.72);
    backdrop-filter: blur(12px);
    color: var(--white);
}

.contact-photo-info h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 28px;
}

.contact-photo-info p {
    opacity: .9;
}


/* =====================================================
   10. FOOTER
===================================================== */

.footer {
    padding: 80px 20px 30px;
    background: #0F2345;
    color: var(--white);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer-about img {
    width: 180px;
    margin-bottom: 25px;
}

.footer-about p {
    max-width: 420px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.8;
}

.footer-slogan {
    position: relative;
    display: inline-block;
}

.footer-slogan::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 10px;
    background: var(--accent);
}

.footer-text{

    max-width:430px;

    color:rgba(255,255,255,.75);

    line-height:1.85;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition:
        color .3s ease,
        transform .3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.footer-contact p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .75);
}

.footer-bottom{
    margin-top:60px;
    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;
}

.footer-service-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-service-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.footer-service-list a::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    background: var(--accent);
    border-radius: 50%;
}

.footer-service-list a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-contact-list{
    display:grid;
    gap:18px;

    margin:0;
    padding:0;

    list-style:none;
}

.footer-contact-list li{

    display:flex;
    align-items:flex-start;
    gap:12px;
}

.footer-contact-list img{

    width:20px;
    height:20px;

    flex-shrink:0;

    margin-top:2px;
}

.footer-contact-list a,
.footer-contact-list span{

    color:rgba(255,255,255,.82);

    text-decoration:none;

    transition:color .25s ease;
}

.footer-contact-list a:hover{

    color:var(--white);
}

.footer h3 {
    color: var(--white);
    margin-bottom: var(--space-5);
}

.footer-logo{
    width:210px;
    height:auto;
    margin-bottom:24px;
}

.footer-about h3{
    margin-bottom:8px;
    color:var(--white);
}

.footer-tagline{

    display:inline-block;

    margin:0 0 26px;

    color:rgba(255,255,255,.92);

    font-size:1.05rem;
    font-weight:600;
    letter-spacing:.3px;

    position:relative;
}

.footer-tagline::after{

    content:"";

    display:block;

    width:48px;
    height:2px;

    margin-top:10px;

    background:var(--accent);

    border-radius:2px;
}

.footer-services,
.footer-contact{
    padding-top:6px;
}


/* =====================================================
   11. ANIMACE
===================================================== */

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .7s ease-out,
        transform .7s cubic-bezier(.2, .8, .2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .6s ease,
        transform .6s ease;
}

.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   12. TLAČÍTKO ZPĚT NAHORU
===================================================== */

#scrollTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background-color .3s ease;
}

#scrollTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTop:hover {
    background: var(--accent-hover);
    transform: translateY(-3px) scale(1.05);
}


/* =====================================================
   13. MOBILNÍ MENU
===================================================== */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}


/* =====================================================
   14. RESPONZIVITA
===================================================== */

@media (max-width: 1100px) {
    .references-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reference-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
        justify-content: center;
    }
}

@media (max-width: 1000px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-left {
        text-align: center;
    }

    .contact-buttons {
        justify-content: center;
    }
}

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-about p {
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 90px;
    }

    .container {
        padding: 15px 20px;
    }

   .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 48px;
    }

    .phone-button {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1002;
        color: var(--white);
    }

    #navMenu {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1001;
        width: min(280px, 85vw);
        height: 100vh;
        padding: 100px 30px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;

        background: rgba(13, 42, 92, .97);
        backdrop-filter: blur(12px);

        border-left: 1px solid rgba(255, 255, 255, .10);
        box-shadow: -10px 0 30px rgba(0, 0, 0, .25);

        transition: right .35s ease;
    }

    #navMenu.active {
        right: 0;
    }

    #navMenu a {
        color: var(--white);
        font-size: 20px;
    }

    #navMenu a:hover,
    #navMenu a.active {
        color: var(--accent);
    }

    #navMenu a::after {
        display: none;
    }

    .mobile-phone {
        display: block;
        width: 100%;
        margin-top: 30px;
        padding: 14px 20px;
        border-radius: 12px;
        background: var(--accent);
        color: var(--white);
        text-align: center;
        font-weight: 600;
    }

    .mobile-phone:hover {
        background: var(--accent-hover);
        color: var(--white);
        transform: translateY(-2px);
    }

    .hero {
        min-height: auto;
        padding: 120px 20px 80px;
    }

    .hero .container {
        padding-inline: 0;
    }

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

    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .references {
        padding: 80px 20px;
    }

    .references-text h2 {
        font-size: 38px;
    }

    .references-text p {
        font-size: 18px;
    }

    .reference-gallery {
        grid-template-columns: 1fr;
    }

    .reference-item {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .contact {
        padding: 80px 20px;
    }

    .contact-left h2 {
        font-size: 36px;
    }

    .contact-left > p {
        font-size: 18px;
    }

    .contact-card {
        text-align: left;
    }

    .contact-photo-info {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 14px 16px;
        border-radius: 12px;
    }

    .contact-photo-info h3 {
        margin-bottom: 4px;
        font-size: 18px;
    }

    .contact-photo-info p {
        font-size: 13px;
        line-height: 1.4;
    }

    .contact-right {
        height: 480px;
    }

    .contact-right img {
        object-position: center 30%;
    }

    #scrollTop {
        right: 20px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services,
    .container-services {
        padding-inline: 16px;
    }

    .card {
        width: 100%;
        padding: 32px 24px;
    }

    .card h3 {
        min-height: auto;
    }

    .card p {
        word-break: normal;
        overflow-wrap: normal;
    }

    .contact-photo-info {
        right: 16px;
        bottom: 16px;
        left: 16px;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =====================================================
   PREMIUM UX 8 – Mikrodetaily
===================================================== */

/* 8.1 Page Fade */

body{

    opacity:0;

    animation:pageFade .45s ease-out forwards;

}

@keyframes pageFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

/* 8.2 Reduced Motion */

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

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}

/* 8.3 Active Buttons */

.btn-primary:active,
.btn-secondary:active,
.phone-button:active{

    transform:scale(.98);

}

/* 8.4 Cursor */
button,
.btn-primary,
.btn-secondary,
.phone-button,
.card-link,
#scrollTop{

    cursor:pointer;

}

/* =====================================================
   JAK PŘEMÝŠLÍME
===================================================== */

.thinking {
    padding: 110px 0;
    background: var(--light);
}

.thinking .section-header {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-header h2::after {
    content: "";
    display: block;

    width: 60px;
    height: 3px;

    margin: 28px auto 0;

    background: var(--accent);
    border-radius: 999px;
}

.thinking .section-header h2 {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.thinking .section-header p {
    color: #5f6b7a;
    font-size: 1.05rem;
    line-height: 1.8;
}

.thinking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.thinking-card {
    position: relative;
    padding: 34px 28px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(31, 41, 55, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thinking-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.13);
}

.thinking-number {
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.thinking-card h3 {
    margin-bottom: 14px;
    color: var(--dark);
    font-size: 1.2rem;
    line-height: 1.4;
}

.thinking-card p {
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.75;
}

@media (max-width: 992px) {
    .thinking-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .thinking {
        padding: 80px 0;
    }

    .thinking-grid {
        grid-template-columns: 1fr;
    }

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

/* =====================================================
   KOMU POMÁHÁME
===================================================== */

.audience {
    padding: 110px 0;
    background: var(--white);
}

.audience .section-header {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.audience .section-header h2 {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.audience .section-header p {
    color: #5f6b7a;
    font-size: 1.05rem;
    line-height: 1.8;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.audience-card {
    padding: 38px 32px;
    background: var(--light);
    border: 1px solid rgba(21, 101, 192, 0.08);
    border-radius: 20px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-7px);
    border-color: rgba(21, 101, 192, 0.22);
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.1);
}

.audience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    background: var(--white);
    border-radius: 16px;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.08);
}

.audience-card h3 {
    margin-bottom: 14px;
    color: var(--dark);
    font-size: 1.3rem;
    line-height: 1.4;
}

.audience-card p {
    margin-bottom: 22px;
    color: #667085;
    font-size: 0.96rem;
    line-height: 1.75;
}

.audience-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.audience-card li {
    position: relative;
    padding-left: 24px;
    color: var(--dark);
    font-size: 0.92rem;
    line-height: 1.5;
}

.audience-card li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.help-card {
    background: var(--light);
    text-align: left;
}

.help-card .card-icon {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 900px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .audience {
        padding: 80px 0;
    }

    .audience-card {
        padding: 30px 24px;
    }
}

/* =====================================================
   NAŠE SLUŽBY
===================================================== */

.services {
    padding: 110px 0;
    background: var(--light);
}

.services .section-header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.services .section-header h2 {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.services .section-header p {
    color: #5f6b7a;
    font-size: 1.05rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    padding: 34px 30px;
    background: var(--white);
    border: 1px solid rgba(21, 101, 192, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(31, 41, 55, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(21, 101, 192, 0.22);
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 24px;
    background: var(--light);
    border-radius: 18px;
}

.service-icon img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 14px;
    color: var(--dark);
    font-size: 1.3rem;
    line-height: 1.4;
}

.service-card > p {
    margin-bottom: 22px;
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.75;
}

.service-card ul {
    display: grid;
    gap: 11px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 23px;
    color: var(--dark);
    font-size: 0.91rem;
    line-height: 1.5;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.service-link {
    display: block;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(31, 41, 55, 0.08);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 1050px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card,
    .service-card:nth-child(4) {
        grid-column: auto;
    }

    .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .services {
        padding: 80px 0;
    }

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

    .service-card,
    .service-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

/* =====================================================
   JAK PROBÍHÁ SPOLUPRÁCE
===================================================== */

.process {
    padding: 110px 0;
    background: var(--white);
    border-top: 1px solid rgba(31, 41, 55, 0.045);
}

.process .section-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.process-timeline {
    position: relative;
    width: min(920px, 100%);
    margin: 90px auto 0;
    padding-bottom: 42px;
}

/* Svislá osa přibližně ve 30 % šířky */
.process-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 0;
    left: 29%;
    width: 1px;
    background:
        linear-gradient(
            to bottom,
            rgba(21, 101, 192, 0.28),
            rgba(21, 101, 192, 0.22) 12%,
            rgba(21, 101, 192, 0.22) 88%,
            rgba(21, 101, 192, 0)
        );
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 29% 1fr;
    min-height: 190px;
}

.process-marker {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

/* Bílý bod na ose */
.process-marker::before {
    content: "";
    position: absolute;
    top: 4px;
    right: -11px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 1px solid rgba(21, 101, 192, 0.2);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(31, 41, 55, 0.1);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Oranžová tečka uvnitř */
.process-marker span {
    position: absolute;
    top: 11px;
    right: -4px;
    z-index: 1;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Krátké vodorovné propojení k textu */
.process-content::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -1px;
    width: 48px;
    height: 1px;
    background: rgba(21, 101, 192, 0.18);
    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.process-content {
    position: relative;
    padding: 0 0 58px 72px;
}

.process-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.72;
}

.process-content h3 {
    margin-bottom: 14px;
    color: var(--dark);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.35;
    transition: color 0.3s ease;
}

.process-content p {
    max-width: 620px;
    margin: 0;
    color: #667085;
    font-size: 0.98rem;
    line-height: 1.85;
}

/* Jemná odezva kroku */
.process-step:hover .process-marker::before {
    transform: scale(1.12);
    border-color: rgba(21, 101, 192, 0.42);
    box-shadow: 0 9px 24px rgba(31, 41, 55, 0.14);
}

.process-step:hover .process-marker span {
    transform: scale(1.25);
}

.process-step:hover .process-content::before {
    width: 58px;
    background: rgba(21, 101, 192, 0.42);
}

.process-step:hover .process-content h3 {
    color: var(--primary);
}

/* Poslední krok má menší spodní mezeru */
.process-step-last {
    min-height: 155px;
}

.process-step-last .process-content {
    padding-bottom: 28px;
}

/* Výzva k akci na konci příběhu */
.process-cta {
    max-width: 720px;
    margin: 38px auto 0;
    padding-top: 42px;
    border-top: 1px solid rgba(31, 41, 55, 0.08);
    text-align: center;
}

.process-cta p {
    margin-bottom: 22px;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Tablet */
@media (max-width: 800px) {
    .process .section-header {
        margin-bottom: 65px;
    }

    .process-timeline::before {
        left: 28px;
    }

    .process-step {
        display: block;
        min-height: auto;
        padding-left: 0;
    }

    .process-marker {
        position: absolute;
        top: 0;
        left: 28px;
        width: 0;
    }

    .process-marker::before {
        right: auto;
        left: -11px;
    }

    .process-marker span {
        right: auto;
        left: -4px;
    }

    .process-content {
        padding: 0 0 52px 76px;
    }

    .process-content::before {
        left: 28px;
        width: 28px;
    }

    .process-step:hover .process-content::before {
        width: 36px;
    }

    .process-step-last .process-content {
        padding-bottom: 20px;
    }
}

/* Mobil */
@media (max-width: 600px) {
    .process {
        padding: 80px 0;
    }

    .process .section-header {
        margin-bottom: 55px;
    }

    .process-timeline::before {
        left: 19px;
    }

    .process-marker {
        left: 19px;
    }

    .process-marker::before {
        width: 20px;
        height: 20px;
        left: -10px;
    }

    .process-marker span {
        top: 10px;
        left: -4px;
    }

    .process-content {
        padding: 0 0 46px 58px;
    }

    .process-content::before {
        top: 14px;
        left: 19px;
        width: 22px;
    }

    .process-step:hover .process-content::before {
        width: 27px;
    }

    .process-content p {
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .process-cta {
        margin-top: 28px;
        padding-top: 34px;
    }
}

/* =====================================================
   ANIMACE ČASOVÉ OSY
===================================================== */

.process-reveal {
    opacity: 0;
    transform: translateX(28px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.process-reveal.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Postupné zpoždění jednotlivých kroků */
.process-reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.process-reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.process-reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.process-reveal:nth-child(5) {
    transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
    .process-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================
   JEMNÉ ODDĚLENÍ SEKCÍ
===================================================== */

.thinking,
.audience,
.services {
    border-top: 1px solid rgba(31, 41, 55, 0.045);
}

/* =====================================================
   DOLADĚNÍ KARET SLUŽEB
===================================================== */

/* Více prostoru mezi hlavičkou a obsahem sekce */
.services {
    padding-top: 125px;
}

/* Větší mezera mezi řádky karet */
.services-grid {
    row-gap: 34px;
}

/* Vzdušnější horní část karet */
.service-card {
    padding: 42px 32px 34px;
}

/* Větší odstup mezi ikonou a nadpisem */
.service-icon {
    margin-bottom: 30px;
}

/* =====================================================
   SCROLL OFFSET PRO PEVNOU NAVIGACI
===================================================== */

#thinking,
#audience,
#services,
#process,
#references,
#contact {
    scroll-margin-top: 100px;
}

/* =====================================================
   JEDNOTNÝ HOVER KARET
===================================================== */

.thinking-card,
.audience-card,
.service-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.thinking-card:hover,
.audience-card:hover,
.service-card:hover {
    transform: translateY(-7px) scale(1.01);
    border-color: rgba(21, 101, 192, 0.22);
    box-shadow: 0 20px 48px rgba(31, 41, 55, 0.13);
}

/* Jemné oživení ikon služeb */

.service-icon img {
    transition: transform 0.35s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.08);
}

/* =====================================================
   OPRAVA MOBILNÍ NAVIGACE
===================================================== */

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        position: relative;
        z-index: 1002;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        color: var(--dark);
        background: transparent;
        border: 0;
        font-size: 1.7rem;
        line-height: 1;
        cursor: pointer;
    }

    #navMenu {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1001;
        width: min(82vw, 340px);
        height: 100dvh;
        padding: 100px 28px 40px;
        background: var(--white);
        transition: right 0.3s ease;
    }

    #navMenu.active {
        right: 0;
    }

    #menuOverlay {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(15, 23, 42, 0.48);
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    #menuOverlay.active {
        visibility: visible;
        opacity: 1;
    }
}

/* =====================================================
   MOBILNÍ HLAVIČKA A NAVIGACE
===================================================== */

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        min-height: 76px;
    }

    .logo img {
        height: 58px;
    }

    .phone-button {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 1003;
        justify-self: end;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        margin: 0;
        color: var(--dark);
        background: transparent;
        border: 0;
        font-size: 32px;
        line-height: 1;
    }

    #navMenu {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1002;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
        width: min(84vw, 340px);
        height: 100dvh;
        padding: 105px 32px 40px;
        background: var(--white);
        box-shadow: -12px 0 35px rgba(15, 23, 42, 0.16);
        transition: right 0.3s ease;
    }

    #navMenu.active {
        right: 0;
    }

    #navMenu a {
        width: 100%;
        font-size: 1.05rem;
    }

    .mobile-phone {
        display: inline-flex;
        align-items: center;
        margin-top: 12px;
        padding: 14px 18px;
        border-radius: 12px;
        background: var(--accent);
        color: var(--white);
    }

    #menuOverlay {
        position: fixed;
        inset: 0;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        background: rgba(15, 23, 42, 0.48);
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    #menuOverlay.active {
        visibility: visible;
        opacity: 1;
    }
}

/* =====================================================
   VIDITELNOST MOBILNÍHO HAMBURGERU
===================================================== */

@media (max-width: 768px) {
    .menu-toggle {
        position: relative;
        z-index: 1003;
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;

        color: var(--white);
        background: rgba(15, 23, 42, 0.28);
        border-radius: 10px;
    }

    header.scrolled .menu-toggle {
        color: var(--dark);
        background: rgba(15, 23, 42, 0.06);
    }
}

.footer h3 {
    color: var(--white) !important;
}

/* =====================================================
   MOBILNÍ HLAVIČKA – TMAVÁ VERZE
===================================================== */

@media (max-width: 768px) {

    header,
    header.scrolled {
        background-color: #0D2A5C !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .18);
    }

    .header-container {
        background-color: transparent !important;
    }

    .menu-toggle {
        color: #FFFFFF !important;
    }

    #navMenu {
        background-color: rgba(13, 42, 92, .98) !important;
    }

    #navMenu a {
        color: #FFFFFF !important;
    }

    #navMenu a:hover,
    #navMenu a.active {
        color: #F57C00 !important;
    }
}

/* =====================================================
   404 – Stránka nenalezena
===================================================== */

.error404 {
    position: relative;
    overflow: hidden;

    min-height: calc(100vh - 120px);

    display: flex;
    align-items: center;

    padding: 140px 0 100px;

    background: var(--white);
}

.error404-container {
    position: relative;
    z-index: 2;

    width: 100%;
}

.error404-content {
    position: relative;
    z-index: 2;
    margin-left:60px;

    max-width: 620px;

    transform: translateY(-25px);
}

.error404-watermark {
    position: absolute;

    right: -40px;
    bottom: -20px;

    width: 420px;

    opacity: .04;

    pointer-events: none;
    user-select: none;

    z-index: 1;
}

.error404-watermark img {
    display: block;
    width: 100%;
    height: auto;
}

.error404-number {

    margin-bottom: 12px;

    font-size: 160px;

    font-weight: 800;

    line-height: .9;

    color: #EDF2F8;

    user-select: none;

}

/* Nadpis */

.error404-content h1 {

    margin-bottom: 24px;

    color: var(--dark);

    font-size: clamp(4rem, 6vw, 5rem);

    line-height: 1.05;

    font-weight: 800;

}

.error404-text,
.error404-message {

    max-width: 580px;

    color: #5F6B7A;

    font-size: 1.15rem;

    line-height: 1.8;

}

.error404-message{

    margin-top:12px;

    font-weight:600;

}

.error404-buttons{

    display:flex;

    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;

}

.error404-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 36px;
}

.error404-buttons .btn-primary,
.error404-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.error404-buttons .btn-secondary {
    border: 2px solid #0D2A5C;
    background: transparent;
    color: #0D2A5C;
}

.error404-buttons .btn-secondary:hover {
    background: #0D2A5C;
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .error404-content {
        transform: none;
    }

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

    .error404-buttons .btn-primary,
    .error404-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
}