/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-bg-sand: #f4efe6;
    --color-text-dark: #1a2c42;
    --color-card-white: #ffffff;
    --color-accent-clay: #c85a32;
    --color-accent-clay-hover: #b04923;
    --color-border-subtle: rgba(26, 44, 66, 0.15);
    --color-border-focus: #1a2c42;
    --color-text-muted: #1a2c42;

    /* Anička's 3-Color Filter (Cognitive Barriers) */
    --color-barrier-read-twice: #fef08a; /* Yellow */
    --color-barrier-confused: #fecaca;   /* Red */
    --color-barrier-no-context: #bfdbfe; /* Blue */

    --color-barrier-text-read-twice: #854d0e;
    --color-barrier-text-confused: #991b1b;
    --color-barrier-text-no-context: #1e40af;

    /* Fonts */
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Constants */
    --max-width-content: 72rem; /* 1152px */
    --max-width-text: 70ch;
}

/* ==========================================================================
   Reset & Accessibility Defaults
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-sand);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Visually Hidden Helper (A11y Skip Link and screen reader aids) */
.visually-hidden:where(:not(:focus-within, :active)) {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
}

/* Skip link styling when active */
.skip-link {
    background-color: var(--color-accent-clay);
    color: var(--color-card-white);
    padding: 1rem 1.5rem;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Keyboard Focus Ring */
:focus-visible {
    outline: 3px solid var(--color-accent-clay);
    outline-offset: 3px;
}

/* ==========================================================================
   Typography & Elements
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 500;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: var(--max-width-text);
    margin-bottom: 1.5rem;
}

p strong {
    color: var(--color-text-dark);
}

a {
    color: var(--color-text-dark);
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--color-text-dark);
    color: var(--color-card-white);
    box-shadow: none;
}

.btn-primary:hover {
    background-color: #1f3652;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-text-dark);
    color: var(--color-text-dark);
}

.btn-secondary:hover {
    background-color: rgba(26, 44, 66, 0.05);
    transform: translateY(-2px);
}

.btn-arrow-svg {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    flex-shrink: 0;
}

.btn:hover .btn-arrow-svg {
    transform: translate(2px, -2px);
}

#btn-next:hover .btn-arrow-svg {
    transform: translateX(3px);
}

/* Wikipedia-style Citation Links */
.citation-link {
    vertical-align: super;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-accent-clay);
    text-decoration: none;
    margin-left: 0.15rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.citation-link:hover {
    color: var(--color-text-dark);
}

/* ==========================================================================
   Layout & Sections
   ========================================================================== */
.container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    border-top: 1px solid var(--color-border-subtle);
}

.section-alt {
    background-color: rgba(26, 44, 66, 0.015);
    border-top: 4px double var(--color-border-subtle);
    border-bottom: 4px double var(--color-border-subtle);
}

/* Cards Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 64rem) {
    .grid-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.card {
    background-color: var(--color-card-white);
    border-radius: 4px;
    border: 1px solid var(--color-text-dark);
    padding: 2.5rem;
    box-shadow: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    border-color: var(--color-accent-clay);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    padding: 1.2rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image.logo-vertical {
    height: 96px;
    width: auto;
    display: block;
}

/* SVG Inline Vertical Logo Styles */
.logo-image.logo-vertical .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 46px;
    fill: var(--color-text-dark);
    text-anchor: middle;
    letter-spacing: -0.02em;
}

.logo-image.logo-vertical .logo-icon-stroke,
.logo-image.logo-vertical .logo-icon-nib {
    fill: none;
    stroke: var(--color-accent-clay);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logo-image.logo-vertical .logo-icon-slit {
    fill: none;
    stroke: var(--color-accent-clay);
    stroke-width: 4;
    stroke-linecap: round;
}

.logo-image.logo-vertical .logo-icon-hole {
    fill: var(--color-accent-clay);
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--color-text-dark);
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-accent-clay);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 10rem 0 4rem 0;
    text-align: center;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
}

@media (min-width: 62rem) {
    .hero-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.hero h1 {
    margin-bottom: 2.5rem;
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.hero h1 em {
    font-style: italic;
    font-family: 'Lora', serif;
    font-weight: 400;
    color: var(--color-accent-clay);
}

.hero-parenthesis {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-accent-clay);
    margin-top: -1.75rem;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: 3.5rem;
    line-height: 1.75;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Problem vs. Solution Section
   ========================================================================== */
.problem-card {
    border-left: 4px solid var(--color-barrier-text-confused);
}

.solution-card {
    border-left: 4px solid var(--color-accent-clay);
}

.benefit-card {
    background-color: transparent;
    border: none;
    border-top: 1px solid rgba(26, 44, 66, 0.15);
    border-radius: 0;
    padding: 2.5rem 1.5rem 2.5rem 0;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.benefit-card:hover {
    border-top-color: var(--color-accent-clay);
    transform: none;
    background-color: transparent;
    box-shadow: none;
}

.benefit-number {
    font-family: 'Lora', serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--color-accent-clay);
    margin-bottom: 1rem;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-top: 0;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-clay);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.benefit-card p.benefit-fact {
    color: var(--color-text-dark);
}

.benefit-card p.benefit-app {
    color: var(--color-text-dark);
}

/* ==========================================================================
   Vatoskop Online Widget (Interactive Lead Magnet)
   ========================================================================== */
.vatoskop-widget {
    background-color: var(--color-card-white);
    border-radius: 8px;
    border: 1px solid rgba(26, 44, 66, 0.08);
    box-shadow: 0 12px 48px rgba(26, 44, 66, 0.06), 0 4px 12px rgba(26, 44, 66, 0.03);
    overflow: hidden;
    margin-top: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vatoskop-widget:hover {
    box-shadow: 0 16px 64px rgba(26, 44, 66, 0.08), 0 8px 24px rgba(26, 44, 66, 0.04);
}

.vatoskop-header {
    background: linear-gradient(135deg, var(--color-text-dark) 0%, #344c66 100%);
    color: var(--color-card-white);
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.vatoskop-header h3 {
    color: var(--color-card-white);
    margin: 0;
    font-size: 1.25rem;
}

.vatoskop-badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.vatoskop-layout {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 62rem) {
    .vatoskop-layout {
        grid-template-columns: 1.2fr 0.8fr;
        min-height: 25rem;
    }
}

.vatoskop-editor-pane {
    padding: 2rem;
    border-bottom: 1px solid var(--color-border-subtle);
    display: flex;
    flex-direction: column;
}

@media (min-width: 62rem) {
    .vatoskop-editor-pane {
        border-bottom: none;
        border-right: 1px solid var(--color-border-subtle);
    }
}

.vatoskop-textarea {
    width: 100%;
    height: 15rem;
    border: 1px solid transparent;
    background-color: transparent;
    resize: none;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    outline: none;
}

.vatoskop-result-view {
    width: 100%;
    height: 15rem;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-y: auto;
    white-space: pre-wrap;
    display: none;
}

.vatoskop-gdpr-info {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 1.5rem 0 0 0;
}

.vatoskop-editor-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.char-counter {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.vatoskop-dashboard-pane {
    background-color: rgba(26, 44, 66, 0.01);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.vatoskop-placeholder-msg {
    color: var(--color-text-muted);
}

.vatoskop-results {
    display: none;
    width: 100%;
}

/* Circular Readability Score */
.score-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.score-svg {
    transform: rotate(-90deg);
}

.score-bg-circle {
    fill: none;
    stroke: var(--color-border-subtle);
    stroke-width: 8;
}

.score-fill-circle {
    fill: none;
    stroke: var(--color-accent-clay);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314.16; /* Circumference of circle with r=50 */
    stroke-dashoffset: 314.16;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-text-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.score-label {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.score-description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Email Lock Gate for Detailed Analysis */
.vatoskop-gate {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-card-white);
    border: 1px solid var(--color-border-subtle);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(26, 44, 66, 0.02);
    text-align: left;
}

.vatoskop-gate h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.vatoskop-gate p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.vatoskop-gate-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vatoskop-gate-form input[type="email"] {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border-subtle);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.vatoskop-gate-form input[type="email"]:focus {
    border-color: var(--color-accent-clay);
}

/* Detailed recommendations (unlocked by email) */
.vatoskop-analysis-detail {
    display: none;
    text-align: left;
    width: 100%;
}

.recommendations-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation-item {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    display: flex;
    gap: 0.75rem;
}

.recommendation-item.crit {
    background-color: var(--color-barrier-confused);
    color: var(--color-barrier-text-confused);
}

.recommendation-item.warn {
    background-color: var(--color-barrier-read-twice);
    color: var(--color-barrier-text-read-twice);
}

.recommendation-item.info {
    background-color: var(--color-barrier-no-context);
    color: var(--color-barrier-text-no-context);
}

/* PONK Highlights inside editor */
.rule_app1_passives, .rule_passives {
    background-color: var(--color-barrier-read-twice);
    color: var(--color-barrier-text-read-twice);
    padding: 0 2px;
    border-radius: 2px;
}

.rule_app1_long_sentences, .rule_long_sentences {
    background-color: var(--color-barrier-confused);
    color: var(--color-barrier-text-confused);
    padding: 0 2px;
    border-radius: 2px;
}

.rule_app1_negations, .rule_negations {
    background-color: var(--color-barrier-no-context);
    color: var(--color-barrier-text-no-context);
    padding: 0 2px;
    border-radius: 2px;
}

/* ==========================================================================
   Before / After Text Comparison
   ========================================================================== */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 48rem) {
    .before-after-container {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-pane {
    background-color: var(--color-card-white);
    border-radius: 12px;
    border: 1px solid var(--color-border-subtle);
    padding: 2.5rem;
}

.comparison-pane.before {
    border-top: 4px solid var(--color-barrier-text-confused);
}

.comparison-pane.after {
    border-top: 4px solid var(--color-barrier-text-no-context);
}

.comparison-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.comparison-pane.before .comparison-badge {
    background-color: var(--color-barrier-confused);
    color: var(--color-barrier-text-confused);
}

.comparison-pane.after .comparison-badge {
    background-color: var(--color-barrier-no-context);
    color: var(--color-barrier-text-no-context);
}

.comparison-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-dark);
}

/* ==========================================================================
   Ceník (Pricing)
   ========================================================================== */
.pricing {
    text-align: center;
}

.pricing-card {
    background-color: var(--color-card-white);
    border-radius: 4px;
    border: 2px solid var(--color-text-dark);
    max-width: 32rem;
    margin: 3rem auto 0 auto;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 10px 40px rgba(26, 44, 66, 0.05);
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 1rem 0 2rem 0;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    font-size: 1.0625rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--color-accent-clay);
    font-weight: 700;
}

.pricing-low-barrier {
    background-color: rgba(212, 107, 69, 0.04);
    border: 1px dashed var(--color-accent-clay);
    border-radius: 4px;
    max-width: 32rem;
    margin: 2.5rem auto 0 auto;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(212, 107, 69, 0.02);
}

.pricing-low-barrier h4 {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.pricing-low-barrier p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text-dark);
    opacity: 0.8;
    max-width: 100%;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 48rem;
    margin: 3rem auto 0 auto;
}

.faq-item {
    background-color: var(--color-card-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-accent-clay);
}

.faq-item summary {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    padding: 1.5rem 2rem;
    cursor: pointer;
    line-height: 1.4;
    list-style: none; /* Remove default marker */
    position: relative;
    outline: none;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    position: absolute;
    right: 2rem;
    top: 50%;
    border: solid var(--color-text-muted);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
    border-color: var(--color-primary);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--color-bg-light);
}

.faq-content {
    padding: 1.5rem 2rem;
    animation: fadeInAccordion 0.3s ease;
}

.faq-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    opacity: 0.85;
    margin-bottom: 0;
}

@keyframes fadeInAccordion {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Next Steps (Procesní osa)
   ========================================================================== */
.steps-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 44rem;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

@media (min-width: 48rem) {
    .steps-flow {
        flex-direction: row;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.step-item {
    display: flex;
    gap: 1.25rem;
    flex: 1;
    align-items: flex-start;
}

@media (min-width: 48rem) {
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }
}

.step-number {
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--color-accent-clay);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(212, 107, 69, 0.2);
}

.step-content h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 48rem) {
    .step-content h4 {
        margin-top: 0;
    }
}

.step-content p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text-dark);
    opacity: 0.8;
    margin-bottom: 0;
}

/* ==========================================================================
   Onboarding Dotazník (Multi-step Form)
   ========================================================================== */
.onboarding-widget {
    background-color: var(--color-card-white);
    border-radius: 4px;
    border: 1px solid var(--color-border-subtle);
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(26, 44, 66, 0.02);
    max-width: 44rem;
    margin: 3rem auto 0 auto;
}

.form-progress {
    margin-bottom: 2.5rem;
}

.progress-bar-bg {
    height: 4px;
    background-color: var(--color-border-subtle);
    border-radius: 2px;
    position: relative;
}

.progress-bar-fill {
    height: 4px;
    background-color: var(--color-accent-clay);
    border-radius: 2px;
    width: 20%;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.form-step label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.form-step .field-hint {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.form-step textarea, .form-step input[type="text"], .form-step input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border-subtle);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-step textarea:focus, .form-step input:focus {
    border-color: var(--color-accent-clay);
    box-shadow: 0 0 0 3px rgba(212, 107, 69, 0.1);
}

.form-step textarea {
    height: 10rem;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-subtle);
}

.form-step.success-step {
    text-align: center;
    padding: 2rem 0;
}

.form-step.success-step h3 {
    margin-bottom: 1rem;
}

/* ==========================================================================
   O nás (Korektorská dvojka)
   ========================================================================== */
.about-team {
    margin-top: 3rem;
}

.about-member {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-member:last-child {
    margin-bottom: 0;
}

@media (min-width: 48rem) {
    .about-member {
        flex-direction: row;
        text-align: left;
    }
    
    .about-member:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.about-photo-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
    background: linear-gradient(135deg, rgba(212, 107, 69, 0.08), rgba(26, 44, 66, 0.08));
    box-shadow: 0 12px 24px rgba(26, 44, 66, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px rgba(26, 44, 66, 0.1);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.about-photo-wrapper:hover .about-photo {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.about-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 107, 69, 0.05), rgba(26, 44, 66, 0.05));
    color: var(--color-accent-clay);
    font-size: 3rem;
}

.about-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.about-role {
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent-clay);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 3rem 0;
    border-top: 1px solid var(--color-border-subtle);
}

.site-footer h4, .site-footer a {
    color: var(--color-card-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 48rem) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-card-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
}

@media (min-width: 48rem) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* ==========================================================================
   Animations & Editorial Helpers
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.drop-cap {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    float: left;
    line-height: 0.85;
    padding-right: 0.65rem;
    margin-top: 0.15rem;
    color: var(--color-accent-clay);
    font-weight: 700;
}


.pull-quote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.625;
    color: var(--color-text-dark);
    margin-bottom: 0;
}

/* ==========================================================================
   Jak pracujeme Section (Zigzag Timeline)
   ========================================================================== */
.zigzag-timeline {
    position: relative;
    max-width: 60rem;
    margin: 4rem auto;
    padding: 2rem 0;
}

/* Central vertical line */
.zigzag-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: rgba(26, 44, 66, 0.12);
    transform: translateX(-50%);
    display: none;
}

@media (min-width: 48rem) {
    .zigzag-timeline::before {
        display: block;
    }
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

@media (min-width: 48rem) {
    .zigzag-timeline {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 6rem;
        row-gap: 1.5rem;
        padding-bottom: 6rem;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 0;
        padding: 0;
    }
    
    /* Left aligned items (1, 3, 5) */
    .timeline-item.left {
        grid-column: 1;
        justify-content: flex-end;
    }
    
    /* Right aligned items (2, 4, 6) */
    .timeline-item.right {
        grid-column: 2;
        justify-content: flex-start;
        /* Shift right items down to stagger */
        transform: translateY(6rem);
    }
}

.timeline-card {
    background-color: rgba(212, 107, 69, 0.02);
    border: 1px solid rgba(212, 107, 69, 0.12);
    border-radius: 4px;
    padding: 2.5rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: 0 4px 20px rgba(26, 44, 66, 0.01);
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    border-color: var(--color-accent-clay);
    background-color: rgba(212, 107, 69, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(26, 44, 66, 0.03);
}

.timeline-number {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-accent-clay);
    margin-bottom: 1rem;
    line-height: 1;
}

.timeline-card h3 {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.timeline-card p {
    font-size: 0.96875rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    opacity: 0.85;
    margin-bottom: 0;
}

/* Horizontal connectors and dots on desktop */
@media (min-width: 48rem) {
    /* Connector line */
    .timeline-card::before {
        content: '';
        position: absolute;
        top: 3.5rem; /* align with the timeline-number center */
        width: 3rem;
        height: 1px;
        background-color: rgba(26, 44, 66, 0.12);
    }
    
    /* Dot on the center line */
    .timeline-card::after {
        content: '';
        position: absolute;
        top: 3.25rem;
        width: 0.625rem;
        height: 0.625rem;
        background-color: var(--color-accent-clay);
        border: 2px solid var(--color-card-white);
        border-radius: 50%;
        z-index: 2;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    .timeline-item.left .timeline-card::before {
        right: -3rem;
    }
    
    .timeline-item.left .timeline-card::after {
        right: -3.3125rem;
    }
    
    .timeline-item.right .timeline-card::before {
        left: -3rem;
    }
    
    .timeline-item.right .timeline-card::after {
        left: -3.3125rem;
    }

    /* Hover effect for the dots on center line */
    .timeline-card:hover::after {
        transform: scale(1.3);
        background-color: var(--color-text-dark);
    }
}

/* ==========================================================================
   Admin Portal & Highlight Styles
   ========================================================================== */
.npd-highlight {
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.1rem 0;
}

.npd-highlight:hover {
    filter: brightness(0.95);
    box-shadow: 0 2px 6px rgba(26, 44, 66, 0.08);
}

.npd-highlight.highlight-z {
    background-color: var(--color-barrier-read-twice);
    color: var(--color-barrier-text-read-twice);
    border-bottom: 1px solid var(--color-barrier-text-read-twice);
}

.npd-highlight.highlight-n {
    background-color: var(--color-barrier-confused);
    color: var(--color-barrier-text-confused);
    border-bottom: 1px solid var(--color-barrier-text-confused);
}

.npd-highlight.highlight-e {
    background-color: var(--color-barrier-no-context);
    color: var(--color-barrier-text-no-context);
    border-bottom: 1px solid var(--color-barrier-text-no-context);
}

/* ==========================================================================
   Before/After Side-by-Side Comparison & Improvements List
   ========================================================================== */

/* Top: improvements header — full width */
.improvements-header {
    margin-bottom: 3rem;
}

/* Bullets in a 2-column grid on desktop */
.improvements-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 3rem;
}

@media (max-width: 767px) {
    .improvements-inline {
        grid-template-columns: 1fr;
    }
}

/* Bottom: two letter cards side by side */
.letter-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 767px) {
    .letter-comparison-grid {
        grid-template-columns: 1fr;
    }
}

.letter-card {
    background-color: var(--color-card-white);
    border: 1px solid var(--color-border-subtle);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 44, 66, 0.03);
    display: flex;
    flex-direction: column;
}

.letter-card-label {
    padding: 0.85rem 1.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--color-border-subtle);
}

.label-before {
    color: #991b1b;
    background-color: rgba(153, 27, 27, 0.04);
    border-bottom-color: rgba(153, 27, 27, 0.15);
}

.label-after {
    color: var(--color-accent-clay);
    background-color: rgba(200, 90, 50, 0.04);
    border-bottom-color: rgba(200, 90, 50, 0.15);
}

.letter-card .comparison-letter-text {
    padding: 1.75rem;
}

/* Shared letter text styles */
.comparison-letter-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-dark);
}

.comparison-letter-text p {
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
}

.comparison-letter-text ul {
    margin-bottom: 1.1rem;
    padding-left: 1.25rem;
    list-style-type: none;
}

.comparison-letter-text li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
    font-size: 1.05rem;
}



.comparison-letter-text li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-accent-clay);
}

/* Call to Action Button inside the letter */
.letter-cta-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-accent-clay);
    color: var(--color-card-white) !important;
    padding: 0.65rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
    margin: 0.75rem 0 1.25rem 0;
    transition: background-color 0.2s ease;
    border: none;
}

.letter-cta-btn:hover {
    background-color: var(--color-accent-clay-hover);
}

/* Clean improvements list */
.clean-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-bullets-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.clean-bullets-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-accent-clay);
    font-weight: bold;
}

/* ==========================================================================
   Kilovaty Upsell Banner
   ========================================================================== */
.section-dark-upsell {
    padding: 5rem 0;
    background-color: var(--color-bg-sand);
}

.upsell-box {
    background-color: var(--color-text-dark);
    color: var(--color-bg-sand);
    border-radius: 4px;
    padding: 3.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative line or accent in background */
.upsell-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background-color: var(--color-accent-clay);
}

.upsell-content {
    flex: 1;
    max-width: 48rem;
}

.upsell-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent-clay);
    margin-bottom: 1rem;
}

.upsell-box h2 {
    color: #ffffff;
    font-size: 2.25rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.upsell-box h2 em {
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--color-accent-clay);
    font-weight: 500;
}

.upsell-box p {
    color: rgba(244, 239, 230, 0.85); /* sand with opacity */
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 44rem;
}

.upsell-action {
    flex-shrink: 0;
}

.btn-upsell {
    background-color: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(244, 239, 230, 0.3);
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-upsell:hover {
    background-color: #ffffff;
    color: var(--color-text-dark) !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-upsell:hover .btn-arrow-svg {
    transform: translateX(3px);
}

/* Responsiveness for Upsell Banner */
@media (max-width: 991px) {
    .upsell-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2.5rem;
        gap: 2rem;
    }
    
    .upsell-box::after {
        width: 100%;
        height: 6px;
        top: 0;
        left: 0;
    }
}

/* ==========================================================================
   Rozcestník (Contact Gateway)
   ========================================================================== */
.contact-gateway {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 54rem;
    margin: 0 auto;
}

@media (min-width: 48rem) {
    .contact-gateway {
        grid-template-columns: 1fr 1fr;
    }
}

.gateway-card {
    background: var(--color-card-white);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.gateway-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.gateway-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.gateway-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.gateway-card p {
    color: var(--color-text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Tabs (Step 3)
   ========================================================================== */
.source-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: transparent;
    padding: 0;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-subtle);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--color-text-dark);
    border-color: var(--color-text-muted);
}

.tab-btn.active {
    background: var(--color-card-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

.step-input {
    width: 100%;
    margin-bottom: 0 !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

.shake-error {
    animation: shake 0.4s ease-in-out;
    border-color: var(--color-barrier-text-confused) !important;
    box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.1) !important;
}

/* ==========================================================================
   Client Logos
   ========================================================================== */
.client-logos {
    padding: 2rem 0;
    text-align: center;
}

.logos-headline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin: 0 auto 2rem auto;
    font-weight: 600;
    text-align: center;
    max-width: none;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logos-grid:hover {
    opacity: 1;
}

.logos-grid img {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logos-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logos-grid {
        gap: 2rem;
    }
    .logos-grid img {
        height: 36px;
    }
}

/* ==========================================================================
   Inline Links (Taste Style)
   ========================================================================== */
.inline-link {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 2px solid rgba(212, 107, 69, 0.3);
    transition: border-color 0.3s ease, color 0.3s ease;
    padding-bottom: 1px;
    font-weight: 500;
}

.inline-link:hover {
    color: var(--color-text-dark);
    border-bottom-color: var(--color-text-dark);
}

/* ==========================================================================
   Mobile Menu (Hamburger)
   ========================================================================== */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-dark);
    padding: 0.5rem;
    margin-left: auto;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .site-header {
        position: relative;
        z-index: 1000;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(244, 239, 230, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 2rem 1rem;
        box-shadow: 0 16px 32px rgba(26, 44, 66, 0.1);
        border-top: 1px solid var(--color-border-subtle);
    }
    
    .main-nav.is-open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .main-nav a {
        font-size: 1.125rem;
    }
    
    .site-header .btn-nav-cta {
        display: none; /* Na mobilu skryjeme CTA v hlavičce, aby tam nebyl zmatek */
    }
}

/* ==========================================================================
   Floating Action Buttons (FABs)
   ========================================================================== */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fab {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    text-decoration: none;
    background-color: var(--color-card-white);
    color: var(--color-text-dark);
}

.fab:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.fab-contact {
    background-color: var(--color-barrier-read-twice);
    color: var(--color-text-dark);
}
.fab-contact:hover {
    background-color: #fce566;
}

.fab-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.fab-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fab-top.is-visible:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .fab {
        width: 3rem;
        height: 3rem;
    }
    .fab svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   Cookie Bar
   ========================================================================== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: var(--color-text-dark);
  color: var(--color-card-white);
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.22);
  animation: cookieUp 0.3s ease;
}

@keyframes cookieUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-bar-inner {
  max-width: 75rem; /* matches container */
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-bar-text { 
  flex: 1 1 320px; 
}

.cookie-bar-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.cookie-bar-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 64ch;
}

.cookie-bar-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: center;
}

@media (max-width: 768px) {
  .cookie-bar-inner { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 1rem; 
  }
  .cookie-bar-actions { 
    width: 100%; 
    justify-content: space-between;
  }
}

