/* =========================================================
   TransejuKasimas.lt — design tokens
   ========================================================= */
:root {
	--bg-deep: #17130d;
	--bg-panel: #241d15;
	--bg-panel-2: #2c2318;
	--earth: #8a5a34;
	--earth-bright: #d97b3f;
	--sand: #e9dcc8;
	--sand-dim: #a89477;
	--line: rgba(233, 220, 200, 0.12);
	--text-mid: #b9ac96;
	--radius: 10px;
	--radius-lg: 18px;
	--shadow-card: 0 2px 4px rgba(0,0,0,.25), 0 12px 32px -12px rgba(0,0,0,.55);
	--shadow-pop: 0 20px 60px -20px rgba(0,0,0,.65);
	--container: 1180px;
	--font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
	--font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", "Courier New", monospace;
	--ease: cubic-bezier(.22,.68,.35,1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
	margin: 0;
	background: var(--bg-deep);
	color: var(--sand);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	max-width: 100%;
}
/* Note: overflow-x:hidden lives on <html> only (above), not here — giving
   BOTH html and body an explicit overflow-x turns body into its own
   scroll container (overflow-y computes to "auto" as a side effect),
   which breaks position:sticky for every descendant on the page. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-mid); }
.mono { font-family: var(--font-mono); }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9999; background: var(--earth-bright); color: #17130d; padding: 10px 16px; border-radius: 6px; font-weight: 700; }

.eyebrow {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--earth-bright); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--earth-bright); display: inline-block; }

.btn-primary, .btn-ghost {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
	white-space: nowrap;
}
.btn-primary {
	background: linear-gradient(180deg, var(--earth-bright), #c1642c);
	color: #1b1006;
	box-shadow: 0 8px 24px -8px rgba(217,123,63,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(217,123,63,.7); }
.btn-ghost {
	border: 1px solid var(--line); color: var(--sand); background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--earth-bright); color: var(--earth-bright); transform: translateY(-2px); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Placeholder image
   ========================================================= */
.tk-img-placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 220px; border-radius: var(--radius-lg);
	background: repeating-linear-gradient(135deg, var(--bg-panel), var(--bg-panel) 14px, var(--bg-panel-2) 14px, var(--bg-panel-2) 28px);
	border: 1px dashed var(--line); color: var(--sand-dim);
	text-align: center; padding: 24px;
}
.tk-img-placeholder span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; max-width: 26ch; }
.tk-placeholder-hero { min-height: 100%; border-radius: 0; border: 0; }
.tk-placeholder-diagram { min-height: 320px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--bg-deep);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .3s var(--ease);
}
/* Note: intentionally no backdrop-filter here — a blur/filter on this
   ancestor would silently turn it into the containing block for any
   position:fixed descendant (the mobile nav sidebar), breaking its
   fixed-to-viewport sizing. Solid background avoids that CSS trap. */
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0,0,0,.6); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--sand); flex-shrink: 0; display: flex; align-items: center; }
.logo span { color: var(--earth-bright); }
.logo-image { max-height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links > a { font-size: 14.5px; font-weight: 500; color: var(--text-mid); transition: color .2s; position: relative; }
.nav-links > a:hover { color: var(--sand); }
.nav-links > a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--earth-bright); transition: width .2s var(--ease); }
.nav-links > a:hover::after { width: 100%; }
.nav-overlay { display: none; }
.nav-sidebar-head, .nav-sidebar-phone, .nav-dropdown-mobile-link { display: none; }

/* Services mega-menu (desktop) */
.nav-item-dropdown { position: relative; }
.nav-dropdown-trigger {
	display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500;
	color: var(--text-mid); transition: color .2s; padding: 4px 0;
}
.nav-dropdown-trigger:hover, .nav-item-dropdown.is-open .nav-dropdown-trigger { color: var(--sand); }
.nav-caret { transition: transform .2s var(--ease); }
.nav-item-dropdown.is-open .nav-caret { transform: rotate(180deg); }

/* The panel's own box starts flush against the trigger (top:100%, no
   gap) so there's never a dead zone where :hover / mouseleave can slip —
   the visual "floating card" look comes from padding-top pushing the
   visible card (.nav-mega-grid) down instead of an outer margin/offset. */
.nav-mega-panel {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	width: 640px; max-width: 90vw; padding-top: 18px;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .2s var(--ease), visibility 0s linear .2s;
	z-index: 50;
}
.nav-item-dropdown.is-open .nav-mega-panel {
	opacity: 1; visibility: visible; pointer-events: auto;
	transition: opacity .2s var(--ease);
}
.nav-mega-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
	background: var(--bg-panel); border: 1px solid var(--line);
	border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: 18px;
	transform: translateY(8px); transition: transform .2s var(--ease);
}
.nav-item-dropdown.is-open .nav-mega-grid { transform: translateY(0); }
.nav-mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: var(--radius); transition: background .2s; }
.nav-mega-item:hover { background: rgba(217,123,63,.08); }
.nav-mega-icon { flex-shrink: 0; opacity: .9; margin-top: 2px; }
.nav-mega-icon svg { width: 26px; height: 26px; }
.nav-mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-mega-title { font-size: 14px; font-weight: 600; color: var(--sand); }
.nav-mega-excerpt { font-size: 12px; color: var(--sand-dim); line-height: 1.4; }
.phone-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
	background: rgba(217,123,63,.12); border: 1px solid rgba(217,123,63,.4); color: var(--earth-bright);
	font-weight: 600; font-size: 14px; flex-shrink: 0; transition: background .2s, transform .2s;
}
.phone-btn:hover { background: rgba(217,123,63,.22); transform: translateY(-1px); }
.mobile-nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-shrink: 0; margin-left: auto; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 22px; height: 2px; background: var(--sand); transition: transform .25s var(--ease), opacity .2s; }
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.mobile-nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.mobile-nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-top: 0; padding-bottom: 40px; }
.hero-slider { position: relative; min-height: 640px; }
.hero-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 1s var(--ease), visibility 0s linear 1s;
	display: flex; align-items: center;
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 1s var(--ease); }
.hero-slide-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-scrim {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(23,19,13,.96) 0%, rgba(23,19,13,.88) 38%, rgba(23,19,13,.55) 62%, rgba(23,19,13,.85) 100%),
	            linear-gradient(0deg, var(--bg-deep) 0%, transparent 22%);
}
.hero-slide-inner { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 60px; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy h1 em { font-style: normal; color: var(--earth-bright); }
.hero-sub { font-size: 17px; max-width: 54ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.hero-meta div { font-size: 13.5px; color: var(--text-mid); display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-family: var(--font-display); font-size: 26px; color: var(--sand); font-weight: 800; }

.hero-arrows { position: absolute; z-index: 3; bottom: 24px; left: 0; right: 0; display: none; justify-content: center; gap: 14px; }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(23,19,13,.6); font-size: 20px; display: flex; align-items: center; justify-content: center; transition: border-color .2s, transform .2s; }
.hero-arrow:hover { border-color: var(--earth-bright); color: var(--earth-bright); }
.hero-dots { position: absolute; z-index: 3; bottom: 26px; right: 24px; display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.hero-dot.is-active { background: var(--earth-bright); transform: scale(1.3); }

.hero-quote-overlay { position: absolute; top: 90px; right: 24px; z-index: 4; width: 100%; max-width: 400px; pointer-events: none; }
.hero-quote-overlay .quote-card { pointer-events: auto; margin-left: auto; }

.quote-card {
	background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 30px; box-shadow: var(--shadow-pop); max-width: 400px;
}
.quote-card h3 { margin-bottom: 8px; }
.quote-card > p { font-size: 13.5px; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--sand-dim); }
.field input, .field select, .field textarea {
	width: 100%; background: var(--bg-deep); border: 1px solid var(--line); color: var(--sand);
	border-radius: 8px; padding: 11px 13px; font: inherit; font-size: 14.5px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--earth-bright); }
.quote-card .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
.status-msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: rgba(120,180,120,.12); border: 1px solid rgba(120,180,120,.35); color: #bfe6bf; font-size: 14px; }
.status-msg.status-error { background: rgba(200,90,90,.12); border-color: rgba(200,90,90,.4); color: #f0b8b8; }
.tk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Strip
   ========================================================= */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-panel); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px 24px; }
.strip div { font-size: 13.5px; color: var(--text-mid); text-align: center; }
.strip strong { display: block; color: var(--sand); font-family: var(--font-display); font-size: 16px; margin-bottom: 2px; }

/* =========================================================
   Sections generic
   ========================================================= */
section { padding: 90px 0; }
.section-panel { background: var(--bg-panel); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { font-size: 15.5px; }

/* =========================================================
   Services grid
   ========================================================= */
.services-banner { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-card); }
.services-banner img { width: 100%; max-height: 360px; object-fit: cover; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
	display: block; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 26px; position: relative; overflow: hidden;
	transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); border-color: rgba(217,123,63,.5); box-shadow: var(--shadow-card); }
.svc .num { position: absolute; top: 20px; right: 22px; font-size: 13px; color: var(--sand-dim); opacity: .6; }
.svc-icon { display: inline-flex; }
.svc h3 { margin: 16px 0 8px; }
.svc p { font-size: 14px; margin: 0; }
.svc::after {
	content: "→"; position: absolute; bottom: 22px; right: 24px; font-size: 18px; color: var(--earth-bright);
	opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s;
}
.svc:hover::after { opacity: 1; transform: none; }

/* =========================================================
   Diagram section
   ========================================================= */
.diagram-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.diagram-text p { font-size: 15px; }
.diagram-list { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.diagram-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-mid); }
.sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.diagram-photo { border-radius: var(--radius-lg); margin-bottom: 20px; box-shadow: var(--shadow-card); }
.trench-diagram { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* =========================================================
   Pricing table
   ========================================================= */
.tk-table-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; background: var(--bg-panel); min-width: 480px; }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.price-table th { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--sand-dim); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { background: rgba(217,123,63,.05); }
.price-table .val { font-family: var(--font-mono); color: var(--earth-bright); font-weight: 600; white-space: nowrap; }
.price-note { font-size: 13px; color: var(--sand-dim); margin-top: 14px; }

/* =========================================================
   Process
   ========================================================= */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-left: 4px; }
.step-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--earth-bright); margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; }

/* =========================================================
   Service area
   ========================================================= */
.area-box { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.town-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.town-list span { padding: 7px 14px; border-radius: 999px; background: var(--bg-deep); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-mid); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-panel); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; text-align: left; }
.faq-question h3 { margin: 0; font-size: 15.5px; font-weight: 600; }
.faq-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--earth-bright); transform: translate(-50%,-50%); transition: transform .25s var(--ease); }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer p { padding: 0 22px 18px; margin: 0; font-size: 14.5px; }
.faq-question[aria-expanded="true"] + .faq-answer { max-height: 400px; }

/* =========================================================
   CTA final
   ========================================================= */
.cta-final { background: linear-gradient(160deg, var(--bg-panel), var(--bg-deep)); border-top: 1px solid var(--line); }
.cta-final-inner { text-align: center; max-width: 620px; }
.cta-final-inner p { font-size: 15.5px; }
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	border-top: 1px solid var(--line);
	background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-panel) 140%);
	position: relative;
}
.site-footer::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--earth-bright), transparent);
	opacity: .6;
}

.footer-top {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
	padding: 64px 24px 48px;
}
.footer-col-title {
	font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
	color: var(--sand-dim); margin: 0 0 18px;
}
.footer-logo {
	font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--sand);
	display: inline-flex; align-items: center; margin-bottom: 14px;
}
.footer-logo span { color: var(--earth-bright); }
.footer-logo .logo-image { max-height: 40px; width: auto; }
.footer-about-text { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); max-width: 34ch; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social-icon {
	width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--sand-dim);
	transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.footer-social-icon:hover { color: var(--earth-bright); border-color: rgba(217,123,63,.5); background: rgba(217,123,63,.08); transform: translateY(-2px); }

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: var(--text-mid); transition: color .2s, padding-left .2s; position: relative; }
.footer-links a:hover { color: var(--earth-bright); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-mid); }
.footer-contact a { transition: color .2s; }
.footer-contact a:hover { color: var(--earth-bright); }
.footer-contact-icon { flex-shrink: 0; width: 20px; text-align: center; font-size: 13px; opacity: .85; }

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-row {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	padding: 22px 24px; font-size: 12.5px; color: var(--sand-dim);
}
.footer-legal-links a { color: var(--sand-dim); transition: color .2s; }
.footer-legal-links a:hover { color: var(--earth-bright); }

@media (max-width: 980px) {
	.footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.footer-col--about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.footer-top { grid-template-columns: 1fr; padding: 48px 24px 36px; gap: 32px; }
	.footer-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Service single page
   ========================================================= */
.breadcrumb { padding: 18px 24px; font-size: 13px; color: var(--sand-dim); }
.breadcrumb a { color: var(--sand-dim); transition: color .2s; }
.breadcrumb a:hover { color: var(--earth-bright); }
.svc-hero { position: relative; padding: 70px 0; overflow: hidden; }
.svc-hero-bg { position: absolute; inset: 0; z-index: 0; }
.svc-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero-bg--placeholder .tk-img-placeholder { position: absolute; inset: 0; border-radius: 0; }
.svc-hero-inner { position: relative; z-index: 1; }
.svc-hero--page { padding-top: 48px; padding-bottom: 8px; }
.svc-title-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.svc-icon--lg { flex-shrink: 0; }
.lede { font-size: 17px; max-width: 62ch; color: var(--sand); }
.summary-callout { margin-top: 16px; padding: 14px 18px; background: var(--bg-panel); border-left: 3px solid var(--earth-bright); color: var(--sand); font-size: 14.5px; max-width: 62ch; border-radius: var(--radius); }
.svc-updated { margin-top: 14px; font-size: 12px; color: var(--sand-dim); }

.content-grid { display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: start; }
/* Grid tracks default to min-width:auto, which lets a nested wide element
   (e.g. the pricing table's min-width:480px, meant to scroll inside its
   own .tk-table-scroll box) force the whole column — and the page — wider
   than the viewport. min-width:0 lets the track shrink so the intended
   inner horizontal scroll actually kicks in instead. */
.content-grid > * { min-width: 0; }
.content-grid .quote-card { max-width: 100%; }
.content-grid:has(.prose--page) { grid-template-columns: 1.2fr 1fr; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15.5px; }
.prose ul { padding-left: 4px; margin-bottom: 1.2em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--text-mid); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--earth-bright); }
.prose strong { color: var(--sand); }
.prose--page { max-width: 74ch; }

.side-card { position: sticky; top: 100px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.side-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--sand-dim); margin-bottom: 14px; }
.side-list { display: flex; flex-direction: column; gap: 4px; }
.side-list a { display: block; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--text-mid); transition: background .2s, color .2s; }
.side-list a:hover { background: rgba(217,123,63,.08); color: var(--sand); }
.side-list a.active { background: rgba(217,123,63,.15); color: var(--earth-bright); font-weight: 600; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a { display: block; padding: 18px 20px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; transition: border-color .2s, transform .2s; }
.related-grid a:hover { border-color: var(--earth-bright); color: var(--earth-bright); transform: translateY(-2px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
	.diagram-grid { grid-template-columns: 1fr; gap: 36px; }
	.content-grid,
	.content-grid:has(.prose--page) { grid-template-columns: 1fr; }
	.side-card { position: static; }
	.process { grid-template-columns: repeat(2, 1fr); }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.related-grid { grid-template-columns: repeat(2, 1fr); }
	.area-box { grid-template-columns: 1fr; }
	.hero-quote-overlay { position: relative; top: 0; right: 0; max-width: 100%; margin-top: 36px; padding: 0; }
	.hero-quote-overlay .quote-card { margin: 0; }
	.hero { padding-bottom: 60px; }
	.hero-slide-inner { padding-top: 60px; padding-bottom: 20px; }
}

@media (max-width: 760px) {
	/* Mobile menu becomes a slide-in sidebar with a backdrop overlay. */
	.nav-overlay {
		display: block; position: fixed; inset: 0; background: rgba(10,8,5,.6);
		opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
		z-index: 199;
	}
	.nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

	.nav-links {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 340px);
		background: var(--bg-panel); flex-direction: column; align-items: stretch; gap: 0;
		padding: 0 0 24px; margin: 0; overflow-y: auto;
		transform: translateX(100%); box-shadow: -20px 0 60px -20px rgba(0,0,0,.6);
		transition: transform .3s var(--ease);
		z-index: 200; border-left: 1px solid var(--line);
	}
	.nav-links.is-open { transform: translateX(0); }

	.nav-sidebar-head {
		display: flex; align-items: center; justify-content: space-between;
		padding: 18px 20px; border-bottom: 1px solid var(--line); margin-bottom: 6px;
	}
	.nav-sidebar-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--sand-dim); }
	.nav-sidebar-close { font-size: 28px; line-height: 1; color: var(--sand-dim); padding: 4px 8px; }
	.nav-sidebar-close:hover { color: var(--earth-bright); }

	.nav-links > a { padding: 15px 20px; border-bottom: 1px solid var(--line); }
	.nav-links > a::after { display: none; }

	.nav-item-dropdown { border-bottom: 1px solid var(--line); }
	.nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 15px 20px; }
	.nav-dropdown-mobile-link { display: block; padding: 0 20px 14px; font-size: 13px; color: var(--earth-bright); }

	.nav-mega-panel {
		position: static; left: auto; transform: none; width: auto; max-width: none; padding-top: 0;
		opacity: 1; visibility: visible; pointer-events: auto;
		display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease);
	}
	.nav-mega-panel > .nav-mega-grid { overflow: hidden; }
	.nav-item-dropdown.is-open .nav-mega-panel { grid-template-rows: 1fr; }
	.nav-mega-grid {
		grid-template-columns: 1fr; gap: 0; background: transparent; border: 0;
		box-shadow: none; padding: 0 8px 10px; border-radius: 0; transform: none;
	}
	.nav-item-dropdown.is-open .nav-mega-grid { transform: none; }
	.nav-mega-item { padding: 10px 12px; }

	.nav-sidebar-phone {
		display: flex; align-items: center; gap: 8px; margin: 16px 20px 0; padding: 12px 16px;
		border-radius: 999px; background: rgba(217,123,63,.12); border: 1px solid rgba(217,123,63,.4);
		color: var(--earth-bright); font-weight: 600; font-size: 14.5px; justify-content: center;
	}

	.mobile-nav-toggle { display: flex; }
	.phone-btn span { display: none; }
	.strip .wrap { grid-template-columns: repeat(2, 1fr); }
	.process { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: 1fr; }
	.related-grid { grid-template-columns: 1fr; }
	section { padding: 60px 0; }
	.hero-arrows { display: none !important; }
}

@media (min-width: 761px) {
	.hero-arrows { display: flex; }
}
