/* =========================================================================
   IDOP – Theme / Design system (iterace 1)
   Vrstva NAD Arsha (style.css) + Bootstrap 5. Načítá se ZA style.css,
   takže kaskádou přebíjí původní korporátní modrou (#37517e / #47b2e4).
   Řízeno CSS proměnnými – pro iteraci 2 lze --accent přepsat per landing.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand paleta – pestrá, energická, odlišená od staré modré */
    --brand:        #6D28D9;   /* sytá fialová */
    --brand-600:    #7C3AED;
    --brand-700:    #5B21B6;
    --brand-soft:   #F5F3FF;   /* světle fialové pozadí sekcí */

    --accent:       #FF5630;   /* coral/orange – CTA "pop" (per-landing přepisovatelné) */
    --accent-600:   #E64A22;

    --mint:         #10B981;   /* proof / success */
    --amber:        #F59E0B;   /* highlight / garance */

    --ink:          #14142B;   /* nadpisy */
    --body:         #4A4A68;   /* běžný text */
    --muted:        #8A8AA3;
    --line:         #E7E5F0;   /* jemné linky */

    --bg:           #FFFFFF;
    --bg-soft:      var(--brand-soft);

    /* Gradienty */
    --grad-brand:   linear-gradient(135deg, #6D28D9 0%, #9333EA 45%, #DB2777 100%);
    --grad-accent:  linear-gradient(135deg, #FF5630 0%, #FF8A00 100%);

    /* Typografie */
    --font-display: 'Plus Jakarta Sans', 'Jost', sans-serif;
    --font-body:    'Inter', 'Open Sans', sans-serif;

    /* Tvary */
    --radius:       16px;
    --radius-sm:    10px;
    --shadow:       0 10px 30px rgba(20, 20, 43, .08);
    --shadow-lg:    0 24px 60px rgba(109, 40, 217, .18);
}

/* ---------- Globální typografie ---------- */
body {
    font-family: var(--font-body);
    color: var(--body);
}
h1, h2, h3, h4, h5, h6,
.section-title h2 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.02em;
}
a { color: var(--brand-600); }
a:hover { color: var(--accent); }

.bg-soft { background: var(--bg-soft) !important; }

/* ---------- Společné CTA tlačítko ---------- */
.btn-cta {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    background: var(--grad-accent);
    border: 0;
    padding: 15px 34px;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(255, 86, 48, .35);
    transition: transform .18s ease, box-shadow .18s ease, color .18s;
    text-align: center;
}
.btn-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(255, 86, 48, .45);
}
.btn-ghost {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .55);
    padding: 13px 28px;
    border-radius: 999px;
    transition: background .18s, border-color .18s;
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: #fff; }

/* =========================================================================
   OVERRIDE Arsha barev
   ========================================================================= */

/* Header – z tmavě modré na čistou bílou se stínem */
#header,
#header.fixed-top { background: #fff !important; box-shadow: 0 4px 22px rgba(20,20,43,.06); }
#header .logo a { color: var(--ink) !important; }
#navbar ul li a.nav-link { color: var(--ink) !important; font-family: var(--font-display); }
#navbar ul li a.nav-link:hover,
#navbar ul li a.nav-link.active { color: var(--brand) !important; }
.navbar .getstarted,
.navbar .getstarted:focus {
    background: var(--grad-accent) !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255,86,48,.3);
}
.navbar .getstarted:hover { transform: translateY(-1px); }
.mobile-nav-toggle { color: var(--ink) !important; }

/* Tlačítka z Arsha → accent */
#hero .btn-get-started,
.cta .cta-btn,
.php-email-form button[type="submit"] {
    background: var(--grad-accent) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 26px rgba(255,86,48,.32);
    font-family: var(--font-display);
}
#hero .btn-get-started:hover,
.cta .cta-btn:hover,
.php-email-form button[type="submit"]:hover { transform: translateY(-2px); color:#fff !important; }

/* section-title dekorace na brand barvu */
.section-title h2::before { background: var(--line) !important; }
.section-title h2::after  { background: var(--brand) !important; }

/* icon-box hover na brand */
.services .icon-box { border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.services .icon-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.services .icon-box .icon i { color: var(--brand) !important; }
.services .icon-box:hover h4 a,
.services .icon-box h4 a:hover { color: var(--brand) !important; }

/* Portfolio filtry */
#portfolio-flters li { transition: color .2s; }
#portfolio-flters li:hover,
#portfolio-flters li.filter-active { color: var(--brand) !important; }

/* back-to-top na accent */
.back-to-top { background: var(--accent) !important; }
.back-to-top:hover { background: var(--accent-600) !important; }

/* =========================================================================
   FOOTER (kompletně nový)
   ========================================================================= */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    padding: 60px 0 28px;
    font-size: .95rem;
}
.footer-cta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    background: var(--grad-brand);
    border-radius: 22px;
    padding: 32px 40px;
    margin-bottom: 56px;
    box-shadow: var(--shadow-lg);
}
.footer-cta h3 { color: #fff !important; margin: 0 0 4px; font-size: 1.45rem; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .9); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 38px; width: auto; display: block; }
.footer-logo span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; letter-spacing: -.02em; }
.footer-brand p { max-width: 330px; line-height: 1.65; margin: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.05rem;
    transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; line-height: 1.4; }
.footer-col a { color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--brand-600); margin-top: 3px; font-size: 1rem; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    gap: 14px; flex-wrap: wrap;
    padding-top: 24px;
    font-size: .88rem; color: rgba(255, 255, 255, .55);
}
.footer-legal { display: inline-flex; gap: 20px; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-cta { flex-direction: column; text-align: center; }
}
@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* =========================================================================
   STATISTIKY (čísla)
   ========================================================================= */
.stats-bar { padding: 54px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num {
    font-family: var(--font-display); font-weight: 800; line-height: 1;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--body); margin-top: 10px; font-weight: 500; font-size: .98rem; }
@media (max-width: 767px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* =========================================================================
   UKÁZKY APLIKACÍ – placeholder (do dodání screenshotů)
   ========================================================================= */
.ukazka-ph {
    aspect-ratio: 16 / 10;
    background: var(--brand-soft);
    border: 2px dashed #cfc6f0;
    border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 22px; color: var(--muted);
}
.ukazka-ph i { font-size: 2.4rem; color: var(--brand); margin-bottom: 12px; }
.ukazka-ph strong { color: var(--ink); display: block; margin-bottom: 4px; }
.ukazka-ph span { font-size: .85rem; }

/* =========================================================================
   LANDING „Money S3" – vlastní TEPLÉ téma (odlišení od fialové homepage)
   ========================================================================= */
.lp-money {
    --brand: #2563EB;
    --brand-600: #3B82F6;
    --brand-700: #1D4ED8;
    --brand-soft: #EFF6FF;
    --grad-brand: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #0EA5E9 100%);
}

/* Fotka partnera v hero */
.hero-photo {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, .22);
    max-width: 360px;
    margin-left: auto;
}
.hero-photo img { width: 100%; display: block; }
.hero-photo .photo-tag {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(20, 20, 43, .82));
    color: #fff; padding: 26px 18px 16px;
}
.hero-photo .photo-tag strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.hero-photo .photo-tag span { font-size: .85rem; opacity: .85; }

/* Hero s videem (video sales letter) */
.hero-video-sec { padding: 130px 0 80px; height: auto; display: block; text-align: center; }
.hero-video-sec .hero-head { max-width: 820px; margin: 0 auto; }
.hero-video-sec .hero-sub { margin-left: auto; margin-right: auto; }
.hero-video {
    max-width: 880px; margin: 34px auto 0;
    aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .18);
    background: #000;
}
.hero-video iframe, .hero-video video, .hero-video .video-ph { width: 100%; height: 100%; display: block; border: 0; }
.hero-video video { object-fit: cover; background: #000; }
.video-ph {
    background: rgba(0, 0, 0, .35);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, .85); gap: 10px;
}
.video-ph i { font-size: 3.6rem; }
.video-ph span { font-weight: 500; }
.hero-video-sec .hero-cta { margin-top: 30px; }
.hero-video-sec .hero-trust { margin-top: 22px; }

/* Hero – vycentrovaná fotka v rámečku jako bylo video (16:9, zaoblené hrany) */
.hero-image-wrap {
    max-width: 880px;
    aspect-ratio: 16 / 9;
    margin: 34px auto 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .2);
}
.hero-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 28%;
    display: block;
}

/* Srovnání „běžná podpora vs. my" */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.compare-col.is-us { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.compare-col h3 { font-size: 1.15rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare-col.is-them h3 { color: var(--muted); }
.compare-col.is-us h3 { color: var(--brand); }
.compare-list { list-style: none; padding: 0; margin: 0; }
.compare-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); color: var(--body); line-height: 1.45; }
.compare-list li:first-child { border-top: 0; }
.compare-list i { margin-top: 2px; font-size: 1.1rem; flex: 0 0 auto; }
.compare-col.is-them .compare-list i { color: #d1485f; opacity: .8; }
.compare-col.is-us .compare-list i { color: #16a34a; }
@media (max-width: 767px) { .compare { grid-template-columns: 1fr; gap: 16px; } }

/* Měsíční tarify (pricing) */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1020px; margin: 0 auto; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.price-card--hot { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--brand); margin: 8px 0 2px; }
.price-amount small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-note { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.price-features { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.price-features li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--body); font-size: .95rem; line-height: 1.4; }
.price-features li:first-child { border-top: 0; }
.price-features i { margin-top: 3px; flex: 0 0 auto; color: #16a34a; }
.price-features li.off { color: var(--muted); }
.price-features li.off i { color: var(--muted); opacity: .5; }
.price-bonus { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; }
.price-bonus > strong { display: block; color: var(--brand); font-size: .9rem; margin-bottom: 8px; }
.price-bonus ul { list-style: none; padding: 0; margin: 0; }
.price-bonus li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: .92rem; color: var(--ink); }
.price-bonus i { color: var(--brand); margin-top: 3px; }
.price-bonus s { color: var(--muted); font-size: .82rem; }
.price-card .btn-cta, .price-card .btn-ghost { text-align: center; margin-top: auto; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

/* Srovnávací tabulka (ceník + parametry: Money S3 vs my) */
.cmp-table { max-width: 920px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.cmp-table .cmp-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; }
.cmp-table .cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-table .cmp-row > div { padding: 13px 15px; display: flex; align-items: center; gap: 7px; font-size: .93rem; line-height: 1.35; }
.cmp-table .cmp-param { font-weight: 600; color: var(--ink); background: var(--bg-soft); }
.cmp-table .cmp-us { background: var(--brand-soft); font-weight: 600; color: var(--ink); }
.cmp-table .cmp-them { color: var(--body); }
.cmp-table .cmp-head > div { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink); background: #fff; }
.cmp-table .cmp-head .cmp-us { color: var(--brand); }
.cmp-table .cmp-them .bi-x-lg { color: #d1485f; }
.cmp-table .cmp-us .bi-check-lg { color: #16a34a; }
@media (max-width: 600px) { .cmp-table .cmp-row > div { padding: 10px 9px; font-size: .8rem; gap: 5px; } }

/* Velká sekce – mobilní aplikace + syncroX moduly */
.app-section { padding: 40px 0; }
.app-panel { background: var(--grad-brand); color: #fff; border-radius: 28px; padding: 48px 44px; box-shadow: var(--shadow-lg); }
.app-panel h2 { color: #fff !important; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.app-panel .hero-eyebrow { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.app-panel > .row > div > p { color: rgba(255, 255, 255, .92); }
.app-benefits { list-style: none; padding: 0; margin: 22px 0; }
.app-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: rgba(255, 255, 255, .95); line-height: 1.4; }
.app-benefits i { color: #fff; margin-top: 3px; font-size: 1.2rem; flex: 0 0 auto; }
.app-price { margin: 22px 0; }
.app-price strong { font-size: 1.7rem; font-family: var(--font-display); }
.app-price span { display: block; font-size: .85rem; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.phone-mock { width: 248px; aspect-ratio: 9 / 19; background: #0c0c14; border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); margin: 0 auto; }
.phone-mock .screen { width: 100%; height: 100%; border-radius: 26px; background: rgba(255, 255, 255, .12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255, 255, 255, .8); text-align: center; padding: 20px; }
.phone-photo { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; }
.phone-mock .screen:has(img) { padding: 0; overflow: hidden; }
.phone-mock .screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone-mock .screen i { font-size: 3rem; }
.phone-mock .screen span { font-size: .85rem; }
.app-modules { margin-top: 42px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 30px; }
.app-modules h3 { color: #fff !important; text-align: center; font-size: 1.2rem; margin-bottom: 20px; }
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 18px; text-align: center; color: #fff; }
.module i { font-size: 1.8rem; display: block; margin-bottom: 8px; color: #fff; }
.module strong { display: block; margin-bottom: 2px; }
.module span { font-size: .85rem; color: rgba(255, 255, 255, .82); }
@media (max-width: 767px) { .app-panel { padding: 34px 24px; } .modules-grid { grid-template-columns: 1fr; } .phone-mock { margin-top: 32px; } }

/* Hero – „aurora" vizuál vpravo (splývá s gradient pozadím; placeholder pro budoucí obrázek) */
.hero-visual { position: relative; max-width: 580px; margin: 0 auto; pointer-events: none; }
.hv-blob { position: absolute; border-radius: 50%; filter: blur(52px); }
.hv-blob.a { width: 240px; height: 240px; background: #FF5630; opacity: .58; top: 28%; left: 30%; }
.hv-blob.b { width: 260px; height: 260px; background: #DB2777; opacity: .55; top: 6%; left: 8%; }
.hv-blob.c { width: 200px; height: 200px; background: #FFD166; opacity: .42; bottom: 14%; right: 14%; }
.hv-blob.d { width: 190px; height: 190px; background: #0EA5E9; opacity: .38; bottom: 22%; left: 22%; }
.hero-visual img.hero-blend {
    position: relative; width: 100%; height: auto; display: block;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 72%, transparent 97%);
    mask-image: radial-gradient(ellipse at center, #000 72%, transparent 97%);
}

/* Osobní sekce „kdo se o vás postará" */
.partner-box {
    display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow);
}
.partner-box .partner-photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.partner-box .partner-photo img { width: 100%; display: block; }
.partner-box h3 { margin-bottom: 4px; }
.partner-box .partner-role { color: var(--brand); font-weight: 700; margin-bottom: 16px; }
.partner-box p { color: var(--body); margin-bottom: 12px; }
.partner-sign { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.partner-sign span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.partner-sign i { color: var(--brand); }
@media (max-width: 767px) {
    .partner-box { grid-template-columns: 1fr; text-align: center; padding: 28px; }
    .partner-box .partner-photo { max-width: 240px; margin: 0 auto; }
    .partner-sign { justify-content: center; }
    .hero-photo { margin: 0 auto; }
}

/* Logo-grid integrací (vizuál místo textu) */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-grid .logo-cell {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 16px;
}
.logo-grid .logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: .25s; }
.logo-grid .logo-cell:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 767px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================================
   GALERIE REALIZACÍ (stránka Naše aplikace)
   ========================================================================= */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.case-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-thumb {
    aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line);
    background: var(--brand-soft);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--muted); text-align: center; padding: 20px;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-thumb--photo { padding: 0; }
.case-thumb i { font-size: 2.4rem; color: var(--brand); margin-bottom: 10px; }
.case-thumb span { font-size: .85rem; }
.case-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.case-tag {
    align-self: flex-start; font-size: .76rem; font-weight: 700;
    color: var(--brand); background: var(--brand-soft);
    padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.case-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.case-body p { color: var(--body); margin: 0 0 16px; flex: 1; }
.case-body .p-link { font-weight: 700; color: var(--accent); }
.case-card.is-placeholder { border-style: dashed; box-shadow: none; }
@media (max-width: 767px) { .case-grid { grid-template-columns: 1fr; } }

/* Chybové stránky (404, 4xx) */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 20px 80px; }
.error-page .error-inner { max-width: 600px; }
.error-page .error-code { font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page h1 { font-size: 1.9rem; margin: 12px 0 14px; color: var(--ink); }
.error-page p { color: var(--body); font-size: 1.05rem; margin: 0 auto 28px; max-width: 460px; }
.error-page .error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Právní stránky (GDPR, VOP) */
.legal-content { max-width: 860px; margin: 0 auto; color: var(--body); line-height: 1.75; }
.legal-content h2, .legal-content h3 { color: var(--ink); margin: 32px 0 12px; }
.legal-content p { margin: 0 0 14px; }
.legal-content ol, .legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--accent); }

/* =========================================================================
   NOVÉ SEKCE HOMEPAGE (Hormozi struktura)
   ========================================================================= */

/* ---- HERO ---- */
#hero.hero-modern {
    background: var(--grad-brand);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 140px 0 90px;
    height: auto;
}
#hero.hero-modern::after {
    content: "";
    position: absolute;
    width: 520px; height: 520px;
    right: -160px; top: -160px;
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
    border-radius: 50%;
}
/* Hero s obrázkem na pozadí (homepage) */
#hero.hero-modern.hero-bg-image {
    background: #1a1130 url('/images/img_1.png?v=2') center/cover no-repeat;
}
#hero.hero-modern.hero-bg-image::after { display: none; }
#hero.hero-modern.hero-bg-image::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(20, 12, 40, .78) 0%, rgba(20, 12, 40, .55) 38%, rgba(20, 12, 40, .15) 65%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}
#hero.hero-modern.hero-bg-image .container { position: relative; z-index: 1; }
#hero.hero-modern.hero-bg-image,
#hero.hero-modern.hero-bg-image .container,
#hero.hero-modern.hero-bg-image .col-lg-6,
#hero.hero-modern.hero-bg-image h1,
#hero.hero-modern.hero-bg-image p,
#hero.hero-modern.hero-bg-image .hero-title,
#hero.hero-modern.hero-bg-image .hero-sub,
#hero.hero-modern.hero-bg-image .hero-eyebrow { text-align: left !important; }
#hero.hero-modern.hero-bg-image .hero-cta,
#hero.hero-modern.hero-bg-image .hero-trust { justify-content: flex-start !important; }
@media (max-width: 991px) {
    #hero.hero-modern.hero-bg-image,
    #hero.hero-modern.hero-bg-image .container,
    #hero.hero-modern.hero-bg-image .col-lg-6,
    #hero.hero-modern.hero-bg-image h1,
    #hero.hero-modern.hero-bg-image p,
    #hero.hero-modern.hero-bg-image .hero-title,
    #hero.hero-modern.hero-bg-image .hero-sub,
    #hero.hero-modern.hero-bg-image .hero-eyebrow { text-align: left !important; }
}
@media (max-width: 991px) {
    #hero.hero-modern.hero-bg-image {
        background-position: right -120px center;
    }
    #hero.hero-modern.hero-bg-image::before {
        background: linear-gradient(to bottom, rgba(20, 12, 40, .85), rgba(20, 12, 40, .7));
    }
}
.hero-eyebrow {
    display: inline-block;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.hero-title {
    color: #fff !important;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 18px;
}
.hero-title .hl {
    background: linear-gradient(120deg, #FFD166, #FF8A00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: rgba(255,255,255,.9);
    max-width: 620px;
    margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust {
    margin-top: 26px;
    display: flex; flex-wrap: wrap; gap: 18px 26px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: #FFD166; font-size: 1.15rem; }
.hero-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    padding: 26px;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lg);
}
.hero-card .flow-row {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.95);
    color: var(--ink);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
    font-weight: 600;
}
.hero-card .flow-row:last-child { margin-bottom: 0; }
.hero-card .flow-row i { color: var(--brand); font-size: 1.4rem; }
.hero-card .flow-arrow { text-align: center; color: rgba(255,255,255,.7); margin: -4px 0 8px; }

/* ---- PAIN / problém ---- */
.pain .section-title h2 { max-width: 760px; margin: 0 auto; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 14px; }
.pain-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}
.pain-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 10px; display: block; }
.pain-card h4 { font-size: 1.12rem; margin-bottom: 8px; }
.pain-card p { color: var(--body); margin: 0; font-size: .96rem; }

/* ---- PERSONAS / pro koho ---- */
.personas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 14px; }
.persona-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.persona-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.persona-card .p-icon {
    width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand);
    font-size: 1.6rem; margin-bottom: 16px;
}
.persona-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.persona-card p { color: var(--body); font-size: .95rem; flex: 1; }
.persona-card .p-result { font-weight: 700; color: var(--brand); margin: 10px 0 16px; font-size: .95rem; }
.persona-card .p-link { font-weight: 700; color: var(--accent); }
.persona-card--hot { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.persona-card--hot .badge-hot {
    position: absolute; top: -12px; right: 18px;
    background: var(--grad-accent); color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em;
    padding: 6px 12px; border-radius: 999px;
}

/* ---- STEPS / jak to funguje ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 14px; }
.step { text-align: center; padding: 10px; }
.step__num {
    width: 56px; height: 56px; margin: 0 auto 16px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--grad-brand); color: #fff;
    font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
    box-shadow: var(--shadow);
}
.step h4 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--body); font-size: .94rem; margin: 0; }

/* ---- GUARANTEE / risk reversal ---- */
.guarantee-sec { padding: 30px 0; }
.guarantee {
    background: var(--grad-brand);
    color: #fff;
    border-radius: 24px;
    padding: 40px;
    display: flex; align-items: center; gap: 28px;
    box-shadow: var(--shadow-lg);
}
.guarantee .g-badge {
    flex: 0 0 auto;
    width: 96px; height: 96px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    border: 2px dashed rgba(255,255,255,.6);
    font-size: 2.6rem; color: #FFD166;
}
.guarantee h3 { color: #fff !important; margin-bottom: 6px; }
.guarantee p { margin: 0; color: rgba(255,255,255,.92); }

/* ---- FINAL CTA ---- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.final-cta p { max-width: 620px; margin: 12px auto 26px; font-size: 1.1rem; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 991px) {
    .pain-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .personas-grid { grid-template-columns: repeat(2, 1fr); }
    #hero.hero-modern { padding: 120px 0 70px; text-align: center; }
    .hero-cta, .hero-trust { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
}
@media (max-width: 575px) {
    .pain-grid, .steps, .personas-grid { grid-template-columns: 1fr; }
    .guarantee { flex-direction: column; text-align: center; padding: 30px 24px; }
}

/* =========================================================================
   CAROUSEL KLIENTŮ (marquee – přeneseno ze syncroX, převedeno na vanilla JS)
   ========================================================================= */
.refs-section { padding: 60px 0; }
.refs-eyebrow {
    text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
    color: var(--muted); font-size: .85rem; margin-bottom: 6px;
}
.refs-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.refs-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    padding: 8px 24px;
    margin: -8px 0;
    scroll-behavior: auto;
}
.refs-track::-webkit-scrollbar { display: none; }
.refs-track.dragging { cursor: grabbing; }
.refs-track.dragging * { pointer-events: none; }
.ref-tile {
    flex: 0 0 calc((100% - 60px) / 4);
    aspect-ratio: 3 / 2;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    padding: 22px 26px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    box-shadow: var(--shadow);
}
.refs-track:not(.dragging) .ref-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand);
}
.ref-tile img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .25s, opacity .25s;
    pointer-events: none; -webkit-user-drag: none;
}
.refs-track:not(.dragging) .ref-tile:hover img { filter: grayscale(0); opacity: 1; }
.refs-note { text-align: center; margin-top: 30px; color: var(--muted); }
.refs-note strong { color: var(--ink); }
@media (max-width: 900px) { .ref-tile { flex: 0 0 calc((100% - 32px) / 3); } }
@media (max-width: 600px) { .ref-tile { flex: 0 0 calc((100% - 16px) / 2); } }
