/* "Tapk partneriu" page (page-tapk-partneriu.php, inc/partners.php) */

.pt-page {
	--pt-blue: #0f69af;
	--pt-blue-dark: #0b5590;
	--pt-text: #212121;
	--pt-muted: #5f6672;
	--pt-border: #E6EBF0;
	--pt-soft: #f1f7fc;
	padding-bottom: 64px;
	font-family: 'Inter', sans-serif;
	color: var(--pt-text);
}

.pt-center {
	text-align: center;
}

.pt-hero {
	padding: 56px 0 88px;
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14), transparent 45%),
		linear-gradient(135deg, #0f69af 0%, #0b4f86 100%);
	background-color: #0f69af;
	color: #fff;
}

.pt-eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.pt-eyebrow--dark {
	background: var(--pt-soft);
	color: var(--pt-blue);
}

.pt-hero__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.01em;
}

.pt-hero__lead {
	max-width: 640px;
	margin: 0;
	color: rgba(255, 255, 255, .92);
	font-size: 18px;
	line-height: 1.55;
}

/* Tabs: pulled up over the hero edge. */
.pt-tabs {
	display: flex;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	margin: -30px 0 28px;
	padding: 6px;
	border: 1px solid var(--pt-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(15, 40, 70, .10);
	position: relative;
}

.pt-tabs[hidden] {
	display: none;
}

.pt-page button.pt-tab,
.pt-page button.pt-tab:hover,
.pt-page button.pt-tab:focus,
.pt-page button.pt-tab:active {
	min-width: 150px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--pt-muted) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: background-color .15s ease, color .15s ease !important;
}

.pt-page button.pt-tab:hover {
	background: var(--pt-soft) !important;
	color: var(--pt-blue) !important;
}

.pt-page button.pt-tab[aria-selected="true"] {
	background: var(--pt-blue) !important;
	color: #fff !important;
}

.pt-page button.pt-tab:focus-visible {
	outline: 2px solid var(--pt-blue);
	outline-offset: 2px;
}

/* Panel: offer on the left, form on the right. */
.pt-panel {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 40px;
	align-items: start;
	margin: 36px 0 0;
}

.pt-tabs:not([hidden]) + .pt-panel,
.pt-tabs:not([hidden]) ~ .pt-panel {
	margin-top: 0;
}

.pt-panel[hidden] {
	display: none;
}

.pt-panel:focus {
	outline: none;
}

.pt-h2 {
	margin: 0 0 14px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--pt-text);
}

.pt-lead {
	margin: 0 0 22px;
	color: var(--pt-muted);
	font-size: 16px;
	line-height: 1.6;
}

.pt-cards {
	display: grid;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.pt-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	border: 1px solid var(--pt-border);
	border-radius: 12px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.pt-card:hover {
	border-color: #cfe0ef;
	box-shadow: 0 6px 18px rgba(15, 40, 70, .07);
	transform: translateY(-1px);
}

.pt-card__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--pt-soft);
	color: var(--pt-blue);
}

.pt-card__title {
	display: block;
	margin: 2px 0 3px;
	font-size: 16px;
	font-weight: 600;
}

.pt-card__text {
	display: block;
	color: var(--pt-muted);
	font-size: 14px;
	line-height: 1.5;
}

.pt-note {
	margin: 0;
	padding: 12px 14px;
	border-left: 3px solid var(--pt-blue);
	border-radius: 0 10px 10px 0;
	background: var(--pt-soft);
	font-size: 14px;
	line-height: 1.5;
}

/* Form card */
.pt-panel__form {
	padding: 28px;
	border: 1px solid var(--pt-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(15, 40, 70, .06);
}

.pt-form__title {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 700;
}

.pt-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pt-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}

.pt-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
}

.pt-field--wide {
	grid-column: 1 / -1;
}

.pt-field > label,
.pt-checks legend {
	color: #374151;
	font-size: 14px;
	font-weight: 500;
}

.pt-field input,
.pt-field select,
.pt-field textarea {
	width: 100%;
}

.pt-checks {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	border: 0;
}

.pt-checks legend {
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
}

.pt-checks label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--pt-border);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}

.pt-checks label:hover {
	border-color: #b9d3ea;
}

.pt-checks label:has(input:checked) {
	border-color: var(--pt-blue);
	background: var(--pt-soft);
}

.pt-checks input {
	width: 16px;
	height: 16px;
	margin: 0;
}

.pt-checks--single label {
	border-radius: 10px;
}

.pt-consent {
	margin: 18px 0 0;
	font-size: 14px;
}

.pt-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.pt-consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
}

.pt-actions {
	margin: 18px 0 0;
}

.pt-page button.pt-submit,
.pt-page button.pt-submit:hover,
.pt-page button.pt-submit:focus,
.pt-page button.pt-submit:active {
	min-height: 50px !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--pt-blue) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	cursor: pointer !important;
}

.pt-page button.pt-submit:hover {
	background: var(--pt-blue-dark) !important;
}

.pt-page button.pt-submit:focus-visible {
	outline: 2px solid var(--pt-blue);
	outline-offset: 3px;
}

.pt-notice {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid #F1F1F1;
	border-left: 4px solid var(--pt-blue);
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
}

.pt-notice--ok {
	border-left-color: #15803d;
}

.pt-notice--error {
	border-left-color: #e11d48;
}

/* Steps */
.pt-steps {
	margin: 64px 0 0;
}

.pt-steps__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 24px 0 20px;
	padding: 0;
	list-style: none;
	counter-reset: pt-step;
}

.pt-steps__list li {
	position: relative;
	padding: 22px 20px 20px 70px;
	border: 1px solid var(--pt-border);
	border-radius: 14px;
	background: #fff;
	counter-increment: pt-step;
}

.pt-steps__list li::before {
	content: counter(pt-step);
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--pt-blue);
	color: #fff;
	font-weight: 700;
}

.pt-steps__list strong {
	display: block;
	margin: 0 0 4px;
	font-size: 16px;
}

.pt-steps__list span {
	color: var(--pt-muted);
	font-size: 14px;
	line-height: 1.5;
}

.pt-contact {
	margin: 0;
	font-size: 15px;
}

@media (max-width: 991px) {
	.pt-panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.pt-steps__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.pt-hero {
		padding: 40px 0 72px;
	}
	.pt-hero__title {
		font-size: 30px;
	}
	.pt-hero__lead {
		font-size: 16px;
	}
	.pt-h2 {
		font-size: 24px;
	}
	.pt-tabs {
		width: 100%;
	}
	.pt-page button.pt-tab {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		padding: 0 10px !important;
	}
	.pt-panel__form {
		padding: 20px 16px;
	}
	.pt-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.pt-page button.pt-submit {
		width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pt-card,
	.pt-checks label,
	.pt-page button.pt-tab {
		transition: none !important;
	}
	.pt-card:hover {
		transform: none;
	}
}

.pt-consent a,
.pt-contact a {
	color: var(--pt-blue);
	text-decoration: underline;
}
