/* Harborline — mobile-first OnePress-inspired layout */
:root {
	--hl-accent: #ef8e00;
	--hl-text: #333333;
	--hl-muted: #6d6d6d;
	--hl-bg: #ffffff;
	--hl-meta: #f5f5f5;
	--hl-dark: #222222;
	--hl-footer: #1e1e1e;
	--hl-max: 1140px;
	--hl-header: 72px;
	--hl-font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--hl-display: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--hl-font);
	font-size: 15px;
	line-height: 1.7;
	color: var(--hl-text);
	background: var(--hl-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--hl-accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #d47c00;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hl-display);
	font-weight: 600;
	line-height: 1.25;
	color: var(--hl-dark);
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

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

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

.skip-link:focus {
	clip: auto;
	height: auto;
	width: auto;
	background: #fff;
	padding: 0.5rem 1rem;
	z-index: 100000;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.75rem 1.4rem;
	font-family: var(--hl-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 2px;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-accent {
	background: var(--hl-accent);
	color: #fff;
	border-color: var(--hl-accent);
}

.btn-accent:hover {
	background: #d47c00;
	border-color: #d47c00;
	color: #fff;
}

.btn-outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
	background: #fff;
	color: var(--hl-dark);
}

.btn-outline {
	background: transparent;
	color: var(--hl-accent);
	border-color: var(--hl-accent);
}

.btn-outline:hover {
	background: var(--hl-accent);
	color: #fff;
}

/* Header — sticky white bar */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--hl-header);
	gap: 1rem;
}

.site-branding .custom-logo,
.site-branding img {
	max-height: 40px;
	width: auto;
}

.menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--hl-dark);
	margin-inline: auto;
}

.primary-navigation {
	position: fixed;
	inset: var(--hl-header) 0 auto 0;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	transform: translateY(-120%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
	z-index: 999;
}

.primary-navigation.is-open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.onepress-menu {
	list-style: none;
	margin: 0;
	padding: 0.75rem 1rem 1.25rem;
}

.onepress-menu li {
	margin: 0;
}

.onepress-menu a {
	display: block;
	padding: 0.7rem 0.4rem;
	font-family: var(--hl-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hl-dark);
}

.onepress-menu a:hover,
.onepress-menu .current-menu-item > a,
.onepress-menu .onepress-current-item > a {
	color: var(--hl-accent);
}

/* Hero */
.hero-section {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
}

.hero-slideshow {
	position: absolute;
	inset: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 5.5rem 0 4rem;
	text-align: center;
}

.hero-large-text {
	font-family: var(--hl-display);
	font-size: clamp(1.85rem, 7vw, 3.4rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.01em;
	margin-bottom: 1rem;
}

.js-rotating {
	display: inline-block;
	color: var(--hl-accent);
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.js-rotating.is-out {
	opacity: 0;
	transform: translateY(8px);
}

.hero-small-text {
	max-width: 42rem;
	margin: 0 auto 1.75rem;
	font-size: 1rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

/* Sections */
.section-padding {
	padding: 3.5rem 0;
}

.section-meta {
	background: var(--hl-meta);
}

.section-title-area {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto 2.5rem;
}

.section-subtitle {
	font-family: var(--hl-display);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hl-muted);
	margin-bottom: 0.65rem;
}

.section-title {
	font-size: clamp(1.55rem, 4vw, 2.15rem);
	font-weight: 700;
	margin-bottom: 0.85rem;
}

.section-desc {
	color: var(--hl-muted);
}

/* Features — circle icons */
.features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	text-align: center;
}

.feature-item .fa-stack {
	margin-bottom: 1rem;
	line-height: 2em;
}

.icon-background-default {
	color: var(--hl-accent);
}

.feature-icon {
	color: #fff;
	font-size: 0.42em !important;
}

.feature-title {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.feature-text {
	color: var(--hl-muted);
	margin: 0;
	font-size: 0.95rem;
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.about-image {
	margin-bottom: 1rem;
	overflow: hidden;
}

.about-image img {
	width: 100%;
	aspect-ratio: 640 / 350;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.about-item:hover .about-image img {
	transform: scale(1.03);
}

.about-title {
	font-size: 1.2rem;
}

.about-item p {
	color: var(--hl-muted);
	margin: 0;
}

/* Services */
.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
}

.service-item {
	text-align: center;
	padding: 0.5rem 0.25rem;
}

.service-image {
	font-size: 2.4rem;
	color: var(--hl-accent);
	margin-bottom: 0.85rem;
}

.service-title {
	font-size: 1.1rem;
}

.service-text {
	color: var(--hl-muted);
	margin: 0;
	font-size: 0.95rem;
}

/* Parallax CTA */
.section-parallax {
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	color: #fff;
}

.parallax-bg {
	position: absolute;
	inset: -10% 0;
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
	transform: scale(1.05);
}

.parallax-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.parallax-content {
	position: relative;
	z-index: 2;
	padding: 3.5rem 1rem;
}

.parallax-title {
	color: #fff;
	font-size: clamp(1.4rem, 4.5vw, 2.4rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
}

/* Counters */
.counter-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.75rem;
	text-align: center;
}

.counter__number,
.counter__suffix {
	font-family: var(--hl-display);
	font-size: clamp(2rem, 6vw, 2.75rem);
	font-weight: 700;
	color: var(--hl-accent);
	line-height: 1;
}

.counter__label {
	margin: 0.55rem 0 0;
	color: var(--hl-muted);
	font-size: 0.92rem;
}

/* News */
.news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.news-card {
	background: #fff;
	overflow: hidden;
}

.section-news .news-card {
	background: transparent;
}

.news-thumb img {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
}

.news-body {
	padding: 0.9rem 0 0;
}

.news-meta {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hl-muted);
	margin-bottom: 0.35rem;
}

.news-title {
	font-size: 1.05rem;
	margin-bottom: 0.4rem;
}

.news-title a {
	color: var(--hl-dark);
}

.news-title a:hover {
	color: var(--hl-accent);
}

.news-excerpt {
	color: var(--hl-muted);
	font-size: 0.92rem;
	margin: 0;
}

.news-more {
	text-align: center;
	margin: 2rem 0 0;
}

/* Contact */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.contact-form label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #ddd;
	border-radius: 2px;
	font: inherit;
	background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid color-mix(in srgb, var(--hl-accent) 45%, transparent);
	border-color: var(--hl-accent);
}

.contact-aside h4 {
	font-size: 1rem;
	letter-spacing: 0.04em;
}

.contact-aside hr {
	border: 0;
	border-top: 1px solid #ddd;
	margin: 1.25rem 0;
}

.form-status {
	font-size: 0.92rem;
	color: var(--hl-accent);
}

/* Footer */
.site-footer {
	position: relative;
	background: var(--hl-footer);
	color: rgba(255, 255, 255, 0.78);
	padding: 2.75rem 0 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	margin-bottom: 1.75rem;
}

.footer-follow {
	color: #fff;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.social-list {
	list-style: none;
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

.social-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: #fff;
}

.social-list a:hover {
	border-color: var(--hl-accent);
	color: var(--hl-accent);
}

.footer-company {
	color: #fff;
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
}

.footer-address,
.footer-phone {
	margin: 0 0 0.35rem;
	font-size: 0.92rem;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
	color: var(--hl-accent);
}

/* Friend links — horizontal, no label */
.footer-link-row {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem 1.25rem;
	margin: 0 0 1.25rem;
	padding: 1rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link-row a {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	white-space: nowrap;
}

.footer-link-row a:hover {
	color: var(--hl-accent);
}

.copyright {
	text-align: center;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
}

.btt {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--hl-accent);
	color: #fff !important;
	border-radius: 2px;
}

.btt:hover {
	background: #d47c00;
}

/* Cookie bar */
.cookie-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1100;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	background: rgba(30, 30, 30, 0.96);
	color: #fff;
	font-size: 0.88rem;
}

.cookie-bar p {
	margin: 0;
	flex: 1 1 220px;
}

.cookie-bar a {
	color: var(--hl-accent);
	text-decoration: underline;
}

/* Reveal motion */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Inner pages */
.archive-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.archive-card {
	border-bottom: 1px solid #eee;
	padding-bottom: 1.25rem;
}

.entry-hero {
	margin: 0 0 1.25rem;
}

.entry-hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.widget-area {
	padding-bottom: 2.5rem;
}

.widget {
	margin-bottom: 1.5rem;
}

.widget-title {
	font-size: 1rem;
	border-bottom: 2px solid var(--hl-accent);
	padding-bottom: 0.4rem;
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-field {
	flex: 1;
	padding: 0.65rem 0.75rem;
	border: 1px solid #ddd;
}

/* Desktop / large screens */
@media (min-width: 768px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.25rem 1.5rem;
	}

	.about-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.counter-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.news-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}

	.contact-layout {
		grid-template-columns: 1.15fr 0.85fr;
		gap: 2.5rem;
		align-items: start;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.section-padding {
		padding: 4.5rem 0;
	}

	.section-parallax {
		min-height: 340px;
	}

	.parallax-bg {
		background-attachment: fixed;
	}

	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.menu-toggle {
		display: none;
	}

	.primary-navigation {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		border: 0;
		background: transparent;
	}

	.onepress-menu {
		display: flex;
		align-items: center;
		gap: 0.15rem;
		padding: 0;
	}

	.onepress-menu a {
		padding: 0.5rem 0.85rem;
	}

	.features-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.services-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.hero-content {
		padding: 7rem 0 5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.reveal,
	.hero-slide,
	.js-rotating,
	.about-image img {
		transition: none !important;
	}
	.parallax-bg {
		background-attachment: scroll;
	}
}
