/*
Theme Name: moyatvhod
Theme URI: https://example.com/varna-manager-obraztsov-blue-style-1.18
Author: Local Sites
Description: Version 1.18 of the blue flyer-inspired moyatvhod theme.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.18.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: varna-manager-obraztsov-blue-style-1-18
Tags: block-theme, full-site-editing, business, one-column, custom-colors
*/

:root {
	--dvc-header-height: 104px;
	--dvc-page-gutter: clamp(1.25rem, 4vw, 3rem);
	--dvc-shell: min(1480px, calc(100vw - (var(--dvc-page-gutter) * 2)));
	--dvc-content: min(1280px, calc(100vw - (var(--dvc-page-gutter) * 2)));
	--ovs-flyer-blue: #43c4d3;
	--ovs-flyer-blue-dark: #168fa3;
	--ovs-cream: #eefcff;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid rgba(33, 48, 55, 0.09);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 22px rgba(33, 48, 55, 0.08);
}

.site-header__inner {
	min-height: var(--dvc-header-height);
	max-width: var(--dvc-shell);
	margin-inline: auto;
}

.site-header .wp-block-site-title {
	margin: 0;
	font-size: clamp(1.1rem, 1.5vw, 1.35rem);
	letter-spacing: 0;
	line-height: 1.05;
}

.site-header .wp-block-site-title a {
	text-decoration: none;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	width: 138px;
	text-decoration: none;
}

.site-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-header__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.05rem;
	justify-content: flex-end;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 720;
}

.header-phone {
	color: #000;
	font-size: clamp(1rem, 1.4vw, 1.3rem);
	font-weight: 850;
	text-decoration: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.header-cta,
.header-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border-radius: 999px;
	padding-inline: 1.15rem;
	font-weight: 850;
	text-decoration: none;
}

.header-cta {
	background: var(--ovs-flyer-blue);
	color: #fff;
}

.header-login {
	border: 2px solid #000;
	color: #000;
}

.showcase-hero {
	min-height: min(790px, calc(100vh - var(--dvc-header-height)));
	display: grid;
	align-items: end;
	background:
		linear-gradient(90deg, rgba(224, 249, 252, 0.88) 0%, rgba(240, 252, 254, 0.62) 36%, rgba(255, 255, 255, 0.12) 66%),
		url("assets/hero-varna-cathedral.jpg") center / cover no-repeat;
}

.showcase-hero__inner {
	max-width: var(--dvc-shell);
	width: 100%;
	margin-inline: auto;
	padding-block: clamp(7rem, 12vw, 13rem) clamp(4rem, 7vw, 6rem);
}

.showcase-hero h1 {
	max-width: 1080px;
	margin: 0;
	color: #000;
	font-size: clamp(3.1rem, 4.4vw, 5.25rem);
	font-weight: 850;
	line-height: 1;
}

.hero-line {
	display: block;
}

.hero-line:first-child {
	white-space: nowrap;
}

.hero-accent {
	color: var(--ovs-flyer-blue);
}

.showcase-hero h2 {
	max-width: 620px;
	margin: 1rem 0 0;
	color: #000;
	font-size: clamp(2.2rem, 3.2vw, 4rem);
	font-weight: 850;
	line-height: 1.12;
}

.down-button {
	display: inline-grid;
	width: 58px;
	height: 58px;
	margin-top: 3.5rem;
	place-items: center;
	border-radius: 999px;
	background: var(--ovs-flyer-blue);
	color: #fff;
	font-size: 2rem;
	text-decoration: none;
}

.what-section {
	position: relative;
	background: #fff;
}

.what-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	max-width: var(--dvc-shell);
	margin-inline: auto;
}

.what-heading {
	margin-bottom: 2rem;
	text-align: center;
}

.what-heading strong {
	font-weight: 850;
}

.what-stack {
	display: grid;
	gap: 1.5rem;
	grid-template-rows: repeat(2, 280px);
}

.what-card {
	position: relative;
	display: flex;
	height: 100%;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: flex-start;
	border-radius: 8px;
	background: var(--ovs-cream);
	box-shadow: 0 16px 44px rgba(33, 48, 55, 0.08);
	padding: clamp(1.25rem, 2vw, 1.75rem);
}

.what-card h3 {
	margin-top: 0;
}

.portrait-wrap img {
	display: block;
	width: 100%;
	height: auto;
}

.audience-section {
	background: #f0fcfe;
}

.audience-subtitle {
	max-width: 820px;
	margin: -0.25rem auto 2.5rem;
	color: var(--wp--preset--color--muted);
	font-size: clamp(1.05rem, 1.3vw, 1.22rem);
	line-height: 1.55;
}

.audience-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	max-width: var(--dvc-content);
	margin-inline: auto;
	text-align: center;
}

.audience-card {
	display: grid;
	gap: 1rem;
}

.audience-card__image {
	aspect-ratio: 1;
	clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
	background: var(--ovs-cream) center / cover no-repeat;
	border: 12px solid #bceff5;
}

.audience-card__image--admin {
	background-image: url("assets/audience-admin.png");
}

.audience-card__image--agreement {
	background-image: url("assets/audience-agreement.png");
}

.audience-card__image--repairs {
	background-image: url("assets/audience-repairs.png");
}

.audience-card__image--debts {
	background-image: url("assets/audience-debts.png");
}

.audience-card__image--maintenance {
	background-image: url("assets/audience-maintenance.png");
}

.audience-card__image--funding {
	background-image: url("assets/audience-funding.png");
}

.audience-card h3 {
	margin: 0;
	font-size: clamp(1.35rem, 1.7vw, 1.75rem);
	line-height: 1.12;
}

.audience-card p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.faq-list {
	display: grid;
	gap: 1rem;
	max-width: 920px;
	margin-inline: auto;
}

.faq-item {
	border: 1px solid rgba(67, 196, 211, 0.26);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(33, 48, 55, 0.08);
	padding: 1.2rem 1.35rem;
}

.faq-item summary {
	cursor: pointer;
	color: var(--wp--preset--color--ink);
	font-size: 1.12rem;
	font-weight: 850;
	line-height: 1.25;
}

.faq-item summary::marker {
	color: var(--ovs-flyer-blue);
}

.faq-item p {
	margin: 0.85rem 0 0;
	color: var(--wp--preset--color--muted);
}

.faq-item ul {
	margin: 0.85rem 0 0;
	color: var(--wp--preset--color--muted);
	padding-left: 1.2rem;
}

.stats-section {
	background: linear-gradient(180deg, #fff 0%, #effcff 100%);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem 1.25rem;
	max-width: var(--dvc-content);
	margin-inline: auto;
	text-align: center;
}

.stat strong {
	display: block;
	color: var(--ovs-flyer-blue-dark);
	font-size: clamp(2.5rem, 4vw, 4rem);
	line-height: 1;
}

.stat span {
	display: block;
	margin-top: 0.7rem;
	border-top: 1px solid rgba(33, 48, 55, 0.16);
	padding-top: 0.8rem;
}

.cta-band {
	background: linear-gradient(90deg, #0f6f83, var(--ovs-flyer-blue));
	color: #fff;
	text-align: center;
}

.cta-band .wp-block-button__link {
	background: #fff;
	color: var(--ovs-flyer-blue-dark);
}

.site-header__nav a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
	color: var(--wp--preset--color--sea);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.calm-hero {
	position: relative;
	padding-block: clamp(4.5rem, 7vw, 7.25rem);
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(238, 247, 246, 0.96) 0%, rgba(250, 252, 251, 1) 78%),
		linear-gradient(90deg, rgba(35, 132, 133, 0.1), rgba(181, 106, 76, 0.06));
}

.calm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
	gap: clamp(3rem, 5vw, 5.5rem);
	align-items: center;
	max-width: var(--dvc-shell);
	margin-inline: auto;
}

.calm-hero__copy h1 {
	max-width: 760px;
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: clamp(3.15rem, 3.4vw, 4rem);
	font-weight: 780;
	line-height: 1.06;
}

.calm-hero__copy p {
	max-width: 620px;
	color: var(--wp--preset--color--muted);
	font-size: clamp(1.18rem, 1.25vw, 1.42rem);
	line-height: 1.62;
}

.calm-hero__media {
	position: relative;
	min-height: clamp(480px, 35vw, 620px);
	border-radius: 8px;
	background: url("assets/hero-varna-clear.png") center / cover no-repeat;
	box-shadow: 0 24px 70px rgba(33, 48, 55, 0.14);
}

.calm-hero__media::after {
	content: "Varna | Etazhna sobstvenost | Poddrushka";
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	max-width: calc(100% - 2rem);
	border-radius: 8px;
	background: rgba(250, 252, 251, 0.92);
	box-shadow: 0 12px 30px rgba(33, 48, 55, 0.16);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 780;
	padding: 0.85rem 1rem;
}

.hero-kicker {
	display: inline-flex;
	margin-bottom: 1rem;
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	background: rgba(35, 132, 133, 0.11);
	color: var(--wp--preset--color--sea);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 820;
}

.calm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.75rem;
}

.trust-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2.25rem;
}

.trust-strip__item {
	border-top: 2px solid var(--wp--preset--color--sea);
	background: var(--wp--preset--color--base);
	padding: 1.15rem;
	box-shadow: 0 12px 36px rgba(33, 48, 55, 0.07);
}

.trust-strip__item strong {
	display: block;
	color: var(--wp--preset--color--ink);
	font-size: 1.45rem;
	line-height: 1.1;
}

.section-band {
	padding-block: clamp(4.25rem, 7vw, 6.75rem);
}

.section-band > :where(h2, p, div, form, section, article) {
	max-width: var(--dvc-content);
	margin-inline: auto;
}

.section-band h2 {
	max-width: 760px;
	margin-top: 0;
	margin-bottom: 1rem;
}

.section-band--soft {
	background: var(--wp--preset--color--soft);
}

.services-page-hero {
	padding-block: clamp(5.5rem, 9vw, 8rem) clamp(3rem, 5vw, 4.5rem);
	background:
		linear-gradient(90deg, rgba(224, 249, 252, 0.9) 0%, rgba(240, 252, 254, 0.66) 45%, rgba(255, 255, 255, 0.12) 100%),
		url("assets/hero-varna-clear.png") center right / cover no-repeat;
}

.services-page-hero h1 {
	max-width: var(--dvc-content);
	margin: 0 auto;
	color: #000;
	font-size: clamp(3.5rem, 6vw, 6rem);
	font-weight: 850;
	line-height: 1;
	text-align: center;
}

.services-page-hero p {
	max-width: 760px;
	margin: 1.25rem auto 0;
	color: var(--wp--preset--color--ink);
	font-size: clamp(1.18rem, 1.5vw, 1.45rem);
	font-weight: 650;
	line-height: 1.5;
}

.about-page-hero {
	padding-block: clamp(5.5rem, 9vw, 8rem) clamp(3rem, 5vw, 4.5rem);
	background:
		linear-gradient(90deg, rgba(224, 249, 252, 0.9) 0%, rgba(240, 252, 254, 0.66) 45%, rgba(255, 255, 255, 0.12) 100%),
		url("assets/hero-varna-clear.png") center right / cover no-repeat;
}

.about-page-hero h1 {
	max-width: var(--dvc-content);
	margin: 0 auto;
	color: #000;
	font-size: clamp(3.5rem, 6vw, 6rem);
	font-weight: 850;
	line-height: 1;
	text-align: center;
}

.about-page-hero p {
	max-width: 760px;
	margin: 1.25rem auto 0;
	color: var(--wp--preset--color--ink);
	font-size: clamp(1.18rem, 1.5vw, 1.45rem);
	font-weight: 650;
	line-height: 1.5;
	text-align: center;
}

.services-page-section {
	background: #fff;
}

.about-story-section {
	background: #fff;
}

.about-story-card {
	max-width: 980px;
	margin-inline: auto;
	border-radius: 8px;
	background: var(--ovs-cream);
	box-shadow: 0 16px 44px rgba(33, 48, 55, 0.08);
	padding: clamp(1.5rem, 3vw, 2.6rem);
}

.about-story-card p {
	max-width: 760px;
	margin: 0 auto 1rem;
	color: var(--wp--preset--color--ink);
	font-size: clamp(1.08rem, 1.4vw, 1.3rem);
	line-height: 1.7;
	text-align: center;
}

.about-story-card p:last-child {
	margin-bottom: 0;
	font-weight: 720;
}

.about-contact-section {
	background: linear-gradient(180deg, #fff 0%, #effcff 100%);
}

.about-contact-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.35fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: stretch;
	max-width: var(--dvc-content);
	margin-inline: auto;
}

.about-contact-card,
.about-map-card {
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 48px rgba(33, 48, 55, 0.08);
	padding: clamp(1.35rem, 2.4vw, 2rem);
}

.about-contact-card h2 {
	margin-top: 0;
	margin-bottom: 1.2rem;
}

.about-contact-card ul {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-contact-card li {
	border-bottom: 1px solid rgba(33, 48, 55, 0.1);
	padding-bottom: 1rem;
	color: var(--wp--preset--color--ink);
}

.about-contact-card li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.about-contact-card a {
	color: var(--ovs-flyer-blue-dark);
	font-weight: 780;
}

.about-map-card {
	display: grid;
	align-items: stretch;
}

.service-detail-list {
	display: grid;
	gap: 1.25rem;
	max-width: var(--dvc-content);
	margin-inline: auto;
}

.service-detail-card {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: start;
	border: 1px solid rgba(67, 196, 211, 0.24);
	border-radius: 8px;
	background: var(--ovs-cream);
	box-shadow: 0 16px 44px rgba(33, 48, 55, 0.08);
	padding: clamp(1.25rem, 2.4vw, 2rem);
}

.service-detail-card__number {
	display: inline-grid;
	width: 3.5rem;
	height: 3.5rem;
	place-items: center;
	border-radius: 8px;
	background: var(--ovs-flyer-blue);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 850;
	line-height: 1;
}

.service-detail-card h2 {
	margin: 0 0 0.9rem;
	color: var(--wp--preset--color--ink);
	font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.service-detail-card ul {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding-left: 1.15rem;
	color: var(--wp--preset--color--muted);
}

.service-detail-card a {
	color: var(--ovs-flyer-blue-dark);
	font-weight: 850;
}

.section-intro {
	max-width: 720px;
	margin-bottom: 2rem;
	color: var(--wp--preset--color--muted);
}

.service-list {
	display: grid;
	gap: 0.85rem;
}

.service-row {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: start;
	border: 1px solid rgba(33, 48, 55, 0.1);
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	padding: clamp(1.15rem, 2vw, 1.55rem);
}

.service-row::after {
	content: "";
	display: inline-grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border-radius: 999px;
	background: rgba(35, 132, 133, 0.1);
	color: var(--wp--preset--color--sea);
	font-weight: 850;
}

.service-row__mark {
	display: inline-grid;
	width: 3rem;
	height: 3rem;
	place-items: center;
	border-radius: 8px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--base);
	font-weight: 840;
}

.split-grid,
.testimonial-grid,
.contact-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 2rem);
}

.info-panel,
.testimonial-card,
.contact-panel {
	border: 1px solid rgba(33, 48, 55, 0.1);
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	padding: clamp(1.25rem, 2.4vw, 2rem);
	box-shadow: 0 16px 48px rgba(33, 48, 55, 0.07);
}

.info-panel h3,
.testimonial-card h3,
.contact-panel h3,
.service-row h3 {
	margin-top: 0;
}

.check-list,
.hours-list {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li,
.hours-list li {
	padding-bottom: 0.7rem;
	border-bottom: 1px solid rgba(33, 48, 55, 0.09);
}

.hours-list li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.testimonial-card blockquote {
	margin: 0;
}

.testimonial-card cite {
	display: block;
	margin-top: 1.1rem;
	color: var(--wp--preset--color--muted);
	font-style: normal;
	font-weight: 730;
}

.map-frame {
	width: 100%;
	min-height: 360px;
	border: 0;
	border-radius: 8px;
}

.contact-form {
	display: grid;
	gap: 1rem;
}

.contact-form label {
	display: grid;
	gap: 0.4rem;
	font-weight: 730;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(33, 48, 55, 0.2);
	border-radius: 6px;
	background: #fff;
	color: var(--wp--preset--color--ink);
	font: inherit;
	padding: 0.85rem 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 3px solid rgba(35, 132, 133, 0.2);
	outline-offset: 2px;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form__status {
	min-height: 1.5rem;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.mobile-call-button {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 40;
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 1.15rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sea);
	color: var(--wp--preset--color--base);
	box-shadow: 0 16px 40px rgba(33, 48, 55, 0.22);
	font-weight: 850;
	text-decoration: none;
}

@media (max-width: 900px) {
	:root {
		--dvc-header-height: 92px;
	}

	.site-header__inner {
		align-items: flex-start;
		padding-block: 1rem;
	}

	.site-logo {
		width: 118px;
	}

	.site-header__nav {
		justify-content: flex-start;
	}

	.calm-hero__grid,
	.what-grid,
	.audience-grid,
	.about-contact-layout,
	.faq-list,
	.stats-grid,
	.trust-strip,
	.split-grid,
	.testimonial-grid,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.header-actions {
		width: 100%;
		flex-wrap: wrap;
	}

	.showcase-hero {
		min-height: auto;
	}

	.showcase-hero h1 {
		font-size: clamp(3rem, 13vw, 4.4rem);
	}

	.hero-line:first-child {
		white-space: normal;
	}

	.showcase-hero h2 {
		font-size: clamp(2rem, 8vw, 3rem);
	}

	.what-stack {
		grid-template-rows: none;
	}

	.what-card {
		height: auto;
	}

	.calm-hero__copy h1 {
		max-width: 780px;
		font-size: clamp(2.45rem, 8vw, 3.4rem);
	}

	.calm-hero__media {
		min-height: 360px;
	}
}

@media (max-width: 1320px) and (min-width: 901px) {
	.calm-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
		gap: 2.5rem;
	}

	.calm-hero__copy h1 {
		font-size: clamp(2.75rem, 4.8vw, 3.45rem);
	}

	.calm-hero__copy p {
		font-size: 1.15rem;
	}
}

@media (max-width: 640px) {
	body {
		padding-bottom: 76px;
	}

	.service-row {
		grid-template-columns: 1fr;
	}

	.service-detail-card {
		grid-template-columns: 1fr;
	}

	.service-row::after {
		display: none;
	}

	.calm-hero__actions .wp-block-button,
	.calm-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.mobile-call-button {
		display: inline-flex;
	}
}
