/* ==========================================================================
   Sutvarkom – modern refresh
   Loaded after all other theme styles. Keeps the brand (colors, fonts),
   softens shapes, improves readability, forms and mobile UX.
   ========================================================================== */

:root {
	--primary-dark: #0b7f98;
	--primary-soft: #e8f6f9;
	--surface: #ffffff;
	--surface-muted: #f6f9fa;
	--border: #dfe7ea;
	--muted-text: #5b6880;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(29, 43, 77, 0.06), 0 2px 8px rgba(29, 43, 77, 0.05);
	--shadow: 0 4px 12px rgba(29, 43, 77, 0.06), 0 12px 32px rgba(29, 43, 77, 0.08);
	--shadow-lg: 0 20px 50px rgba(29, 43, 77, 0.16);
	--ring: 0 0 0 4px rgba(15, 152, 181, 0.18);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection { background: rgba(15, 152, 181, 0.2); }

:focus-visible {
	outline: 3px solid rgba(15, 152, 181, 0.55);
	outline-offset: 2px;
	border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-secondary,
.btn-white {
	border-radius: var(--radius-sm);
	letter-spacing: 0.1px;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}

.btn-primary {
	background: var(--primary-color);
	box-shadow: 0 6px 16px rgba(15, 152, 181, 0.28);
}

.btn-primary:hover {
	background: var(--primary-dark);
	box-shadow: 0 10px 24px rgba(15, 152, 181, 0.35);
}

.btn-white:hover { color: var(--primary-dark); }

/* ---------- Header ---------- */
.site-header__contacts {
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.site-header__main-wrapper.stuck {
	box-shadow: 0 6px 24px rgba(29, 43, 77, 0.08);
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
}

.site-header__nav-menu > li > a {
	transition: color .2s ease;
}

.site-header__nav-menu > li > a:hover,
.site-header__nav-menu > li.current-menu-item > a {
	color: var(--primary-color);
}

.site-header__hero {
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.site-header__hero-agenda {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
	margin-bottom: 20px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 6px 14px;
	border-radius: 999px;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* ---------- Section headings ---------- */
.services__title h3,
.articles__title .title {
	letter-spacing: -0.02em;
}

.services__content p,
.articles__content p {
	color: var(--muted-text);
	opacity: 1;
}

/* ---------- About us ---------- */
.about-us {
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
}

.about-us__content p {
	text-align: left;            /* justified text created large gaps */
	letter-spacing: -0.01em;
	line-height: 1.65;
}

/* ---------- Services ---------- */
.service-card {
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	isolation: isolate;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.service-card__thumbnail img {
	transition: transform .8s var(--ease);
}

.service-card:hover .service-card__thumbnail img {
	transform: scale(1.06);
}

.service-card__overlay {
	background: linear-gradient(180deg, rgba(1, 120, 148, 0.72) 0%, rgba(1, 139, 170, 0.86) 60%, rgba(11, 95, 120, 0.92) 100%);
	opacity: 0.88;
	transition: opacity .4s ease;
}

.service-card:hover .service-card__overlay { opacity: 0.96; }

.service-card__title {
	letter-spacing: -0.01em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.service-card__description,
.service-card__description p {
	font-style: normal;
}

.service-card__description em,
.service-card__description i { font-style: normal; }

/* ---------- Testimonials ---------- */
.testimonials {
	border-radius: var(--radius-lg);
}

/* ---------- Articles ---------- */
.article-item {
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.article-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.article-thumbnail img {
	transition: transform .8s var(--ease);
}

.article-item:hover .article-thumbnail img { transform: scale(1.05); }

/* ==========================================================================
   Forms (Contact Form 7) – shared by modal, homepage and contacts page
   ========================================================================== */
.wpcf7 form p { margin: 0; }

.wpcf7 .row { gap: 16px; margin-bottom: 16px; }
.wpcf7 .row .col-xl-12 { width: 100%; }
.wpcf7 .input-box,
.wpcf7 .select-box { width: 100%; }

.sf-label {
	display: block;
	font-family: "Nunito", sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0;
	text-align: left;
}

.sf-label .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	background: var(--surface-muted);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 13px 15px;
	font-size: 16px;            /* prevents iOS zoom */
	font-weight: 500;
	line-height: 1.4;
	color: var(--text-dark);
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #98a3b3; font-weight: 400; }

.wpcf7 input:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover { border-color: #c4d2d8; }

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--primary-color);
	box-shadow: var(--ring);
}

.wpcf7 select {
	padding-right: 44px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d2b4d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.wpcf7 textarea,
.wpcf7-textarea {
	height: auto;
	min-height: 110px;
	resize: vertical;
}

/* validation */
.wpcf7 .wpcf7-not-valid {
	border-color: #e5484d !important;
	background: #fff6f6;
}

.wpcf7 .wpcf7-not-valid-tip {
	font-size: 13px;
	font-weight: 600;
	color: #d93036;
	margin-top: 6px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 15px;
	border-width: 1.5px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #2bb673;
	background: #effbf4;
	color: #17784a;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: #f0b429;
	background: #fffaeb;
	color: #8a5a00;
}

/* file upload */
.sf-file { margin-bottom: 16px; text-align: left; }
.sf-file .sf-label { font-weight: 600; color: var(--muted-text); margin-bottom: 6px; }

.wpcf7 .codedropz-upload-handler {
	border: 1.5px dashed #b9cbd2;
	border-radius: var(--radius-sm);
	background: var(--surface-muted);
	margin-bottom: 0;
	transition: border-color .2s ease, background-color .2s ease;
}

.wpcf7 .codedropz-upload-handler:hover,
.wpcf7 .codedropz-dragover .codedropz-upload-handler {
	border-color: var(--primary-color);
	background: var(--primary-soft);
}

.wpcf7 .codedropz-upload-inner { padding: 4px 0; }
.wpcf7 .codedropz-upload-inner h3 {
	font-family: "Nunito", sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin: 4px 0;
	color: var(--text-dark);
}
.wpcf7 .codedropz-upload-inner span { font-size: 13px; color: var(--muted-text); }
.wpcf7 .codedropz-btn-wrap a.cd-upload-btn { color: var(--primary-color); font-weight: 700; }
.wpcf7 .dnd-upload-counter { font-size: 12px; color: var(--muted-text); }

/* submit */
.sf-submit { text-align: center; }

.wpcf7 .sf-btn,
.wpcf7 button[type="submit"] {
	width: 100%;
	padding: 15px 24px;
	font-size: 17px;
	font-weight: 700;
	margin-top: 4px;
}

.wpcf7 form.submitting button[type="submit"] { opacity: .7; pointer-events: none; }
.wpcf7 .wpcf7-spinner { display: block; margin: 10px auto 0; }

.sf-note {
	margin: 10px 0 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted-text);
}

/* ==========================================================================
   Order modal
   ========================================================================== */
html.modal-open,
html.modal-open body { overflow: hidden; }

.contacts-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	visibility: hidden;
	pointer-events: none;
}

.contacts-modal.active {
	visibility: visible;
	pointer-events: auto;
}

.contacts-modal .modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 28, 52, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .3s ease;
}

.contacts-modal.active .modal-overlay { opacity: 1; }

.contacts-modal .modal-content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 0;
	outline: none;
	opacity: 0;
	transform: translateY(16px) scale(.98);
	transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.contacts-modal.active .modal-content {
	opacity: 1;
	transform: none;
}

.contacts-modal .modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease;
}

.contacts-modal .modal-close i { display: flex; }
.contacts-modal .modal-close:hover { background: rgba(255, 255, 255, 0.35); color: #fff; }

.contacts-modal .modal-head {
	background: var(--gradient-primary);
	color: #fff;
	padding: 28px 32px 26px;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	opacity: .9;
}

.modal-title {
	margin: 6px 0 6px;
	font-size: 30px;
	line-height: 1.15;
	color: #fff;
	letter-spacing: -0.02em;
}

.modal-subtitle {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	opacity: .95;
	padding-right: 30px;
}

.modal-subtitle a { white-space: nowrap; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contacts-modal .modal-body {
	margin: 0;
	padding: 26px 32px 28px;
}

@media (max-width: 640px) {
	.contacts-modal { padding: 0; align-items: flex-end; }
	.contacts-modal .modal-content {
		max-width: none;
		max-height: 94vh;
		max-height: 94dvh;
		border-radius: 20px 20px 0 0;
		transform: translateY(40px);
	}
	.contacts-modal .modal-head { padding: 22px 20px 20px; border-radius: 20px 20px 0 0; }
	.modal-title { font-size: 24px; }
	.contacts-modal .modal-body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
	.contacts-modal .modal-body .row { gap: 14px; margin-bottom: 14px; }
}

/* ==========================================================================
   Homepage contact section
   ========================================================================== */
.home-contacts { margin-top: 80px; margin-bottom: 80px; }

.home-contacts__card {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
	overflow: hidden;
}

.home-contacts__info {
	position: relative;
	background: var(--gradient-primary);
	color: #fff;
	padding: 48px 44px;
	overflow: hidden;
}

.home-contacts__info::after {
	content: '';
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.home-contacts__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 6px 12px;
	border-radius: 999px;
}

.home-contacts__title {
	color: #fff;
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 18px 0 12px;
}

.home-contacts__lead {
	font-size: 17px;
	line-height: 1.6;
	margin: 0 0 28px;
	opacity: .95;
}

.home-contacts__steps {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: grid;
	gap: 12px;
}

.home-contacts__steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	font-size: 16px;
}

.home-contacts__steps li span {
	flex: 0 0 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	color: var(--primary-dark);
	font-weight: 800;
	font-size: 15px;
}

.home-contacts__list {
	list-style: none;
	margin: 0;
	padding: 24px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	display: grid;
	gap: 12px;
	position: relative;
	z-index: 1;
}

.home-contacts__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 600;
}

.home-contacts__list i { display: flex; font-size: 17px; opacity: .9; }
.home-contacts__list a { color: #fff; text-decoration: none; }
.home-contacts__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.home-contacts__form {
	padding: 44px 44px 40px;
	max-width: none;
	margin: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

@media (max-width: 1024px) {
	.home-contacts__card { grid-template-columns: 1fr; }
	.home-contacts__info { padding: 36px 32px; }
	.home-contacts__form { padding: 32px; }
	.home-contacts__title { font-size: 32px; }
}

@media (max-width: 768px) {
	.home-contacts { margin-top: 48px; margin-bottom: 48px; }
	.home-contacts.section-width { padding: 0 16px; }
	.home-contacts__info { padding: 28px 22px; }
	.home-contacts__form { padding: 24px 20px 26px; }
	.home-contacts__title { font-size: 28px; }
	.home-contacts__lead { font-size: 16px; margin-bottom: 22px; }
	.home-contacts__steps { margin-bottom: 22px; }
}

/* ---------- Contacts page form ---------- */
.contacts-header .wpcf7 {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 32px;
	margin-top: 28px;
	text-align: left;
}

.contact-card { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

@media (max-width: 768px) {
	.contacts-header .wpcf7 { padding: 22px 18px; }
}

/* ---------- Footer ---------- */
.site-footer__cta .btn-primary { align-self: flex-start; }

.site-footer__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-weight: 700;
	color: var(--text-dark);
	text-decoration: none;
}

.site-footer__phone:hover { color: var(--primary-color); }
.site-footer__phone i { display: flex; color: var(--primary-color); }

/* ==========================================================================
   Mobile sticky action bar
   ========================================================================== */
.mobile-cta-bar { display: none; }

@media (max-width: 768px) {
	.mobile-cta-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9000;
		display: grid;
		grid-template-columns: 1fr 1.6fr;
		gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.95);
		-webkit-backdrop-filter: saturate(160%) blur(10px);
		backdrop-filter: saturate(160%) blur(10px);
		box-shadow: 0 -6px 24px rgba(29, 43, 77, 0.10);
		border-top: 1px solid var(--border);
		transform: translateY(110%);
		transition: transform .35s var(--ease);
	}

	body.show-mobile-cta .mobile-cta-bar { transform: none; }
	html.modal-open .mobile-cta-bar { transform: translateY(110%); }

	.mobile-cta-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 48px;
		border-radius: var(--radius-sm);
		font-weight: 700;
		font-size: 16px;
		text-decoration: none;
	}

	.mobile-cta-bar a i { display: flex; }

	.mobile-cta-bar__call {
		color: var(--primary-dark);
		background: var(--primary-soft);
		border: 1.5px solid rgba(15, 152, 181, 0.35);
	}

	.mobile-cta-bar__order {
		color: #fff;
		background: var(--primary-color);
		box-shadow: 0 6px 16px rgba(15, 152, 181, 0.3);
	}

	.site-footer { padding-bottom: 80px; }
}

/* ==========================================================================
   Motion – smoother animations & transitions
   Only transform/opacity are animated where possible (GPU, no layout work).
   ========================================================================== */
:root {
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--dur-fast: .2s;
	--dur: .35s;
	--dur-slow: .6s;
}

/* Buttons: ripple via transform scale instead of width/height */
.btn-primary,
.btn-secondary,
.btn-white {
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
		background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-tap-highlight-color: transparent;
}

.btn-primary::before,
.btn-secondary::before,
.btn-white::before,
.contacts-cta .btn::before {
	width: 340px !important;
	height: 340px !important;
	transform: translate(-50%, -50%) scale(0);
	transition: transform var(--dur-slow) var(--ease-out) !important;
	pointer-events: none;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-white:hover::before,
.contacts-cta .btn:hover::before {
	transform: translate(-50%, -50%) scale(1);
}

.btn-primary:active,
.btn-secondary:active,
.btn-white:active {
	transform: translateY(0) scale(.98);
	transition-duration: .1s;
}

/* Sticky header slides in instead of popping */
.site-header__main-wrapper {
	transition: box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.site-header__main-wrapper.stuck {
	animation: headerSlideIn .45s var(--ease-out) both;
}

@keyframes headerSlideIn {
	from { transform: translateY(-100%); }
	to   { transform: translateY(0); }
}

/* Desktop submenu */
@media (min-width: 769px) {
.site-header__nav-menu .sub-menu {
	transform: translateY(8px);
	transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.site-header__nav-menu li:hover > .sub-menu,
.site-header__nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s;
}

}

.site-header__nav-menu .sub-menu li a { transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.site-header__nav-menu li a { transition: color var(--dur-fast) ease; }

.site-header__nav-menu li.menu-item-has-children > a::after {
	display: inline-block;
	transition: transform var(--dur) var(--ease-out);
}
.site-header__nav-menu > li.menu-item-has-children:hover > a::after,
.site-header__nav-menu li.menu-item-has-children.active > a::after { transform: rotate(180deg); }

/* Hamburger */
.site-header__mobile-toggle span {
	transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease;
}

/* Mobile menu: consistent, eased open/close */
@media (max-width: 768px) {
	.site-header__nav {
		transition: max-height .5s var(--ease-in-out), padding .5s var(--ease-in-out), opacity .3s ease;
		opacity: 0;
	}
	.site-header__nav.active {
		max-height: 80vh;
		overflow-y: auto;
		opacity: 1;
	}
	.site-header__nav-menu .sub-menu {
		transition: max-height .45s var(--ease-in-out);
	}
}

/* Cards: unified easing */
.service-card,
.article-item,
.testimonial-item,
.contact-card,
.faq-item {
	transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.service-card__thumbnail img,
.article-thumbnail img {
	transition: transform 1.2s var(--ease-out);
	will-change: transform;
}

.service-card__overlay { transition: opacity var(--dur-slow) var(--ease-out); }

.contact-icon { transition: transform var(--dur-slow) var(--ease-out); }
.contact-card::before { transition: transform var(--dur-slow) var(--ease-out); }

/* Footer links: slide with transform instead of padding (no reflow) */
.site-footer__menu a {
	transition: color var(--dur-fast) ease, transform var(--dur) var(--ease-out);
}
.site-footer__menu a:hover {
	padding-left: 0;
	transform: translateX(5px);
}

.site-footer__social a {
	transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

/* Form fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	transition: border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out), background-color var(--dur-fast) ease;
}

.wpcf7 form .wpcf7-response-output {
	animation: fadeUpSoft .4s var(--ease-out) both;
}

/* Modal & mobile bar: refined curves */
.contacts-modal .modal-overlay { transition: opacity .35s var(--ease-out); }
.contacts-modal .modal-content { transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.mobile-cta-bar { transition: transform .45s var(--ease-out) !important; }

/* Scroll reveal (only when JS is active, see menu.js) */
html.reveal-ready .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
	transition-delay: var(--reveal-delay, 0s);
}

html.reveal-ready .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes fadeUpSoft {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}

@keyframes fadeInDown {
	from { opacity: 0; transform: translateY(-16px); }
	to   { opacity: 1; transform: none; }
}

.contacts-header,
.contact-card,
.contacts-cta { animation-timing-function: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
	/* keep gentle fades, drop large movement */
	html.reveal-ready .reveal { transform: none; transition: opacity .6s ease; }
	.site-header__main-wrapper.stuck { animation: headerFadeIn .3s ease both; }
	.service-card:hover .service-card__thumbnail img,
	.article-item:hover .article-thumbnail img { transform: none; }
}

@keyframes headerFadeIn { from { opacity: 0; } to { opacity: 1; } }
