/* Styly pro návrh nové úvodní stránky (new-index.php) – navazuje na assets/css/style.css a index.css.
   Barva výzev #b65400 (stejná jako .eyebrow v landing.css) má proti bílé kontrast 4,9 : 1 (WCAG AA). */

/*--------------------------------------------------------------
# Obecné prvky
--------------------------------------------------------------*/

section[id],
.home-anchor {
    scroll-margin-top: 90px;
}

.home-anchor {
    display: block;
    height: 0;
}

.home-section {
    padding: 80px 0;
}

.home-section-alt {
    background: #f6f9ff;
}

.home-section-warm {
    background: #fff7ef;
}

.home-head {
    margin: 0 auto 44px;
    max-width: 820px;
    text-align: center;
}

.home-kicker {
    color: #b65400;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.home-head h2 {
    color: #343434;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0 0;
}

.home-head p:not(.home-kicker) {
    color: #4f5868;
    font-size: 18px;
    line-height: 1.6;
    margin: 16px 0 0;
}

.home-section-foot {
    color: #4f5868;
    margin: 32px 0 0;
    text-align: center;
}

.home-card {
    background: #fff;
    border: 1px solid #e6eaf1;
    border-radius: 12px;
    height: 100%;
    padding: 28px;
}

.home-link {
    color: #b65400;
    display: inline-flex;
    font-weight: 700;
    gap: 6px;
    min-height: 44px;
    align-items: center;
}

.home-link:hover,
.home-link:focus {
    color: #8f4200;
}

.home-sample-label {
    background: #343434;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 2px 8px;
    text-transform: uppercase;
}

/* Tlačítka */
.home-btn {
    align-items: center;
    border: 2px solid #b65400;
    border-radius: 4px;
    display: inline-flex;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    letter-spacing: .5px;
    line-height: 1.2;
    min-height: 48px;
    padding: 12px 28px;
    text-align: center;
    transition: background .3s, color .3s, border-color .3s;
}

.home-btn:hover,
.home-btn:focus {
    text-decoration: none;
}

.home-btn i {
    transition: transform .3s;
}

.home-btn:hover i.bi-arrow-right {
    transform: translateX(4px);
}

.home-btn-primary {
    background: #b65400;
    box-shadow: 0 5px 24px rgba(182, 84, 0, .25);
    color: #fff;
}

.home-btn-primary:hover,
.home-btn-primary:focus {
    background: #8f4200;
    border-color: #8f4200;
    color: #fff;
}

.home-btn-secondary {
    background: #fff;
    color: #b65400;
}

.home-btn-secondary:hover,
.home-btn-secondary:focus {
    background: #fff1e5;
    color: #8f4200;
}

.home-btn:focus-visible,
.home-link:focus-visible,
.home-platform-tile:focus-visible,
.home-compare summary:focus-visible,
.home-tabs .nav-link:focus-visible,
.home-navbar a:focus-visible {
    outline: 3px solid #343434;
    outline-offset: 2px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-actions-center {
    justify-content: center;
    margin-top: 40px;
}

/*--------------------------------------------------------------
# Hlavička
--------------------------------------------------------------*/

.home-navbar .getstarted,
.home-navbar .getstarted:focus {
    background: #b65400;
    font-weight: 700;
}

.home-navbar .getstarted:hover,
.home-navbar .getstarted:focus:hover {
    background: #8f4200;
}

/* Textové odkazy v obsahu tmavší oranžovou kvůli kontrastu */
#main a:not([class]) {
    color: #b65400;
}

#main a:not([class]):hover {
    color: #8f4200;
}

/* Rozbalovací menu i z klávesnice */
.home-navbar .dropdown:focus-within > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home-navbar a,
    .home-navbar a:focus {
        padding-left: 18px;
    }
    .home-navbar .getstarted,
    .home-navbar .getstarted:focus {
        margin-left: 18px;
        padding: 8px 16px;
    }
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

.hero.home-hero {
    height: auto;
    padding: 130px 0 70px;
}

.home-eyebrow {
    background: #fff1e5;
    border-radius: 999px;
    color: #b65400;
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0 0 18px;
    padding: 8px 14px;
    text-transform: uppercase;
}

.home-hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
}

.home-hero h1 span {
    color: #b65400;
    display: block;
}

.home-hero-lead {
    color: #43495a;
    font-size: 20px;
    line-height: 1.6;
    margin: 20px 0 0;
}

.home-hero-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.home-hero-facts li {
    color: #43495a;
    font-weight: 600;
}

.home-hero-facts i {
    color: #F1913A;
    margin-right: 8px;
}

.home-hero-shot {
    margin: 0;
}

.home-hero-shot img {
    display: block;
    height: auto;
    width: 100%;
}

.home-hero-shot figcaption,
.home-demo-shot figcaption {
    color: #4f5868;
    font-size: 14px;
    margin-top: 4px;
    text-align: center;
}

/*--------------------------------------------------------------
# Důvěryhodnost
--------------------------------------------------------------*/

.home-stats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0 auto;
    max-width: 900px;
    padding: 0;
}

.home-stats li {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(1, 41, 112, .06);
    padding: 24px 16px;
    text-align: center;
}

.home-stats strong {
    color: #343434;
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
}

.home-stats span {
    color: #4f5868;
    display: block;
    font-weight: 600;
    margin-top: 6px;
}

.home-stats-note {
    color: #4f5868;
    font-size: 14px;
    margin: 12px 0 0;
    text-align: center;
}

.home-integrations {
    margin: 48px 0;
    text-align: center;
}

.home-integrations-title {
    color: #4f5868;
    font-weight: 700;
    margin-bottom: 14px;
}

.home-integrations ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-integrations a,
.home-integrations span {
    align-items: center;
    background: #fff;
    border: 1px solid #e6eaf1;
    border-radius: 10px;
    display: flex;
    height: 64px;
    justify-content: center;
    padding: 12px 20px;
}

.home-integrations a:hover {
    border-color: #F1913A;
}

.home-integrations img {
    height: 32px;
    max-width: 130px;
    object-fit: contain;
    width: auto;
}

.home-integrations-api {
    color: #343434;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 800;
    gap: 8px;
}

.home-facts i {
    color: #F1913A;
    font-size: 28px;
}

.home-facts h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 8px 0;
}

.home-facts p {
    color: #4f5868;
    margin: 0;
}

/*--------------------------------------------------------------
# Přínosy a kroky
--------------------------------------------------------------*/

.home-benefit {
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s, border-color .3s;
}

.home-benefit:hover {
    border-color: #f6d3b2;
    box-shadow: 0 10px 30px rgba(1, 41, 112, .08);
}

.home-benefit > i {
    color: #F1913A;
    font-size: 34px;
    line-height: 1;
}

.home-benefit h3 {
    font-size: 21px;
    font-weight: 800;
    margin: 16px 0 10px;
}

.home-benefit p {
    color: #4f5868;
    flex: 1 1 auto;
}

.home-steps {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

.home-step-number {
    align-items: center;
    background: #fff1e5;
    border-radius: 50%;
    color: #b65400;
    display: inline-flex;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.home-step h3 {
    font-size: 21px;
    font-weight: 800;
    margin: 16px 0 10px;
}

.home-step p {
    color: #4f5868;
    margin: 0;
}

/*--------------------------------------------------------------
# Ukázka produktu
--------------------------------------------------------------*/

.home-tabs {
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}

.home-tabs .nav-link {
    background: #fff;
    border: 1px solid #d9dee8;
    border-radius: 999px;
    color: #343434;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 22px;
}

.home-tabs .nav-link:hover {
    border-color: #b65400;
    color: #b65400;
}

.home-tabs .nav-link.active {
    background: #b65400;
    border-color: #b65400;
    color: #fff;
}

.home-demo-shot {
    margin: 0;
}

.home-demo-shot img {
    display: block;
    height: auto;
    width: 100%;
}

.home-demo-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.home-checklist {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.home-checklist li {
    display: flex;
    gap: 10px;
    padding: 5px 0;
}

.home-checklist i {
    color: #F1913A;
    flex: none;
}

.service-video-fallback.is-visible {
    display: block;
}

/*--------------------------------------------------------------
# Pro koho a modelový postup
--------------------------------------------------------------*/

.home-usecase h3 {
    align-items: center;
    display: flex;
    font-size: 21px;
    font-weight: 800;
    gap: 10px;
    margin: 0 0 18px;
}

.home-usecase h3 i {
    color: #F1913A;
}

.home-usecase dl {
    margin: 0;
}

.home-usecase dt {
    color: #4f5868;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-usecase dd {
    margin: 2px 0 14px;
}

.home-usecase dd:last-child {
    margin-bottom: 0;
}

.home-flow {
    counter-reset: home-flow;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-flow li {
    background: #fff;
    border: 1px solid #e6eaf1;
    border-radius: 12px;
    counter-increment: home-flow;
    padding: 24px;
    position: relative;
}

.home-flow li::before {
    color: #F1913A;
    content: counter(home-flow, decimal-leading-zero);
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
}

.home-flow-label {
    display: block;
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.home-flow p {
    color: #4f5868;
    margin: 0;
}

.home-reference blockquote {
    font-size: 18px;
    margin: 16px 0;
}

.home-reference img {
    max-height: 40px;
    width: auto;
}

/*--------------------------------------------------------------
# Ceník
--------------------------------------------------------------*/

.home-plan {
    background: #fff;
    border: 1px solid #e6eaf1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 24px;
    position: relative;
}

.home-plan.is-featured {
    border: 2px solid #b65400;
    box-shadow: 0 12px 36px rgba(182, 84, 0, .14);
}

.home-plan-badge {
    background: #b65400;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    left: 24px;
    letter-spacing: .5px;
    padding: 4px 12px;
    position: absolute;
    text-transform: uppercase;
    top: -13px;
}

.home-plan h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

.home-plan-price {
    color: #343434;
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin: 10px 0 0;
}

.home-plan-price span {
    color: #4f5868;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.home-plan-tagline {
    color: #4f5868;
    margin: 8px 0 18px;
    min-height: 48px;
}

.home-plan dl {
    flex: 1 1 auto;
    margin: 0 0 24px;
}

.home-plan dl div {
    border-bottom: 1px dashed #e6eaf1;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 8px 0;
}

.home-plan dt {
    color: #4f5868;
    font-weight: 400;
}

.home-plan dd {
    font-weight: 700;
    margin: 0;
    text-align: right;
}

.home-plan .home-btn {
    width: 100%;
}

.home-pricing-notes {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
}

.home-pricing-notes li {
    color: #4f5868;
    font-size: 15px;
}

.home-pricing-notes i {
    color: #F1913A;
    margin-right: 6px;
}

.home-compare {
    margin-top: 36px;
}

.home-compare summary {
    align-items: center;
    background: #fff;
    border: 2px solid #b65400;
    border-radius: 4px;
    color: #b65400;
    cursor: pointer;
    display: flex;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    max-width: 420px;
    min-height: 48px;
    padding: 10px 20px;
}

.home-compare summary::-webkit-details-marker {
    display: none;
}

.home-compare summary::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    transition: transform .3s;
}

.home-compare[open] summary::after {
    transform: rotate(180deg);
}

.home-compare .tariff-compare {
    margin-top: 24px;
}

/*--------------------------------------------------------------
# FAQ, tým, kontakt
--------------------------------------------------------------*/

.home-section.faq .accordion-button {
    min-height: 56px;
}

.home-section.contact .php-email-form button[type=submit] {
    background: #b65400;
    font-weight: 700;
    min-height: 48px;
}

.home-section.contact .php-email-form button[type=submit]:hover {
    background: #8f4200;
}

.home-member {
    text-align: center;
}

.home-avatar {
    align-items: center;
    background: #fff1e5;
    border-radius: 50%;
    color: #b65400;
    display: inline-flex;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 800;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.home-member h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 14px 0 2px;
}

.home-member-role {
    color: #b65400;
    font-weight: 700;
    margin-bottom: 12px;
}

.home-member p:last-child {
    color: #4f5868;
    margin: 0;
}

/*--------------------------------------------------------------
# Závěrečná výzva a výběr platformy
--------------------------------------------------------------*/

.home-final {
    background: #2b2e35;
}

.home-final .home-kicker {
    color: #f6b277;
}

.home-final .home-head h2 {
    color: #fff;
}

.home-final .home-head p:not(.home-kicker) {
    color: #d7dae0;
}

.home-final-note {
    color: #d7dae0;
    margin: 28px 0 0;
    text-align: center;
}

.home-final-note a {
    color: #f6b277;
    font-weight: 700;
}

.home-platform-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-platform-tile {
    background: #fff;
    border: 2px solid #e6eaf1;
    border-radius: 12px;
    color: #343434;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 20px 18px;
    transition: border-color .3s, box-shadow .3s;
}

.home-platform-tile:hover,
.home-platform-tile:focus {
    border-color: #F1913A;
    box-shadow: 0 10px 30px rgba(1, 41, 112, .12);
    color: #343434;
    text-decoration: none;
}

.home-platform-logo {
    align-items: center;
    display: flex;
    height: 36px;
}

.home-platform-logo img {
    height: 32px;
    max-width: 130px;
    object-fit: contain;
    object-position: left center;
    width: auto;
}

.home-platform-logo i {
    color: #343434;
    font-size: 30px;
}

.home-platform-name {
    font-family: "Nunito", sans-serif;
    font-size: 17px;
}

.home-platform-note {
    color: #4f5868;
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.45;
}

.home-platform-cta {
    color: #b65400;
    font-weight: 800;
    margin-top: 6px;
}

.home-platform-tile:hover .home-platform-cta i {
    transform: translateX(4px);
}

.home-platform-cta i {
    display: inline-block;
    transition: transform .3s;
}

.home-start-modal .modal-content {
    border: 0;
    border-radius: 16px;
}

.home-start-modal .modal-header {
    align-items: flex-start;
    padding: 24px 24px 8px;
}

.home-start-modal .modal-title {
    font-size: 24px;
    font-weight: 800;
}

.home-start-sub {
    color: #4f5868;
    margin: 6px 0 0;
}

.home-start-modal .modal-body {
    padding: 16px 24px 24px;
}

.home-start-modal .home-platform-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.home-start-footer {
    background: #f6f9ff;
    border-radius: 0 0 16px 16px;
    display: block;
    padding: 16px 24px;
}

.home-start-footer p {
    color: #4f5868;
    font-size: 14px;
    margin: 0;
}

.home-start-footer p + p {
    margin-top: 4px;
}

.home-start-footer a {
    color: #b65400;
    font-weight: 700;
}

/*--------------------------------------------------------------
# Mobilní lišta s výzvou
--------------------------------------------------------------*/

.home-sticky {
    display: none;
}

/*--------------------------------------------------------------
# Responzivita
--------------------------------------------------------------*/

@media (max-width: 1199px) {
    .home-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-plan-tagline {
        min-height: 0;
    }
}

@media (max-width: 991px) {
    .hero.home-hero {
        padding: 110px 0 50px;
    }
    .home-hero h1 {
        font-size: 36px;
    }
    .home-hero-lead {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .home-section {
        padding: 56px 0;
    }
    .home-head {
        margin-bottom: 32px;
    }
    .home-head h2 {
        font-size: 28px;
    }
    .home-head p:not(.home-kicker) {
        font-size: 16px;
    }
    .hero.home-hero {
        text-align: left;
    }
    .home-hero h1 {
        font-size: 30px;
    }
    .home-actions .home-btn {
        width: 100%;
    }
    .home-stats {
        grid-template-columns: 1fr;
    }
    .home-stats li {
        align-items: baseline;
        display: flex;
        gap: 12px;
        justify-content: center;
        padding: 16px;
    }
    .home-stats strong {
        font-size: 26px;
    }
    .home-stats span {
        margin-top: 0;
    }
    .home-flow {
        grid-template-columns: 1fr;
    }
    .home-tabs .nav-link {
        padding: 10px 16px;
    }
    .home-platform-grid,
    .home-start-modal .home-platform-grid {
        grid-template-columns: 1fr;
    }
    .home-platform-tile {
        padding: 16px;
    }
    .home-sticky {
        bottom: 12px;
        display: block;
        left: 12px;
        position: fixed;
        right: 12px;
        z-index: 996;
    }
    .home-sticky .home-btn {
        width: 100%;
    }
    .back-to-top {
        bottom: 84px;
    }
    .footer {
        padding-bottom: 80px;
    }
}
