/* ============================================================
   Obchodní podmínky (Page:terms)
   ============================================================ */

.terms-page {
	padding-bottom: 80px;
}

.terms-head {
	padding: 48px 0 40px;
	background: var(--bg-header);
	border-bottom: 1px solid var(--border-header);
}

.terms-head .wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.terms-head h1 {
	font-size: 2.75rem;
	line-height: 1.1;
}

.terms-head__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--text-2);
}

.terms-head__meta > * {
	display: flex;
	align-items: center;
	gap: 6px;
}

.terms-head__meta i {
	font-size: 18px;
	color: var(--green);
}

.terms-head__meta a {
	font-weight: 700;
}

.terms {
	padding-top: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

.toc {
	flex: 0 0 240px;
	max-width: 100%;
	position: sticky;
	top: 100px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--card);
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-sm);
}

.toc__title {
	padding: 0 10px 8px;
}

.toc a {
	padding: 8px 10px;
	border-radius: var(--radius-md);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--text-2);
}

.toc a:hover {
	background: var(--bg);
	color: var(--green);
}

.terms__text {
	flex: 1 1 480px;
	min-width: 0;
	max-width: 720px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.terms__lead {
	font-size: 1.1875rem;
	line-height: 1.7;
	font-weight: 600;
	text-wrap: pretty;
}

.terms__text section {
	display: flex;
	flex-direction: column;
	gap: 14px;
	scroll-margin-top: 110px;
}

.terms__text h2 {
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}

.terms__text section > p {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--text-2);
	text-wrap: pretty;
}

.terms__text ol {
	margin: 0;
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text-2);
}

.terms__info {
	display: flex;
	gap: 14px;
	padding: 16px 18px;
	border-radius: var(--radius-lg);
	background: var(--bg-light);
}

.terms__info i {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 22px;
	color: var(--green);
}

.terms__info p {
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 600;
}

.terms__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 28px;
	border-radius: var(--radius-xl);
	background: var(--card);
	box-shadow: var(--shadow-sm);
}

.terms__contact-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.125rem;
}

.terms__contact-text {
	margin-top: 2px;
	font-size: 0.9375rem;
	color: var(--text-muted);
}

.terms__contact .btn {
	min-height: 46px;
	padding: 0 20px;
	font-size: 1rem;
	box-shadow: none;
}

@media (max-width: 760px) {
	.toc {
		position: static;
		flex-basis: 100%;
	}

	.terms-head h1 {
		font-size: 2.125rem;
	}
}
