/* FN Poptávky – barvy a tvary převzaté z webu (Montserrat, zelená #7ec11f, tmavá #161616, kulatá tlačítka). */
:root {
	--fn-green: #7ec11f;
	--fn-green-dark: #67a116;
	--fn-dark: #161616;
	--fn-text: #3e2f28;
	--fn-line: #e3e3e3;
	--fn-soft: #f6f7f3;
}

.fn-form, .fn-box, .fn-hero, .fn-mobilebar { font-family: Montserrat, Arial, sans-serif; color: var(--fn-dark); }
.fn-form *, .fn-box * { box-sizing: border-box; }

/* Tlačítka */
.fn-btn, a.fn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 48px; padding: 12px 28px; border: 2px solid var(--fn-green); border-radius: 50px;
	background: var(--fn-green); color: #fff !important; font: 600 17px/1.2 Montserrat, Arial, sans-serif;
	text-decoration: none !important; cursor: pointer; transition: background .2s, border-color .2s;
}
.fn-btn:hover { background: var(--fn-green-dark); border-color: var(--fn-green-dark); }
.fn-btn--ghost, a.fn-btn--ghost { background: transparent; color: var(--fn-dark) !important; border-color: var(--fn-dark); }
.fn-btn--ghost:hover { background: var(--fn-dark); color: #fff !important; border-color: var(--fn-dark); }
.fn-btn[disabled] { opacity: .6; cursor: wait; }

/* Formuláře */
.fn-form { max-width: 720px; margin: 0 auto; }
.fn-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fn-form legend { font-size: 22px; font-weight: 700; margin-bottom: 16px; padding: 0; }
.fn-field { display: block; margin: 0 0 16px; font-weight: 600; font-size: 15px; }
.fn-field small { font-weight: 500; color: #777; }
.fn-field input, .fn-field select, .fn-field textarea {
	display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #cfcfcf; border-radius: 10px;
	background: #fff; color: var(--fn-dark); font: 500 16px/1.4 Montserrat, Arial, sans-serif;
}
.fn-field input:focus, .fn-field select:focus, .fn-field textarea:focus { outline: 2px solid var(--fn-green); outline-offset: 1px; border-color: var(--fn-green); }
.fn-field.is-invalid input, .fn-field.is-invalid textarea { border-color: #c0392b; }
.fn-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.fn-chips.is-invalid .fn-chip span { border-color: #c0392b; }
.fn-chip { position: relative; cursor: pointer; }
.fn-chip input { position: absolute; opacity: 0; pointer-events: none; }
.fn-chip span { display: inline-block; padding: 11px 18px; border: 1px solid #cfcfcf; border-radius: 50px; background: #fff; font-weight: 600; font-size: 15px; }
.fn-chip input:checked + span { background: var(--fn-dark); color: #fff; border-color: var(--fn-dark); }
.fn-chip input:focus-visible + span { outline: 2px solid var(--fn-green); outline-offset: 2px; }
.fn-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.fn-note { font-size: 13px; color: #666; margin: 4px 0 12px; }
.fn-note a { color: inherit; text-decoration: underline; }
.fn-msg { margin-top: 14px; font-weight: 600; }
.fn-msg.is-error { color: #c0392b; }
.fn-msg.is-ok { padding: 18px 20px; border-radius: 12px; background: var(--fn-soft); border-left: 4px solid var(--fn-green); color: var(--fn-dark); }
.fn-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Kroky */
.fn-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 24px !important; padding: 0 !important; counter-reset: none; }
.fn-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 0 10px; border-bottom: 3px solid var(--fn-line); font-size: 14px; font-weight: 600; color: #888; list-style: none; }
.fn-steps li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fn-line); color: var(--fn-dark); font-size: 13px; }
.fn-steps li.is-active, .fn-steps li.is-done { border-color: var(--fn-green); color: var(--fn-dark); }
.fn-steps li.is-active span, .fn-steps li.is-done span { background: var(--fn-green); color: #fff; }
.fn-form[data-steps] .fn-step { display: none; }
.fn-form[data-steps] .fn-step.is-active { display: block; }
.fn-form.is-sent .fn-step, .fn-form.is-sent .fn-steps { display: none !important; }

/* Box s formulářem prohlídky na detailu nabídky */
.fn-box { margin: 40px 0 10px; padding: 28px; border-radius: 16px; background: var(--fn-soft); scroll-margin-top: 110px; }
.fn-box__title { font-size: 26px !important; font-weight: 700; line-height: 1.25; margin: 0 0 8px; padding: 0; color: var(--fn-dark); }
.fn-box__lead { font-size: 15px; margin: 0 0 18px; }
.fn-box__lead a { color: var(--fn-dark); font-weight: 700; white-space: nowrap; }
.fn-box .fn-form { max-width: none; }
.fn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* Úvod: sdělení v první obrazovce */
.fn-hero { max-width: 640px; }
.fn-hero__kicker { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fn-green-dark); }
.fn-hero__title { margin: 0 0 14px; font-size: 34px; line-height: 1.2; font-weight: 700; color: var(--fn-dark); }
.fn-hero__text { margin: 0 0 22px; font-size: 17px; line-height: 1.6; }
.fn-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.fn-hero__link { display: inline-block; font-weight: 600; color: var(--fn-dark) !important; text-decoration: underline; }

/* Karty nabídek: název */
.nemovitost-item .fn-card-title { margin: 0 0 12px; padding: 0; font: 700 17px/1.35 Montserrat, Arial, sans-serif; color: var(--fn-dark); }

/* Prázdná kategorie nabídek */
.fn-empty { padding: 24px; border-radius: 12px; background: var(--fn-soft); font-size: 15px; }
.fn-empty a { color: var(--fn-dark); font-weight: 700; text-decoration: underline; }

/* Tlačítko „Chci prodat“ v menu */
a.fn-menu-cta { display: inline-flex !important; align-items: center; padding: 10px 22px !important; border-radius: 50px; background: var(--fn-green) !important; color: #fff !important; font-weight: 700 !important; white-space: nowrap; }
a.fn-menu-cta:hover { background: var(--fn-green-dark) !important; }

/* Lišta na mobilu */
.fn-mobilebar { display: none; }
@media (max-width: 767px) {
	.fn-mobilebar {
		display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.12);
	}
	.fn-mobilebar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 50px; font: 700 15px/1 Montserrat, Arial, sans-serif; text-decoration: none; }
	.fn-mobilebar__call { border: 2px solid var(--fn-dark); color: var(--fn-dark) !important; }
	.fn-mobilebar__cta { background: var(--fn-green); color: #fff !important; }
	body { padding-bottom: 66px; }
	.fn-grid { grid-template-columns: 1fr; }
	.fn-box { padding: 20px 16px; }
	.fn-box__title { font-size: 22px !important; }
	.fn-hero__title { font-size: 26px; }
	.fn-hero__buttons .fn-btn { width: 100%; }
	.fn-steps li { font-size: 0; gap: 0; justify-content: center; }
	.fn-steps li span { font-size: 13px; }
}

/* Stránka Prodej nemovitosti */
.fn-sale { font-family: Montserrat, Arial, sans-serif; color: var(--fn-dark); }
.fn-sale section { padding: 40px 0; border-bottom: 1px solid var(--fn-line); }
.fn-sale section:last-child { border-bottom: 0; }
.fn-sale h1 { font-size: 40px; line-height: 1.15; font-weight: 700; margin: 0 0 16px; padding: 0; }
.fn-sale h2 { font-size: 30px; line-height: 1.2; font-weight: 700; margin: 0 0 18px; padding: 0; }
.fn-sale h3 { font-size: 18px; font-weight: 700; margin: 18px 0 6px; padding: 0; }
.fn-sale p, .fn-sale li { font-size: 16px; line-height: 1.65; }
.fn-sale__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 28px 0 0 !important; padding: 0 !important; }
.fn-sale__facts li { padding: 16px; border-radius: 12px; background: var(--fn-soft); font-size: 14px; line-height: 1.4; list-style: none; }
.fn-sale__facts strong { display: block; font-size: 20px; color: var(--fn-green-dark); }
.fn-sale__steps ol { counter-reset: fnstep; list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.fn-sale__steps li { counter-increment: fnstep; position: relative; padding-left: 48px; list-style: none; }
.fn-sale__steps li::before { content: counter(fnstep); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--fn-green); color: #fff; font-weight: 700; }
.fn-sale__form { scroll-margin-top: 110px; }
.fn-sale__form > p { max-width: 720px; margin: 0 auto 24px; }
.fn-sale__form > h2 { text-align: center; }
.fn-sale h1, .fn-sale h2, .fn-sale h3 { color: var(--fn-dark) !important; }
.fn-sale .fn-hero__kicker { color: var(--fn-green-dark) !important; }


/* Úvod: tlačítka pod jménem */
.fn-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 26px 0 0 10px; font-family: Montserrat, Arial, sans-serif; }
.fn-hero-actions .fn-hero__link { flex-basis: 100%; margin-top: 4px; font-size: 15px; }
@media (max-width: 767px) { .fn-hero-actions { margin-left: 0; } .fn-hero-actions .fn-btn { width: 100%; } }
/* Tlačítko v hlavičce */
a.fn-header-cta { margin-left: auto; margin-right: 28px; align-self: center; display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 50px; background: var(--fn-green); color: #fff !important; font: 700 15px/1 Montserrat, Arial, sans-serif; text-decoration: none; white-space: nowrap; transition: background .2s; }
a.fn-header-cta:hover { background: var(--fn-green-dark); }
@media (max-width: 767px) { a.fn-header-cta { display: none; } }
.fn-form .fn-field input, .fn-form .fn-field select, .fn-form .fn-field textarea { padding: 13px 14px !important; border: 1px solid #cfcfcf !important; border-radius: 10px !important; font-size: 16px !important; min-height: 48px; background: #fff !important; }
.fn-sale p, .fn-sale li { font-size: 16px !important; line-height: 1.65 !important; }
@media (max-width: 767px) {
	.fn-sale h1 { font-size: 28px; }
	.fn-sale h2 { font-size: 24px; }
	.fn-sale__facts { grid-template-columns: 1fr 1fr; }
	.fn-sale__steps ol { grid-template-columns: 1fr; }
}

/* Právní údaje pod patičkou (1.0.3) */
.fn-legal { background: #161616; color: #bdbdbd; font: 400 13px/1.6 Montserrat, Arial, sans-serif; text-align: center; padding: 18px 16px; }
.fn-legal p { margin: 0 0 4px; padding: 0; }
.fn-legal a { color: #e0e0e0; text-decoration: underline; }
@media (max-width: 980px) { .fn-legal { padding-bottom: 84px; } }

/* O mně – nový text (etapa 2) */
body.page-id-731 .et_pb_text_inner h2 { font-size: 1.15em; font-weight: 700; color: #161616; margin: 1.2em 0 .4em; padding: 0; line-height: 1.25; }
body.page-id-731 .et_pb_text_inner ul { margin: 0 0 1em 1.1em; padding: 0; }
body.page-id-731 .et_pb_text_inner li { line-height: 1.45; margin-bottom: .5em; }
body.page-id-731 .et_pb_text_inner a { color: #6fb51f; text-decoration: underline; font-weight: 600; }
