/*!
 * TransBaggage — services navigation and service page styles.
 * Loaded after style.css and uses the same design tokens.
 */

/* ============================================================
   1. SERVICES MEGA-DROPDOWN
   ============================================================ */

/* The panel is anchored to the header container, so it never depends on JS
   for its position and cannot drift when the header becomes sticky. */
.site-header .wrap-lg { position: relative; }
.site-header,
.site-header .wrap-lg,
.site-header .nav { overflow: visible; }

.nav-links .has-mega { position: static; }

/* The toggle is a real link to /services/ so it inherits every nav-link style. */
.nav-links .mega-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.nav-links .mega-toggle .caret {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	transition: transform .18s ease;
}
.nav-links .has-mega:hover .mega-toggle .caret,
.nav-links .has-mega:focus-within .mega-toggle .caret,
.nav-links .has-mega.open .mega-toggle .caret { transform: rotate(180deg); }

.mega {
	position: absolute;
	top: calc(100% + 14px);
	left: 0;
	right: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-3);
	z-index: 900;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
/* Invisible bridge so the pointer can travel from the link to the panel. */
.mega::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -18px;
	height: 18px;
}
.nav-links .has-mega:hover .mega,
.nav-links .has-mega:focus-within .mega,
.nav-links .has-mega.open .mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition: opacity .16s ease, transform .16s ease, visibility 0s;
}

.mega-inner { padding: 26px 26px 18px; }

.mega-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 26px;
}
@media (max-width: 1180px) {
	.mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mega-col { min-width: 0; }

.mega-head {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--display, inherit);
	font-weight: 800;
	font-size: .93rem;
	color: var(--ink-900);
	text-decoration: none;
	padding-bottom: 9px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--line);
	line-height: 1.25;
}
.mega-head:hover { color: var(--blue-700); }
.mega-ic {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: var(--blue-050);
	color: var(--blue-700);
}
.mega-ic svg { width: 17px; height: 17px; }

.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; }
.mega-col li a {
	display: block;
	padding: 5px 8px;
	margin-left: -8px;
	border-radius: 8px;
	font-size: .855rem;
	color: var(--ink-500);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mega-col li a:hover { background: var(--blue-050); color: var(--blue-800); }
.mega-col li a.mega-more { color: var(--pink-600); font-weight: 700; }

.mega-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
	.mega { display: none !important; }
}

/* ============================================================
   2. MOBILE DRAWER ACCORDION
   ============================================================ */

.drawer-acc { border-bottom: 1px solid var(--line); }
.drawer-acc-btn,
.drawer-sub-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	background: none;
	border: 0;
	padding: 13px 0;
	font: inherit;
	font-weight: 700;
	color: var(--ink-900);
	cursor: pointer;
	text-align: left;
}
.drawer-acc-btn svg,
.drawer-sub-btn svg { width: 17px; height: 17px; flex: 0 0 17px; transition: transform .18s ease; }
.drawer-acc-btn[aria-expanded="true"] svg,
.drawer-sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.drawer-acc-panel { padding: 2px 0 12px; }
.drawer-acc-panel[hidden],
.drawer-sub-panel[hidden] { display: none; }

.drawer-acc-all {
	display: block;
	padding: 8px 0;
	font-weight: 700;
	color: var(--blue-700);
	text-decoration: none;
}

.drawer-sub { border-top: 1px dashed var(--line); }
.drawer-sub-btn { font-weight: 600; font-size: .93rem; padding: 11px 0; }
.drawer-sub-panel { padding: 0 0 10px 12px; border-left: 2px solid var(--blue-100); margin-left: 2px; }
.drawer-sub-panel a {
	display: block;
	padding: 7px 0;
	font-size: .88rem;
	color: var(--ink-500);
	text-decoration: none;
}
.drawer-sub-panel a:hover { color: var(--blue-700); }

/* ============================================================
   3. CATEGORY GRIDS
   ============================================================ */

.cat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 22px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--sh-1);
	text-decoration: none;
	color: var(--ink-900);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--sh-2);
	border-color: var(--blue-100);
}
.cat-card strong { font-family: var(--display, inherit); font-size: 1.02rem; line-height: 1.3; }
.cat-card small { color: var(--ink-500); font-size: .82rem; }
.cat-ic {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: var(--blue-050);
	color: var(--blue-700);
	margin-bottom: 10px;
}
.cat-ic svg { width: 22px; height: 22px; }
.cat-card:hover .cat-ic { background: var(--blue-700); color: #fff; }

/* Services hub — richer panels */
.cat-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .cat-grid-lg { grid-template-columns: 1fr; } }

.cat-panel {
	padding: 26px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}
.cat-panel-head {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--ink-900);
}
.cat-panel-head strong { display: block; font-family: var(--display, inherit); font-size: 1.14rem; line-height: 1.25; }
.cat-panel-head small { color: var(--pink-600); font-weight: 700; font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; }
.cat-panel-head:hover strong { color: var(--blue-700); }
.cat-panel > p { color: var(--ink-500); font-size: .93rem; margin: 14px 0 16px; }

.cat-panel-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
.cat-panel-list a {
	display: inline-block;
	padding: 6px 11px;
	border-radius: var(--r-pill);
	background: var(--bg-soft);
	border: 1px solid var(--line);
	font-size: .81rem;
	color: var(--ink-700);
	text-decoration: none;
}
.cat-panel-list a:hover { background: var(--blue-050); border-color: var(--blue-100); color: var(--blue-800); }

.cat-panel-more { font-weight: 800; color: var(--blue-700); text-decoration: none; font-size: .9rem; }
.cat-panel-more:hover { color: var(--pink-600); }

/* ============================================================
   4. CATEGORY PAGE — SERVICE TILES
   ============================================================ */

.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .svc-list { grid-template-columns: 1fr; } }

.svc-tile {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 18px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r);
	text-decoration: none;
	color: var(--ink-900);
	box-shadow: var(--sh-1);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-tile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--blue-100); }
.svc-tile-ic {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: var(--blue-050);
	color: var(--blue-700);
}
.svc-tile-ic svg { width: 19px; height: 19px; }
.svc-tile-body { flex: 1 1 auto; min-width: 0; }
.svc-tile-body strong { display: block; font-family: var(--display, inherit); font-size: 1rem; margin-bottom: 3px; }
.svc-tile-body small { display: block; color: var(--ink-500); font-size: .87rem; line-height: 1.5; }
.svc-tile-go { color: var(--blue-700); font-size: 1.1rem; align-self: center; }

/* ============================================================
   5. SERVICE PAGE
   ============================================================ */

.svc-hero .crumbs { margin-bottom: 14px; }

.svc-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 42px;
	align-items: start;
}
@media (max-width: 980px) { .svc-split { grid-template-columns: 1fr; gap: 34px; } }

.svc-main > p { color: var(--ink-700); line-height: 1.75; }
.svc-main h2 { margin-top: 38px; }

.svc-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.svc-points li { display: flex; gap: 12px; align-items: flex-start; }
.svc-points .tick {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #eefcf3;
	color: var(--green);
	margin-top: 2px;
}
.svc-points .tick svg { width: 13px; height: 13px; }
.svc-points strong { display: block; color: var(--ink-900); margin-bottom: 2px; }
.svc-points span:last-child { color: var(--ink-500); font-size: .95rem; line-height: 1.6; }

.svc-steps { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 14px; }
.svc-steps li { color: var(--ink-500); line-height: 1.65; }
.svc-steps strong { display: block; color: var(--ink-900); }

.svc-faqs { margin-top: 18px; display: grid; gap: 10px; }
.svc-faqs details {
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
	padding: 0;
	overflow: hidden;
}
.svc-faqs summary {
	cursor: pointer;
	padding: 15px 18px;
	font-weight: 700;
	color: var(--ink-900);
	list-style: none;
	position: relative;
	padding-right: 44px;
}
.svc-faqs summary::-webkit-details-marker { display: none; }
.svc-faqs summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.25rem;
	line-height: 1;
	color: var(--blue-700);
}
.svc-faqs details[open] summary::after { content: "\2212"; }
.svc-faqs details[open] summary { background: var(--blue-050); }
.svc-faqs p { margin: 0; padding: 14px 18px 18px; color: var(--ink-500); line-height: 1.7; }

.svc-aside { display: grid; gap: 18px; position: sticky; top: 92px; }
@media (max-width: 980px) { .svc-aside { position: static; } }

.svc-quote {
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--white);
	box-shadow: var(--sh-2);
}
.svc-quote > img { display: block; width: 100%; height: 168px; object-fit: cover; }
.svc-quote-body { padding: 20px; }
.svc-quote-body h3 { margin: 0 0 8px; font-size: 1.08rem; }
.svc-quote-body p { color: var(--ink-500); font-size: .9rem; line-height: 1.6; margin: 0 0 16px; }
.svc-quote-body .btn + .btn { margin-top: 9px; }

.svc-related {
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--bg-soft);
	padding: 20px;
}
.svc-related h3 { margin: 0 0 12px; font-size: 1rem; }
.svc-related ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.svc-related li a {
	display: block;
	padding: 7px 10px;
	margin-left: -10px;
	border-radius: 8px;
	font-size: .89rem;
	color: var(--ink-700);
	text-decoration: none;
}
.svc-related li a:hover { background: var(--blue-050); color: var(--blue-800); }
.svc-related-all { font-weight: 800; font-size: .87rem; color: var(--blue-700); text-decoration: none; }

/* Shared trust strip */
.svc-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	padding: 20px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}
@media (max-width: 900px) { .svc-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-trust { grid-template-columns: 1fr; } }
.svc-trust > div { display: flex; gap: 11px; align-items: flex-start; }
.svc-trust .ic {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: 1rem;
}
.svc-trust b { display: block; font-size: .92rem; color: var(--ink-900); }
.svc-trust small { display: block; color: var(--ink-500); font-size: .8rem; line-height: 1.45; }

/* ============================================================
   6. QUOTE PAGE — "what happens next" list
   ============================================================ */

.sum-steps { list-style: none; counter-reset: s; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.sum-steps li { counter-increment: s; position: relative; padding-left: 34px; font-size: .88rem; line-height: 1.55; opacity: .92; }
.sum-steps li::before {
	content: counter(s);
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	font-weight: 800;
	font-size: .78rem;
}
.sum-steps strong { display: block; font-size: .95rem; margin-bottom: 2px; }

/* ============================================================
   7. STICKY MOBILE CTA — no price, just the ask
   ============================================================ */

.stickycta .sc-price b { font-size: .94rem; }

/* Hero safety net for the service templates (page-hero variant). */
.svc-hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.svc-hero .eyebrow { display: inline-block; margin-bottom: 10px; }
.svc-hero p { max-width: 62ch; }

/* ============================================================
   8. MEGA PANEL — fit inside the viewport
   ============================================================ */
.mega-inner {
	padding: 20px 22px 14px;
	max-height: min(72vh, 640px);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mega-grid { gap: 16px 22px; }
.mega-head {
	font-size: .89rem;
	padding-bottom: 7px;
	margin-bottom: 5px;
	gap: 8px;
}
.mega-ic { flex-basis: 26px; width: 26px; height: 26px; border-radius: 8px; }
.mega-ic svg { width: 15px; height: 15px; }
.mega-col li a { padding: 3px 8px; font-size: .82rem; }
.mega-foot { margin-top: 14px; padding-top: 12px; }
@media (max-height: 760px) {
	.mega-inner { max-height: 66vh; }
	.mega-grid { gap: 12px 20px; }
	.mega-col li a { padding: 2px 8px; }
}
