/* Сторінка «Про нас» SunTime */

.page-slug-about-us-preview .page_title,
.page-slug-about-us-preview .sc_layouts_title,
.page-slug-about-us-preview .entry-header,
.page-slug-about-us .page_title,
.page-slug-about-us .sc_layouts_title,
.page-slug-about-us .entry-header,
.suntime-about-page .page_title,
.suntime-about-page .sc_layouts_title,
.suntime-about-page .entry-header {
	display: none;
}

body.suntime-about-page .page_content_wrap,
.page-slug-about-us-preview .page_content_wrap,
.page-slug-about-us .page_content_wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.suntime-about-page .page_content_wrap > .content_wrap,
.page-slug-about-us-preview .page_content_wrap > .content_wrap,
.page-slug-about-us .page_content_wrap > .content_wrap,
body.suntime-about-page .page_content_wrap > .content_wrap_fullscreen,
.page-slug-about-us-preview .page_content_wrap > .content_wrap_fullscreen,
.page-slug-about-us .page_content_wrap > .content_wrap_fullscreen {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.suntime-about-page .page_content_wrap > .content_wrap > .content,
.page-slug-about-us-preview .page_content_wrap > .content_wrap > .content,
.page-slug-about-us .page_content_wrap > .content_wrap > .content {
	overflow-x: visible;
}

.suntime-about__inset {
	width: 100%;
	max-width: var(--st-layout-max, 1920px);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--st-layout-gutter, clamp(16px, 4vw, 60px));
	padding-right: var(--st-layout-gutter, clamp(16px, 4vw, 60px));
	box-sizing: border-box;
}

.suntime-about {
	--sta-heading: var(--st-color-navy, #031036);
	--sta-text: rgba(99, 105, 123, 0.95);
	--sta-accent: var(--st-color-primary, #ef533f);
	--sta-blue: var(--st-color-blue, #2090f0);
	--sta-yellow: var(--st-color-yellow, #ffd000);
	--sta-surface: #fff;
	--sta-surface-soft: var(--st-color-blue-bg, #eef6fd);
	--sta-border: var(--st-color-border-warm, #ebe4dc);
	--sta-radius: 20px;
	--sta-shadow: 0 20px 55px rgba(3, 16, 54, 0.09);
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 0 clamp(48px, 7vw, 88px);
	color: var(--sta-text);
	font-family: var(--suntime-font, var(--theme-font-p_font-family, "Onest", sans-serif));
}

/* Hero — відео на фоні, як на головній */
.suntime-about__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100vw;
	max-width: 100vw;
	min-height: clamp(560px, 92vh, 920px);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: calc(-1 * var(--fixed-rows-height, 0px));
	overflow: hidden;
	color: #fff;
}

.suntime-about__hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	contain: strict;
	isolation: isolate;
	transform: translateZ(0);
}

.suntime-about__hero-media .mejs-container,
.suntime-about__hero-media .mejs-inner,
.suntime-about__hero-media .mejs-mediaelement,
.suntime-about__hero-media .mejs-layers,
.suntime-about__hero-media .mejs-overlay,
.suntime-about__hero-media .mejs-controls,
.suntime-about__hero-media .mejs-offscreen,
.suntime-about__hero-media .wp-video {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.suntime-about__hero-video {
	display: block;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	transform: translateZ(0);
	backface-visibility: hidden;
}

.suntime-about__hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(3, 16, 54, 0.35) 0%, rgba(3, 16, 54, 0.15) 38%, rgba(3, 16, 54, 0.72) 100%),
		radial-gradient(ellipse at 20% 20%, rgba(0, 0, 0, 0.15), transparent 55%);
	pointer-events: none;
}

.suntime-about__hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: clamp(120px, 18vh, 220px);
	padding-bottom: clamp(48px, 8vw, 96px);
}

.suntime-about__hero-copy {
	max-width: min(760px, 100%);
}

.suntime-about__intro-title {
	margin: 0 0 clamp(16px, 2.5vw, 24px);
	font-family: var(--theme-font-h1_font-family, "Onest", sans-serif);
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 600 !important;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: #fff;
}

.suntime-about__intro-lead {
	margin: 0 0 clamp(20px, 3vw, 28px);
	max-width: 62ch;
	font-size: clamp(15px, 1.1vw, 18px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.suntime-about__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.suntime-about__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.suntime-about__btn--primary {
	background: var(--sta-accent);
	border: 1px solid var(--sta-accent);
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(239, 83, 63, 0.28);
}

.suntime-about__btn--primary:hover,
.suntime-about__btn--primary:focus-visible {
	background: var(--st-color-primary-hover, #d94432);
	border-color: var(--st-color-primary-hover, #d94432);
	color: #fff !important;
	transform: translateY(-1px);
}

.suntime-about__btn--ghost {
	background: transparent;
	border: 1px solid rgba(3, 16, 54, 0.2);
	color: var(--sta-heading) !important;
}

.suntime-about__btn--ghost:hover,
.suntime-about__btn--ghost:focus-visible {
	border-color: var(--sta-heading);
	background: rgba(3, 16, 54, 0.04);
	color: var(--sta-heading) !important;
}

.suntime-about__btn--on-dark {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff !important;
}

.suntime-about__btn--on-dark:hover,
.suntime-about__btn--on-dark:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
	color: #fff !important;
}

/* Послуги — мозаїка як на головній */
.suntime-about__section--home-offers {
	margin-top: clamp(48px, 7vw, 88px);
	margin-bottom: clamp(48px, 7vw, 88px);
}

.suntime-about__section-head--home {
	max-width: 1100px;
	margin: 0 auto clamp(28px, 4vw, 40px);
	text-align: center;
}

.suntime-about__section-head--home.suntime-about__inset {
	max-width: min(1100px, 100%);
}

.suntime-about__section-head--home .suntime-about__section-lead {
	margin: 0 auto;
	max-width: 62ch;
}

.suntime-about__services-mosaic {
	display: flex;
	align-items: stretch;
	gap: 20px;
	width: 100%;
	min-height: min(90vh, 760px);
	padding: 0 10px;
	box-sizing: border-box;
}

.suntime-about__services-stack {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	gap: 20px;
	flex: 0 0 25%;
	min-width: 0;
}

.suntime-about__service-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	min-height: 300px;
	padding: 40px;
	border-radius: 5px;
	overflow: hidden;
	text-decoration: none !important;
	background-color: #0a2a5c;
	background-image: var(--tile-image, none);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: transform 0.28s ease;
}

.suntime-about__service-tile:hover,
.suntime-about__service-tile:focus-visible {
	transform: translateY(-6px);
}

.suntime-about__service-tile--lead {
	flex: 0 0 25%;
	min-width: 0;
}

.suntime-about__service-tile--wide {
	flex: 1 1 50%;
	min-width: 0;
}

.suntime-about__service-tile-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	opacity: 0.72;
	pointer-events: none;
	transition: opacity 0.28s ease;
}

.suntime-about__service-tile:hover .suntime-about__service-tile-overlay,
.suntime-about__service-tile:focus-visible .suntime-about__service-tile-overlay {
	opacity: 0.88;
}

.suntime-about__service-tile-content {
	position: relative;
	z-index: 1;
	max-width: min(420px, 100%);
}

.suntime-about__service-tile-title {
	margin: 0;
	max-width: min(300px, 100%);
	font-family: var(--theme-font-h1_font-family, "Onest", sans-serif);
	font-size: clamp(1.5rem, 2.2vw, 2.5rem);
	font-weight: 600 !important;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #fff;
}

.suntime-about__service-tile--wide .suntime-about__service-tile-title {
	max-width: min(420px, 100%);
}

.suntime-about__service-tile-desc {
	margin: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	font-size: clamp(13px, 1.2vw, 15px);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.suntime-about__service-tile:hover .suntime-about__service-tile-desc,
.suntime-about__service-tile:focus-visible .suntime-about__service-tile-desc {
	max-height: 8em;
	opacity: 1;
	margin-top: 12px;
}

/* Stats */
.suntime-about__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.suntime-about__stat {
	padding: clamp(18px, 2.5vw, 24px);
	border-radius: var(--sta-radius);
	background: var(--sta-surface);
	border: 1px solid var(--sta-border);
	box-shadow: 0 10px 30px rgba(3, 16, 54, 0.05);
	text-align: center;
}

.suntime-about__stat-value {
	font-family: var(--theme-font-h1_font-family, "Onest", sans-serif);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--sta-heading);
	margin-bottom: 8px;
}

.suntime-about__stat-label {
	font-size: 14px;
	line-height: 1.35;
	color: var(--sta-text);
}

/* Sections */
.suntime-about__section {
	margin-bottom: clamp(40px, 6vw, 72px);
}

.suntime-about__section--surface {
	padding: clamp(24px, 4vw, 36px);
	border-radius: calc(var(--sta-radius) + 2px);
	background: var(--sta-surface-soft);
	border: 1px solid var(--st-color-border, #d4e3f0);
}

.suntime-about__section-head {
	margin-bottom: clamp(22px, 3vw, 32px);
	max-width: 760px;
}

.suntime-about__section-head--row {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.suntime-about__section-kicker {
	display: none; /* TODO: тимчасово приховано */
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sta-blue);
}

.suntime-about__section-title {
	margin: 0 0 10px;
	font-family: var(--theme-font-h2_font-family, var(--theme-font-h1_font-family, "Onest", sans-serif));
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 600 !important;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--sta-heading);
}

.suntime-about__section-lead {
	margin: 0;
	font-size: clamp(15px, 2vw, 17px);
	line-height: 1.55;
}

.suntime-about__section-link {
	flex-shrink: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--sta-accent) !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(239, 83, 63, 0.35);
	padding-bottom: 2px;
}

.suntime-about__section-link:hover {
	color: var(--st-color-primary-hover, #d94432) !important;
	border-bottom-color: currentColor;
}

/* Why split */
.suntime-about__split {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	margin-bottom: clamp(40px, 6vw, 72px);
}

.suntime-about__split-media {
	position: relative;
	border-radius: var(--sta-radius);
	overflow: hidden;
	min-height: 320px;
}

.suntime-about__split-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.suntime-about__split-accent {
	position: absolute;
	inset: auto -20px -20px auto;
	width: 120px;
	height: 120px;
	border-radius: 24px;
	background: linear-gradient(135deg, var(--sta-yellow), var(--sta-accent));
	opacity: 0.85;
	z-index: -1;
}

.suntime-about__benefits {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.suntime-about__benefit {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--sta-surface);
	border: 1px solid var(--sta-border);
}

.suntime-about__benefit-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	color: var(--sta-accent);
}

.suntime-about__benefit-icon svg {
	width: 100%;
	height: 100%;
}

.suntime-about__benefit strong {
	display: block;
	margin-bottom: 4px;
	color: var(--sta-heading);
	font-size: 15px;
}

.suntime-about__benefit span {
	font-size: 14px;
	line-height: 1.5;
}

/* Projects */
.suntime-about__project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.suntime-about__project-card {
	display: block;
	text-decoration: none !important;
	border-radius: 12px;
	overflow: hidden;
	background: var(--sta-surface);
	border: 1px solid var(--sta-border);
	box-shadow: 0 10px 28px rgba(3, 16, 54, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.suntime-about__project-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sta-shadow);
}

.suntime-about__project-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.suntime-about__project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.suntime-about__project-card:hover .suntime-about__project-thumb img {
	transform: scale(1.04);
}

/* Blog */
.suntime-about__blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.suntime-about__blog-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--sta-radius);
	background: var(--sta-surface);
	border: 1px solid var(--sta-border);
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(3, 16, 54, 0.05);
}

.suntime-about__blog-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #0a2558, #2090f0);
	overflow: hidden;
}

.suntime-about__blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.suntime-about__blog-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, 0.9);
}

.suntime-about__blog-placeholder svg {
	width: 48px;
	height: 48px;
}

.suntime-about__blog-body {
	padding: 16px 18px 18px;
}

.suntime-about__blog-cat {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sta-blue);
}

.suntime-about__blog-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.suntime-about__blog-title a {
	color: var(--sta-heading) !important;
	text-decoration: none !important;
}

.suntime-about__blog-excerpt {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
}

.suntime-about__blog-date {
	font-size: 13px;
	color: var(--st-color-muted, #5a7186);
}

/* CTA */
.suntime-about__cta {
	position: relative;
	overflow: hidden;
	border-radius: calc(var(--sta-radius) + 4px);
	background: var(--st-navy-surface-gradient);
	color: #fff;
}

.suntime-about__cta-pattern {
	position: absolute;
	inset: 0;
	background: var(--st-navy-surface-pattern);
	background-size: var(--st-navy-surface-pattern-size);
	pointer-events: none;
}

.suntime-about__cta-inner {
	position: relative;
	z-index: 1;
	padding: clamp(32px, 5vw, 52px);
	text-align: center;
}

.suntime-about__cta-title {
	margin: 0 0 12px;
	font-family: var(--theme-font-h1_font-family, "Onest", sans-serif);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600 !important;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: #fff;
}

.suntime-about__cta-text {
	margin: 0 auto 24px;
	max-width: 62ch;
	font-size: clamp(16px, 2vw, 18px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
}

.suntime-about__cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.suntime-about__btn--ghost-light {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff !important;
}

.suntime-about__btn--ghost-light:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff !important;
}

/* Responsive */
@media (max-width: 1100px) {
	.suntime-about__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.suntime-about__services-mosaic {
		flex-wrap: wrap;
		min-height: 0;
	}

	.suntime-about__service-tile--lead,
	.suntime-about__services-stack,
	.suntime-about__service-tile--wide {
		flex: 1 1 100%;
	}

	.suntime-about__services-stack {
		flex-direction: row;
	}

	.suntime-about__services-stack .suntime-about__service-tile {
		flex: 1 1 50%;
	}
}

@media (max-width: 900px) {
	.suntime-about__split {
		grid-template-columns: 1fr;
	}

	.suntime-about__hero-copy {
		max-width: 100%;
	}

	.suntime-about__project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 640px) {
	.suntime-about__blog-grid,
	.suntime-about__project-grid {
		grid-template-columns: 1fr;
	}

	.suntime-about__stats {
		grid-template-columns: 1fr 1fr;
	}

	.suntime-about__services-stack {
		flex-direction: column;
	}

	.suntime-about__service-tile {
		min-height: 240px;
		padding: 28px;
	}

	.suntime-about__service-tile-title {
		font-size: 1.5rem;
	}

	.suntime-about__section-head--row {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Hero-хедер поверх відео */
body.suntime-about-page .page_wrap {
	position: relative;
}

body.suntime-about-page .top_panel.top_panel_custom_24139,
.page-slug-about-us .top_panel.top_panel_custom_24139 {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
}

/* Top bar — бежевий фон як на головній */
body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"],
body.suntime-about-page .top_panel.top_panel_custom_24139 .elementor-element-9d7a5ac,
.page-slug-about-us .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"],
.page-slug-about-us .top_panel.top_panel_custom_24139 .elementor-element-9d7a5ac {
	background: #f4ede1 !important;
	background-color: #f4ede1 !important;
	--e-con-background-color: #f4ede1 !important;
	--background-color: #f4ede1 !important;
}

body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] a,
body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] span,
body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-icon-list-text,
body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-heading-title,
.page-slug-about-us .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] a,
.page-slug-about-us .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] span {
	color: rgba(3, 16, 54, 0.92) !important;
}

body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-icon,
body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-icon svg,
body.suntime-about-page .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-icon svg path,
.page-slug-about-us .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-icon,
.page-slug-about-us .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-icon svg,
.page-slug-about-us .top_panel.top_panel_custom_24139 [data-id="9d7a5ac"] .elementor-icon svg path {
	color: rgba(3, 16, 54, 0.92) !important;
	fill: rgba(3, 16, 54, 0.92) !important;
	stroke: rgba(3, 16, 54, 0.92) !important;
}

/* Меню — біле підкреслення hover / active (zoom_line) */
body.suntime-about-page .top_panel.top_panel_custom_24139 .menu_hover_zoom_line .sc_layouts_menu_nav > li:not(.menu-collapse) > a:after,
.page-slug-about-us .top_panel.top_panel_custom_24139 .menu_hover_zoom_line .sc_layouts_menu_nav > li:not(.menu-collapse) > a:after {
	background-color: #fff !important;
}

/* Три крапки (collapse) — білі */
body.suntime-about-page .top_panel.top_panel_custom_24139 .sc_layouts_menu_nav > li.menu-collapse > a.sf-with-ul,
body.suntime-about-page .top_panel.top_panel_custom_24139 .sc_layouts_menu_nav > li.menu-collapse > a.sf-with-ul:before,
body.suntime-about-page .top_panel.top_panel_custom_24139 .sc_layouts_menu_nav > li.menu-collapse > a.sf-with-ul:after,
.page-slug-about-us .top_panel.top_panel_custom_24139 .sc_layouts_menu_nav > li.menu-collapse > a.sf-with-ul,
.page-slug-about-us .top_panel.top_panel_custom_24139 .sc_layouts_menu_nav > li.menu-collapse > a.sf-with-ul:before,
.page-slug-about-us .top_panel.top_panel_custom_24139 .sc_layouts_menu_nav > li.menu-collapse > a.sf-with-ul:after {
	color: #fff !important;
}
