/* ============================================
   Reality (odhad nemovitosti) — section-specific styly
   Sdílené tokeny, navbar, footer a btn jsou v ../css/style.css
   ============================================ */

/* --- Hero (split: copy + lead form) --- */
.hero--reality {
    position: relative;
    min-height: auto;
    background: var(--bg-cream);
    padding: 140px 0 80px;
    overflow: hidden;
    display: block;
}

.hero--reality::before,
.hero--reality::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero--reality::before {
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: rgba(235, 0, 0, .05);
}

.hero--reality::after {
    top: 200px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: rgba(235, 200, 100, .08);
}

.hero--reality .container {
    position: relative;
    z-index: 1;
}

.hero-reality-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 992px) {
    .hero-reality-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 64px;
    }
}

/* Pill */
.reality-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(235, 0, 0, .06);
    border: 1px solid rgba(235, 0, 0, .18);
    color: var(--accent-dark);
    font-size: .8rem;
    font-weight: 500;
}

.reality-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* Headline */
.reality-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--primary);
    margin-top: 24px;
    font-weight: 700;
}

.reality-hero-title em {
    color: var(--accent);
    font-style: normal;
}

.reality-hero-subtitle {
    margin-top: 20px;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 32rem;
    line-height: 1.6;
}

/* Bullets */
.reality-bullets {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reality-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .92rem;
    color: var(--text);
}

.reality-bullets svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Social proof */
.reality-social-proof {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.reality-avatars {
    display: flex;
}

.reality-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 500;
    border: 2px solid #fff;
    margin-left: -8px;
}

.reality-avatar:first-child {
    margin-left: 0;
    background: rgba(235, 0, 0, .15);
    color: var(--accent-dark);
}

.reality-avatar:nth-child(2) {
    background: #fef3c7;
    color: #92400e;
}

.reality-avatar:nth-child(3) {
    background: var(--bg-cream-alt);
    color: var(--text-light);
}

.reality-social-text {
    font-size: .78rem;
    color: var(--text-light);
}

.reality-social-text strong {
    color: var(--text);
    font-weight: 600;
}

/* --- Lead form (karta s vícekrokovým formulářem) --- */
.lead-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 16px 40px -20px rgba(26, 54, 93, .25);
    position: relative;
}

@media (min-width: 992px) {
    .lead-form {
        position: sticky;
        top: 96px;
    }
}

.lead-form__progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.lead-form__progress-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lead-form__progress-left strong {
    color: var(--text);
    font-weight: 600;
}

.lead-form__progress-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lead-form__progress-right svg {
    width: 14px;
    height: 14px;
}

.lead-form__bar {
    height: 4px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 24px;
}

.lead-form__bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
    transition: width .5s cubic-bezier(.2, .8, .2, 1);
}

/* Step container */
.lead-form__step {
    display: none;
}

.lead-form__step.active {
    display: block;
}

.lead-form__step-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    font-family: var(--font);
}

.lead-form__step-header p {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.lead-form__step-body {
    margin-top: 20px;
}

/* Step 1: option grid (typ nemovitosti) */
.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all .15s ease;
}

.option-card:hover {
    border-color: var(--accent);
    background: rgba(235, 0, 0, .03);
}

.option-card.selected {
    border-color: var(--accent);
    background: rgba(235, 0, 0, .05);
}

.option-card svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    stroke-width: 1.5;
    transition: color .15s ease;
}

.option-card:hover svg,
.option-card.selected svg {
    color: var(--accent);
}

.option-card span {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
}

/* Step 2: option list (záměr prodeje) */
.option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all .15s ease;
}

.option-row:hover {
    border-color: var(--accent);
    background: rgba(235, 0, 0, .03);
}

.option-row.selected {
    border-color: var(--accent);
    background: rgba(235, 0, 0, .05);
}

.option-row__main {
    min-width: 0;
}

.option-row__title {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
}

.option-row__subtitle {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.option-row__badge {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 500;
}

.option-row__badge--active {
    background: rgba(235, 0, 0, .1);
    color: var(--accent-dark);
}

.option-row__badge--planning {
    background: #fef3c7;
    color: #92400e;
}

.option-row__badge--neutral {
    background: var(--bg-alt);
    color: var(--text-light);
}

/* Step 3: form inputs */
.lead-form-field {
    margin-bottom: 14px;
}

.lead-form-field:last-child {
    margin-bottom: 0;
}

.lead-form-field > label {
    display: block;
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 6px;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form input[type="number"],
.lead-form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .9rem;
    font-family: inherit;
    background: #fff;
    color: var(--text);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.lead-form input::placeholder {
    color: var(--text-muted);
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(235, 0, 0, .1);
}

.lead-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.condition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.condition-grid button {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all .15s ease;
}

.condition-grid button:hover {
    border-color: var(--accent);
}

.condition-grid button.selected {
    border-color: var(--accent);
    background: rgba(235, 0, 0, .05);
    color: var(--accent-dark);
}

/* Step 4: consent + CTA */
.lead-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    cursor: pointer;
}

.lead-form__consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.lead-form__consent span {
    font-size: .78rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* CTA buttons within form */
.lead-form__cta {
    width: 100%;
    margin-top: 20px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s ease, opacity .15s ease;
}

.lead-form__cta:hover:not(:disabled) {
    background: var(--accent-dark);
}

.lead-form__cta:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

.lead-form__cta svg {
    width: 16px;
    height: 16px;
}

.lead-form__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    padding: 4px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: .78rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .15s ease;
}

.lead-form__back:hover {
    color: var(--text);
}

.lead-form__back svg {
    width: 14px;
    height: 14px;
}

.lead-form__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: .72rem;
    color: var(--text-muted);
}

.lead-form__secure svg {
    width: 14px;
    height: 14px;
}

/* Success state */
.lead-form__success {
    text-align: center;
    padding: 24px 0;
}

.lead-form__success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    background: rgba(235, 0, 0, .1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-form__success-icon svg {
    width: 28px;
    height: 28px;
}

.lead-form__success h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 16px;
}

.lead-form__success > p {
    color: var(--text-light);
    margin-top: 6px;
    font-size: .92rem;
}

.lead-form__success-info {
    margin: 20px auto 0;
    max-width: 280px;
    padding: 14px;
    background: var(--bg-cream-alt);
    border-radius: 12px;
    font-size: .78rem;
    color: var(--text-light);
    line-height: 1.5;
}

.lead-form__reset {
    margin-top: 16px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: .78rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.lead-form__reset:hover {
    color: var(--text);
}

/* --- Eyebrow + headline pattern (sdílený mezi sekcemi) --- */
.reality-eyebrow {
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
}

.reality-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--primary);
    margin-top: 10px;
    font-weight: 700;
}

.reality-h2 em {
    color: var(--accent);
    font-style: normal;
}

.reality-lede {
    margin-top: 16px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 36rem;
}

/* --- HowItWorks --- */
.reality-how {
    background: var(--bg-cream);
    padding: 100px 0;
}

.reality-how__header {
    max-width: 36rem;
}

.reality-how__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .reality-how__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reality-step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow .2s ease;
}

.reality-step-card:hover {
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .reality-step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 36px;
        left: calc(100% + 0px);
        width: 20px;
        height: 1px;
        background: var(--border);
    }
}

.reality-step-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reality-step-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(235, 0, 0, .08);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reality-step-card__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.reality-step-card__num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--border);
    font-weight: 700;
}

.reality-step-card__title {
    margin-top: 20px;
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
}

.reality-step-card__body {
    margin-top: 8px;
    font-size: .88rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* --- Comparison --- */
.reality-comparison {
    background: #fff;
    padding: 100px 0;
}

.reality-comparison__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 992px) {
    .reality-comparison__grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 64px;
    }
}

.reality-comparison__table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.reality-comparison__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-cream-alt);
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.reality-comparison__header-us {
    padding: 12px 20px;
    color: var(--accent-dark);
    border-right: 1px solid var(--border);
}

.reality-comparison__header-them {
    padding: 12px 20px;
    color: var(--text-muted);
}

.reality-comparison__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: .9rem;
}

.reality-comparison__row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.reality-comparison__cell {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
}

.reality-comparison__cell-us {
    color: var(--text);
    border-right: 1px solid var(--border);
    background: #fff;
}

.reality-comparison__cell-them {
    color: var(--text-light);
    background: rgba(245, 241, 232, .4);
}

.reality-comparison__cell svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.reality-comparison__cell-us svg {
    color: var(--accent);
}

.reality-comparison__cell-them svg {
    color: var(--text-muted);
}

/* --- Testimonial --- */
.reality-testimonial {
    background: var(--primary);
    color: rgba(255, 255, 255, .92);
    padding: 100px 0;
    text-align: center;
}

.reality-testimonial__quote-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    color: var(--accent-light);
    opacity: .8;
}

.reality-testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.35;
    margin-top: 24px;
    color: #fff;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.reality-testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.reality-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 500;
}

.reality-testimonial__author-info {
    text-align: left;
    font-size: .85rem;
}

.reality-testimonial__author-name {
    font-weight: 500;
    color: #fff;
}

.reality-testimonial__author-role {
    color: rgba(255, 255, 255, .65);
    margin-top: 2px;
    font-size: .8rem;
}

/* --- FAQ --- */
.reality-faq {
    background: var(--bg-alt);
    padding: 100px 0;
}

.reality-faq__inner {
    max-width: 760px;
    margin: 0 auto;
}

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

.faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s ease;
}

.faq-item.open {
    box-shadow: var(--shadow);
}

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

.faq-question svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform .3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

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

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    font-size: .9rem;
    line-height: 1.65;
    color: var(--text-light);
}

/* --- Finance (zmínka o finančním poradenství) --- */
.reality-finance {
    background: var(--bg-alt);
    padding: 100px 0;
}

.reality-finance__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.reality-finance__content .reality-eyebrow,
.reality-finance__content .reality-h2,
.reality-finance__content .reality-lede {
    margin-left: auto;
    margin-right: auto;
}

.reality-finance__features {
    list-style: none;
    margin: 32px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 480px;
}

@media (min-width: 640px) {
    .reality-finance__features {
        grid-template-columns: repeat(4, 1fr);
        max-width: none;
    }
}

.reality-finance__features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: .82rem;
    font-weight: 500;
    text-align: center;
}

.reality-finance__features svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* --- Final CTA --- */
.reality-final-cta {
    background: #fff;
    padding: 100px 0;
    text-align: center;
}

.reality-final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--primary);
    font-weight: 700;
}

.reality-final-cta p {
    margin: 16px auto 0;
    max-width: 36rem;
    color: var(--text-light);
    line-height: 1.6;
}

.reality-final-cta__btn {
    margin-top: 32px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero--reality {
        padding: 110px 0 56px;
    }

    .reality-how,
    .reality-comparison,
    .reality-testimonial,
    .reality-faq,
    .reality-final-cta {
        padding: 64px 0;
    }

    .lead-form {
        padding: 22px;
    }

    .reality-comparison__cell {
        padding: 14px 16px;
    }
}
