/**
 * QX2 Logistic — design layer.
 * Loaded after the Underscores base stylesheet (style.css) and overrides it.
 */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--c-bg: #0f1410;
	--c-bg-deep: #0a0f0b;
	--c-surface: #161d18;
	--c-surface-2: #1e2820;
	--c-green: #2d6a4f;
	--c-green-20: rgba(45, 106, 79, 0.2);
	--c-green-25: rgba(45, 106, 79, 0.25);
	--c-green-30: rgba(45, 106, 79, 0.3);
	--c-green-50: rgba(45, 106, 79, 0.5);
	--c-green-60: rgba(45, 106, 79, 0.6);
	--c-gold: #e9a825;
	--c-gold-hover: #c78b0a;
	--c-text: #d4e0d6;
	--c-heading: #f0f5f1;
	--c-muted: #8a9e8e;
	--c-error: #f87171;
	--c-error-border: #ef4444;

	--font-display: "Roboto Slab", Georgia, serif;
	--font-body: "Outfit", system-ui, sans-serif;

	--container: 80rem;
	--gutter: 1.5rem;
	--header-h: 4rem;
	--radius: 0.25rem;
	--radius-lg: 0.5rem;
	--radius-xl: 0.75rem;
	--ease: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--c-heading);
	font-family: var(--font-display);
	clear: none;
}

p { margin: 0; }

a,
a:visited {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: inherit;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--c-gold);
	outline-offset: 2px;
}

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

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

blockquote {
	margin: 0;
	quotes: none;
}

blockquote::before,
blockquote::after { content: none; }

figure { margin: 0; }

[hidden] { display: none !important; }

/* Content is 80rem wide with the gutter outside it (sections, footer). */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Gutter inside the 80rem box (header, stats strip). */
.container--tight {
	max-width: var(--container);
}

.text-accent { color: var(--c-gold); }
.text-muted { color: var(--c-muted); }
.text-strong { color: var(--c-heading); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.btn:visited {
	display: inline-block;
	padding: 1rem 2rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.btn--primary,
.btn--primary:visited {
	background: var(--c-gold);
	border-color: var(--c-gold);
	color: var(--c-bg);
	font-weight: 700;
}

.btn--primary:hover,
.btn--primary:focus {
	background: var(--c-gold-hover);
	border-color: var(--c-gold-hover);
	color: var(--c-bg);
}

.btn--outline,
.btn--outline:visited {
	background: transparent;
	border-color: var(--c-green);
	color: var(--c-heading);
	padding: 0.625rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 400;
}

.btn--outline:hover,
.btn--outline:focus {
	background: var(--c-green-20);
	border-color: var(--c-green);
	color: var(--c-heading);
}

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--outline.btn--lg { font-weight: 600; }

.btn--sm {
	padding: 0.5rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.btn--block {
	display: block;
	width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 50;
	background: rgba(15, 20, 16, 0.9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--c-green-20);
}

.admin-bar .site-header { top: 32px; }

@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media screen and (max-width: 600px) {
	.admin-bar .site-header { position: absolute; }
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
}

.site-header__logo {
	display: flex;
	align-items: center;
}

.site-header__logo img,
.site-footer__logo img {
	width: auto;
	height: 3.5rem;
	object-fit: contain;
	mix-blend-mode: screen;
}

.site-nav {
	display: none;
	align-items: center;
	gap: 2rem;
}

.site-nav__link,
.site-nav__link:visited {
	color: var(--c-muted);
	font-size: 0.875rem;
	font-weight: 500;
	transition: color var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus {
	color: var(--c-heading);
}

.menu-toggle {
	display: inline-flex;
	padding: 0.5rem;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--c-text);
	cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
	background: none;
	color: var(--c-heading);
}

.menu-toggle svg {
	width: 1.5rem;
	height: 1.5rem;
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem var(--gutter);
	background: var(--c-surface);
	border-top: 1px solid var(--c-green-20);
}

.mobile-menu__link,
.mobile-menu__link:visited {
	color: var(--c-text);
	font-size: 0.875rem;
	font-weight: 500;
}

.mobile-menu__cta { padding-block: 0.625rem; }

@media (min-width: 48rem) {
	.site-nav { display: flex; }
	.menu-toggle,
	.mobile-menu { display: none !important; }
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section {
	padding: 6rem 0;
}

.section--alt {
	background: var(--c-surface);
}

.section__header {
	max-width: 36rem;
	margin-bottom: 3.5rem;
}

.eyebrow {
	display: inline-block;
	color: var(--c-green);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.section__title {
	margin-top: 0.5rem;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.11;
}

.section__title--spaced { margin-bottom: 1.5rem; }

@media (min-width: 48rem) {
	.section__title { font-size: 3rem; line-height: 1; }
}

.card {
	background: var(--c-surface);
	border: 1px solid var(--c-green-25);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
}

.hero__bg,
.banner__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(15, 20, 16, 0.95), rgba(15, 20, 16, 0.75), rgba(15, 20, 16, 0.3));
}

/* Shrink-to-fit flex item, centered by auto margins (as in the design). */
.hero__inner {
	position: relative;
	z-index: 10;
	width: auto;
	max-width: var(--container);
	padding-top: 6rem;
	padding-bottom: 4rem;
}

.hero__content { max-width: 42rem; }

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	padding: 0.375rem 1rem;
	background: var(--c-green-30);
	border: 1px solid var(--c-green-50);
	border-radius: 9999px;
}

.pill__dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background: var(--c-gold);
	animation: qx2-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pill__text {
	color: var(--c-gold);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@keyframes qx2-pulse {
	50% { opacity: 0.5; }
}

.hero__title {
	margin-bottom: 1.5rem;
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.05;
}

.hero__lead {
	max-width: 32rem;
	margin-bottom: 2.5rem;
	color: var(--c-muted);
	font-size: 1.125rem;
	line-height: 1.625;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hero__highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-top: 3rem;
}

.hero__highlights li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--c-muted);
	font-size: 0.875rem;
}

@media (min-width: 40rem) {
	.hero__actions { flex-direction: row; }
}

@media (min-width: 48rem) {
	.hero__title { font-size: 4.5rem; }
	.hero__lead { font-size: 1.25rem; }
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats {
	padding: 1.25rem 0;
	background: var(--c-surface-2);
	border-block: 1px solid var(--c-green-30);
}

.stats__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.stats__item { text-align: center; }

.stats__value {
	color: var(--c-gold);
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
}

.stats__label {
	color: var(--c-muted);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

@media (min-width: 48rem) {
	.stats__inner { justify-content: space-between; }
}

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

@media (min-width: 40rem) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
	.services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
	transition: border-color var(--ease), background-color var(--ease);
}

.service-card:hover {
	background: var(--c-surface-2);
	border-color: var(--c-green-60);
}

.service-card__icon {
	margin-bottom: 1rem;
	font-size: 1.875rem;
	line-height: 1.2;
}

.service-card__title {
	margin-bottom: 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.55;
	transition: color var(--ease);
}

.service-card:hover .service-card__title { color: var(--c-gold); }

.service-card__desc {
	color: var(--c-muted);
	font-size: 0.875rem;
	line-height: 1.625;
}

/* ==========================================================================
   Process
   ========================================================================== */
.steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.step { position: relative; }

.step__num {
	margin-bottom: 0.5rem;
	color: var(--c-green-30);
	font-family: var(--font-display);
	font-size: 3.75rem;
	font-weight: 800;
	line-height: 1;
}

.step__title {
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.4;
}

.step__desc {
	color: var(--c-muted);
	font-size: 0.875rem;
	line-height: 1.625;
}

@media (min-width: 48rem) {
	.steps { grid-template-columns: repeat(3, 1fr); }

	/* Connector line between steps */
	.step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 2rem;
		left: 100%;
		width: calc(100% - 4rem);
		height: 1px;
		background: var(--c-green-30);
	}
}

/* ==========================================================================
   Schedule / booking
   ========================================================================== */
.schedule {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: start;
}

@media (min-width: 64rem) {
	.schedule { grid-template-columns: 2fr 3fr; }
}

.schedule__lead {
	margin-bottom: 2rem;
	line-height: 1.625;
}

.feature-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.feature {
	display: flex;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--c-surface);
	border: 1px solid var(--c-green-20);
	border-radius: var(--radius-lg);
}

.feature__icon {
	flex-shrink: 0;
	font-size: 1.25rem;
	line-height: 1.4;
}

.feature__title {
	color: var(--c-heading);
	font-size: 0.875rem;
	font-weight: 600;
}

.feature__desc {
	margin-top: 0.125rem;
	color: var(--c-muted);
	font-size: 0.75rem;
}

.booking {
	padding: 2rem;
	background: var(--c-surface);
	border: 1px solid var(--c-green-25);
	border-radius: var(--radius-xl);
}

.booking-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.booking-form__title {
	margin-bottom: -1rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.booking-form__note {
	margin-bottom: -0.25rem;
	color: var(--c-muted);
	font-size: 0.75rem;
}

.booking-form__footnote {
	color: var(--c-muted);
	font-size: 0.75rem;
	text-align: center;
}

.booking-form .btn--block { margin-top: 0.5rem; }

.req { color: var(--c-error); }

.form-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

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

@media (min-width: 40rem) {
	.form-row--2-sm { grid-template-columns: repeat(2, 1fr); }
}

.field { min-width: 0; }

.field label {
	display: block;
	margin-bottom: 0.375rem;
	color: var(--c-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
	display: block;
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--c-surface-2);
	border: 1px solid var(--c-green-50);
	border-radius: var(--radius);
	color: var(--c-heading);
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.43;
	transition: border-color var(--ease);
	color-scheme: dark;
}

.field textarea { resize: none; }

.field input::placeholder,
.field textarea::placeholder { color: var(--c-muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--c-green);
	color: var(--c-heading);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--c-error-border); }

.field__error {
	display: block;
	margin-top: 0.25rem;
	color: var(--c-error);
	font-size: 0.75rem;
}

.booking-success {
	padding: 3rem 0;
	text-align: center;
}

.booking-success__icon {
	margin-bottom: 1rem;
	font-size: 3rem;
	line-height: 1;
}

.booking-success__title {
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
	font-weight: 700;
}

.booking-success__text { margin-bottom: 1.5rem; }

/* ==========================================================================
   Banner
   ========================================================================== */
.banner {
	position: relative;
	height: 18rem;
	overflow: hidden;
}

.banner__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-inline: var(--gutter);
	background: rgba(15, 20, 16, 0.7);
	text-align: center;
}

.banner__text {
	max-width: 42rem;
	color: var(--c-heading);
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.2;
}

@media (min-width: 48rem) {
	.banner__text { font-size: 3rem; line-height: 1; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 48rem) {
	.reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

#reviews .section__header { margin-bottom: 3rem; }

.review-card { background: var(--c-bg); }

.review-card__stars {
	display: flex;
	gap: 0.125rem;
	margin-bottom: 1rem;
	color: var(--c-gold);
	font-size: 0.875rem;
}

.review-card__quote {
	margin-bottom: 1.25rem;
	color: var(--c-text);
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.625;
}

.review-card__name {
	color: var(--c-heading);
	font-size: 0.875rem;
	font-weight: 600;
}

.review-card__location {
	color: var(--c-muted);
	font-size: 0.75rem;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

@media (min-width: 64rem) {
	.about { grid-template-columns: repeat(2, 1fr); }
}

.about__text {
	margin-bottom: 1rem;
	line-height: 1.625;
}

.about__text--last { margin-bottom: 2rem; }

.about__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.about__badges li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--c-heading);
	font-size: 0.875rem;
	font-weight: 500;
}

.about__badges .text-accent { font-weight: 700; }

.about__media {
	position: relative;
	height: 20rem;
	overflow: hidden;
	border-radius: var(--radius-xl);
}

.about__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 20, 16, 0.6), transparent);
}

@media (min-width: 64rem) {
	.about__media { height: 24rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	padding: 4rem 0;
	background: var(--c-bg-deep);
	border-top: 1px solid var(--c-green-30);
}

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

@media (min-width: 48rem) {
	.site-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer__logo { margin-bottom: 1rem; }

.site-footer__text {
	color: var(--c-muted);
	font-size: 0.875rem;
	line-height: 1.625;
}

.site-footer__heading {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.site-footer__list a,
.site-footer__contact {
	color: var(--c-muted);
	font-size: 0.875rem;
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.site-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.site-footer a { transition: color var(--ease); }

.site-footer a:hover,
.site-footer a:focus { color: var(--c-heading); }

.site-footer__bottom {
	display: flex;
	margin-inline: var(--gutter);
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--c-green-20);
	color: var(--c-muted);
	font-size: 0.75rem;
}

@media (min-width: 48rem) {
	.site-footer__bottom { flex-direction: row; }
}

/* ==========================================================================
   Line-heights per type size (match the design's type scale)
   ========================================================================== */
.eyebrow,
.pill__text,
.stats__label,
.feature__desc,
.field label,
.booking-form__note,
.booking-form__footnote,
.field__error,
.review-card__location,
.site-footer__bottom {
	line-height: 1rem;
}

.site-nav__link,
.mobile-menu__link,
.btn--sm,
.btn--outline,
.feature__title,
.review-card__name,
.review-card__stars,
.about__badges li,
.hero__highlights li,
.site-footer__heading,
.site-footer__list a,
.site-footer__contact {
	line-height: 1.25rem;
}

.booking-form__title { line-height: 1.75rem; }
.btn--outline.btn--lg { line-height: 1.5rem; }

/* ==========================================================================
   Inner pages (default Underscores templates)
   ========================================================================== */
.site-main:not(.site-main--sections) {
	max-width: var(--container);
	margin-inline: auto;
	padding: calc(var(--header-h) + 4rem) var(--gutter) 4rem;
}

.site-main:not(.site-main--sections) a { color: var(--c-gold); }
.site-main:not(.site-main--sections) p { margin-bottom: 1.5em; }
.site-main:not(.site-main--sections) ul { margin: 0 0 1.5em 1.5em; list-style: disc; }
.site-main:not(.site-main--sections) ol { margin: 0 0 1.5em 1.5em; list-style: decimal; }
.site-main:not(.site-main--sections) .entry-title { margin-bottom: 1.5rem; font-size: 2.25rem; }

/* Section pages that don't open with the hero: clear the fixed header. */
.site-main--sections > .stats:first-child,
.site-main--sections > .banner:first-child {
	margin-top: var(--header-h);
}
