/* ==========================================================================
   GP PHYSIO – HLAVNÍ STYLY (LIGHT DEFAULT + DARK TOGGLE)
   Paleta: #000000, #73c9c5, #999898, #ffffff (+ WCAG kontrastní #187a76)
   ========================================================================== */

:root {
    --color-brand-black: #000000;
    --color-brand-teal: #73c9c5;
    --color-brand-teal-hover: #5bb3af;
    --color-brand-gray: #999898;
    --color-brand-white: #ffffff;

    /* Výchozí SVĚTLÝ REŽIM (vysoký kontrast s tmavým Hero a Final CTA) */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f6f8;
    --bg-card: #ffffff;
    --bg-card-hover: #f9fbfc;
    --bg-table-head: #eef2f5;
    --text-primary: #0b0e11;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --color-accent-text: #187a76; /* WCAG AA kontrast > 5.1:1 na bílém pozadí */
    --color-accent-bg: rgba(115, 201, 197, 0.14);
    --border-color: #e2e8f0;
    --border-strong: #cbd5e1;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 20px 45px rgba(0, 0, 0, 0.08);

    /* Tlumená karmínová pro sekci 4 selhání systému */
    --alert-accent: #b83b3b;
    --alert-soft-bg: #fdf8f8;
    --alert-border: #ead6d6;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --max-width: 1240px;
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.22s ease;
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #07090c;
    --bg-card: #0e1217;
    --bg-card-hover: #141a21;
    --bg-table-head: #0b0f14;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #999898;
    --color-accent-text: #73c9c5;
    --color-accent-bg: rgba(115, 201, 197, 0.12);
    --border-color: #1e2631;
    --border-strong: #2d3748;
    --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.55);
    --shadow-elevated: 0 24px 50px rgba(0, 0, 0, 0.75);

    --alert-accent: #e06c6c;
    --alert-soft-bg: rgba(224, 108, 108, 0.06);
    --alert-border: rgba(224, 108, 108, 0.22);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-size: 1.03rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.section-padding {
    padding: 96px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-alt {
    background-color: var(--bg-secondary);
}

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

/* Před-nadpisový štítek podle Motion RX */
.badge-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent-text);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 3px solid var(--color-brand-teal);
}

.text-center .badge-label {
    border-left: none;
    padding-left: 0;
    justify-content: center;
}

.text-center .badge-label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 3px;
    background-color: var(--color-brand-teal);
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.85rem);
    margin-bottom: 16px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 52px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* TLAČÍTKA */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--color-brand-teal);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-brand-teal);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-brand-teal-hover);
    border-color: var(--color-brand-teal-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--color-brand-teal);
    color: var(--color-accent-text);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.32);
}

.btn-outline-light:hover {
    border-color: var(--color-brand-teal);
    color: var(--color-brand-teal);
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGACE (VŽDY TMAVÁ PRO VYSOKÝ KONTRAST S LOGEM GP PHYSIO)
   ========================================================================== */
.navbar {
    background-color: rgba(5, 7, 10, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #1e2631;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.brand-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
}

.brand-logo-text span {
    color: var(--color-brand-teal);
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.82rem;
    font-weight: 600;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-brand-teal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: #12171f;
    border: 1px solid #283240;
    color: #e5e7eb;
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--color-brand-teal);
    color: var(--color-brand-teal);
}

.theme-toggle svg {
    width: 15px;
    height: 15px;
}

.mobile-menu-btn {
    display: none;
    background: #12171f;
    border: 1px solid #283240;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-drawer {
    display: none;
    background: #070a0e;
    border-bottom: 1px solid #1e2631;
    padding: 20px 24px 26px;
}

.mobile-drawer.open {
    display: block;
}

.mobile-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.mobile-drawer a {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    padding: 4px 0;
}

/* ==========================================================================
   1. HERO SEKCE (VŽDY TMAVÁ S PEVNÝM BÍLÝM TEXTEM PRO MAXIMÁLNÍ KONTRAST)
   ========================================================================== */
.hero {
    position: relative;
    padding: 82px 0 76px;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.84) 52%, rgba(0, 0, 0, 0.72) 100%),
        radial-gradient(circle at 80% 30%, rgba(115, 201, 197, 0.14) 0%, transparent 60%),
        url('https://images.unsplash.com/photo-1517838277536-f5f99be501cd?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    border-bottom: 1px solid #1e2631;
    color: #ffffff;
}

.hero .badge-label {
    color: var(--color-brand-teal);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-left h1 {
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.hero-left h1 span {
    color: var(--color-brand-teal);
}

.hero-lead {
    font-size: clamp(1.04rem, 1.6vw, 1.2rem);
    color: #e5e7eb;
    margin-bottom: 30px;
    line-height: 1.65;
    max-width: 610px;
}

.hero-lead strong {
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid var(--color-brand-teal);
    padding-bottom: 1px;
}

.hero-action-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.hero-action-hint {
    font-size: 0.88rem;
    color: #9ca3af;
}

/* Vzdušný bezrámečkový přehled 4 bodů v Hero */
.hero-proof-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    max-width: 580px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof-item {
    padding-left: 14px;
    border-left: 3px solid var(--color-brand-teal);
}

.hero-proof-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.98rem;
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.hero-proof-item span {
    color: #9ca3af;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   KOMPAKTNÍ KONVERZNÍ FORMULÁŘ (HERO, DETAIL DIAGNÓZY, FINAL CTA)
   ========================================================================== */
.hero-form-card {
    background: #0d1117;
    border: 1px solid rgba(115, 201, 197, 0.35);
    border-top: 4px solid var(--color-brand-teal);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
    color: #ffffff;
}

.hero-form-header {
    margin-bottom: 18px;
    text-align: left;
}

.hero-form-header h3 {
    font-size: 1.32rem;
    color: #ffffff;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.hero-form-header p {
    font-size: 0.88rem;
    color: #9ca3af;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-field {
    margin-bottom: 12px;
    text-align: left;
}

.form-field label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d1d5db;
    margin-bottom: 5px;
}

.form-field label span.req {
    color: var(--color-brand-teal);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: #06090d;
    border: 1px solid #26303d;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373c9c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 32px;
}

.form-select option {
    background-color: #0d1217;
    color: #ffffff;
}

.form-textarea {
    min-height: 82px;
    resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-brand-teal);
    box-shadow: 0 0 0 2px rgba(115, 201, 197, 0.2);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #6b7280;
    font-size: 0.85rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 16px;
    text-align: left;
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-brand-teal);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.form-check label {
    font-size: 0.76rem;
    color: #9ca3af;
    line-height: 1.4;
    cursor: pointer;
}

.form-micro-reassurance {
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 10px;
    line-height: 1.42;
}

.form-status-alert {
    display: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: center;
}

.form-status-alert.success {
    background: rgba(115, 201, 197, 0.16);
    border: 1px solid var(--color-brand-teal);
    color: #ffffff;
}

.form-status-alert.error {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

/* ==========================================================================
   2. JAK TO FUNGUJE (ARCHITEKTONICKÉ KROKY S 3SEGMENTOVÝM INDIKÁTOREM)
   ========================================================================== */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.step-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--color-brand-teal);
    padding: 32px 28px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.step-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.step-id {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-big-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-accent-text);
}

.step-meta {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--color-brand-teal);
    padding-left: 10px;
}

.step-meta strong {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.step-meta span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.step-bars {
    display: flex;
    gap: 4px;
}

.step-bar {
    width: 14px;
    height: 5px;
    border-radius: 2px;
    background: var(--border-strong);
}

.step-bar.filled {
    background: var(--color-brand-teal);
}

.step-box h3 {
    font-size: 1.32rem;
    margin-bottom: 12px;
}

/* ==========================================================================
   3. COMPARE SOLUTIONS (SROVNÁVACÍ MATICE)
   ========================================================================== */
.comparison-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.compare-table th, .compare-table td {
    padding: 20px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.compare-table th {
    background: var(--bg-table-head);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.compare-table th.highlight-col {
    background: var(--color-accent-bg);
    color: var(--color-accent-text);
    border-top: 3px solid var(--color-brand-teal);
    border-left: 2px solid var(--color-brand-teal);
    border-right: 2px solid var(--color-brand-teal);
}

.compare-table td.highlight-col {
    background: rgba(115, 201, 197, 0.05);
    border-left: 2px solid rgba(115, 201, 197, 0.45);
    border-right: 2px solid rgba(115, 201, 197, 0.45);
}

.compare-table tr:last-child td.highlight-col {
    border-bottom: 2px solid rgba(115, 201, 197, 0.45);
}

.compare-feature {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.92rem;
    width: 21%;
}

.compare-cell-content {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.status-icon-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.status-icon-wrap.yes {
    background: rgba(115, 201, 197, 0.2);
    border: 1px solid var(--color-brand-teal);
    color: var(--color-accent-text);
}

.status-icon-wrap.no {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #dc2626;
}

.status-icon-wrap.partial {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #d97706;
}

.status-icon-wrap svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.6;
}

.compare-cell-text strong {
    display: block;
    font-size: 0.94rem;
    color: var(--text-primary);
    margin-bottom: 3px;
    line-height: 1.35;
}

.compare-cell-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.42;
}

.compare-table td.highlight-col .compare-cell-text strong {
    color: var(--color-accent-text);
}

/* ==========================================================================
   4. SELHÁNÍ BĚŽNÉHO SYSTÉMU (UHLADĚNÉ + ZAROVNANÉ BOXY DŮSLEDEK DLE HORNÍ HRANY)
   ========================================================================== */
.failures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr auto;
    gap: 0 22px;
}

.failure-card {
    grid-row: span 2;
    display: grid;
    grid-template-rows: subgrid;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.failure-card:hover {
    transform: translateY(-3px);
    border-color: var(--alert-border);
}

.failure-main {
    padding-bottom: 20px;
}

.failure-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.failure-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.failure-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--alert-accent);
}

.failure-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.failure-icon svg {
    width: 12px;
    height: 12px;
}

.failure-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.failure-punchline {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-left: 11px;
    border-left: 2px solid var(--alert-accent);
    margin-bottom: 14px;
    line-height: 1.42;
}

.failure-card p {
    font-size: 0.91rem;
    line-height: 1.6;
}

.failure-consequence {
    align-self: stretch;
    background: var(--alert-soft-bg);
    border: 1px solid var(--alert-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.failure-consequence-title {
    display: block;
    color: var(--alert-accent);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}

.failure-consequence-text {
    font-size: 0.88rem;
    line-height: 1.52;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   5. O MNĚ
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.65rem);
    margin-bottom: 18px;
}

.about-content p {
    margin-bottom: 18px;
}

.credentials-list {
    list-style: none;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.credentials-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.98rem;
}

.credentials-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-accent-text);
    font-weight: 800;
}

.about-visual-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-photo-placeholder {
    width: 100%;
    min-height: 300px;
    background: var(--bg-card);
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    transition: var(--transition);
}

.about-photo-placeholder:hover {
    border-color: var(--color-brand-teal);
}

.placeholder-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--color-accent-text);
}

.placeholder-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.placeholder-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.placeholder-hint {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 330px;
    line-height: 1.45;
}

.about-photo-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.about-box-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-brand-teal);
    padding: 28px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.45;
}

/* ==========================================================================
   6. ČTYŘI PILÍŘE (VZDUŠNÝ BEZRÁMEČKOVÝ LAYOUT PROTI BOX-FATIGUE)
   ========================================================================== */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.pillar-card {
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    transition: var(--transition);
}

.pillar-card:hover {
    border-top-color: var(--color-brand-teal);
}

.pillar-digit {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-accent-text);
    line-height: 1;
    margin-bottom: 14px;
}

.pillar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   7. RECENZE / VÝSLEDKY Z PRAXE
   ========================================================================== */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 28px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}

.stars-row {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: var(--color-brand-teal);
}

.review-text {
    font-size: 0.98rem;
    color: var(--text-primary);
    margin-bottom: 22px;
    line-height: 1.65;
}

.reviewer-meta strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.94rem;
    color: var(--text-primary);
}

.reviewer-meta span {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-accent-text);
}

/* ==========================================================================
   8. CO SPOLEČNĚ ŘEŠÍME (KLIKATELNÉ SEO KARTY DIAGNÓZ)
   ========================================================================== */
.treat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.treat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 22px 22px 18px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.treat-card:hover {
    border-color: var(--color-brand-teal);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.treat-card h4 {
    font-size: 1.02rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.treat-card:hover h4 {
    color: var(--color-accent-text);
}

.treat-card p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.treat-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent-text);
}

/* ==========================================================================
   9. VYBAVENÍ A VALD FORCEDECKS TELEMETRIE
   ========================================================================== */
.facility-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.facility-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 26px;
}

.spec-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 18px 20px;
    border-radius: var(--radius);
}

.spec-item strong {
    display: block;
    color: var(--color-accent-text);
    font-size: 1.05rem;
    margin-bottom: 3px;
    font-family: var(--font-heading);
}

.spec-item span {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.vald-telemetry-card {
    background: #0b0f14;
    border: 1px solid #1e2631;
    border-radius: var(--radius);
    padding: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vald-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1e2631;
}

.vald-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--color-brand-teal);
    text-transform: uppercase;
}

.vald-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(115, 201, 197, 0.14);
    color: var(--color-brand-teal);
    padding: 3px 8px;
    border-radius: 4px;
}

.vald-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.vald-metric {
    background: #12171f;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #1e2631;
}

.vald-metric span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #9ca3af;
    text-transform: uppercase;
}

.vald-metric strong {
    font-family: var(--font-mono);
    font-size: 0.96rem;
    color: #ffffff;
}

/* ==========================================================================
   10. FAQ AKORDEON
   ========================================================================== */
.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.faq-icon {
    color: var(--color-accent-text);
    font-size: 1.35rem;
    font-weight: 400;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 420px;
    padding-bottom: 22px;
}

/* ==========================================================================
   11. FINAL CTA (VŽDY TMAVÝ PRO KONTRAST S PEVNÝM BÍLÝM TEXTEM)
   ========================================================================== */
.final-cta {
    background: #05070a;
    background-color: #05070a;
    padding: 96px 0;
    border-bottom: 1px solid #1e2631;
    color: #ffffff;
}

.final-cta .badge-label {
    color: var(--color-brand-teal);
}

.final-cta-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.final-cta-left h2 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    margin-bottom: 20px;
    color: #ffffff;
}

.final-cta-p {
    font-size: 1.08rem;
    color: #f3f4f6;
    margin-bottom: 28px;
    line-height: 1.68;
}

.final-cta-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.final-cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f3f4f6;
    font-size: 0.95rem;
    font-weight: 500;
}

.final-cta-feature-item::before {
    content: "—";
    color: var(--color-brand-teal);
    font-weight: 800;
}

/* ==========================================================================
   PODSTRÁNKA DIAGNÓZY (SEO DETAIL)
   ========================================================================== */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.breadcrumbs a:hover {
    color: var(--color-accent-text);
}

.breadcrumbs strong {
    color: var(--text-primary);
}

.diag-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 52px;
    align-items: start;
}

.diag-article h1 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    margin-bottom: 18px;
}

.diag-intro {
    font-size: 1.14rem;
    color: var(--text-primary);
    line-height: 1.68;
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border-color);
}

.diag-article h2 {
    font-size: 1.5rem;
    margin: 34px 0 14px;
}

.diag-article p {
    margin-bottom: 16px;
}

.diag-callout {
    background: var(--bg-secondary);
    border-left: 4px solid var(--color-brand-teal);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin: 28px 0;
}

.diag-callout strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-accent-text);
    margin-bottom: 6px;
}

.diag-sticky-sidebar {
    position: sticky;
    top: 92px;
}

.related-diag-section {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.related-diag-section h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.related-diag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


.diag-article strong {
    color: var(--text-primary);
    font-weight: 700;
}

.diag-article ul {
    list-style: none;
    margin: 18px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.diag-article ul li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 1.01rem;
    line-height: 1.6;
}

.diag-article ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-accent-text);
    font-weight: 800;
}

/* ==========================================================================
   PATIČKA (VŽDY TMAVÁ PRO KONZISTENCI S LOGEM GP PHYSIO)
   ========================================================================== */
.footer {
    background: #05070a;
    color: #d1d5db;
    padding: 68px 0 34px;
    border-top: 1px solid #1e2631;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 44px;
}

.footer h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer p {
    color: #9ca3af;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer ul a:hover {
    color: var(--color-brand-teal);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #1e2631;
    text-align: center;
    color: #6b7280;
    font-size: 0.84rem;
}

/* ==========================================================================
   RESPONZIVITA (TABLET & MOBILNÍ UX)
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: inline-flex;
    }
    .hero-grid,
    .final-cta-grid,
    .about-grid,
    .facility-wrap,
    .diag-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .diag-sticky-sidebar {
        position: static;
    }
    .steps-wrapper {
        grid-template-columns: 1fr;
    }
    .failures-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
    }
    .failure-card {
        grid-row: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .pillar-grid,
    .treat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 68px 0;
    }
    .hero {
        padding: 54px 0 64px;
    }
    .hero-proof-list,
    .failures-grid,
    .pillar-grid,
    .treat-grid,
    .facility-specs,
    .related-diag-grid,
    .footer-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    /* Responzivní karty místo horizontálně posuvné tabulky na telefonu */
    .compare-table thead {
        display: none;
    }
    .compare-table,
    .compare-table tbody,
    .compare-table tr,
    .compare-table td {
        display: block;
        width: 100%;
    }
    .compare-table {
        border: none;
        background: transparent;
    }
    .compare-table tr {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        margin-bottom: 18px;
        overflow: hidden;
    }
    .compare-table td {
        padding: 14px 18px;
    }
    .compare-feature {
        width: 100%;
        background: var(--bg-table-head);
        font-size: 0.95rem;
    }
    .compare-table td.highlight-col {
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--color-brand-teal);
    }
    .compare-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-heading);
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .compare-table td.highlight-col[data-label]::before {
        color: var(--color-accent-text);
    }
}

/* ==========================================================================
   2B. KOMU POMÁHÁM (BEZRÁMEČKOVÝ EDITORIAL SPLIT PRO ROZBITÍ BOX-FATIGUE)
   ========================================================================== */
.who-editorial-wrap {
    display: grid;
    grid-template-columns: 0.92fr 1.32fr;
    gap: 64px;
    align-items: start;
}

.who-editorial-intro {
    position: sticky;
    top: 112px;
}

.who-editorial-intro .section-title {
    margin-bottom: 18px;
}

.who-editorial-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 440px;
}

.who-editorial-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-strong);
}

.who-editorial-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px 16px 28px 12px;
    border-bottom: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.who-editorial-item:hover {
    border-left-color: var(--color-brand-teal);
    background: var(--bg-card-hover);
    padding-left: 20px;
}

.who-editorial-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-accent-bg);
    color: var(--color-accent-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.who-editorial-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.who-editorial-body h3 {
    font-size: 1.24rem;
    margin-bottom: 7px;
    color: var(--text-primary);
}

.who-editorial-body p {
    font-size: 0.97rem;
    line-height: 1.62;
    color: var(--text-secondary);
    margin: 0;
}

.diag-program-bridge {
    margin-top: 32px;
    border-left-width: 4px;
    background: var(--color-accent-bg);
}

@media (max-width: 1100px) {
    .who-editorial-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .who-editorial-intro {
        position: static;
    }
    .who-editorial-intro p {
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .who-editorial-item {
        grid-template-columns: 36px 1fr;
        gap: 14px;
        padding: 22px 8px 22px 10px;
    }
    .who-editorial-item:hover {
        padding-left: 14px;
    }
    .who-editorial-icon {
        width: 36px;
        height: 36px;
    }
    .who-editorial-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   V3 OPTIMALIZACE ČISTOTY, WHITESPACE A MOTION RX LAYOUTŮ
   ========================================================================== */

/* Kompaktnější a čistší srovnávací tabulka */
.compare-table th,
.compare-table td {
    padding: 16px 18px;
}

.compare-cell-text strong {
    margin-bottom: 2px;
}

/* Odlehčená sekce 4 selhání systému (bez duplicitních textů a těžkých červených boxů) */
.failures-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.failure-clean-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--alert-accent);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.failure-clean-card:hover {
    transform: translateY(-3px);
    border-color: var(--alert-border);
    border-top-color: var(--alert-accent);
}

.failure-clean-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--alert-accent);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.failure-clean-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.failure-clean-quote {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    padding-left: 12px;
    border-left: 2px solid var(--alert-accent);
    margin: 0;
}

.failure-clean-result {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

/* Automatický foto-slot (zobrazí placeholder dokud není soubor v assets/img/, pak automaticky zobrazí fotku) */
.photo-slot {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}

.photo-slot .slot-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    border-radius: var(--radius);
}

.photo-slot.has-photo {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.photo-slot.has-photo .slot-img {
    opacity: 1;
    visibility: visible;
}

.photo-slot.has-photo .slot-placeholder {
    display: none;
}

.slot-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: var(--bg-card);
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 22px;
    transition: var(--transition);
}

.slot-placeholder:hover {
    border-color: var(--color-brand-teal);
}

.slot-placeholder code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--color-accent-text);
    background: var(--color-accent-bg);
    padding: 2px 6px;
    border-radius: 4px;
}

.photo-slot-about {
    aspect-ratio: 4 / 3;
}

.photo-slot-pillar {
    aspect-ratio: 16 / 10;
}

.photo-slot-facility {
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
}

/* 4 pilíře ve stylu Motion RX (střídavé řádky text + foto, vyvážené proporce) */
.pillars-showcase {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pillar-row.reverse .pillar-media {
    order: -1;
}

.pillar-copy {
    max-width: 480px;
}

.pillar-copy .pillar-digit {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.pillar-copy h3 {
    font-size: 1.42rem;
    margin-bottom: 12px;
}

.pillar-copy p {
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
}

/* Minimalistická sekce 16 diagnóz (pouze název + šipka ve stylu Motion RX) */
.treat-grid-minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.treat-item-minimal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
}

.treat-item-minimal:hover {
    border-color: var(--color-brand-teal);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.treat-item-minimal span.treat-name {
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.32;
    transition: var(--transition);
}

.treat-item-minimal:hover span.treat-name {
    color: var(--color-accent-text);
}

.treat-item-minimal span.treat-arrow {
    color: var(--color-accent-text);
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.treat-item-minimal:hover span.treat-arrow {
    transform: translateX(4px);
}

/* Zjednodušené záhlaví kroků */
.step-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 1100px) {
    .failures-grid-clean {
        grid-template-columns: repeat(2, 1fr);
    }
    .treat-grid-minimal {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillar-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pillar-row.reverse .pillar-media {
        order: 0;
    }
    .pillar-copy {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .failures-grid-clean,
    .treat-grid-minimal {
        grid-template-columns: 1fr;
    }
    .pillars-showcase {
        gap: 40px;
    }
    .slot-placeholder {
        min-height: 210px;
    }
}
