/*
Theme Name: Hutko CRM Landing
Theme URI: https://hutko.ua/
Author: Hutko
Description: Блокова WordPress-тема для промосайту Hutko CRM. Усі секції зібрані зі стандартних блоків Gutenberg.
Version: 1.2.2
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hutko-crm
*/

:root {
	--hutko-shadow-sm: 0 10px 28px rgba(22, 35, 58, 0.08);
	--hutko-shadow-lg: 0 30px 80px rgba(22, 35, 58, 0.14);
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
}

a {
	text-underline-offset: 0.18em;
}

.hutko-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(28, 43, 68, 0.08);
	backdrop-filter: blur(18px);
}

.hutko-logo img {
	display: block;
	width: auto;
	max-width: 150px;
	max-height: 44px;
	object-fit: contain;
}

.hutko-logo,
.hutko-logo-fallback {
	flex: 0 0 auto;
	margin: 0;
}

.hutko-logo-fallback img {
	display: block;
	width: 38px;
	height: 24px;
	object-fit: contain;
}

/* WordPress sets a smaller inline width on the Site Logo block on the front end. */
.hutko-site-header .wp-block-site-logo.hutko-logo {
	flex: 0 0 220px;
	width: 220px !important;
	min-width: 220px;
}

.hutko-site-header .wp-block-site-logo.hutko-logo .custom-logo-link,
.hutko-site-header .wp-block-site-logo.hutko-logo img,
.hutko-site-header .wp-block-site-logo.hutko-logo .custom-logo {
	display: block;
	width: 220px !important;
	max-width: none !important;
	height: auto !important;
	max-height: none !important;
}

.hutko-header-nav a {
	text-decoration: none;
}

.hutko-header-nav a:hover {
	color: var(--wp--preset--color--brand);
}

.wp-block-button__link {
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(39, 109, 217, 0.24);
}

.hutko-hero {
	position: relative;
	overflow: hidden;
}

.hutko-hero::before,
.hutko-hero::after {
	position: absolute;
	content: "";
	pointer-events: none;
	border-radius: 999px;
	filter: blur(2px);
}

.hutko-hero::before {
	top: -16rem;
	right: -10rem;
	width: 38rem;
	height: 38rem;
	background: radial-gradient(circle, rgba(39, 109, 217, 0.20), rgba(39, 109, 217, 0));
}

.hutko-hero::after {
	bottom: -18rem;
	left: -12rem;
	width: 34rem;
	height: 34rem;
	background: radial-gradient(circle, rgba(46, 196, 151, 0.15), rgba(46, 196, 151, 0));
}

.hutko-eyebrow {
	width: fit-content;
	border: 1px solid rgba(39, 109, 217, 0.18);
	border-radius: 999px;
}

.hutko-gradient-text {
	background: linear-gradient(115deg, #276dd9 10%, #6754d9 54%, #1d9f7a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hutko-proof-list {
	gap: 1rem 1.5rem;
}

.hutko-proof-list .wp-block-list-item {
	position: relative;
	padding-left: 1.6rem;
}

.hutko-proof-list .wp-block-list-item::before {
	position: absolute;
	top: 0.1rem;
	left: 0;
	content: "✓";
	color: var(--wp--preset--color--success);
	font-weight: 800;
}

.hutko-dashboard {
	position: relative;
	border: 1px solid rgba(39, 109, 217, 0.14);
	box-shadow: var(--hutko-shadow-lg);
	transform: rotate(1.2deg);
}

.hutko-product-visual {
	position: relative;
	z-index: 1;
	margin: 0 -8% 0 0;
}

.hutko-product-visual img {
	display: block;
	width: 108%;
	max-width: none;
	height: auto;
	border: 1px solid rgba(39, 109, 217, 0.12);
	border-radius: 28px;
	box-shadow: var(--hutko-shadow-lg);
}

.hutko-dashboard::before {
	position: absolute;
	inset: -1px;
	z-index: -1;
	content: "";
	border-radius: inherit;
	background: linear-gradient(140deg, rgba(39, 109, 217, 0.30), transparent 42%, rgba(46, 196, 151, 0.24));
	filter: blur(14px);
}

.hutko-window-bar {
	border-bottom: 1px solid rgba(28, 43, 68, 0.08);
}

.hutko-dot {
	width: 9px;
	height: 9px;
	margin: 0 !important;
	border-radius: 50%;
}

.hutko-kpi,
.hutko-feature-card,
.hutko-audience-card,
.hutko-quote,
.hutko-price-card,
.hutko-security-card,
.hutko-step {
	border: 1px solid rgba(28, 43, 68, 0.09);
	box-shadow: var(--hutko-shadow-sm);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hutko-feature-card:hover,
.hutko-audience-card:hover,
.hutko-step:hover {
	transform: translateY(-4px);
	border-color: rgba(39, 109, 217, 0.28);
	box-shadow: 0 16px 38px rgba(22, 35, 58, 0.12);
}

.hutko-metric {
	letter-spacing: -0.04em;
}

.hutko-progress {
	overflow: hidden;
	height: 8px;
	border-radius: 999px;
	background: var(--wp--preset--color--line);
}

.hutko-progress span {
	display: block;
	width: var(--hutko-progress, 72%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--wp--preset--color--brand), var(--wp--preset--color--success));
}

.hutko-section-kicker {
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hutko-icon {
	display: grid;
	width: 2.9rem;
	height: 2.9rem;
	margin: 0 !important;
	place-items: center;
	border-radius: 0.9rem;
	background: var(--wp--preset--color--brand-soft);
	color: var(--wp--preset--color--brand);
	font-size: 1.25rem;
	font-weight: 800;
}

.hutko-icon.is-green {
	background: var(--wp--preset--color--success-soft);
	color: var(--wp--preset--color--success-dark);
}

.hutko-audience-card {
	min-height: 100%;
}

.hutko-flow {
	position: relative;
}

.hutko-flow::before {
	position: absolute;
	top: 2.2rem;
	right: 12%;
	left: 12%;
	height: 2px;
	content: "";
	background: linear-gradient(90deg, rgba(39, 109, 217, 0.18), rgba(39, 109, 217, 0.65), rgba(46, 196, 151, 0.55));
}

.hutko-step {
	position: relative;
	z-index: 1;
}

.hutko-step-number {
	display: grid;
	width: 2.65rem;
	height: 2.65rem;
	margin: 0 auto !important;
	place-items: center;
	border-radius: 999px;
	background: var(--wp--preset--color--ink);
	color: #fff;
	font-weight: 800;
}

.hutko-price-card {
	position: relative;
	overflow: hidden;
}

.hutko-price-card::after {
	position: absolute;
	top: -5rem;
	right: -4rem;
	width: 13rem;
	height: 13rem;
	content: "";
	border-radius: 50%;
	background: rgba(39, 109, 217, 0.08);
}

.hutko-module-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hutko-module-list li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	margin-bottom: 0.9rem;
}

.hutko-module-list li::before {
	flex: 0 0 auto;
	content: "✓";
	color: var(--wp--preset--color--success);
	font-weight: 800;
}

.hutko-security-card {
	min-height: 100%;
}

.hutko-faq details {
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(28, 43, 68, 0.10);
}

.hutko-faq summary {
	cursor: pointer;
	font-weight: 700;
}

.hutko-faq details p {
	padding-right: 2rem;
	color: var(--wp--preset--color--muted);
}

.hutko-final-cta {
	position: relative;
	overflow: hidden;
}

.hutko-final-cta::before {
	position: absolute;
	inset: -60% 40% auto -20%;
	height: 32rem;
	content: "";
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
}

.hutko-footer a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 1200px) {
	.hutko-site-header .wp-block-site-logo.hutko-logo {
		flex-basis: 185px;
		width: 185px !important;
		min-width: 185px;
	}

	.hutko-site-header .wp-block-site-logo.hutko-logo .custom-logo-link,
	.hutko-site-header .wp-block-site-logo.hutko-logo img,
	.hutko-site-header .wp-block-site-logo.hutko-logo .custom-logo {
		width: 185px !important;
	}
}

@media (max-width: 960px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) {
		flex-direction: column;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.hutko-header-nav {
		display: none !important;
	}

	.hutko-hero {
		padding-top: 4rem !important;
	}

	.hutko-dashboard {
		margin-top: 2rem;
		transform: none;
	}

	.hutko-product-visual {
		margin: 2rem 0 0;
	}

	.hutko-product-visual img {
		width: 100%;
		max-width: 100%;
	}

	.hutko-flow::before {
		display: none;
	}
}

@media (max-width: 600px) {
	.hutko-site-header {
		position: static;
	}

	.hutko-site-header .wp-block-site-logo.hutko-logo {
		flex-basis: 145px;
		width: 145px !important;
		min-width: 145px;
	}

	.hutko-site-header .wp-block-site-logo.hutko-logo .custom-logo-link,
	.hutko-site-header .wp-block-site-logo.hutko-logo img,
	.hutko-site-header .wp-block-site-logo.hutko-logo .custom-logo {
		width: 145px !important;
	}

	.hutko-header-login {
		display: none !important;
	}

	.hutko-hero {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}

	.hutko-hero h1 {
		font-size: clamp(2.5rem, 14vw, 3.6rem) !important;
	}

	.hutko-hero .wp-block-buttons {
		width: 100%;
	}

	.hutko-hero .wp-block-button {
		flex: 1;
	}

	.hutko-hero .wp-block-button__link {
		width: 100%;
	}

	.hutko-dashboard {
		padding: 0.9rem !important;
	}

	.hutko-dashboard-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hutko-section {
		padding-top: 4rem !important;
		padding-bottom: 4rem !important;
	}
}
