/* ============================================================
   SENGTRANS — design tokens
   Palette grounded in road/freight vernacular: deep petrol navy
   (night highway, container steel) + signal amber (indicator
   lights, hazard markings) rather than a generic accent color.
   ============================================================ */

:root {
	--navy-900: #0E1B2E;
	--navy-800: #12213A;
	--navy-700: #1C324F;
	--navy-600: #2E4A6E;
	--amber-500: #F2A93B;
	--amber-600: #DB8F1F;
	--paper: #F7F5EF;
	--paper-dim: #EDEAE1;
	--ink: #1B2430;
	--ink-soft: #5B6472;
	--line: #DAD5C8;
	--route-green: #2F7B5E;

	--display: 'Archivo Expanded', sans-serif;
	--body: 'Public Sans', sans-serif;
	--mono: 'IBM Plex Mono', monospace;

	--radius: 10px;
	--wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.1;
	color: var(--navy-900);
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--navy-900);
	color: #fff;
	padding: 10px 16px;
	z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
	outline: 3px solid var(--amber-500);
	outline-offset: 2px;
}

.eyebrow {
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--amber-600);
	margin: 0 0 0.6em;
}

/* ---------------- buttons ---------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--body);
	font-weight: 600;
	font-size: 0.98rem;
	text-decoration: none;
	padding: 13px 26px;
	border-radius: var(--radius);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
	background: var(--amber-500);
	color: var(--navy-900);
}
.btn-primary:hover { background: var(--amber-600); }

.btn-ghost {
	background: transparent;
	border-color: var(--navy-700);
	color: var(--navy-800);
}
.btn-ghost:hover { border-color: var(--navy-900); background: rgba(18,33,58,0.05); }

.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* ---------------- header ---------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(247,245,239,0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--navy-900);
	text-decoration: none;
	letter-spacing: 0.02em;
}

.logo-mark {
	width: 14px;
	height: 14px;
	background: var(--amber-500);
	transform: rotate(45deg);
	flex-shrink: 0;
}

.main-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
}

.main-nav a {
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--navy-800);
}

.nav-cta {
	background: var(--navy-900);
	color: #fff !important;
	padding: 9px 18px;
	border-radius: 8px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--navy-900);
	display: block;
}

/* ---------------- hero ---------------- */

.hero {
	background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
	padding: 72px 0 0;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: start;
	padding-bottom: 64px;
}

.hero .eyebrow { color: var(--amber-500); }

.hero h1 { color: #fff; }

.hero-lede {
	color: #C7CEDA;
	font-size: 1.08rem;
	max-width: 46ch;
}

.hero-actions {
	display: flex;
	gap: 14px;
	margin-top: 28px;
	flex-wrap: wrap;
}

.hero .btn-ghost {
	border-color: rgba(255,255,255,0.4);
	color: #fff;
}
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* tracking card */

.track-card {
	background: var(--paper);
	color: var(--ink);
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.track-card h2 { font-size: 1.3rem; margin-bottom: 0.3em; }

.track-hint {
	font-size: 0.9rem;
	margin-bottom: 1.1em;
}

.track-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.track-form-fields {
	display: flex;
	gap: 10px;
}
.track-form-fields > div { flex: 1; min-width: 0; }

.track-form input {
	width: 100%;
	font-family: var(--mono);
	font-size: 1rem;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: 8px;
	background: #fff;
	min-width: 0;
}
.track-form input:focus { border-color: var(--navy-700); outline: none; box-shadow: 0 0 0 3px rgba(28,50,79,0.15); }

.track-form .btn { align-self: flex-start; }

.track-result {
	margin-top: 20px;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

.track-result.is-error { color: #A3372C; }

.track-status-label {
	font-family: var(--mono);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
	margin-bottom: 6px;
}

.track-status-value {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--navy-900);
	margin-bottom: 14px;
}

.route-progress {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 16px 0;
}
.route-progress .stage {
	flex: 1;
	height: 6px;
	background: var(--line);
	border-radius: 3px;
	position: relative;
}
.route-progress .stage.done { background: var(--route-green); }
.route-progress .stage.current { background: var(--amber-500); }

.route-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.72rem;
	color: var(--ink-soft);
	font-family: var(--mono);
}

.track-detail-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	font-size: 0.92rem;
}
.track-detail-list li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px dashed var(--line);
}
.track-detail-list dt, .track-detail-list dd { margin: 0; }

/* decorative route strip */
.route-strip {
	display: flex;
	justify-content: space-between;
	padding: 0 6%;
	height: 10px;
}
.route-strip span {
	width: 34px;
	height: 4px;
	background: var(--amber-500);
	opacity: 0.55;
	border-radius: 2px;
}

/* ---------------- generic sections ---------------- */

.section { padding: 88px 0; }
.section-tint { background: var(--paper-dim); }

.section-head { max-width: 640px; margin-bottom: 48px; }

/* about */

.about-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: center;
}

.about-stats {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}
.about-stats li {
	display: flex;
	flex-direction: column;
	border-left: 3px solid var(--amber-500);
	padding-left: 12px;
}
.about-stats strong {
	font-family: var(--display);
	font-size: 1.6rem;
	color: var(--navy-900);
}
.about-stats span { font-size: 0.85rem; color: var(--ink-soft); }

/* media containers - illustrations for now, easy to swap for real photos
   later (just replace the <img src> in index.html, these rules don't
   need to change) */

.about-media, .service-media {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper-dim);
	border: 1px solid var(--line);
}
.about-media img, .service-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* services */

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.service-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 20px;
	border: 1px solid var(--line);
}

.service-card .service-media { aspect-ratio: 16 / 10; margin-bottom: 16px; }

.check-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	font-size: 0.88rem;
	color: var(--ink-soft);
}
.check-list li {
	padding: 5px 0 5px 22px;
	position: relative;
}
.check-list li::before {
	content: '';
	position: absolute;
	left: 0; top: 11px;
	width: 8px; height: 8px;
	background: var(--amber-500);
	border-radius: 2px;
}

/* cta strip */

.cta-strip {
	background: var(--navy-900);
	color: #fff;
	text-align: center;
	padding: 64px 0;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #C7CEDA; max-width: 50ch; margin: 0 auto 28px; }

/* offices */

.contact-strip {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
	background: var(--navy-900);
	color: #fff;
	border-radius: var(--radius);
	padding: 22px 28px;
	margin-bottom: 36px;
}
.contact-strip > div {
	display: flex;
	align-items: center;
	gap: 10px;
}
.contact-strip-label {
	font-family: var(--mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--amber-500);
}
.contact-strip a {
	color: #fff;
	font-weight: 700;
	font-size: 1.15rem;
	text-decoration: none;
	font-family: var(--display);
}
.contact-strip a:hover { color: var(--amber-500); }
.contact-strip-divider {
	width: 1px;
	height: 26px;
	background: rgba(255,255,255,0.2);
}
.contact-strip .tag-note {
	background: rgba(255,255,255,0.12);
	color: #C7CEDA;
}

.branch-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 48px;
}
.branch-item {
	border-top: 2px solid var(--amber-500);
	padding-top: 14px;
}
.branch-item h3 { margin-bottom: 4px; }
.branch-item address { font-style: normal; color: var(--ink-soft); margin-bottom: 10px; }

.map-link {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy-800);
	text-decoration: none;
	border-bottom: 1.5px solid var(--amber-500);
	padding-bottom: 1px;
}
.map-link:hover { color: var(--amber-600); }

.tag-note {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--ink-soft);
	background: var(--paper-dim);
	padding: 2px 7px;
	border-radius: 5px;
	margin-left: 4px;
	white-space: nowrap;
}

/* contact / quote form */

.contact-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 56px;
	align-items: start;
}

.quote-form {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 16px; }
.field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy-800);
	margin-bottom: 6px;
}
.field input, .field textarea, .quote-form textarea {
	width: 100%;
	font-family: var(--body);
	font-size: 0.95rem;
	padding: 11px 13px;
	border: 1.5px solid var(--line);
	border-radius: 8px;
	background: var(--paper);
}
.field input:focus, .field textarea:focus { border-color: var(--navy-700); outline: none; }

.form-note {
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 0.9rem;
}
.form-note.ok { background: rgba(47,123,94,0.12); color: var(--route-green); }
.form-note.err { background: rgba(163,55,44,0.1); color: #A3372C; }

/* footer */

.site-footer {
	background: var(--navy-900);
	color: #90A0B7;
	font-size: 0.85rem;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 26px 0;
	flex-wrap: wrap;
	gap: 10px;
}
.footer-inner a { text-decoration: none; color: #C7CEDA; }

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; }
	.about-grid, .contact-grid { grid-template-columns: 1fr; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.branch-list { grid-template-columns: 1fr; }
	.contact-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
	.contact-strip-divider { display: none; }

	.main-nav ul {
		position: absolute;
		top: 76px; left: 0; right: 0;
		background: var(--paper);
		flex-direction: column;
		align-items: stretch;
		padding: 12px 24px 20px;
		border-bottom: 1px solid var(--line);
		display: none;
		gap: 4px;
	}
	.main-nav ul.is-open { display: flex; }
	.main-nav li { padding: 8px 0; }
	.nav-toggle { display: flex; }
}

@media (max-width: 600px) {
	.service-grid { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.track-form-fields { flex-direction: column; }
}
