/* Russia dealer landing page — Long Partners */

/* Seamless header → hero transition (page-only via body class) */
body.page-template-page-dilery-rossiya-php #header.ct-header,
body.page-template-page-dilery-rossiya-php #header [data-row] {
	border-bottom: 0 !important;
	box-shadow: none !important;
}

body.page-template-page-dilery-rossiya-php .site-main.hfeed {
	padding-top: 0;
	margin-top: 0;
}

body.page-template-page-dilery-rossiya-php .lp-ru-page {
	margin-top: 0;
	padding-top: 0;
}

body.page-template-page-dilery-rossiya-php .lp-ru-hero {
	margin-top: 0;
	padding-top: calc(var(--header-height, 100px) + 1.5rem);
	padding-bottom: 3.5rem;
}

body.page-template-page-dilery-rossiya-php .lp-ru-hero .lp-ru-breadcrumb {
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 1.5rem;
	padding: 0;
	max-width: none;
}

body.page-template-page-dilery-rossiya-php .lp-ru-hero .lp-ru-breadcrumb a {
	color: #fff;
}

body.page-template-page-dilery-rossiya-php .lp-ru-hero .lp-ru-breadcrumb li + li::before {
	color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 999px) {
	body.page-template-page-dilery-rossiya-php .lp-ru-hero {
		padding-top: calc(var(--header-height, 120px) + 1.25rem);
	}

	body.page-template-page-dilery-rossiya-php .lp-ru-hero .lp-ru-breadcrumb {
		margin-bottom: 1.25rem;
	}
}

.lp-ru-page {
	--lp-green: #74c48f;
	--lp-green-dark: #5aad78;
	--lp-text: #4f4f4f;
	--lp-heading: #0a0500;
	--lp-bg-alt: #f5f5f5;
	--lp-border: #e0e0e0;
	font-family: Montserrat, Roboto, sans-serif;
	color: var(--lp-text);
	line-height: 1.6;
}

.lp-ru-page .lp-ru-article {
	max-width: 100%;
}

.lp-ru-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

.lp-ru-container--narrow {
	max-width: 640px;
}

.lp-ru-container--center {
	text-align: center;
}

/* Breadcrumb */
.lp-ru-breadcrumb {
	padding: 1rem 20px 0;
	max-width: 1140px;
	margin: 0 auto;
}

.lp-ru-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
}

.lp-ru-breadcrumb li + li::before {
	content: "›";
	margin-right: 0.5rem;
	color: #999;
}

.lp-ru-breadcrumb a {
	color: var(--lp-green-dark);
	text-decoration: none;
}

.lp-ru-breadcrumb a:hover,
.lp-ru-breadcrumb a:focus {
	text-decoration: underline;
}

/* Hero */
.lp-ru-hero {
	background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 50%, #3d7a52 100%);
	color: #fff;
	padding: 4rem 0 3.5rem;
}

.lp-ru-hero h1 {
	color: #fff;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.lp-ru-hero__lead {
	font-size: clamp(1rem, 2vw, 1.2rem);
	margin: 0 0 0.75rem;
	max-width: 52rem;
}

.lp-ru-hero__sub {
	opacity: 0.9;
	margin: 0 0 1.5rem;
}

.lp-ru-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.lp-ru-hero__contacts {
	font-size: 0.95rem;
	opacity: 0.95;
}

.lp-ru-hero__contacts p {
	margin: 0.25rem 0;
}

.lp-ru-hero__contacts a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lp-ru-hero__contacts a:hover,
.lp-ru-hero__contacts a:focus {
	color: var(--lp-green);
}

/* Buttons */
.lp-ru-btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lp-ru-btn--primary {
	background: var(--lp-green);
	color: #fff;
	border-color: var(--lp-green);
}

.lp-ru-btn--primary:hover,
.lp-ru-btn--primary:focus {
	background: var(--lp-green-dark);
	border-color: var(--lp-green-dark);
	color: #fff;
}

.lp-ru-btn--secondary {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.lp-ru-section:not(.lp-ru-hero) .lp-ru-btn--secondary {
	background: #fff;
	color: var(--lp-heading);
	border-color: var(--lp-green);
}

.lp-ru-btn--secondary:hover,
.lp-ru-btn--secondary:focus {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.lp-ru-section:not(.lp-ru-hero) .lp-ru-btn--secondary:hover,
.lp-ru-section:not(.lp-ru-hero) .lp-ru-btn--secondary:focus {
	background: var(--lp-green);
	color: #fff;
}

.lp-ru-btn--outline {
	background: transparent;
	color: #fff;
	border-color: #fff;
}

.lp-ru-btn--outline:hover,
.lp-ru-btn--outline:focus {
	background: #fff;
	color: var(--lp-heading);
}

.lp-ru-btn--full {
	width: 100%;
}

/* Sections */
.lp-ru-section {
	padding: 3.5rem 0;
}

.lp-ru-section--compact {
	padding: 2.5rem 0;
}

.lp-ru-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.lp-ru-trust-item {
	padding: 1.25rem;
	background: var(--lp-bg-alt);
	border-radius: 8px;
	border-top: 3px solid var(--lp-green);
}

.lp-ru-trust-item h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	color: var(--lp-heading);
}

.lp-ru-trust-item p {
	margin: 0;
	font-size: 0.95rem;
}

.lp-ru-section--alt {
	background: var(--lp-bg-alt);
}

.lp-ru-section--highlight {
	background: #eef8f1;
	border-top: 1px solid #d4ecd9;
	border-bottom: 1px solid #d4ecd9;
}

.lp-ru-section--form {
	background: #fff;
}

.lp-ru-section--cta {
	background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 100%);
	color: #fff;
	padding: 3rem 0;
}

.lp-ru-section--cta h2,
.lp-ru-section--cta a {
	color: #fff;
}

.lp-ru-section h2 {
	color: var(--lp-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 1.25rem;
	font-weight: 700;
}

.lp-ru-section--cta h2 {
	color: #fff;
}

.lp-ru-intro {
	margin: 0 0 1.5rem;
	max-width: 48rem;
}

.lp-ru-intro a,
.lp-ru-section a:not(.lp-ru-btn) {
	color: var(--lp-green-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Benefits */
.lp-ru-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1rem;
}

.lp-ru-benefits li {
	padding: 1rem 1.25rem;
	background: var(--lp-bg-alt);
	border-radius: 6px;
	border-left: 4px solid var(--lp-green);
}

/* Table */
.lp-ru-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	margin: 1.5rem 0;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
}

.lp-ru-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	background: #fff;
	min-width: 34rem;
}

.lp-ru-table__caption {
	caption-side: top;
	text-align: left;
	font-weight: 600;
	padding-bottom: 0.75rem;
	color: var(--lp-heading);
}

.lp-ru-table th,
.lp-ru-table td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--lp-border);
	text-align: left;
	white-space: nowrap;
}

.lp-ru-table thead th {
	background: var(--lp-green);
	color: #fff;
	font-weight: 600;
}

.lp-ru-table tbody th {
	background: #fafafa;
	font-weight: 600;
}

.lp-ru-table tbody tr:nth-child(even) td {
	background: #fafafa;
}

.lp-ru-note {
	margin: 1rem 0;
	font-size: 0.95rem;
}

.lp-ru-cta-inline {
	margin-top: 1.5rem;
}

/* Cards */
.lp-ru-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.25rem;
}

.lp-ru-card {
	background: #fff;
	border: 1px solid var(--lp-border);
	border-radius: 8px;
	padding: 1.25rem;
	transition: box-shadow 0.2s;
}

.lp-ru-section--alt .lp-ru-card {
	background: #fff;
}

.lp-ru-card h3 {
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
	color: var(--lp-heading);
}

.lp-ru-card p {
	margin: 0;
	font-size: 0.95rem;
}

.lp-ru-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Lists */
.lp-ru-list {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

.lp-ru-list--cols {
	columns: 2;
	column-gap: 2rem;
}

@media (max-width: 600px) {
	.lp-ru-list--cols {
		columns: 1;
	}
}

/* Steps */
.lp-ru-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem;
}

.lp-ru-step {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.lp-ru-step__num {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--lp-green);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
}

.lp-ru-step h3 {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	color: var(--lp-heading);
}

.lp-ru-step p {
	margin: 0;
	font-size: 0.95rem;
}

/* FAQ */
.lp-ru-faq {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.lp-ru-faq__item {
	border: 1px solid var(--lp-border);
	border-radius: 6px;
	background: #fff;
}

.lp-ru-faq__item summary {
	padding: 1rem 1.25rem;
	font-weight: 600;
	cursor: pointer;
	color: var(--lp-heading);
	list-style: none;
}

.lp-ru-faq__item summary::-webkit-details-marker {
	display: none;
}

.lp-ru-faq__item summary::before {
	content: "+";
	margin-right: 0.5rem;
	color: var(--lp-green);
	font-weight: 700;
}

.lp-ru-faq__item[open] summary::before {
	content: "−";
}

.lp-ru-faq__item p {
	margin: 0;
	padding: 0 1.25rem 1rem;
}

/* Form */
.lp-ru-form {
	margin-top: 1.5rem;
}

.lp-ru-form__honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.lp-ru-form__field {
	margin-bottom: 1.25rem;
}

.lp-ru-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
	color: var(--lp-heading);
}

.lp-ru-form__field input[type="text"],
.lp-ru-form__field input[type="tel"],
.lp-ru-form__field input[type="email"],
.lp-ru-form__field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--lp-border);
	border-radius: 4px;
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
	color: var(--lp-heading);
	box-sizing: border-box;
}

.lp-ru-form__field input:focus,
.lp-ru-form__field textarea:focus {
	outline: 2px solid var(--lp-green);
	outline-offset: 1px;
	border-color: var(--lp-green);
}

.lp-ru-form__field--checkbox {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.5rem;
}

.lp-ru-form__field--checkbox input {
	margin-top: 0.25rem;
	width: auto;
}

.lp-ru-form__field--checkbox label {
	flex: 1;
	margin: 0;
	font-weight: 400;
}

.lp-ru-form__error {
	display: block;
	color: #d63637;
	font-size: 0.875rem;
	margin-top: 0.25rem;
}

.lp-ru-form__field.is-invalid input,
.lp-ru-form__field.is-invalid textarea {
	border-color: #d63637;
}

.lp-ru-form__status {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 4px;
	font-weight: 500;
}

.lp-ru-form__status.is-success {
	background: #eef8f1;
	color: #1a5c32;
	border: 1px solid #74c48f;
}

.lp-ru-form__status.is-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}

.lp-ru-required {
	color: #d63637;
}

/* Contact CTA */
.lp-ru-contact-phone {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0.5rem 0;
}

.lp-ru-contact-phone a {
	text-decoration: none;
}

.lp-ru-contact-phone a:hover,
.lp-ru-contact-phone a:focus {
	text-decoration: underline;
}

.lp-ru-footer-links {
	margin-top: 2rem;
	font-size: 0.9rem;
	opacity: 0.9;
}

.lp-ru-footer-links a {
	color: #fff;
}

/* Focus visible for keyboard users */
.lp-ru-btn:focus-visible,
.lp-ru-faq__item summary:focus-visible {
	outline: 2px solid var(--lp-green);
	outline-offset: 2px;
}

@media (max-width: 768px) {
	.lp-ru-hero {
		padding: 2.5rem 0 2rem;
	}

	.lp-ru-section {
		padding: 2.5rem 0;
	}

	.lp-ru-hero__cta {
		flex-direction: column;
	}

	.lp-ru-hero__cta .lp-ru-btn {
		width: 100%;
	}

	/* Price table: contain horizontal scroll inside wrapper, not page */
	body.page-template-page-dilery-rossiya-php {
		overflow-x: clip;
	}

	body.page-template-page-dilery-rossiya-php .lp-ru-table-wrap {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
		width: auto;
		max-width: none;
		background:
			linear-gradient(to right, var(--lp-bg-alt) 30%, rgba(245, 245, 245, 0)) left center / 28px 100% no-repeat local,
			linear-gradient(to left, var(--lp-bg-alt) 30%, rgba(245, 245, 245, 0)) right center / 28px 100% no-repeat local,
			radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.1), transparent) left center / 12px 100% no-repeat scroll,
			radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), transparent) right center / 12px 100% no-repeat scroll;
	}

	body.page-template-page-dilery-rossiya-php .lp-ru-section:not(.lp-ru-section--alt) .lp-ru-table-wrap {
		background:
			linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center / 28px 100% no-repeat local,
			linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center / 28px 100% no-repeat local,
			radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.1), transparent) left center / 12px 100% no-repeat scroll,
			radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), transparent) right center / 12px 100% no-repeat scroll;
	}

	body.page-template-page-dilery-rossiya-php .lp-ru-table {
		width: max-content;
		min-width: 34rem;
	}
}

/* Desktop typography: +1px body, table, cards/lists; headings unchanged */
@media (min-width: 769px) {
	.lp-ru-page {
		font-size: 17px;
	}

	.lp-ru-breadcrumb ol {
		font-size: calc(0.875rem + 1px);
	}

	.lp-ru-hero__contacts,
	.lp-ru-trust-item p,
	.lp-ru-card p,
	.lp-ru-step p,
	.lp-ru-note,
	.lp-ru-list,
	.lp-ru-benefits li,
	.lp-ru-faq__item p,
	.lp-ru-footer-links {
		font-size: calc(0.95rem + 1px);
	}

	.lp-ru-table {
		font-size: calc(0.95rem + 1px);
	}
}
