:root {
	--iketch-primary: #1d4ed8;
	--iketch-secondary: #0f172a;
	--iketch-surface: #ffffff;
	--iketch-muted: #64748b;
	--iketch-border: #e2e8f0;
	--iketch-font-body: system-ui, sans-serif;
	--iketch-font-heading: system-ui, sans-serif;
	--iketch-container: 80rem;
	--iketch-radius: 1.25rem;
	--iketch-shadow: 0 1.25rem 3rem rgb(15 23 42 / 0.1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--iketch-surface);
	color: var(--iketch-secondary);
	font-family: var(--iketch-font-body);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--iketch-primary);
	text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--iketch-font-heading);
	line-height: 1.15;
	text-wrap: balance;
}

.iketch-container {
	width: min(100% - 2rem, var(--iketch-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 1rem;
	inset-inline-start: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: #fff;
	color: #000;
}

:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--iketch-primary) 70%, white);
	outline-offset: 3px;
}

.iketch-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--iketch-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.iketch-site-header {
	z-index: 100;
	border-bottom: 1px solid var(--iketch-border);
	background: rgb(255 255 255 / 0.94);
	backdrop-filter: blur(14px);
}

.iketch-has-sticky-header .iketch-site-header {
	position: sticky;
	top: 0;
}

.iketch-site-header__inner {
	display: flex;
	align-items: center;
	min-height: 5rem;
	gap: 1.5rem;
}

.iketch-site-branding {
	flex: 0 0 auto;
}

.iketch-custom-logo,
.custom-logo {
	width: auto;
	max-height: 3.5rem;
}

.iketch-site-title {
	color: var(--iketch-secondary);
	font-family: var(--iketch-font-heading);
	font-size: 1.25rem;
	font-weight: 800;
	text-decoration: none;
}

.iketch-primary-navigation {
	margin-inline-start: auto;
}

.iketch-primary-menu,
.iketch-footer-menu,
.iketch-social-links {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.iketch-primary-menu a,
.iketch-footer-menu a {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.iketch-menu-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.65rem;
	margin-inline-start: auto;
	border: 1px solid var(--iketch-border);
	border-radius: 0.75rem;
	background: #fff;
}

.iketch-menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 2px;
	margin-block: 0.25rem;
	background: currentColor;
}

.iketch-main {
	min-height: 60vh;
}

.iketch-entry {
	padding-block: clamp(3rem, 8vw, 7rem);
}

.iketch-entry__header {
	max-width: 52rem;
	margin-block-end: 2.5rem;
}

.iketch-entry__header h1 {
	margin-block: 1rem 0;
	font-size: clamp(2.25rem, 6vw, 4.5rem);
}

.iketch-entry__content > * {
	max-width: 48rem;
	margin-inline: auto;
}

.iketch-entry__content > .alignwide {
	max-width: 80rem;
}

.iketch-entry__content > .alignfull {
	max-width: none;
}

.iketch-archive-header,
.iketch-empty-state {
	padding-block: 4rem 2rem;
}

.iketch-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1.5rem;
	padding-block-end: 4rem;
}

.iketch-card {
	overflow: hidden;
	border: 1px solid var(--iketch-border);
	border-radius: var(--iketch-radius);
	background: #fff;
}

.iketch-card__image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.iketch-card__body {
	padding: 1.5rem;
}

.iketch-card__body h2 {
	margin-block-start: 0;
}

.iketch-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
	color: var(--iketch-muted);
	font-size: 0.875rem;
	list-style: none;
}

.iketch-breadcrumbs li:not(:last-child)::after {
	margin-inline-start: 0.5rem;
	content: "/";
}

[dir="rtl"] .iketch-breadcrumbs li:not(:last-child)::after {
	content: "\\";
}

.iketch-section {
	padding-block: clamp(4rem, 10vw, 8rem);
}

.iketch-hero {
	display: grid;
	min-height: min(80vh, 50rem);
	align-content: center;
	background: linear-gradient(135deg, color-mix(in srgb, var(--iketch-primary) 14%, white), #fff);
}

.iketch-section-label {
	color: var(--iketch-primary);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.iketch-section-heading {
	font-size: clamp(2rem, 5vw, 4rem);
}

.iketch-feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1.5rem;
}

.iketch-feature-card {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--iketch-border);
	border-radius: var(--iketch-radius);
	background: #fff;
	box-shadow: 0 0.75rem 2rem rgb(15 23 42 / 0.06);
}

.iketch-site-footer {
	padding-block: 4rem 1.5rem;
	background: var(--iketch-secondary);
	color: #fff;
}

.iketch-site-footer a {
	color: inherit;
}

.iketch-site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
}

.iketch-site-footer__description {
	max-width: 36rem;
	color: rgb(255 255 255 / 0.72);
}

.iketch-footer-menu,
.iketch-contact-list {
	flex-direction: column;
	align-items: flex-start;
	font-style: normal;
}

.iketch-contact-list {
	display: flex;
	gap: 0.5rem;
}

.iketch-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block-start: 2rem;
	margin-block-start: 2rem;
	border-top: 1px solid rgb(255 255 255 / 0.15);
}

.iketch-error-page {
	display: grid;
	min-height: 65vh;
	place-content: center;
	padding-block: 4rem;
	text-align: center;
}

.iketch-error-page__code {
	margin: 0;
	color: var(--iketch-primary);
	font-size: clamp(5rem, 18vw, 12rem);
	font-weight: 900;
	line-height: 0.85;
}

.iketch-floating-actions {
	position: fixed;
	z-index: 90;
	inset-inline-end: 1rem;
	bottom: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.iketch-floating-button {
	display: grid;
	width: 3rem;
	height: 3rem;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--iketch-secondary);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	box-shadow: var(--iketch-shadow);
	cursor: pointer;
}

.iketch-floating-button--whatsapp {
	background: #16a34a;
}

.iketch-cookie-banner {
	position: fixed;
	z-index: 200;
	inset-inline: 1rem;
	bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: 70rem;
	padding: 1.25rem;
	margin-inline: auto;
	border: 1px solid var(--iketch-border);
	border-radius: var(--iketch-radius);
	background: #fff;
	box-shadow: var(--iketch-shadow);
}

.iketch-cookie-banner[hidden] {
	display: none;
}

.iketch-cookie-banner p {
	margin-block: 0.25rem 0;
}

.iketch-cookie-banner__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 0 0 auto;
}

.iketch-cookie-banner__actions button:not(.iketch-button) {
	padding: 0.7rem 1rem;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.iketch-preloader {
	position: fixed;
	z-index: 9999;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--iketch-surface);
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.iketch-preloader.is-hidden {
	visibility: hidden;
	opacity: 0;
}

.iketch-preloader span {
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid var(--iketch-border);
	border-top-color: var(--iketch-primary);
	border-radius: 50%;
	animation: iketch-spin 0.8s linear infinite;
}

@keyframes iketch-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 900px) {
	.iketch-menu-toggle {
		display: block;
	}

	.iketch-primary-navigation {
		position: absolute;
		top: 100%;
		inset-inline: 1rem;
		display: none;
		padding: 1rem;
		border: 1px solid var(--iketch-border);
		border-radius: var(--iketch-radius);
		background: #fff;
		box-shadow: var(--iketch-shadow);
	}

	.iketch-primary-navigation.is-open {
		display: block;
	}

	.iketch-primary-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.iketch-header-cta {
		display: none;
	}

	.iketch-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.iketch-site-footer__bottom,
	.iketch-cookie-banner {
		align-items: stretch;
		flex-direction: column;
	}

	.iketch-cookie-banner__actions {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
