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

:root {
    --color-bg: #fafaf7;
    --color-bg-warm: #f4f1eb;
    --color-bg-green: #eef3ef;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-mid: #3d3d3d;
    --color-text-light: #636363;
    --color-primary: #2d6a4f;
    --color-primary-light: #40916c;
    --color-primary-dark: #1b4332;
    --color-primary-bg: rgba(45,106,79,0.08);
    --color-accent: #c76f3b;
    --color-accent-dark: #a85a2d;
    --color-accent-light: #e8956a;
    --color-border: #ddd9d2;
    --color-border-light: #eae7e1;
    --font-display: 'EB Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

    /* Typografická škála — desktop */
    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3-lg: 1.65rem;       /* CTA banner, solve-cta */
    --fs-h3: 1.5rem;           /* card-highlight, lead h3 */
    --fs-h3-sm: 1.35rem;       /* card, step */
    --fs-lead: 1.15rem;        /* subtitles, lead text */
    --fs-body: 1.08rem;        /* běžný tělový text v boxech */
    --fs-small: 0.9rem;        /* labels, notes, footer */
    --fs-xs: 0.82rem;          /* copyright apod. */

    --max-width: 1080px;
    --radius: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.75;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 0.65rem 1.5rem;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 50px;
    width: auto;
    transition: filter 0.3s;
    filter: brightness(0) invert(1);
}

.header.scrolled .header-logo img {
    filter: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.header-phone svg {
    width: 16px;
    height: 16px;
}

.header.scrolled .header-phone {
    color: var(--color-text);
}

.header-phone:hover {
    color: var(--color-primary);
}

/* Mobile call button - skrytý na desktopu */
.header-call-mobile {
    display: none;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(199,111,59,0.35);
    transition: background 0.2s, transform 0.2s;
}

.header-call-mobile:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.header-call-mobile svg {
    width: 18px;
    height: 18px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    line-height: 1.2;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.6rem;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(45,106,79,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    padding: 0.75rem 1.6rem;
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    box-shadow: 0 8px 24px rgba(199,111,59,0.35);
}

.btn-small {
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
}

.btn-ghost {
    background: var(--color-primary-bg);
    color: var(--color-primary);
    padding: 0.75rem 1.6rem;
    font-weight: 600;
}

.btn-ghost:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ========== HERO ========== */
.hero {
    padding: 7.5rem 1.5rem 4.5rem;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: url('../rsz_vykup_garazi_-_garazov.jpg') center center / cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--color-surface));
    pointer-events: none;
    z-index: 2;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
    margin-bottom: 1.75rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-checks {
    list-style: none;
    margin-bottom: 2.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--fs-body);
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--color-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 13px;
    height: 13px;
    fill: #fff;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .btn-accent {
    padding: 1.05rem 2.5rem;
}

.hero-buttons .btn-call {
    font-size: 1.2rem;
    padding: 1.2rem 2.75rem;
    box-shadow: 0 6px 22px rgba(199,111,59,0.35);
}

.hero-buttons .btn-call .btn-call-icon {
    width: 22px;
    height: 22px;
    margin-right: 0.15rem;
}

.hero-buttons .btn-secondary {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    font-size: 0.95rem;
    padding: 0.7rem 1.4rem;
    border-width: 1.5px;
    font-weight: 500;
}

.hero-buttons .btn-secondary:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.hero-content {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 2.75rem 3.5rem;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-content .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .hero-checks {
    display: inline-grid;
    text-align: left;
}

.hero-content .hero-buttons {
    justify-content: center;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.7rem 1.25rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
}

.hero-trust-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.hero-trust-text {
    text-align: left;
}

.hero-trust-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.3;
}

.hero-trust-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}

.hero-trust-inline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.85rem 1.5rem;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    line-height: 1.3;
}

.hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1.75rem 1.5rem;
        border-radius: 12px;
        max-width: 100%;
        text-align: center;
    }

    .hero-content .hero-buttons {
        justify-content: stretch;
    }

    .hero-trust {
        width: 100%;
    }
}

/* ========== SECTIONS ========== */
.section {
    padding: 5.5rem 1.5rem;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--color-text);
    line-height: 1.25;
    text-align: center;
}

.section-subtitle {
    color: var(--color-text-light);
    margin-bottom: 2.75rem;
    font-size: var(--fs-lead);
    max-width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Alternating section backgrounds */
.section-warm {
    background: var(--color-bg-warm);
}

.section-white {
    background: var(--color-surface);
}

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

/* ========== CTA BANNER (inline between sections) ========== */
.cta-banner {
    padding: 3rem 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-banner.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-banner-inner {
    max-width: 680px;
    margin: 0 auto;
    background: var(--color-primary);
    border-radius: 16px;
    padding: 2.75rem 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.cta-banner h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3-lg);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    opacity: 0.85;
    margin-bottom: 1.5rem;
    font-size: var(--fs-lead);
}

.cta-banner .btn {
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    padding: 0.85rem 2rem;
}

.cta-banner .btn:hover {
    background: var(--color-bg-warm);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ========== CARDS (Proč se ozvat) ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    border: 1px solid var(--color-border-light);
    transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transform: translateY(-4px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3-sm);
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.card p {
    color: var(--color-text-light);
    font-size: var(--fs-body);
    line-height: 1.65;
}

.card-highlight {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-bg) 0%, #fff 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 18px rgba(45,106,79,0.08);
}

.card-highlight .card-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    flex-shrink: 0;
    margin-bottom: 0;
}

.card-highlight .card-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
}

.card-highlight-text h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.card-highlight-text p {
    color: var(--color-text);
    font-size: var(--fs-body);
    line-height: 1.65;
    margin: 0;
}

/* ========== STEPS (Jak to probíhá) ========== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.step {
    position: relative;
    padding: 1.5rem 1.25rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border-light);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.step h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3-sm);
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--color-text);
}

.step p {
    color: var(--color-text-light);
    font-size: var(--fs-body);
    line-height: 1.6;
}

/* Highlighted note */
.highlight-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--color-primary-bg);
    border: 1px solid rgba(45,106,79,0.15);
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.highlight-note svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

/* ========== SOLVE (Co umím vyřešit) ========== */
.solve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solve-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.solve-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--color-text-mid);
}

.solve-list li .check-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
}

.solve-list li .check-icon svg {
    width: 15px;
    height: 15px;
}

.solve-cta {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--color-border-light);
    text-align: center;
}

.solve-cta h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3-lg);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}

.solve-cta p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: var(--fs-body);
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.75rem;
    align-items: center;
}

.about-cta {
    text-align: center;
    margin-top: 2rem;
}

.about-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    font-size: 0.9rem;
}

.about-text p {
    color: var(--color-text-mid);
    margin-bottom: 0.6rem;
    font-size: var(--fs-lead);
    line-height: 1.75;
}

.about-photo-wrap {
    text-align: center;
}

.about-photo-wrap .about-name {
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.15rem;
    margin-top: 0.75rem;
}

/* ========== FAQ ========== */
.faq-section .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-section .section-title {
    text-align: center;
}

.faq-section .section-subtitle {
    text-align: center;
}

.faq-list {
    max-width: 700px;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.3rem 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-arrow {
    width: 22px;
    height: 22px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding-bottom: 1.3rem;
    color: var(--color-text-light);
    font-size: var(--fs-body);
    line-height: 1.75;
}

.faq-cta {
    margin-top: 2.5rem;
    text-align: center;
}

.faq-cta p {
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    font-size: var(--fs-body);
}

/* ========== CONTACT ========== */
.contact-section {
    background: var(--color-surface);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    display: contents;
}

.contact-text .section-title {
    font-size: var(--fs-h2);
    order: 1;
}

.contact-text .section-subtitle {
    order: 1;
    margin-bottom: 0;
}

.contact-grid .form {
    order: 2;
}

.contact-direct {
    order: 3;
    padding: 1.5rem;
    background: var(--color-bg-green);
    border-radius: var(--radius);
    text-align: center;
}

.contact-direct-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-light);
    margin-bottom: 0.6rem;
}

.contact-direct a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.3rem 0;
}

.contact-direct a:hover {
    color: var(--color-primary-dark);
}

.contact-direct a svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.form {
    display: grid;
    gap: 1rem;
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid var(--color-border-light);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #c0392b;
}

.form-group .error-msg {
    font-size: 0.83rem;
    color: #c0392b;
    margin-top: 0.3rem;
    display: none;
}

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

.form-note {
    text-align: center;
    font-size: var(--fs-small);
    color: var(--color-text-light);
}

.form-trust {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--fs-small);
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0.5rem 0 1rem;
    padding: 0.7rem 0.9rem;
    background: var(--color-bg-warm, #f7f3ec);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

.form-trust::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>") center/contain no-repeat;
}

.form-success {
    display: none;
    background: var(--color-bg-green);
    border: 1px solid rgba(45,106,79,0.2);
    border-radius: 12px;
    padding: 2.25rem 1.5rem;
    text-align: center;
}

.form-success-icon {
    width: 56px;
    height: 56px;
    color: var(--color-primary);
    margin: 0 auto 0.85rem;
    display: block;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-text-mid);
    font-size: var(--fs-body);
    line-height: 1.6;
}

.form-success-meta {
    margin-top: 0.75rem;
    font-size: var(--fs-small);
    color: var(--color-text-light);
}

.form-success-meta a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.form-success-meta a:hover {
    text-decoration: underline;
}

.form-error {
    display: none;
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #842029;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-top: 0.5rem;
    font-size: var(--fs-small);
    text-align: center;
}

.form-error a {
    color: #842029;
    font-weight: 600;
    text-decoration: underline;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.65);
    padding: 3.5rem 1.5rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-col {
    font-size: var(--fs-small);
    line-height: 1.9;
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 0.25rem;
}

.footer-col strong {
    color: #fff;
}

.footer-col a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-copy {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.45);
}

/* ========== MOBILE STICKY CTA ========== */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
    font-size: 1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;  /* tablet — mezi desktop 3rem a mobile 2.1rem */
    }

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

    .solve-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobilní typografická škála — mírně menší než desktop */
    :root {
        --fs-h1: 2.1rem;
        --fs-h2: 1.65rem;
        --fs-h3-lg: 1.45rem;
        --fs-h3: 1.35rem;
        --fs-h3-sm: 1.25rem;
        --fs-lead: 1.1rem;
        --fs-body: 1.05rem;
    }

    body {
        font-size: 18px;
        line-height: 1.8;
    }

    .header-phone,
    .header-cta-desktop {
        display: none;
    }

    .header-call-mobile {
        display: inline-flex;
    }

    .header {
        padding: 0.75rem 1rem;
    }

    .header.scrolled {
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 6rem 1.25rem 3rem;
        min-height: auto;
    }

    .hero-inner {
        width: 100%;
    }

    /* Hero h1 dědí --fs-h1 z mobilní škály (2.1rem) */

    .hero-subtitle {
        font-size: var(--fs-lead);
        line-height: 1.8;
    }

    .hero-checks {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-checks li {
        font-size: var(--fs-lead);
    }


    .highlight-note {
        text-align: center;
        justify-content: center;
        font-size: var(--fs-body);
    }

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

    .hero-buttons .btn {
        justify-content: center;
        font-size: 1.1rem;
        padding: 1rem;
    }

    .hero-buttons .btn-call {
        font-size: 1.25rem;
        padding: 1.15rem 1rem;
    }

    .hero-buttons .btn-secondary {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }

    .hero-trust-inline {
        gap: 0.75rem 1.25rem;
        padding: 0.75rem 1rem;
    }

    .hero-trust-item {
        font-size: 0.88rem;
    }

    .section {
        padding: 3.5rem 1.25rem;
    }

    /* .section-title dědí --fs-h2 z mobilní škály (1.65rem) */

    .section-subtitle {
        margin-bottom: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card {
        padding: 1.5rem 1.25rem;
        text-align: center;
    }

    .card .card-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .card-highlight {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }

    /* .card h3, .step h3, .card-highlight-text h3 dědí z mobilní škály */

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

    .step {
        text-align: center;
    }

    .solve-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solve-cta {
        padding: 2rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 1.5rem;
    }

    .about-photo {
        width: 140px;
        height: 140px;
    }

    /* .about-text p dědí --fs-lead z mobilní škály */

    .faq-list {
        max-width: 100%;
    }

    .faq-question {
        padding: 1.15rem 0;
    }

    /* .faq-question a .faq-answer-inner dědí --fs-body z mobilní škály */

    .contact-grid {
        gap: 1rem;
    }

    .contact-text .section-title {
        margin-bottom: 0.3rem;
    }

    .form {
        padding: 1.5rem 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: var(--fs-body);
        padding: 0.85rem 1rem;
    }

    .cta-banner-inner {
        padding: 2rem 1.5rem;
    }

    /* .cta-banner h3 dědí --fs-h3-lg z mobilní škály (1.3rem) */

    .cta-banner p {
        font-size: var(--fs-lead);
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        padding-bottom: 4rem;
    }

    .mobile-cta {
        display: block;
    }

    .highlight-note {
        font-size: 0.95rem;
        padding: 0.75rem 1.15rem;
    }
}