/* Barbora Červená — RE/MAX 2000 | statický web */

:root {
	--remax-blue: #003da5;
	--remax-red:  #e2231a;
	--ink:        #16202c;
	--muted:      #5a6675;
	--line:       #e7eaef;
	--bg:         #ffffff;
	--bg-alt:     #f5f7fa;
	--radius:     14px;
	--maxw:       1120px;
	--shadow:     0 10px 30px rgba(0, 30, 80, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
}

h1, h2, h3, .brand__office { font-family: "Poppins", sans-serif; }

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

a { color: var(--remax-blue); text-decoration: none; }

.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 13px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .98rem;
	border: 2px solid transparent;
	transition: transform .15s ease, background .15s ease, color .15s ease;
	cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--remax-red); color: #fff; }
.btn--ghost   { background: transparent; border-color: var(--remax-blue); color: var(--remax-blue); }
.btn--ghost:hover { background: var(--remax-blue); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: .9rem; background: var(--remax-blue); color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 34px; width: auto; }
.brand__office {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--remax-blue);
	letter-spacing: .04em;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink); font-weight: 500; }
.site-nav a:hover { color: var(--remax-red); }
.site-nav a.btn { color: #fff; }

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(1200px 400px at 80% -10%, rgba(0, 61, 165, .08), transparent),
		var(--bg-alt);
	padding: clamp(40px, 7vw, 90px) 0;
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
}
.eyebrow {
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: .78rem;
	font-weight: 600;
	color: var(--remax-red);
	margin: 0 0 12px;
}
.hero h1 {
	font-size: clamp(2.6rem, 6vw, 4.2rem);
	line-height: 1.05;
	margin: 0;
	letter-spacing: -.02em;
}
.hero__claim {
	font-family: "Poppins", sans-serif;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 500;
	color: var(--remax-blue);
	margin: 18px 0 0;
}
.hero__lead { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.hero__badges {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	margin: 28px 0 0;
}
.hero__badges li {
	font-size: .82rem;
	font-weight: 600;
	color: var(--remax-blue);
	background: #fff;
	border: 1px solid var(--line);
	padding: 7px 14px;
	border-radius: 999px;
}
.hero__photo {
	position: relative;
}
.hero__photo img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	object-fit: cover;
	aspect-ratio: 4 / 5;
}
.hero__photo::before {
	content: "";
	position: absolute;
	inset: auto -14px -14px auto;
	width: 70%;
	height: 70%;
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--remax-blue), var(--remax-red));
	z-index: -1;
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 90px) 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
	font-size: clamp(1.7rem, 3.5vw, 2.4rem);
	margin: 0 0 36px;
	letter-spacing: -.01em;
}
.section__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 14px;
	border-radius: 4px;
	background: var(--remax-red);
}

/* ---------- Cards ---------- */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 22px;
}
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 26px;
	transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 10px; font-size: 1.18rem; color: var(--remax-blue); }
.card p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(28px, 5vw, 60px);
	align-items: center;
}
.about__photo img {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 3 / 4;
	object-fit: cover;
	width: 100%;
}
.about__text p { margin: 0 0 16px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; font-weight: 500; }
.checklist li::before {
	content: "✓";
	position: absolute;
	left: 0; top: 0;
	width: 20px; height: 20px;
	color: var(--remax-red);
	font-weight: 700;
}

/* ---------- Contact ---------- */
.contact {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: start;
}
.contact__list { list-style: none; padding: 0; margin: 0; }
.contact__list li {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	align-items: baseline;
}
.contact__list span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__list a { font-size: 1.15rem; font-weight: 600; }
.contact__social { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__social a {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 600;
}
.contact__social a:hover { background: var(--remax-blue); color: #fff; border-color: var(--remax-blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d0db; padding: 44px 0; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.site-footer__logo { height: 30px; filter: brightness(0) invert(1); }
.site-footer p { margin: 0; font-size: .9rem; }
.site-footer__note { color: #8896a5; font-size: .82rem; }

/* ---------- Flash ---------- */
.flash { padding: .75rem 1rem; border-radius: 8px; margin: 12px auto; max-width: var(--maxw); }
.flash.success { background: #e8f5e9; color: #2e7d32; }
.flash.error { background: #ffebee; color: #c62828; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__photo { order: -1; max-width: 360px; }
	.about { grid-template-columns: 1fr; }
	.about__photo { max-width: 320px; }
	.contact { grid-template-columns: 1fr; }
	.site-nav { gap: 16px; }
	.site-nav a:not(.btn) { display: none; }
}
