/* ==========================================================================
   Lacus Ltd. — International Transport
   Clean corporate design system. Plain CSS, no dependencies.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
	--navy:        #0a1c3d;
	--navy-800:    #0e2650;
	--navy-700:    #143266;
	--accent:      #e5301b;   /* Lacus brand red (matches logo) */
	--accent-600:  #c5260f;
	--ink:         #10233f;
	--body:        #4a5568;
	--muted:       #7a8699;
	--line:        #e6e9ef;
	--bg:          #ffffff;
	--bg-soft:     #f5f7fb;
	--white:       #ffffff;

	--radius:      14px;
	--radius-lg:   22px;
	--shadow-sm:   0 1px 2px rgba(16, 35, 63, .06), 0 4px 14px rgba(16, 35, 63, .06);
	--shadow-md:   0 10px 30px rgba(16, 35, 63, .12);
	--shadow-lg:   0 24px 60px rgba(16, 35, 63, .18);

	--maxw:        1180px;
	--gutter:      clamp(20px, 5vw, 40px);

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
	        "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	font-family: var(--font);
	color: var(--body);
	background: var(--bg);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
	color: var(--ink);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -.02em;
}

/* ---------- Layout helpers ---------- */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #c7d2e4; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
	display: inline-block;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent-600);
	margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--accent); }

.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }

h2.title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.lead { font-size: 1.12rem; color: var(--muted); margin-top: 16px; }
.section--navy .lead { color: #9fb2ce; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: .98rem;
	padding: 15px 28px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
	background: var(--accent);
	color: var(--navy);
	box-shadow: 0 8px 22px rgba(229, 48, 27, .38);
}
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(229, 48, 27, .45); }
.btn--ghost {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border-color: rgba(255, 255, 255, .35);
	backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header .bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 78px;
	transition: height .3s;
}
.brand { display: flex; align-items: center; gap: 11px; line-height: 1; }
.brand__logo { height: 38px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand .mark {
	font-size: 1.45rem;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: .01em;
	color: #fff;
	line-height: 1;
	transition: color .3s;
}
.brand .sub {
	font-size: .6rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
	line-height: 1;
	transition: color .3s;
}
.site-footer .brand__logo { height: 42px; }

/* header right cluster + language toggle */
.bar__right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; overflow: hidden; flex: none; }
.lang-btn {
	background: transparent; border: 0; cursor: pointer;
	font: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .04em;
	padding: 5px 11px; color: rgba(255, 255, 255, .85);
	transition: background .2s, color .2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.is-active { background: var(--accent); color: #fff; }
.site-header.solid .lang-toggle, .site-header.scrolled .lang-toggle { border-color: var(--line); }
.site-header.solid .lang-btn, .site-header.scrolled .lang-btn { color: var(--muted); }
.site-header.solid .lang-btn:hover, .site-header.scrolled .lang-btn:hover { color: var(--navy); }
.site-header.solid .lang-btn.is-active, .site-header.scrolled .lang-btn.is-active { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
	position: relative;
	padding: 10px 16px;
	font-weight: 600;
	font-size: .96rem;
	color: rgba(255, 255, 255, .85);
	border-radius: 8px;
	transition: color .2s;
}
.nav a::after {
	content: "";
	position: absolute;
	left: 16px; right: 16px; bottom: 4px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after, .nav a:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; padding: 11px 22px; }

/* scrolled state */
.site-header.scrolled {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(16, 35, 63, .06);
}
.site-header.scrolled .bar { height: 66px; }
.site-header.scrolled .brand .mark { color: var(--navy); }
.site-header.scrolled .brand .sub  { color: var(--muted); }
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { color: var(--navy); }
.site-header.scrolled .burger span { background: var(--navy); }

/* solid header variant for interior pages (no dark hero behind) */
.site-header.solid {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.solid .brand .mark { color: var(--navy); }
.site-header.solid .brand .sub  { color: var(--muted); }
.site-header.solid .nav a { color: var(--ink); }
.site-header.solid .burger span { background: var(--navy); }

/* Burger */
.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.burger span {
	width: 26px; height: 2.5px;
	background: #fff;
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	color: #fff;
	isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 1.4s var(--ease);
	will-change: opacity;
}
.hero__slide.is-active { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(105deg, rgba(10, 28, 61, .8) 0%, rgba(10, 28, 61, .52) 45%, rgba(10, 28, 61, .15) 100%),
		linear-gradient(to top, rgba(10, 28, 61, .7), transparent 45%);
}
.hero .container { padding-top: 120px; padding-bottom: 60px; }
.hero__inner { max-width: 760px; }
.hero .pill {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	padding: 8px 16px; border-radius: 999px;
	font-size: .82rem; font-weight: 600; letter-spacing: .02em;
	margin-bottom: 26px;
	backdrop-filter: blur(6px);
}
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(229,48,27,.25); }
.hero h1 {
	color: #fff;
	font-size: clamp(2.3rem, 5.6vw, 4.1rem);
	line-height: 1.05;
	margin-bottom: 22px;
}
.hero h1 span { color: var(--accent); }
.hero p {
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	color: rgba(255, 255, 255, .88);
	max-width: 560px;
	margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 36px 32px;
	box-shadow: var(--shadow-sm);
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ico {
	width: 58px; height: 58px;
	display: grid; place-items: center;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--navy), var(--navy-700));
	color: var(--accent);
	margin-bottom: 22px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { font-size: .98rem; }

/* ---------- Split section (why us) ---------- */
.split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(36px, 6vw, 80px);
	align-items: center;
}
.split__media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3.2;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { margin-top: 26px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .tick {
	flex: none;
	width: 26px; height: 26px; margin-top: 1px;
	border-radius: 50%;
	background: rgba(229, 48, 27, .16);
	color: var(--accent-600);
	display: grid; place-items: center;
}
.checklist .tick svg { width: 15px; height: 15px; }

/* ---------- CTA band ---------- */
.cta {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
	color: #fff;
	padding: clamp(40px, 6vw, 72px);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
	box-shadow: var(--shadow-lg);
}
.cta::before {
	content: "";
	position: absolute; right: -80px; top: -80px;
	width: 340px; height: 340px; border-radius: 50%;
	background: radial-gradient(circle, rgba(229,48,27,.28), transparent 70%);
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta p { color: #b7c4dc; margin-top: 8px; max-width: 460px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.testi {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 36px 34px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 18px;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi .quote-mark { font-family: Georgia, "Times New Roman", serif; font-size: 3.6rem; line-height: 0; height: 22px; color: var(--accent); }
.testi blockquote { margin: 0; flex: 1; font-size: 1.06rem; line-height: 1.65; color: var(--ink); font-style: italic; }
.testi figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.t-who { display: flex; flex-direction: column; gap: 3px; }
.t-name { font-weight: 800; color: var(--ink); }
.t-role { font-size: .88rem; color: var(--muted); }
.t-logo { height: 40px; width: auto; flex: none; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (interior) ---------- */
.page-hero {
	position: relative;
	padding: 150px 0 70px;
	color: #fff;
	isolation: isolate;
	background: var(--navy);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; object-fit: cover; width: 100%; height: 100%; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,28,61,.75), var(--navy)); }
.page-hero .crumbs { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 14px; letter-spacing: .04em; }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 560px; margin-top: 14px; font-size: 1.1rem; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.about-split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-split__media img { width: 100%; height: auto; display: block; }
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.member { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-weight: 600; color: var(--ink); transition: border-color .2s var(--ease), background .2s, transform .2s var(--ease); }
.member .tick { color: var(--accent-600); }
.member__arrow { color: var(--accent-600); transition: transform .2s var(--ease); }
a.member:hover { border-color: var(--accent); background: #fff; transform: translateY(-2px); }
a.member:hover .member__arrow { transform: translateX(4px); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value .n { font-size: .85rem; font-weight: 800; color: var(--accent-600); letter-spacing: .1em; }
.value h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.value p { font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.info-list { display: grid; gap: 24px; margin-top: 8px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-item .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(229,48,27,.14); color: var(--accent-600); display: grid; place-items: center; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-item .v { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.info-item .v a:hover { color: var(--accent-600); }
.socials { display: flex; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--body); transition: all .2s var(--ease); }
.socials a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.socials a svg { width: 20px; height: 20px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #93a4c2; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 54px; }
.site-footer .brand .mark { color: #fff; }
.site-footer .brand .sub { color: rgba(255,255,255,.55); }
.footer-about { margin-top: 18px; max-width: 320px; font-size: .96rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col p { font-size: .96rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #7286a6; }
.footer-bottom .fsoc { display: flex; gap: 16px; }
.footer-bottom .fsoc a:hover { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.grid-3, .values { grid-template-columns: repeat(2, 1fr); }
	.split, .about-split, .contact-grid { grid-template-columns: 1fr; }
	.split__media { aspect-ratio: 16 / 10; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 720px) {
	body { font-size: 16px; }
	/* backdrop-filter creates a containing block for position:fixed — it would
	   trap the mobile nav drawer inside the header. Disable it on mobile. */
	.site-header, .site-header.solid, .site-header.scrolled {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 82vw);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 4px;
		background: #fff;
		padding: 100px 24px 40px;
		box-shadow: var(--shadow-lg);
		transform: translateX(100%);
		transition: transform .35s var(--ease);
	}
	.nav.open { transform: none; }
	.nav a { color: var(--ink); font-size: 1.05rem; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav a::after { display: none; }
	.nav a.active { color: var(--accent-600); }
	.nav .btn { margin: 16px 0 0; justify-content: center; color: var(--navy); }
	.burger { display: flex; z-index: 101; }
	.nav-scrim { position: fixed; inset: 0; background: rgba(10,28,61,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 99; }
	.nav-scrim.show { opacity: 1; visibility: visible; }
	.grid-3, .values { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.hero { min-height: auto; padding-bottom: 0; }
	.hero .container { padding-top: 130px; padding-bottom: 48px; }
	.cta { text-align: center; justify-content: center; }
	.cta__actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero__slide { transform: none; animation: none; }
}
