/* ============================================
   OCHRANA VLASTNÍKŮ — STYLE
   Paleta: navy + zlatá + warm off-white
   Fonty:  Playfair Display + Manrope
   ============================================ */

:root {
    --c-navy-900: #0f1f30;
    --c-navy-800: #16263a;
    --c-navy-700: #1a2e44;
    --c-navy-600: #244260;
    --c-navy-500: #4a6a8a;

    --c-gold-700: #a8843d;
    --c-gold-600: #b89248;
    --c-gold-500: #c9a45e;
    --c-gold-400: #d8b97c;
    --c-gold-100: #f4ebd7;
    --c-gold-50:  #faf5e8;

    --c-bg:       #faf8f4;
    --c-bg-alt:   #f3eee4;
    --c-white:    #ffffff;

    --c-ink:      #1a2433;
    --c-ink-soft: #4a5566;
    --c-ink-mute: #707a8a;

    --c-line:     #e6dfd2;
    --c-line-soft:#efeadf;

    --shadow-sm:  0 2px 8px rgba(15, 31, 48, 0.06);
    --shadow-md:  0 8px 24px rgba(15, 31, 48, 0.08);
    --shadow-lg:  0 20px 50px rgba(15, 31, 48, 0.12);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --font-display: "Playfair Display", "Georgia", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container-w: 1200px;
    --header-h: 80px;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

/* Klávesnicový focus pro accessibility */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--c-gold-500);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-ink);
    background-color: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-navy-700);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    /* Vyvážené zalomení nadpisů (moderní prohlížeče) */
    text-wrap: balance;
    -webkit-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-limit-chars: 8 4 4;
    hyphenate-limit-chars: 8 4 4;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p {
    margin: 0 0 16px;
    color: var(--c-ink-soft);
    /* Předchází sirotky v posledním řádku odstavce */
    text-wrap: pretty;
}

a {
    color: var(--c-gold-700);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--c-navy-700);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* ===== UTILS ===== */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold-700);
    margin-bottom: 16px;
    position: relative;
    padding-left: 36px;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--c-gold-500);
}

.section-eyebrow.light {
    color: var(--c-gold-400);
}

.section-eyebrow.light::before {
    background: var(--c-gold-400);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--c-ink-soft);
    margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-navy-700);
    color: var(--c-white);
    border-color: var(--c-navy-700);
}

.btn-primary:hover {
    background: var(--c-navy-900);
    border-color: var(--c-navy-900);
    color: var(--c-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--c-navy-700);
    border-color: var(--c-navy-700);
}

.btn-outline:hover {
    background: var(--c-navy-700);
    color: var(--c-white);
}

.btn-ghost {
    background: transparent;
    color: var(--c-navy-700);
    padding: 14px 8px;
}

.btn-ghost:hover {
    color: var(--c-gold-700);
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 10px 18px;
    font-size: 0.85rem;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-line-soft);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: inline-block;
    padding: 10px 14px;
    color: var(--c-ink);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: color .2s ease, background .2s ease;
}

.main-nav a:hover {
    color: var(--c-gold-700);
}

.main-nav .nav-cta {
    background: var(--c-navy-700);
    color: var(--c-white);
    padding: 10px 20px;
    margin-left: 8px;
}

.main-nav .nav-cta:hover {
    background: var(--c-navy-900);
    color: var(--c-white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-navy-700);
    border-radius: 2px;
    transition: all .3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 164, 94, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(26, 46, 68, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold-700);
    font-weight: 600;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: var(--c-gold-50);
    border: 1px solid var(--c-gold-100);
    border-radius: 100px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--c-gold-700);
    font-weight: 500;
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--c-ink);
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-sub {
    font-size: 1rem;
    color: var(--c-ink-soft);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}

.hero-trust {
    display: grid;
    grid-template-columns: auto auto;
    gap: 12px 32px;
    padding-top: 28px;
    border-top: 1px solid var(--c-line);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--c-ink);
    font-weight: 500;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--c-gold-100);
    color: var(--c-gold-700);
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-icon svg {
    stroke-width: 3;
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
}

.hero-illustration {
    aspect-ratio: 4 / 5;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.hero-illustration::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid var(--c-gold-100);
    border-radius: var(--radius-sm);
    pointer-events: none;
    z-index: 1;
}

.hero-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== STATS ===== */
.stats-section {
    background: var(--c-navy-700);
    color: var(--c-white);
    padding: 0;
    margin-top: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 56px 0;
    gap: 24px;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--c-gold-400);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(216, 185, 124, 0.3);
}

/* ===== BANNER STRIP ===== */
.banner-strip {
    background: var(--c-gold-500);
    color: var(--c-navy-900);
    padding: 22px 0;
    text-align: center;
}

.banner-strip p {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--c-navy-900);
}

/* ===== ABOUT ===== */
.about-section {
    padding: 100px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-intro {
    font-size: 1.05rem;
    color: var(--c-ink-soft);
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-features li {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--c-line-soft);
}

.about-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-marker {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--c-gold-700);
    font-weight: 600;
    width: 44px;
    line-height: 1;
}

.about-features h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--c-navy-700);
}

.about-features p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--c-ink-soft);
}

.about-visual {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-illustration {
    aspect-ratio: 1 / 1.1;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.about-illustration::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid var(--c-gold-100);
    border-radius: var(--radius-sm);
    pointer-events: none;
    z-index: 1;
}

.about-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-callout {
    background: var(--c-navy-700);
    color: var(--c-white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    position: relative;
}

.callout-quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 0.7;
    color: var(--c-gold-400);
    margin-bottom: -8px;
}

.about-callout p {
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.callout-author {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--c-gold-400);
    letter-spacing: 0.04em;
}

/* ===== STEPS ===== */
.steps-section {
    padding: 100px 0;
    background: var(--c-bg-alt);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    align-items: stretch;
}

.step-card {
    background: var(--c-white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-gold-500) 0%, var(--c-gold-400) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-gold-100);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-roman {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--c-gold-700);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1;
}

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

.step-card p {
    margin: 0;
    font-size: 0.95rem;
}

.step-card-final {
    background: var(--c-navy-700);
    color: var(--c-white);
    border-color: var(--c-navy-700);
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 36px 40px;
}

.step-card-final::before {
    background: linear-gradient(90deg, var(--c-gold-400) 0%, var(--c-gold-500) 100%);
    transform: scaleX(1);
}

.step-card-final h3 {
    color: var(--c-white);
    margin: 0 0 6px;
}

.step-card-final p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.step-card-final .step-roman {
    color: var(--c-gold-400);
    margin: 0;
    flex-shrink: 0;
    font-size: 3rem;
    line-height: 1;
}

.step-card-final > div {
    flex: 0 1 auto;
    max-width: 560px;
}

@media (max-width: 768px) {
    .step-card-final {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
        padding: 28px 22px;
    }
    .step-card-final .step-roman {
        font-size: 1.9rem;
    }
    .step-card-final > div {
        max-width: 100%;
    }
}

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

/* ===== WHY ===== */
.why-section {
    background: var(--c-navy-700);
    color: var(--c-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 164, 94, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
    position: relative;
}

.why-head h2 {
    color: var(--c-white);
    margin-bottom: 20px;
}

.why-head p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.why-list li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(216, 185, 124, 0.15);
    border-radius: var(--radius-md);
    transition: background .3s ease, border-color .3s ease;
}

.why-list li:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(216, 185, 124, 0.35);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(201, 164, 94, 0.15);
    color: var(--c-gold-400);
    border-radius: var(--radius-sm);
}

.why-list h3 {
    font-size: 1.05rem;
    color: var(--c-white);
    margin: 0 0 4px;
}

.why-list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 100px 0;
    background: var(--c-bg);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item:hover {
    border-color: var(--c-gold-100);
}

.faq-item[open] {
    border-color: var(--c-gold-500);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    color: var(--c-navy-700);
    font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--c-gold-700);
    border-radius: 2px;
    transition: transform .3s ease;
}

.faq-icon::before {
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 4px;
    left: 11px;
    width: 2px;
    height: 16px;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(90deg);
}

.faq-content {
    padding: 0 24px 22px;
    color: var(--c-ink-soft);
}

.faq-content p {
    margin: 0;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    margin: 8px 0 16px;
}

.contact-lead {
    font-size: 1.05rem;
    color: var(--c-ink-soft);
    margin-bottom: 36px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-channels li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.contact-channels li:hover {
    border-color: var(--c-gold-500);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.channel-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--c-gold-50);
    color: var(--c-gold-700);
    border-radius: var(--radius-sm);
}

.channel-label {
    display: block;
    font-size: 0.78rem;
    color: var(--c-ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-channels a,
.contact-channels span:not(.channel-label):not(.channel-icon):not(.channel-hint) {
    color: var(--c-navy-700);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-channels a:hover {
    color: var(--c-gold-700);
}

.channel-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--c-ink-mute);
    font-weight: 400;
}

/* CONTACT FORM */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--c-white);
    padding: 40px 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-line);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-gold-500) 0%, var(--c-gold-400) 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.form-intro {
    margin-bottom: 28px;
    color: var(--c-ink-soft);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-navy-700);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-field label .optional {
    color: var(--c-ink-mute);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--c-ink);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--c-gold-500);
    background: var(--c-white);
    box-shadow: 0 0 0 3px rgba(201, 164, 94, 0.15);
}

.form-field input.input-invalid,
.form-field textarea.input-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.field-error {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #c0392b;
    font-weight: 500;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-body);
}

.file-upload {
    border: 1px dashed var(--c-line);
    border-radius: var(--radius-md);
    padding: 16px;
    background: var(--c-bg);
}

.btn-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-navy-700);
    transition: all .2s ease;
}

.btn-file:hover {
    background: var(--c-gold-50);
    border-color: var(--c-gold-500);
    color: var(--c-gold-700);
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

.file-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--c-ink);
    margin-right: 12px;
}

.file-remove {
    background: transparent;
    border: none;
    color: var(--c-ink-mute);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 1rem;
    line-height: 1;
    transition: color .2s ease;
}

.file-remove:hover {
    color: #c44343;
}

.file-hint {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: var(--c-ink-mute);
}

.gdpr-note {
    font-size: 0.85rem;
    color: var(--c-ink-mute);
    margin: 8px 0 24px;
}

.gdpr-note a {
    color: var(--c-gold-700);
    text-decoration: underline;
}

/* ===== LEGAL / THANK YOU PAGES ===== */
.legal-page {
    padding: 80px 0 100px;
    min-height: calc(100vh - var(--header-h));
}

.legal-container {
    max-width: 820px;
}

.legal-page h1 {
    margin-bottom: 24px;
}

.legal-page .lead {
    font-size: 1.15rem;
    color: var(--c-ink-soft);
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--c-line);
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-page p {
    line-height: 1.7;
    color: var(--c-ink);
}

.legal-list {
    margin: 0 0 20px;
    padding-left: 24px;
    list-style: disc;
}

.legal-list li {
    margin-bottom: 8px;
    color: var(--c-ink);
    line-height: 1.6;
}

.legal-footer-note {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
    font-size: 0.92rem;
    color: var(--c-ink-mute);
    font-style: italic;
}

/* THANK YOU PAGE */
.thanks-page {
    padding: 80px 0 100px;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
}

.thanks-container {
    max-width: 640px;
    text-align: center;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    background: var(--c-gold-50);
    border: 2px solid var(--c-gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold-700);
}

.thanks-page h1 {
    margin-bottom: 20px;
}

.thanks-page .lead {
    font-size: 1.15rem;
    color: var(--c-ink-soft);
    margin-bottom: 40px;
}

.thanks-next-steps {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 32px;
    margin: 32px 0;
    text-align: left;
}

.thanks-next-steps h3 {
    text-align: center;
    margin-bottom: 24px;
}

.thanks-next-steps ol {
    padding-left: 24px;
    margin: 0;
    color: var(--c-ink);
}

.thanks-next-steps li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.thanks-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--c-navy-900);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 340px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--c-gold-400);
    margin-bottom: 18px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a,
.footer-col li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--c-gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ===== COOKIE BAR ===== */
.cookie-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--c-navy-900);
    color: var(--c-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9000;
    padding: 22px 28px;
    border: 1px solid rgba(216, 185, 124, 0.2);
}

.cookie-bar.hidden {
    display: none;
}

.cookie-bar-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cookie-bar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    flex: 1 1 280px;
}

.cookie-bar a {
    color: var(--c-gold-400);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-bar .btn-ghost {
    color: var(--c-gold-400);
}

.cookie-bar .btn-outline {
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.cookie-bar .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-white);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 48, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-modal.hidden {
    display: none;
}

.cookie-modal-box {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.cookie-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--c-ink-mute);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: color .2s;
}

.cookie-modal-close:hover {
    color: var(--c-ink);
}

.cookie-modal-box h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.cookie-modal-box > p {
    color: var(--c-ink-soft);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.cookie-category {
    border-top: 1px solid var(--c-line-soft);
    padding: 16px 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-category-header strong {
    display: block;
    font-size: 0.93rem;
    margin-bottom: 3px;
    color: var(--c-ink);
}

.cookie-category-header p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--c-ink-soft);
    line-height: 1.4;
}

.cookie-always-on {
    font-size: 0.78rem;
    color: var(--c-gold-700);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--c-line);
    border-radius: 24px;
    transition: background .2s ease;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform .2s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--c-gold-600);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:focus-visible + .cookie-toggle-slider {
    outline: 2px solid var(--c-gold-500);
    outline-offset: 2px;
}

.cookie-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

body.modal-open {
    overflow: hidden;
}

/* ===== SEND OVERLAY ===== */
#send-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 48, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

#send-overlay.active {
    display: flex;
}

.send-overlay-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--c-white);
    font-size: 1.05rem;
    background: var(--c-navy-800);
    padding: 40px 50px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(216, 185, 124, 0.2);
}

.send-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(216, 185, 124, 0.25);
    border-top-color: var(--c-gold-500);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }
    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-visual {
        position: static;
        max-width: 420px;
        margin: 0 auto;
    }
    .why-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .logo-img {
        height: 50px;
    }

    /* backdrop-filter na headeru vytváří stacking context → fixed nav je uvězněna.
       Na mobilu vypnout a nahradit plnou barvou. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(250, 248, 244, 0.98);
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--c-white);
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform .35s ease;
        overflow-y: auto;
        padding: 24px;
        border-left: 1px solid var(--c-line);
        z-index: 99;
        visibility: hidden;
    }

    .main-nav.open {
        transform: translateX(0);
        visibility: visible;
    }

    /* Backdrop přes zbytek stránky pod menu */
    body.nav-open {
        overflow: hidden;
    }

    body.nav-open::after {
        content: '';
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 31, 48, 0.5);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 90;
        animation: fadeIn .25s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .main-nav .nav-cta {
        margin-top: 16px;
        margin-left: 0;
        text-align: center;
    }

    .hero {
        padding: 40px 0 56px;
    }

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

    .hero-trust {
        justify-content: center;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual,
    .about-visual {
        max-width: 280px;
    }

    .hero-illustration {
        aspect-ratio: 1 / 1;
    }

    .about-illustration {
        aspect-ratio: 1 / 1;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
        gap: 32px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
        margin: 0 auto;
    }

    .about-section,
    .steps-section,
    .why-section,
    .faq-section,
    .contact-section {
        padding: 48px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 40px;
    }

    .site-footer {
        padding-top: 56px;
    }

    .footer-bottom {
        margin-top: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-auto-rows: 1fr;
        gap: 8px;
        padding-top: 24px;
    }

    .trust-item {
        background: var(--c-gold-50);
        border: 1px solid var(--c-gold-100);
        padding: 8px 12px 8px 10px;
        border-radius: 100px;
        font-size: 0.8rem;
        gap: 6px;
        color: var(--c-navy-700);
        justify-content: flex-start;
        white-space: nowrap;
        min-height: 38px;
        min-width: 0;
    }

    .trust-item > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .trust-icon {
        width: 26px;
        height: 26px;
        background: var(--c-gold-100);
        flex-shrink: 0;
    }

    .trust-icon svg {
        width: 14px;
        height: 14px;
        stroke-width: 3;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .banner-strip {
        padding: 18px 0;
    }

    .about-callout {
        padding: 24px 22px;
    }

    .about-callout p {
        font-size: 1rem;
    }

    .about-features {
        gap: 22px;
    }

    .about-features li {
        gap: 16px;
        padding-bottom: 22px;
    }

    .feature-marker {
        font-size: 1.2rem;
        width: 36px;
    }

    .step-card {
        padding: 28px 22px;
    }

    .step-roman {
        font-size: 1.9rem;
    }

    .stat-card {
        padding: 0 16px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .cookie-bar {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 18px 20px;
    }

    .cookie-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-bar p {
        flex: none;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.55rem; }

    .hero-trust {
        gap: 6px;
    }

    .trust-item {
        font-size: 0.72rem;
        padding: 6px 10px 6px 7px;
    }

    .trust-item .trust-icon svg {
        width: 13px;
        height: 13px;
        stroke-width: 3;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .contact-channels li {
        padding: 14px 16px;
    }
}
