/* =========================================================================
   studio96.cz — designový systém rozcestníku
   Prémiová tmavá varianta. Barvy přes CSS proměnné → světlou variantu
   lze zapnout přepsáním bloku :root (viz komentář "SVĚTLÁ VARIANTA").
   ========================================================================= */

/* ---------- Proměnné (TMAVÁ – aktivní) ---------- */
:root {
    /* plochy */
    --bg:        #0d1015;   /* hlavní pozadí */
    --bg-soft:   #12161d;   /* sekce */
    --bg-card:   #151b23;   /* karty */
    --bg-card-2: #1b232d;   /* vstupy, chipy, hover plochy */
    --border:    #232c37;
    --border-2:  #33414f;   /* zvýraznění / hover */

    /* text */
    --text:      #eef2f7;
    --text-muted:#9aa6b2;
    --text-dim:  #6b7683;

    /* firemní modrá (napříč apkou i eshopem) */
    --accent:       #1076b7;
    --accent-hover: #0f5e94;
    --accent-bright:#2b9fe0;
    --accent-text:  #6bb3e6;
    --accent-soft:  #12324c;
    --glow:         rgba(43,159,224,.30);

    /* jemný luxusní teplý akcent (velmi střídmě – linky, eyebrow) */
    --lux:       #c9a86a;

    --info-bg:   #14343a;   /* petrolejová – kredity/ceny (návaznost na apku) */
    --info-text: #9fd8d2;

    --radius:    14px;
    --radius-sm: 10px;
    --maxw:      1180px;
    --ease:      cubic-bezier(.22,.61,.36,1);

    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/*  SVĚTLÁ VARIANTA (do budoucna) – stačí odkomentovat a přepíše tmavou:
:root {
    --bg:#f6f8fb; --bg-soft:#eef2f7; --bg-card:#ffffff; --bg-card-2:#f0f4f9;
    --border:#e0e6ee; --border-2:#c7d2df;
    --text:#141a22; --text-muted:#53616f; --text-dim:#8a96a4;
    --glow:rgba(16,118,183,.18);
}
*/

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

html { scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--font-body);
    background: transparent;
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Živé pozadí: pomalu plující modré světelné plochy ---------- */
.bg-fx {
    position: fixed; inset: 0; z-index: -1;
    overflow: hidden; pointer-events: none;
    /* jemný základní nádech i když se blob zrovna odsune */
    background: radial-gradient(70rem 50rem at 82% -12%, rgba(16,118,183,.10), transparent 60%);
}
.bg-fx span {
    position: absolute; display: block; border-radius: 50%;
    filter: blur(72px); will-change: transform;
}
.bg-fx .b1 {
    width: 46rem; height: 46rem; top: -18rem; right: -12rem;
    background: radial-gradient(circle, rgba(16,118,183,.50), transparent 70%);
    animation: drift1 18s ease-in-out infinite;
}
.bg-fx .b2 {
    width: 40rem; height: 40rem; top: 22%; left: -16rem;
    background: radial-gradient(circle, rgba(43,159,224,.34), transparent 70%);
    animation: drift2 22s ease-in-out infinite;
}
.bg-fx .b3 {
    width: 32rem; height: 32rem; bottom: -16rem; left: 38%;
    background: radial-gradient(circle, rgba(16,118,183,.26), transparent 70%);
    animation: drift3 26s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6rem,4rem) scale(1.14); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5rem,-3rem) scale(1.10); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4rem,-6rem) scale(1.09); } }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / drobné nadpisy ---------- */
.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eyebrow::before {
    content: ""; width: 22px; height: 1px; background: var(--lux); opacity: .8;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(13,16,21,.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    height: 68px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
    font-family: var(--font-head);
    font-size: 23px; font-weight: 600; letter-spacing: .01em;
    color: var(--text); text-decoration: none;
    display: inline-flex; align-items: baseline; gap: 2px;
}
.brand b { color: var(--accent-text); font-weight: 600; }
.brand .dot { color: var(--lux); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
    color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
    position: relative; transition: color .2s var(--ease);
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
    background: var(--accent-bright); transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }

@media (max-width: 860px) {
    .main-nav {
        position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg-soft); border-bottom: 1px solid var(--border);
        padding: 8px 24px 18px; display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .main-nav a::after { display: none; }
    .main-nav .nav-cta { margin-top: 12px; }
    .nav-toggle { display: inline-flex; }
}

/* =========================================================================
   TLAČÍTKA
   ========================================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    text-decoration: none; cursor: pointer; transition: all .22s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    color: #fff; box-shadow: 0 8px 24px -10px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--glow); }
.btn-ghost {
    background: rgba(255,255,255,.02); color: var(--text); border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding: 86px 0 64px; overflow: hidden; }
.hero-inner { max-width: 820px; }
.hero h1 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.06; letter-spacing: -.01em;
    margin: 20px 0 22px;
}
.hero h1 .hl {
    background: linear-gradient(120deg, var(--accent-text), var(--accent-bright));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
    font-size: clamp(16px, 2.1vw, 19px); color: var(--text-muted);
    max-width: 640px; margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
    display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px;
    padding-top: 26px; border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: 13.5px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent-text); }

/* =========================================================================
   SEKCE + NADPISY
   ========================================================================= */
.section { padding: 30px 0 40px; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 {
    font-family: var(--font-head); font-weight: 600;
    font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin: 14px 0 12px;
}
.section-head p { color: var(--text-muted); font-size: 16px; }

/* =========================================================================
   MŘÍŽKA DLAŽDIC
   ========================================================================= */
.tiles {
    display: grid; gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 940px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

.tile {
    position: relative; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 24px 22px; text-decoration: none; color: var(--text);
    overflow: hidden; min-height: 232px;
    transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.tile::after { /* horní světelná linka při hoveru */
    content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    opacity: 0; transition: opacity .3s var(--ease);
}
a.tile:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 22px 46px -22px var(--glow);
}
a.tile:hover::after { opacity: .9; }
.tile:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.tile-num {
    position: absolute; top: 20px; right: 22px;
    font-family: var(--font-head); font-size: 15px; color: var(--text-dim); letter-spacing: .05em;
}
.tile-icon {
    width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    color: #fff; box-shadow: 0 8px 20px -10px var(--glow);
}
.tile-icon svg { width: 23px; height: 23px; }
.tile .t-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.tile h3 { font-size: 20px; font-weight: 700; margin: 7px 0 9px; font-family: var(--font-body); letter-spacing: -.01em; }
.tile p { color: var(--text-muted); font-size: 14.5px; flex: 1; }

.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.tile-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--accent-text); }
.tile-link svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
a.tile:hover .tile-link svg { transform: translateX(4px); }

/* zvýrazněná (AI) karta */
.tile.featured {
    background:
        radial-gradient(30rem 20rem at 100% 0%, rgba(43,159,224,.16), transparent 60%),
        linear-gradient(180deg, var(--bg-card), var(--bg-soft));
    border-color: var(--border-2);
}
.tile.featured .tile-icon { background: linear-gradient(180deg, var(--accent-bright), var(--accent)); color: #fff; border-color: transparent; }

/* stav „Připravujeme" */
.tile.soon { cursor: default; }
.tile.soon:hover { transform: none; border-color: var(--border); box-shadow: none; }
.tile.soon .tile-icon { color: var(--text-dim); background: var(--bg-card-2); }
.badge-soon {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--lux);
    border: 1px solid rgba(201,168,106,.35); border-radius: 999px; padding: 4px 11px;
}

/* =========================================================================
   ZÁVĚREČNÝ PRUH / VÝZVA
   ========================================================================= */
.cta-band {
    margin: 24px 0 8px;
    background:
        radial-gradient(40rem 20rem at 15% 0%, rgba(16,118,183,.20), transparent 60%),
        var(--bg-soft);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px 34px;
    display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-band p { color: var(--text-muted); max-width: 520px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    margin-top: 64px; border-top: 1px solid var(--border);
    background: var(--bg-soft); padding: 52px 0 30px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 14px; font-weight: 700; }
.footer-grid a { color: var(--text-muted); text-decoration: none; display: block; padding: 5px 0; font-size: 14.5px; transition: color .2s var(--ease); }
.footer-grid a:hover { color: var(--accent-text); }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 320px; }
.footer-contact { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 14.5px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent-text); }
.footer-bottom {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    color: var(--text-dim); font-size: 13px;
}
.footer-bottom a { color: var(--text-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--text-muted); }

/* =========================================================================
   PODSTRÁNKA — hlavička + ateliéry
   ========================================================================= */
.subpage-hero { padding: 58px 0 8px; }
.crumbs { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span { margin: 0 4px; }
.subpage-hero h1 {
    font-family: var(--font-head); font-weight: 600;
    font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.01em;
    margin: 16px 0 18px;
}
.subpage-hero h1 .hl {
    background: linear-gradient(120deg, var(--accent-text), var(--accent-bright));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subpage-hero .lead { font-size: clamp(15px, 2vw, 18px); color: var(--text-muted); max-width: 660px; }
.subpage-hero .hero-meta { margin-top: 30px; }

.studio-list { display: flex; flex-direction: column; gap: 24px; }
.studio-row {
    display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 0;
    background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.studio-row.reverse .studio-media { order: 2; }
@media (max-width: 820px) { .studio-row, .studio-row.reverse { grid-template-columns: 1fr; }
    .studio-row.reverse .studio-media { order: 0; } }

.studio-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.studio-media > .studio-photo,
.studio-media > .studio-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-video { opacity: 0; transition: opacity .35s var(--ease); z-index: 2; pointer-events: none; }
.studio-media.playing .studio-video { opacity: 1; }
.studio-photo.placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: var(--text-dim);
    background:
        radial-gradient(24rem 16rem at 70% 10%, rgba(16,118,183,.16), transparent 60%),
        var(--bg-card-2);
}
.studio-photo.placeholder svg { width: 46px; height: 46px; opacity: .8; }
.studio-photo.placeholder span { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.studio-media > .placeholder { display: none; }          /* fotka nahrazuje placeholder */
.studio-media.noimg > .placeholder { display: flex; }    /* chybí/nenačte se fotka → placeholder */

.studio-body { padding: 30px 30px 26px; display: flex; flex-direction: column; justify-content: center; }
.studio-body .t-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.studio-body h2 { font-family: var(--font-head); font-weight: 600; font-size: 27px; margin: 8px 0 14px; }
.studio-body > p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }

.studio-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.stat {
    font-size: 13px; color: var(--text); background: var(--bg-card-2);
    border: 1px solid var(--border-2); border-radius: 999px; padding: 5px 13px;
}

.gear { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.gear li {
    font-size: 12.5px; color: var(--text-muted);
    background: var(--accent-soft); border: 1px solid var(--border);
    border-radius: 6px; padding: 4px 10px; display: inline-flex; align-items: center; gap: 6px;
}
.gear li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-text); }

.studio-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    padding-top: 18px; border-top: 1px solid var(--border);
}
.price-tag { line-height: 1.3; }
.price-tag strong { font-size: 24px; color: var(--accent-text); font-weight: 700; }
.price-tag span { color: var(--text-muted); font-size: 13px; }
.price-tag em { display: block; font-style: normal; color: var(--text-dim); font-size: 12px; margin-top: 2px; }
.studio-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.info-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 30px;
}
@media (max-width: 720px) { .info-strip { grid-template-columns: 1fr; gap: 20px; } }
.info-strip h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-text); margin-bottom: 8px; font-weight: 700; }
.info-strip p { color: var(--text-muted); font-size: 14.5px; }

/* =========================================================================
   GALERIE — náhledy na kartě, mřížka zázemí, lightbox
   ========================================================================= */
.studio-media.has-gallery { cursor: zoom-in; }
.media-badge {
    position: absolute; left: 12px; bottom: 12px; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(13,16,21,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: var(--text); font-size: 12px; font-weight: 600;
    padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1);
    pointer-events: none;
}
.media-badge svg { width: 14px; height: 14px; }

/* náhledový pásek v těle karty */
.studio-thumbs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.thumb {
    position: relative; width: 62px; height: 62px; flex: 0 0 auto;
    padding: 0; border: 1px solid var(--border-2); border-radius: 9px; overflow: hidden;
    cursor: pointer; background: var(--bg-card-2); transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { border-color: var(--accent); transform: translateY(-2px); }
.thumb.more::after {
    content: ""; position: absolute; inset: 0; background: rgba(13,16,21,.62);
}
.thumb.more span {
    position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px;
}

/* mřížka zázemí */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px;
}
.gal-tile {
    padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
    cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--bg-card-2);
    transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.gal-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.gal-tile:hover { border-color: var(--accent); }
.gal-tile:hover img { transform: scale(1.05); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,8,11,.97);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 5vh 6vw; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 8px;
    box-shadow: 0 30px 80px -30px #000; }
.lb-btn { position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    color: #fff; cursor: pointer; border-radius: 999px; display: flex; align-items: center; justify-content: center;
    transition: background .2s var(--ease); }
.lb-btn:hover { background: rgba(255,255,255,.16); }
.lb-close { top: 20px; right: 24px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; line-height: 1; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    color: var(--text-muted); font-size: 13px; letter-spacing: .04em; }
@media (max-width: 600px) {
    .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 24px; }
    .lb-prev { left: 8px; } .lb-next { right: 8px; }
    .lb-close { top: 12px; right: 12px; }
}

/* Souhlasy ve formuláři žádosti */
.consent { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 6px; }
.consent .check { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.consent .check input { margin-top: 2px; width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.consent .check span { flex: 1; }
.consent .check:hover { color: var(--text); }

/* Kontaktní údaje na stránce /kontakt/ */
.contact-lines { display: flex; flex-direction: column; gap: 13px; }
.contact-line { display: flex; align-items: center; gap: 11px; color: var(--text-muted); text-decoration: none; font-size: 15px; }
.contact-line svg { width: 18px; height: 18px; color: var(--accent-text); flex: 0 0 auto; }
a.contact-line:hover { color: var(--accent-text); }

/* =========================================================================
   AI SEKCE (/ai/)
   ========================================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
    background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px;
}
.feature-icon {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    color: #fff; box-shadow: 0 8px 20px -10px var(--glow);
}
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.feature p { color: var(--text-muted); font-size: 14px; }

/* kroky */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
    position: relative; background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px 24px;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
    background: var(--accent-soft); border: 1px solid var(--border-2);
    color: var(--accent-text); font-family: var(--font-head); font-weight: 600;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; }

/* kredity */
.credit-box {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: center;
    background:
        radial-gradient(36rem 20rem at 12% 0%, rgba(16,118,183,.16), transparent 60%),
        var(--bg-soft);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 32px;
}
@media (max-width: 760px) { .credit-box { grid-template-columns: 1fr; gap: 22px; } }
.credit-main h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px,3vw,28px); margin: 12px 0 12px; }
.credit-main p { color: var(--text-muted); margin-bottom: 10px; }
.credit-note { font-size: 13.5px; color: var(--text-dim); }
.credit-facts { display: flex; gap: 14px; flex-wrap: wrap; }
.credit-facts div {
    flex: 1; min-width: 88px; text-align: center; background: var(--bg-card-2);
    border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 16px 10px;
}
.credit-facts strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--accent-text); }
.credit-facts span { font-size: 12.5px; color: var(--text-muted); }

/* formulář žádosti */
.req-wrap {
    display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 34px; align-items: start;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 32px;
}
@media (max-width: 760px) { .req-wrap { grid-template-columns: 1fr; gap: 20px; } }
.req-col { min-width: 0; }
.req-intro h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px,3vw,28px); margin: 12px 0 10px; }
.req-intro p { color: var(--text-muted); font-size: 15px; }
.req-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.req-form label { font-size: 13px; color: var(--text-muted); }
.req-form input, .req-form textarea, .req-form select {
    background: var(--bg-card-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
    padding: 11px 13px; color: var(--text); font-size: 15px; font-family: inherit; width: 100%;
    transition: border-color .2s var(--ease);
}
.req-form input:focus, .req-form textarea:focus, .req-form select:focus { outline: none; border-color: var(--accent); }
.req-form textarea { resize: vertical; }
.req-form select {
    appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa6b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; }
.form-msg.ok { background: rgba(59,167,118,.12); border: 1px solid #3ba776; color: #8fe0bf; }
.form-msg.err { background: rgba(211,95,95,.12); border: 1px solid #d35f5f; color: #eaa3a3; margin-bottom: 14px; }

/* tipy */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tips-grid { grid-template-columns: 1fr; } }
.tip { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.tip h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; color: var(--accent-text); }
.tip p { color: var(--text-muted); font-size: 14px; }

/* video návody */
.yt-block { margin-top: 30px; }
.yt-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.yt-empty { color: var(--text-dim); font-size: 14.5px; }
.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.yt-card {
    display: flex; flex-direction: column; text-decoration: none; color: var(--text);
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    overflow: hidden; transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.yt-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.yt-thumb {
    position: relative; aspect-ratio: 16 / 9;
    background: var(--bg-card-2) center / cover no-repeat;
    display: flex; align-items: center; justify-content: center;
}
.yt-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4)); }
.yt-play {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 46px; height: 46px; border-radius: 50%; background: rgba(211,47,47,.95); color: #fff; font-size: 15px;
    box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); transition: transform .15s var(--ease);
}
.yt-card:hover .yt-play { transform: scale(1.08); }
.yt-label { padding: 12px 14px; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
