/*
Theme Name: OQsoftware
Theme URI: https://oqsoftware.com
Description: Child theme for the first public version of OQsoftware.
Author: OQsoftware
Template: neve
Version: 1.0.1
Text Domain: oqsoftware
*/

:root {
	--oq-brand: #052c7e;
	--oq-brand-active: #041f5c;
	--oq-ink: #1c2430;
	--oq-muted: #3e4a5a;
	--oq-line: #e4e7ec;
	--oq-surface: #f6f7f9;
	--oq-white: #ffffff;
	--oq-content-width: 1120px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	background: var(--oq-white);
	color: var(--oq-ink);
	font-family: system-ui, "Segoe UI", sans-serif;
}

.site-header {
	background: var(--oq-white);
	border-bottom: 1px solid var(--oq-line);
}

.header-main-inner,
.header-menu-sidebar-bg {
	background: var(--oq-white);
}

.site-logo {
	align-items: center;
	gap: 10px;
}

.site-logo img {
	aspect-ratio: 1;
	height: 36px;
	object-fit: contain;
	width: 36px;
}

.site-logo .title-with-logo {
	font-weight: 650;
	letter-spacing: -0.02em;
}

.oq-lang-item {
	align-items: center;
	display: flex;
}

.oq-lang-switch {
	align-items: center;
	color: var(--oq-muted);
	display: inline-flex;
	font-size: 0.875rem;
	gap: 8px;
	margin-inline: 8px;
	text-transform: uppercase;
}

.header-menu-sidebar .oq-lang-item {
	margin-block: 8px;
}

.oq-lang-switch a {
	color: inherit;
	text-decoration: none;
}

.oq-lang-switch a[aria-current="page"] {
	color: var(--oq-ink);
	font-weight: 650;
}

.oq-lang-switch a:hover,
.oq-lang-switch a:focus-visible {
	color: var(--oq-brand);
	text-decoration: underline;
}

a {
	color: var(--oq-brand);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--oq-brand-active);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--oq-brand);
	outline-offset: 3px;
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link {
	background: var(--oq-brand);
	border: 0;
	border-radius: 6px;
	color: var(--oq-white);
	font-weight: 600;
	padding: 12px 20px;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--oq-brand-active);
	color: var(--oq-white);
}

.oq-section {
	background: var(--oq-white);
	padding-block: 80px;
}

.home .container.single-page-container {
	max-width: none;
	padding: 0;
}

.home .nv-single-page-wrap,
.home .nv-content-wrap {
	margin: 0;
}

.oq-hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	letter-spacing: -0.04em;
	line-height: 1.08;
	margin-bottom: 24px;
	max-width: 16ch;
}

.oq-lead {
	color: var(--oq-muted);
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.6;
	max-width: 62ch;
}

.oq-hero-symbol img {
	aspect-ratio: 1;
	height: auto;
	margin-left: auto;
	max-width: 240px;
	object-fit: contain;
	width: 100%;
}

.oq-section h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 32px;
}

.oq-section--surface {
	background: var(--oq-surface);
}

.oq-section__inner {
	margin-inline: auto;
	max-width: var(--oq-content-width);
	padding-inline: 24px;
}

.oq-reading-width {
	max-width: 68ch;
}

.oq-service-card {
	border: 1px solid var(--oq-line);
	border-radius: 8px;
	height: 100%;
	padding: 24px;
}

.oq-service-card > :first-child {
	margin-top: 0;
}

.oq-service-card > :last-child {
	margin-bottom: 0;
}

.oq-muted {
	color: var(--oq-muted);
}

.oq-experience-list {
	margin-block: 32px;
}

.oq-experience-item {
	border-top: 1px solid var(--oq-line);
	display: grid;
	gap: 8px 24px;
	grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
	padding-block: 20px;
}

.oq-experience-item:last-child {
	border-bottom: 1px solid var(--oq-line);
}

.oq-experience-item p {
	margin: 0;
}

.oq-contact-list {
	list-style: none;
	margin: 24px 0 32px;
	padding: 0;
}

.oq-contact-list li + li {
	margin-top: 10px;
}

.site-footer {
	border-top: 1px solid var(--oq-line);
}

.site-footer .footer--row-inner {
	background: var(--oq-white);
	color: var(--oq-muted);
}

.site-footer .widget {
	margin: 0;
}

.site-footer .hfg-slot.left > .builder-item:not(:first-child) {
	display: none;
}

.site-footer .hfg-slot.left > .builder-item:first-child {
	display: block;
}

.site-footer .oq-footer-copy {
	color: var(--oq-muted);
	font-size: 0.875rem;
	margin: 0;
	text-align: center;
}

@media (max-width: 781px) {
	.oq-section {
		padding-block: 48px;
	}

	.oq-section__inner {
		padding-inline: 20px;
	}

	.oq-hero-symbol {
		display: none;
	}

	.oq-experience-item {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 961px) {
	.primary-menu-ul .oq-mobile-only {
		display: none;
	}
}
