/* Moscow geography: scoped styling for editable, native Divi modules. */
.et_pb_section.pp-geo-section,
.et_pb_section.pp-geo-section * {
	box-sizing: border-box;
}

.et_pb_section.pp-geo-section {
	background: var(--pp-surface);
	color: var(--pp-ink);
	font-family: var(--pp-font-ui);
	padding: 72px 0 !important;
}

.et_pb_section.pp-geo-section[id] {
	scroll-margin-top: 112px;
}

.et_pb_section.pp-geo-section .et_pb_row.pp-geo-row {
	margin-inline: auto;
	max-width: 1180px !important;
	padding: 0 !important;
	width: min(1180px, calc(100% - 32px)) !important;
}

.pp-geo-section .pp-geo-row + .pp-geo-row {
	margin-top: 32px;
}

.pp-geo-section .et_pb_module {
	margin-bottom: 0 !important;
}

.pp-geo-section .et_pb_module + .et_pb_module {
	margin-top: 20px;
}

.pp-geo-section a:focus-visible,
.pp-geo-section button:focus-visible {
	outline: 3px solid var(--pp-orange);
	outline-offset: 4px;
}

.pp-geo-hero-row,
.pp-geo-home-row,
.pp-geo-grid {
	align-items: stretch;
	display: grid !important;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp-geo-hero-row,
.pp-geo-home-row {
	align-items: center;
	gap: clamp(32px, 5vw, 64px);
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.pp-geo-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pp-geo-hero-row::after,
.pp-geo-home-row::after,
.pp-geo-grid::after {
	display: none !important;
}

.pp-geo-hero-row > .et_pb_column,
.pp-geo-home-row > .et_pb_column,
.pp-geo-grid > .et_pb_column {
	float: none;
	margin: 0 !important;
	min-width: 0;
	width: 100% !important;
}

.et_pb_section.pp-geo-hero,
.et_pb_section.pp-geo-soft,
.et_pb_section.pp-geo-home-teaser {
	background: var(--pp-bg);
}

.et_pb_section.pp-geo-hero {
	padding: 64px 0 72px !important;
}

.pp-geo-copy,
.pp-geo-faq {
	color: var(--pp-muted);
	font-size: 17px;
	line-height: 1.65;
}

.pp-geo-section :is(h1, h2, h3, h4, p, a) {
	font-family: var(--pp-font-ui);
}

.pp-geo-copy :is(h1, h2, h3),
.pp-geo-faq :is(h2, h3) {
	color: var(--pp-navy);
	font-weight: 850;
	margin: 0 0 18px;
	padding: 0;
	text-wrap: balance;
}

.pp-geo-copy h1 {
	font-size: clamp(40px, 4.8vw, 62px);
	letter-spacing: -0.035em;
	line-height: 1.06;
}

.pp-geo-copy h2 {
	font-size: clamp(30px, 3.6vw, 44px);
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.pp-geo-copy h3,
.pp-geo-faq h3 {
	font-size: 24px;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.pp-geo-copy p,
.pp-geo-faq p {
	margin: 0 0 16px;
	padding-bottom: 0;
}

.pp-geo-copy .et_pb_text_inner > :last-child,
.pp-geo-faq .et_pb_text_inner > :last-child {
	margin-bottom: 0;
}

.pp-geo-section .pp-geo-eyebrow {
	color: var(--pp-orange-deep);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.065em;
	line-height: 1.4;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.pp-geo-section .pp-geo-lead {
	color: var(--pp-muted);
	font-size: clamp(18px, 1.8vw, 20px);
	line-height: 1.6;
}

.pp-geo-copy a,
.pp-geo-faq a {
	color: var(--pp-navy);
	text-decoration: underline;
	text-decoration-color: var(--pp-orange-deep);
	text-underline-offset: 0.2em;
}

.pp-geo-copy a:hover,
.pp-geo-faq a:hover {
	color: var(--pp-orange-deep);
}

.pp-geo-section .et_pb_module.pp-geo-caption {
	color: var(--pp-muted);
	font-size: 13px;
	line-height: 1.5;
	margin: 12px 0 0;
}

.pp-geo-caption p {
	margin: 0;
	padding-bottom: 0;
}

.pp-geo-image {
	border-radius: 12px;
	overflow: hidden;
}

.pp-geo-image .et_pb_image_wrap,
.pp-geo-image a,
.pp-geo-image picture,
.pp-geo-image img {
	display: block;
	width: 100%;
}

.pp-geo-image img {
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
}

.pp-geo-hero-image {
	box-shadow: var(--pp-shadow);
}

.pp-geo-hero-image img {
	aspect-ratio: 1 / 1;
}

/* Reviewed work photos retain every lighting and junction detail in the frame. */
.pp-geo-image.pp-divi-case-gallery-image img {
	aspect-ratio: 4 / 3;
	background: var(--pp-bg);
	object-fit: contain;
}

.pp-geo-hero-image.pp-divi-case-gallery-image img {
	aspect-ratio: auto;
}

.pp-geo-city-card,
.pp-geo-case-card {
	background: var(--pp-surface);
	border: 1px solid var(--pp-line);
	border-radius: 12px;
	overflow: hidden;
}

.pp-geo-city-card {
	padding: clamp(24px, 3vw, 32px);
}

.pp-geo-city-card .pp-geo-copy h2 {
	font-size: clamp(28px, 2.8vw, 36px);
}

.pp-geo-case-card .pp-geo-image {
	border-radius: 0;
}

.pp-geo-case-card .pp-geo-copy {
	font-size: 15px;
	padding: 0 24px 24px;
}

.pp-geo-case-card .pp-geo-copy:first-child {
	padding-top: 24px;
}

.pp-geo-case-card .pp-geo-copy h3 {
	font-size: 22px;
}

.pp-geo-nav ul,
.pp-geo-nav .et_pb_text_inner > p {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.pp-geo-nav li {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.pp-geo-nav a {
	align-items: center;
	background: var(--pp-surface);
	border: 1px solid var(--pp-line);
	border-radius: 8px;
	color: var(--pp-navy);
	display: flex;
	font-size: 15px;
	font-weight: 750;
	gap: 12px;
	height: 100%;
	justify-content: space-between;
	line-height: 1.35;
	min-height: 48px;
	padding: 13px 15px;
	text-decoration: none !important;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.pp-geo-nav a::after {
	border-right: 2px solid var(--pp-orange-deep);
	border-top: 2px solid var(--pp-orange-deep);
	content: "";
	flex: 0 0 6px;
	height: 6px;
	transform: rotate(45deg);
	width: 6px;
}

.pp-geo-nav a:hover {
	background: var(--pp-orange-soft);
	border-color: var(--pp-orange);
	color: var(--pp-navy);
}

.pp-geo-nav--compact ul,
.pp-geo-nav--compact .et_pb_text_inner > p {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pp-geo-nav--compact a {
	font-size: 14px;
	min-height: 44px;
	padding: 11px 14px;
}

.pp-geo-nav--compact a::after {
	display: none;
}

.pp-geo-section .et_pb_button_module_wrapper {
	display: inline-flex;
	margin-right: 12px;
	max-width: 100%;
}

body #page-container .pp-geo-section :is(.et_pb_button.pp-geo-button, .pp-geo-button .et_pb_button) {
	align-items: center;
	background: var(--pp-orange) !important;
	border: 1px solid var(--pp-orange) !important;
	border-radius: 8px !important;
	color: var(--pp-ink) !important;
	display: inline-flex;
	font-size: 15px;
	font-weight: 850;
	justify-content: center;
	line-height: 1.35 !important;
	min-height: 48px;
	padding: 14px 20px !important;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.pp-geo-section .pp-geo-button::before,
.pp-geo-section .pp-geo-button::after,
.pp-geo-section .pp-geo-button .et_pb_button::before,
.pp-geo-section .pp-geo-button .et_pb_button::after {
	display: none !important;
}

body #page-container .pp-geo-section :is(.et_pb_button.pp-geo-button, .pp-geo-button .et_pb_button):hover {
	background: var(--pp-orange-deep) !important;
	border-color: var(--pp-orange-deep) !important;
	color: var(--pp-ink) !important;
}

body #page-container .pp-geo-section :is(.et_pb_button.pp-geo-button--secondary, .pp-geo-button--secondary .et_pb_button) {
	background: transparent !important;
	border-color: var(--pp-line) !important;
	color: var(--pp-navy) !important;
}

body #page-container .pp-geo-section :is(.et_pb_button.pp-geo-button--secondary, .pp-geo-button--secondary .et_pb_button):hover {
	background: var(--pp-orange-soft) !important;
	border-color: var(--pp-orange) !important;
}

.pp-geo-section .pp-geo-faq {
	border-top: 1px solid var(--pp-line);
	padding-top: 24px;
}

.pp-geo-faq h3 {
	font-size: 20px;
	margin-bottom: 12px;
}

.pp-geo-section .pp-geo-video {
	background: var(--pp-navy);
	border-radius: 12px;
	overflow: hidden;
}

.pp-geo-video video {
	display: block;
	width: 100%;
}

.pp-geo-section .pp-geo-video.pp-geo-video-portrait {
	aspect-ratio: 480 / 848;
	margin-inline: auto !important;
	max-width: 360px;
	width: 100%;
}

.pp-geo-video-portrait .et_pb_video_box,
.pp-geo-video-portrait .et_pb_video_overlay {
	aspect-ratio: 480 / 848;
}

.pp-geo-video-portrait .wp-video {
	width: 100% !important;
}

.pp-geo-video-portrait video {
	aspect-ratio: 480 / 848;
	object-fit: contain;
}

.pp-geo-section .pp-geo-video + .et_pb_button_module_wrapper {
	display: flex;
	margin-inline: auto;
	width: fit-content;
}

.et_pb_section.pp-geo-section.pp-geo-context {
	background: var(--pp-surface);
	border-top: 1px solid var(--pp-line);
	padding: 36px 0 !important;
}

.pp-geo-context .pp-geo-row > .et_pb_column:only-child {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.pp-geo-context .pp-geo-copy {
	font-size: 16px;
	max-width: 760px;
}

.pp-geo-context .pp-geo-copy h2 {
	font-size: 28px;
	margin-bottom: 10px;
}

.pp-geo-context .et_pb_button_module_wrapper {
	margin: 0 !important;
}

.et_pb_section.pp-geo-cta {
	background: var(--pp-navy);
}

.pp-geo-cta .pp-geo-copy :is(h2, h3) {
	color: var(--pp-surface);
}

.pp-geo-cta .pp-geo-copy,
.pp-geo-cta .pp-geo-copy p {
	color: rgba(255, 255, 255, 0.8);
}

.pp-geo-cta .pp-geo-copy a {
	color: var(--pp-surface);
}

body #page-container .pp-geo-section.pp-geo-cta :is(.et_pb_button.pp-geo-button--secondary, .pp-geo-button--secondary .et_pb_button) {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.42) !important;
	color: var(--pp-surface) !important;
}

body #page-container .pp-geo-section.pp-geo-cta :is(.et_pb_button.pp-geo-button--secondary, .pp-geo-button--secondary .et_pb_button):is(:hover, :focus-visible) {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: rgba(255, 255, 255, 0.68) !important;
	color: var(--pp-surface) !important;
}

.pp-geo-home-teaser .pp-geo-copy h2 {
	font-size: clamp(30px, 3.5vw, 44px);
}

.pp-geo-home-teaser .pp-geo-image img {
	aspect-ratio: 4 / 3;
}

@media (max-width: 980px) {
	.et_pb_section.pp-geo-section {
		padding: 56px 0 !important;
	}

	.pp-geo-hero-row,
	.pp-geo-home-row {
		gap: 32px;
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-geo-hero-image img {
		aspect-ratio: 16 / 10;
	}

	.pp-geo-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.et_pb_section.pp-geo-section {
		padding: 44px 0 !important;
	}

	.pp-geo-section .pp-geo-row + .pp-geo-row {
		margin-top: 24px;
	}

	.pp-geo-grid,
	.pp-geo-grid--3 {
		gap: 20px;
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-geo-copy,
	.pp-geo-faq {
		font-size: 16px;
	}

	.pp-geo-copy h1 {
		font-size: clamp(34px, 9vw, 42px);
	}

	.pp-geo-copy h2,
	.pp-geo-home-teaser .pp-geo-copy h2 {
		font-size: 30px;
	}

	.pp-geo-copy h3 {
		font-size: 23px;
	}

	.pp-geo-city-card {
		padding: 22px;
	}

	.pp-geo-nav ul,
	.pp-geo-nav .et_pb_text_inner > p {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-geo-nav--compact ul,
	.pp-geo-nav--compact .et_pb_text_inner > p {
		display: flex;
	}

	.pp-geo-home-teaser .pp-geo-image img {
		aspect-ratio: 16 / 10;
	}

	.et_pb_section.pp-geo-section.pp-geo-context {
		padding: 28px 0 !important;
	}

	.pp-geo-context .pp-geo-row > .et_pb_column:only-child {
		gap: 20px;
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-geo-context .pp-geo-copy h2 {
		font-size: 26px;
	}

	.pp-geo-context .et_pb_button_module_wrapper {
		justify-self: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pp-geo-nav a,
	body #page-container .pp-geo-section .pp-geo-button,
	body #page-container .pp-geo-section .pp-geo-button .et_pb_button {
		transition: none !important;
	}
}
