/*
Theme Name: Tutum Cargo
Theme URI: https://tutumcargo.eu
Author: UAB Tutum cargo
Description: Refined logistics theme for UAB "Tutum cargo" — ekspedijavimo įmonė Klaipėdoje, dirbanti visoje Europoje ir NVS šalyse.
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Version: 3.2.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tutumcargo
*/

/* =====================================================================
   DESIGN TOKENS — mirrors the 2B Group visual identity used across
   Transpakas and Kaducėjus (deep midnight navy + gray + white, signal
   blue accent, no orange/red hue despite the company's own red logo).
   ===================================================================== */
:root {
	/* Ink */
	--ink:    #0B0E3D;
	--ink-2:  #171B55;
	--ink-3:  #262B70;

	/* Signal */
	--signal:    #3B4CDB;
	--signal-dk: #2C3AB0;

	/* Gray */
	--gray:   #6B6B72;
	--gray-2: #C4C4C9;

	/* Paper */
	--paper:   #FFFFFF;
	--paper-2: #F6F6F9;
	--paper-3: #EDEDF2;

	/* Text */
	--tx:    #0B0E3D;
	--tx-2:  #4A4A57;
	--tx-3:  #6B6B72;

	/* Text on ink */
	--txw:   #FFFFFF;
	--txw-2: rgba(255,255,255,0.60);
	--txw-3: rgba(255,255,255,0.36);

	/* Lines */
	--line:    rgba(11,14,61,0.11);
	--line-2:  rgba(11,14,61,0.06);
	--line-w:  rgba(255,255,255,0.14);
	--line-w2: rgba(255,255,255,0.07);

	/* Layout */
	--nav-h:  72px;
	--sec:    clamp(4.5rem, 9vw, 8rem);
	--px:     clamp(1.25rem, 5vw, 4rem);
	--mxw:    1280px;

	/* Radii */
	--r:    16px;
	--r-sm: 10px;

	/* Shadows */
	--sh-1: 0 1px 2px rgba(11,14,61,0.05), 0 6px 20px rgba(11,14,61,0.07);
	--sh-2: 0 4px 10px rgba(11,14,61,0.08), 0 16px 36px rgba(11,14,61,0.12);
	--sh-3: 0 8px 20px rgba(11,14,61,0.10), 0 28px 60px rgba(11,14,61,0.16);
}

/* =====================================================================
   RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	background: var(--paper);
	color: var(--tx);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	line-height: 1.65;
	font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: 'Archivo', 'Inter', system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--tx);
	text-wrap: balance;
}

/* =====================================================================
   WORDPRESS / FSE FIXES
   ===================================================================== */
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
.wp-site-blocks { padding-top: 0 !important; padding-bottom: 0 !important; }
.wp-site-blocks > * { margin-block: 0 !important; }
.wp-block-shortcode { display: block; }
header.wp-block-template-part .wp-block-group { background-color: transparent !important; }
footer.wp-block-template-part .wp-block-group { background-color: transparent !important; }

/* =====================================================================
   LAYOUT
   ===================================================================== */
.tc-inner {
	width: 100%;
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	padding-inline: var(--px);
}

/* =====================================================================
   MOTION-LINE MOTIF
   ===================================================================== */
.tc-lines {
	display: inline-flex; flex-direction: column; gap: 3px;
	width: 22px; flex-shrink: 0;
}
.tc-lines span { display: block; height: 2px; background: currentColor; border-radius: 1px; }
.tc-lines span:nth-child(1) { width: 100%; }
.tc-lines span:nth-child(2) { width: 68%; }
.tc-lines span:nth-child(3) { width: 40%; }

.tc-eyebrow {
	display: inline-flex; align-items: center; gap: 0.65rem;
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--gray);
	margin-bottom: 1.1rem;
}
.tc-eyebrow .tc-lines { color: var(--ink); }

.tc-heading {
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--tx);
	margin-bottom: 0.55em;
}
.tc-subheading {
	font-size: clamp(0.94rem, 1.4vw, 1.05rem);
	color: var(--tx-2);
	line-height: 1.75;
	max-width: 56ch;
}

/* =====================================================================
   BUTTON SYSTEM
   ===================================================================== */
.tc-btn {
	display: inline-flex; align-items: center; gap: 0.65rem;
	padding: 0.9rem 1.85rem;
	border-radius: var(--r-sm);
	font-weight: 600; font-size: 0.88rem;
	letter-spacing: -0.005em;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s, transform 0.18s, border-color 0.2s, box-shadow 0.2s;
	white-space: nowrap;
	border: 1.5px solid transparent; cursor: pointer; line-height: 1;
}
.tc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.tc-btn--navy {
	background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: #fff !important;
	box-shadow: var(--sh-1);
}
.tc-btn--navy:hover { background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); box-shadow: var(--sh-2); transform: translateY(-2px) scale(1.015); }

.tc-btn--signal {
	background: linear-gradient(135deg, var(--signal), var(--signal-dk)); color: #fff !important;
	box-shadow: 0 4px 14px rgba(59,76,219,0.32);
}
.tc-btn--signal:hover { box-shadow: 0 8px 22px rgba(59,76,219,0.42); transform: translateY(-2px) scale(1.015); }

.tc-btn--outline {
	background: transparent; color: var(--tx) !important;
	border: 1.5px solid var(--line);
}
.tc-btn--outline:hover { border-color: var(--ink); background: var(--paper-2); }

.tc-btn--ghost {
	background: transparent; color: #fff !important;
	border: 1.5px solid var(--line-w);
}
.tc-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.tc-btn--white {
	background: #fff; color: var(--ink) !important;
	box-shadow: var(--sh-2);
}
.tc-btn--white:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }

/* =====================================================================
   HEADER
   ===================================================================== */
header.wp-block-template-part {
	position: sticky; top: 0; inset-inline: 0;
	z-index: 900; height: var(--nav-h);
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
header.wp-block-template-part.is-hidden { transform: translateY(-100%); }

.tc-header-inner {
	height: var(--nav-h);
	display: flex; align-items: center; justify-content: space-between;
	padding-inline: var(--px);
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	gap: 2rem;
}

/* Logo — the company's own full lockup (mark + wordmark + tagline
   baked into one image), so no separate text label is layered on top. */
.tc-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.tc-logo-full { height: 54px; width: auto; display: block; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.tc-logo:hover .tc-logo-full { transform: scale(1.04); }
.tc-logo-chip {
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; border-radius: var(--r-sm);
	padding: 8px 12px;
}
.tc-logo-chip .tc-logo-full { height: 30px; }

/* Desktop nav */
.tc-nav {
	display: flex; align-items: center;
	list-style: none; flex: 1; justify-content: center; gap: 0.25rem;
}
.tc-nav a {
	display: inline-flex; align-items: center;
	padding: 0.5em 1.1em;
	font-size: 0.875rem; font-weight: 500;
	color: var(--ink); transition: color 0.2s;
	position: relative;
}
.tc-nav a:hover,
.tc-nav a.is-active { color: var(--signal); }

/* Header right */
.tc-header-right { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }

.tc-phone-link {
	display: inline-flex; align-items: center; gap: 0.45rem;
	font-size: 0.85rem; font-weight: 600; color: var(--tx-2);
	transition: color 0.2s;
}
.tc-phone-link svg { width: 14px; height: 14px; color: var(--tx-2); }
.tc-phone-link:hover { color: var(--signal); }
.tc-phone-link:hover svg { color: var(--signal); }

.tc-header-btn {
	background: var(--ink); color: #fff !important;
	padding: 12px 24px;
	border-radius: 0;
	font-size: 0.82rem; font-weight: 600;
	transition: background 0.2s;
	white-space: nowrap;
}
.tc-header-btn:hover { background: var(--signal); }

/* Hamburger button */
.tc-menu-btn {
	display: none;
	background: none; border: none; cursor: pointer;
	width: 40px; height: 40px;
	align-items: center; justify-content: center;
	border-radius: var(--r-sm); padding: 0;
	transition: background 0.2s;
}
.tc-menu-btn:hover { background: var(--paper-2); }
.tc-menu-btn span,
.tc-menu-btn span::before,
.tc-menu-btn span::after {
	display: block; width: 22px; height: 2px;
	background: var(--ink); border-radius: 2px;
	transition: transform 0.26s ease, opacity 0.2s; position: relative;
}
.tc-menu-btn span::before { content: ""; position: absolute; top: -7px; }
.tc-menu-btn span::after  { content: ""; position: absolute; top:  7px; }
.tc-menu-btn[aria-expanded="true"] span         { background: transparent; }
.tc-menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg) translate(5px,5px); }
.tc-menu-btn[aria-expanded="true"] span::after  { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav drawer */
.tc-mobile-nav {
	display: none; position: fixed; inset: 0;
	z-index: 800;
	background: rgba(11,14,61,0.45);
	opacity: 0; transition: opacity 0.28s ease;
}
.tc-mobile-nav.is-open { opacity: 1; }
.tc-mobile-nav.is-open .tc-mobile-panel { transform: translateX(0); }
.tc-mobile-nav[hidden] { display: none !important; }

.tc-mobile-panel {
	position: absolute; inset-block: 0; right: 0;
	width: min(360px, 92vw);
	background: #fff; box-shadow: var(--sh-3);
	padding: calc(var(--nav-h) + 1.5rem) 2rem 2.5rem;
	transform: translateX(100%);
	transition: transform 0.36s cubic-bezier(0.16,1,0.3,1);
	overflow-y: auto; display: flex; flex-direction: column;
}
.tc-mobile-logo {
	display: flex; align-items: center; gap: 0.75rem;
	padding-bottom: 1.5rem; margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}
.tc-mobile-logo .tc-logo-full { height: 32px; }
.tc-mobile-links { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; flex: 1; }
.tc-mobile-links a {
	display: block; padding: 0.9rem 0;
	font-size: 1.08rem; font-weight: 600; color: var(--tx);
	border-bottom: 1px solid var(--line);
	transition: color 0.18s, padding-left 0.22s;
}
.tc-mobile-links a:hover { color: var(--signal); padding-left: 0.5rem; }
.tc-mobile-cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.tc-mobile-cta .tc-btn { justify-content: center; }

@media (max-width: 1080px) { .tc-phone-link { display: none; } }
@media (max-width: 820px) {
	.tc-nav { display: none; }
	.tc-menu-btn { display: flex; }
	.tc-mobile-nav { display: block; }
}
@media (max-width: 520px) { .tc-header-btn { display: none; } }

/* =====================================================================
   SKIP LINK
   ===================================================================== */
.tc-skip {
	position: fixed; top: -100px; left: 1rem;
	background: var(--ink); color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: var(--r-sm); font-weight: 700;
	z-index: 9999; transition: top 0.2s;
	font-size: 0.875rem;
}
.tc-skip:focus { top: 1rem; }

/* =====================================================================
   SCROLL PROGRESS BAR
   ===================================================================== */
.tc-progress {
	position: fixed; top: 0; left: 0; right: 0;
	height: 2px; z-index: 1000;
	transform-origin: left;
	background: var(--signal);
	transform: scaleX(0);
	will-change: transform;
}

/* =====================================================================
   HERO — full-bleed cinematic photo behind copy + frosted stat bar
   (identical structure to the sibling Transpakas/Kaducėjus themes)
   ===================================================================== */
.tc-hero {
	position: relative;
	height: calc(100svh - var(--nav-h));
	background: var(--ink);
	overflow: hidden;
}

.tc-hero-left {
	position: relative; z-index: 1;
	height: 100%; width: 100%;
	display: flex; flex-direction: column;
	min-width: 0;
}

/* Ambient backdrop for dark, full-width bands: two soft, asymmetric
   signal-blue glows — no repeating pattern, no grid, no dots. */
.tc-hero-grid {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		radial-gradient(ellipse 55% 55% at 10% -15%, rgba(59,76,219,0.42) 0%, transparent 62%),
		radial-gradient(ellipse 50% 65% at 108% 115%, rgba(59,76,219,0.3) 0%, transparent 65%);
}

.tc-signal-main {
	position: relative; z-index: 1;
	flex: 1; min-width: 0;
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(0.75rem, 3vh, 2rem) clamp(48px, 7vw, 140px);
}

@keyframes tc-rise {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}
.tc-signal-eyebrow, .tc-h1-line, .tc-signal-sub, .tc-signal-actions {
	animation: tc-rise 0.5s ease-out both;
}
.tc-signal-eyebrow       { animation-delay: 0ms; }
.tc-h1-line:nth-child(1) { animation-delay: 60ms; }
.tc-h1-line:nth-child(2) { animation-delay: 120ms; }
.tc-h1-line:nth-child(3) { animation-delay: 180ms; }
.tc-signal-sub           { animation-delay: 180ms; }
.tc-signal-actions       { animation-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
	.tc-signal-eyebrow, .tc-h1-line, .tc-signal-sub, .tc-signal-actions { animation: none; }
}

.tc-signal-eyebrow {
	display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.85rem;
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--txw-2);
	margin-bottom: clamp(0.6rem, 3vh, 1.75rem);
	min-width: 0;
}
.tc-signal-eyebrow-line { display: block; width: 40px; height: 1px; background: var(--signal); flex-shrink: 0; }

.tc-signal-h1 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(1.9rem, min(5.2vw, 6.5vh), 5.25rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.03em;
	line-height: 1.04;
	margin-bottom: clamp(0.5rem, 2.5vh, 1.5rem);
	text-shadow: 0 2px 24px rgba(0,0,0,0.25);
	min-width: 0;
}
.tc-h1-line { display: block; }
.tc-signal-h1 .tc-accent { font-style: italic; color: var(--signal); font-weight: 700; filter: drop-shadow(0 2px 10px rgba(59,76,219,0.5)); }

.tc-signal-sub {
	font-size: clamp(0.92rem, 1.6vh, 1.0625rem);
	color: var(--txw-2); line-height: 1.65;
	max-width: 46ch; margin-bottom: clamp(0.9rem, 3.5vh, 2.5rem);
	min-width: 0;
}

.tc-signal-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; min-width: 0; }

.tc-btn--hero-primary {
	display: inline-flex; align-items: center; gap: 0.6rem;
	height: 52px; padding-inline: 28px; border-radius: var(--r-sm);
	background: linear-gradient(135deg, var(--signal), var(--signal-dk)); color: #fff !important;
	font-weight: 600; font-size: 0.95rem;
	box-shadow: 0 8px 24px rgba(59,76,219,0.45);
	transition: box-shadow 0.2s, transform 0.2s;
}
.tc-btn--hero-primary svg { width: 16px; height: 16px; transition: transform 0.2s; }
.tc-btn--hero-primary:hover { box-shadow: 0 10px 30px rgba(59,76,219,0.6); transform: translateY(-2px); }
.tc-btn--hero-primary:hover svg { transform: translateX(4px); }

.tc-btn--hero-ghost {
	display: inline-flex; align-items: center;
	height: 52px; padding-block: 0;
	color: #fff !important;
	font-weight: 600; font-size: 0.95rem; background: transparent;
	border: none; border-bottom: 1px solid rgba(255,255,255,0.5); border-radius: 0;
	transition: color 0.2s, border-color 0.2s;
}
.tc-btn--hero-ghost:hover { color: var(--signal) !important; border-color: var(--signal); }

@media (max-width: 640px) {
	.tc-signal-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
	.tc-btn--hero-primary { justify-content: center; }
	.tc-btn--hero-ghost { justify-content: center; }
}

/* Stats — a frosted glass bar anchored to the bottom of the photo */
.tc-signal-stats {
	position: relative; z-index: 1;
	flex-shrink: 0; min-width: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: rgba(11,14,61,0.42);
	backdrop-filter: blur(14px) saturate(1.4);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	border-top: 1px solid rgba(255,255,255,0.16);
}
.tc-signal-stat {
	display: flex; flex-direction: column; gap: 0.3rem;
	padding: clamp(0.6rem, 2.2vh, 1.4rem) clamp(1rem, 2vw, 1.5rem);
	border-right: 1px solid rgba(255,255,255,0.14);
	min-width: 0;
}
.tc-signal-stat:last-child { border-right: none; }
.tc-hero-stat-val {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(1.4rem, 4vh, 2.1rem); font-weight: 600; color: #fff;
	font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1;
}
.tc-hero-stat-unit { font-size: 0.6em; font-weight: 600; color: var(--signal); margin-left: 0.1em; }
.tc-signal-stat-label { display: block; width: 100%; font-size: 0.75rem; color: var(--txw-2); text-transform: uppercase; letter-spacing: 0.1em; min-width: 0; }

@media (max-width: 640px) {
	.tc-signal-stats { grid-template-columns: repeat(2, 1fr); }
	.tc-signal-stat:nth-child(2n) { border-right: none; }
	.tc-signal-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.14); }
}

/* Photo — full-bleed background behind the whole hero */
.tc-hero-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.tc-hero-photo {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: 62% 58%;
	filter: saturate(1.08) contrast(1.02) brightness(0.96) blur(0.6px);
	transform: scale(1.05);
	clip-path: inset(0 0 0 100%);
	animation: tc-photo-reveal 1s ease-out 100ms both;
}
@keyframes tc-photo-reveal { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .tc-hero-photo { animation: none; clip-path: inset(0); } }

/* Fine grain, blended over the photo, breaks up smooth gradients and
   masks upscale artefacts at high pixel densities. */
.tc-hero-visual::after {
	content: "";
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: 0.05;
	mix-blend-mode: overlay;
}

.tc-hero-photo-fade {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(11,14,61,0.94) 0%, rgba(11,14,61,0.86) 26%, rgba(11,14,61,0.58) 48%, rgba(11,14,61,0.32) 68%, rgba(11,14,61,0.4) 100%),
		linear-gradient(180deg, rgba(11,14,61,0.3) 0%, transparent 22%, transparent 68%, rgba(11,14,61,0.45) 100%);
}

@media (max-width: 1024px) {
	.tc-hero { height: auto; min-height: 100svh; }
	.tc-signal-main { padding: 6.5rem clamp(24px, 6vw, 60px) 2.5rem; }
	.tc-hero-photo-fade {
		background:
			linear-gradient(180deg, rgba(11,14,61,0.55) 0%, rgba(11,14,61,0.75) 45%, rgba(11,14,61,0.5) 70%, rgba(11,14,61,0.55) 100%);
	}
}
@media (max-width: 640px) {
	.tc-signal-h1 { font-size: 2.5rem; }
}

/* =====================================================================
   NETWORK — floating country cards, dark section with soft glow backdrop
   ===================================================================== */
.tc-network { padding-block: var(--sec); background: var(--ink); position: relative; overflow: hidden; }
.tc-network-head .tc-eyebrow { color: var(--txw-2); }
.tc-network-head .tc-eyebrow .tc-lines { color: var(--signal); }
.tc-network-head .tc-heading { color: #fff; }
.tc-network-head .tc-subheading { color: var(--txw-2); }
.tc-network-head { max-width: 560px; margin-bottom: 3rem; }
.tc-network-head .tc-heading { margin-bottom: 0.9rem; }

.tc-net-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	grid-auto-flow: row dense;
	gap: 1rem;
}
.tc-net-cell {
	padding: 2rem 1.5rem;
	background: rgba(255,255,255,0.045);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: var(--r);
	box-shadow: var(--sh-1);
	transition: background 0.22s, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
}
.tc-net-cell:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-4px); box-shadow: var(--sh-2); }
.tc-net-cell--hub {
	grid-row: span 2;
	display: flex; flex-direction: column; justify-content: space-between;
	background: rgba(59,76,219,0.22); border-color: rgba(59,76,219,0.55); box-shadow: var(--sh-2), 0 0 0 1px rgba(59,76,219,0.3);
}
.tc-net-cell--hub:hover { background: rgba(59,76,219,0.3); }
.tc-net-cell--hub .tc-net-cell-city { font-size: 1.9rem; }

.tc-net-cell-index {
	display: block;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
	color: var(--signal); margin-bottom: 1.4rem;
}
.tc-net-cell-city {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1.35rem; font-weight: 700; color: #fff;
	letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.tc-net-cell-label {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.68rem; color: var(--txw-3);
	font-weight: 500; letter-spacing: 0.03em;
}

@media (max-width: 780px) { .tc-net-grid { grid-template-columns: repeat(3,1fr); } .tc-net-cell--hub { grid-row: span 1; } }
@media (max-width: 560px) { .tc-net-grid { grid-template-columns: repeat(2,1fr); } }

.tc-net-countries {
	display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
	margin-top: 2.5rem;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--txw-3);
}
.tc-net-country-list { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.tc-net-country-list strong { color: var(--txw-2); font-weight: 600; letter-spacing: 0.04em; }
.tc-net-country-sep { color: var(--txw-3); }

/* =====================================================================
   NUMBERS STRIP
   ===================================================================== */
.tc-numbers {
	background: var(--ink); padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--line-w2);
	position: relative; overflow: hidden;
}

.tc-numbers-grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: repeat(4,1fr);
	border-top: 1px solid var(--line-w2);
	border-left: 1px solid var(--line-w2);
}

.tc-num-cell {
	padding: 2.2rem 1.75rem;
	border-right: 1px solid var(--line-w2);
	border-bottom: 1px solid var(--line-w2);
	position: relative; z-index: 1;
	transition: background 0.22s;
}
.tc-num-cell:hover { background: rgba(255,255,255,0.03); }

.tc-num-index {
	display: block;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
	color: var(--signal); margin-bottom: 1.1rem;
}

.tc-num-val {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 700; color: #fff;
	letter-spacing: -0.025em; line-height: 1;
	margin-bottom: 0.6rem;
	font-variant-numeric: tabular-nums;
}
.tc-num-val span { color: var(--signal); }

.tc-num-label {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.66rem; color: var(--txw-3);
	font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}

@media (max-width: 900px) { .tc-numbers-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .tc-numbers-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   SERVICES
   ===================================================================== */
.tc-services { padding-block: var(--sec); background: var(--paper); }

.tc-services-head {
	display: flex; align-items: flex-end;
	justify-content: space-between; gap: 2rem;
	margin-bottom: 3.5rem; flex-wrap: wrap;
}
@media (max-width: 600px) {
	.tc-services-head { flex-direction: column; align-items: flex-start; }
	.tc-services-head .tc-btn { width: 100%; justify-content: center; }
}

/* Connected numbered timeline — every service shown in full on this one
   page, no click-through. A vertical line threads through numbered
   nodes; deliberately distinct from a card grid. */
.tc-svc-timeline { max-width: 860px; margin-top: 1rem; }

.tc-svc-row { display: grid; grid-template-columns: 56px 1fr; gap: 1.75rem; }

.tc-svc-row-num { display: flex; flex-direction: column; align-items: center; }
.tc-svc-row-index {
	flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
	background: #fff; border: 2px solid var(--line);
	display: flex; align-items: center; justify-content: center;
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 0.95rem; font-weight: 700; color: var(--tx-3);
	transition: border-color 0.25s, color 0.25s;
}
.tc-svc-row:hover .tc-svc-row-index { border-color: var(--signal); color: var(--signal); }
.tc-svc-row-line { width: 2px; flex: 1; min-height: 32px; background: var(--line); margin-block: 0.6rem; }

.tc-svc-row-body { padding-bottom: clamp(2.25rem, 4vw, 3rem); }

.tc-svc-row-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.15rem; padding-top: 0.35rem; }
.tc-svc-row-icon {
	flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--r-sm);
	background: var(--ink); color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.tc-svc-row-icon svg { width: 17px; height: 17px; }
.tc-svc-row-head h3 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700;
	color: var(--tx); letter-spacing: -0.015em; line-height: 1.3;
}

.tc-svc-row-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.tc-svc-row-list li {
	position: relative; padding-left: 1.15rem;
	font-size: 0.92rem; color: var(--tx-2); line-height: 1.65;
}
.tc-svc-row-list li::before {
	content: ""; position: absolute; left: 0; top: 0.65em;
	width: 5px; height: 5px; border-radius: 50%; background: var(--signal);
}

@media (max-width: 560px) {
	.tc-svc-row { grid-template-columns: 42px 1fr; gap: 1.1rem; }
	.tc-svc-row-index { width: 40px; height: 40px; font-size: 0.8rem; }
}

/* =====================================================================
   ABOUT — INTRO
   ===================================================================== */
.tc-about-intro { padding-block: var(--sec); background: var(--paper); }

.tc-about-grid {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}
.tc-about-grid .tc-about-visual-wrap { order: 2; }
.tc-about-grid .tc-about-text { order: 1; }

.tc-about-visual-wrap { position: relative; padding: 16px; }
.tc-about-visual-wrap::before,
.tc-about-visual-wrap::after {
	content: ""; position: absolute; width: 44px; height: 44px;
	border-style: solid; border-color: var(--signal); pointer-events: none;
}
.tc-about-visual-wrap::before { top: 0; left: 0; border-width: 3px 0 0 3px; }
.tc-about-visual-wrap::after  { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

.tc-about-visual-card {
	position: relative; overflow: hidden;
	border-radius: var(--r);
	aspect-ratio: 4 / 3;
	box-shadow: var(--sh-3);
	background-image: url('assets/images/hero-terminal.jpg');
	background-size: cover; background-position: 50% 55%;
	transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.tc-about-visual-wrap:hover .tc-about-visual-card { transform: scale(1.02); }
.tc-about-visual-card::before {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(200deg, rgba(11,14,61,0.16) 0%, rgba(11,14,61,0.02) 45%, rgba(11,14,61,0.22) 100%);
}
.tc-about-visual-card::after {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
	border-radius: var(--r);
}

.tc-about-text { display: flex; flex-direction: column; gap: 1.5rem; }
.tc-about-desc { font-size: 0.98rem; color: var(--tx-2); line-height: 1.82; }
.tc-about-desc strong { color: var(--tx); }

@media (max-width: 860px) {
	.tc-about-grid { grid-template-columns: 1fr; }
	.tc-about-visual-wrap { max-width: 520px; margin-inline: auto; }
}

/* =====================================================================
   ABOUT — VALUES GRID
   ===================================================================== */
.tc-about-values { padding-block: var(--sec); background: var(--paper-2); }

.tc-value-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem; margin-top: 3rem;
}
.tc-value-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 2rem 1.6rem;
	display: flex; flex-direction: column; gap: 1rem;
	transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
}
.tc-value-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--paper-3); }
.tc-value-icon {
	width: 46px; height: 46px; flex-shrink: 0;
	background: var(--ink); border-radius: var(--r-sm);
	display: flex; align-items: center; justify-content: center;
	color: #fff; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.2s;
}
.tc-value-icon svg { width: 20px; height: 20px; }
.tc-value-card:hover .tc-value-icon { background: var(--signal); transform: rotate(-6deg) scale(1.06); }
.tc-value-card strong {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1.02rem; font-weight: 700; color: var(--tx); letter-spacing: -0.01em;
}
.tc-value-card span { font-size: 0.86rem; color: var(--tx-2); line-height: 1.6; }

@media (max-width: 980px) { .tc-value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tc-value-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   ABOUT — FLEET & FACTS BAND
   ===================================================================== */
.tc-fleetband { background: var(--ink); padding-block: var(--sec); position: relative; overflow: hidden; }
.tc-fleetband::after {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		radial-gradient(ellipse 55% 55% at 10% -15%, rgba(59,76,219,0.42) 0%, transparent 62%),
		radial-gradient(ellipse 50% 65% at 108% 115%, rgba(59,76,219,0.3) 0%, transparent 65%);
}
.tc-fleetband-head {
	position: relative; z-index: 1;
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.tc-fleetband-head .tc-eyebrow { color: var(--gray); }
.tc-fleetband-head .tc-eyebrow .tc-lines { color: var(--signal); }
.tc-fleetband-head .tc-heading { color: #fff; margin-bottom: 0.4rem; }
.tc-fleetband-head .tc-subheading { color: var(--txw-2); }

.tc-fleetband-grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}
.tc-fleetband-cell {
	padding: 2rem 1.5rem;
	background: rgba(255,255,255,0.045);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: var(--r);
	box-shadow: var(--sh-1);
	transition: background 0.22s, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
}
.tc-fleetband-cell:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-4px); box-shadow: var(--sh-2); }
.tc-fleetband-val {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(2rem, 3.4vw, 2.6rem);
	font-weight: 700; color: #fff;
	letter-spacing: -0.02em; line-height: 1;
	margin-bottom: 0.55rem;
	font-variant-numeric: tabular-nums;
}
.tc-fleetband-val span { color: var(--signal); font-size: 0.6em; }
.tc-fleetband-label { font-size: 0.78rem; color: var(--txw-3); line-height: 1.4; }

@media (max-width: 980px) { .tc-fleetband-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .tc-fleetband-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   ABOUT — META BAR
   ===================================================================== */
.tc-about-metabar {
	background: var(--paper); border-bottom: 1px solid var(--line);
	padding: 1.35rem var(--px); text-align: center;
}
.tc-about-metabar-inner {
	max-width: calc(var(--mxw) + 2 * var(--px)); margin-inline: auto;
	display: flex; align-items: center; justify-content: center;
	gap: 0.6rem 2rem; flex-wrap: wrap;
	font-size: 0.82rem; color: var(--tx-3);
}
.tc-about-metabar-inner strong { color: var(--tx-2); }
.tc-about-metabar-inner a { color: var(--signal); font-weight: 600; }
.tc-about-metabar-sep { color: var(--gray-2); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.tc-cta {
	background: var(--ink);
	padding: clamp(4rem,8vw,7rem) var(--px);
	text-align: center; position: relative; overflow: hidden;
}
.tc-cta-inner {
	position: relative; z-index: 1;
	max-width: 620px; margin-inline: auto;
	display: flex; flex-direction: column; align-items: center;
}
.tc-cta-eyebrow {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
	color: var(--signal); margin-bottom: 1.5rem;
}
.tc-cta h2 {
	font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700;
	color: #fff; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.tc-cta p { font-size: 1.02rem; color: var(--txw-2); margin-bottom: 2.25rem; max-width: 46ch; }

/* =====================================================================
   LOCATIONS / CONTACTS
   ===================================================================== */
.tc-locations { padding-block: var(--sec); background: var(--paper-2); }

.tc-locs-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}
.tc-locs-grid--single { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

.tc-loc-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 2.5rem;
	position: relative; overflow: hidden;
	box-shadow: var(--sh-1);
	transition: box-shadow 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
	display: flex; flex-direction: column;
}
.tc-loc-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
	background: linear-gradient(90deg, var(--signal), var(--signal-dk));
}
.tc-loc-card:hover { box-shadow: var(--sh-2); }

.tc-loc-tag {
	display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
	color: var(--gray);
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	margin-bottom: 1.25rem;
}
.tc-loc-tag .tc-lines { color: var(--signal); }
.tc-loc-city {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1.85rem; font-weight: 700;
	color: var(--tx); letter-spacing: -0.02em;
	margin-bottom: 0.9rem;
}
.tc-loc-addr {
	display: flex; align-items: flex-start; gap: 0.6rem;
	font-size: 0.86rem; color: var(--tx-2);
	margin-bottom: 2rem; line-height: 1.55;
}
.tc-loc-addr svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 0.2em; color: var(--signal); }
.tc-loc-addr small { display: block; font-size: 0.8rem; color: var(--tx-3); margin-top: 0.15em; }

.tc-contacts { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.75rem; }
.tc-person {
	display: grid; grid-template-columns: 36px 1fr; column-gap: 0.85rem; row-gap: 0.5rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--line);
}
.tc-person:last-child { border-bottom: none; padding-bottom: 0; }
.tc-person-avatar {
	grid-row: 1; grid-column: 1;
	width: 36px; height: 36px; border-radius: 50%;
	background: var(--ink); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: 'Archivo', system-ui, sans-serif; font-size: 0.85rem; font-weight: 700;
}
.tc-person-avatar svg { width: 14px; height: 14px; }
.tc-person-body { grid-row: 1; grid-column: 2; display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.tc-person-role {
	font-size: 0.68rem; font-weight: 600;
	color: var(--tx-3); text-transform: uppercase; letter-spacing: 0.08em;
}
.tc-person-name { font-size: 0.89rem; font-weight: 600; color: var(--tx); }
.tc-person-phone {
	grid-row: 2; grid-column: 2;
	display: inline-flex; align-items: center; gap: 0.5rem;
	width: fit-content; padding: 0.4rem 0.85rem;
	border-radius: 999px; border: 1px solid var(--line); color: var(--tx-2);
	font-size: 0.82rem; font-weight: 600; font-variant-numeric: tabular-nums;
	transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.tc-person-phone:hover { color: #fff; background: var(--signal); border-color: var(--signal); }
.tc-person-phone svg { width: 13px; height: 13px; flex-shrink: 0; }

.tc-loc-cta { width: 100%; justify-content: center; margin-top: auto; }

@media (max-width: 760px) { .tc-locs-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.tc-footer-wrap { background: var(--ink); }

.tc-footer-top {
	display: grid; grid-template-columns: 2fr 1fr 1fr;
	gap: 3.5rem;
	padding: clamp(3rem,6vw,5rem) var(--px);
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	border-bottom: 1px solid var(--line-w2);
}

.tc-footer-brand { display: flex; flex-direction: column; gap: 1.1rem; }
.tc-footer-desc {
	font-size: 0.85rem; color: var(--txw-3);
	line-height: 1.75; max-width: 34ch;
}

.tc-footer-col h5 {
	font-size: 0.68rem; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--txw-3); margin-bottom: 1.1rem;
}
.tc-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.tc-footer-links a {
	font-size: 0.88rem; color: var(--txw-2);
	transition: color 0.2s, padding-left 0.22s; display: block;
}
.tc-footer-links a:hover { color: #fff; padding-left: 0.38rem; }

.tc-footer-contacts { display: flex; flex-direction: column; gap: 0.65rem; }
.tc-footer-contact {
	display: flex; align-items: flex-start; gap: 0.55rem;
	font-size: 0.85rem; color: var(--txw-2); line-height: 1.4;
	transition: color 0.2s;
}
a.tc-footer-contact:hover { color: #fff; }
.tc-footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--signal); }

.tc-footer-bottom {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; flex-wrap: wrap;
	padding: 1.3rem var(--px);
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	font-size: 0.74rem; color: var(--txw-3);
}
.tc-footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 840px) {
	.tc-footer-top { grid-template-columns: 1fr 1fr; }
	.tc-footer-brand { grid-column: 1/-1; }
}
@media (max-width: 520px) {
	.tc-footer-top { grid-template-columns: 1fr; }
	.tc-footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================================
   PAGE HERO (sub-pages)
   ===================================================================== */
.tc-page-hero {
	padding: 4.5rem var(--px) 4rem;
	background: var(--ink);
	position: relative; overflow: hidden;
}
.tc-page-hero-inner { position: relative; z-index: 1; max-width: var(--mxw); margin-inline: auto; }
.tc-page-hero::after {
	content: "Tutum Cargo";
	position: absolute;
	right: var(--px); bottom: 0;
	transform: translateY(15%);
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	font-size: clamp(1.7rem, 3.6vw, 2.8rem);
	letter-spacing: 0.55em;
	line-height: 1;
	padding-left: 0.55em;
	white-space: nowrap;
	pointer-events: none;
	color: #fff;
	z-index: 0;
}
@media (max-width: 980px) { .tc-page-hero::after { display: none; } }
.tc-page-hero .tc-eyebrow { color: var(--gray); }
.tc-page-hero .tc-eyebrow .tc-lines { color: var(--signal); }
.tc-page-hero h1,
.tc-page-hero .wp-block-post-title {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 700; color: #fff;
	letter-spacing: -0.025em; line-height: 1.08;
	margin: 0;
}
.tc-page-hero-sub {
	font-size: clamp(0.9rem, 1.5vw, 1.02rem);
	color: var(--txw-2); line-height: 1.72;
	max-width: none; margin-top: 1rem;
}

.tc-page-body,
.tc-page-body .wp-block-post-content,
.tc-page-body .is-layout-flow,
.tc-page-body .is-layout-constrained {
	width: 100%; max-width: 100%; padding: 0; margin-inline: 0;
}

/* =====================================================================
   404 PAGE
   ===================================================================== */
.tc-404 {
	display: flex; align-items: center; justify-content: center;
	min-height: calc(100svh - var(--nav-h)); padding: 4rem var(--px);
	text-align: center; background: var(--paper-2);
}
.tc-404-inner { max-width: 500px; }
.tc-404-code {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(6rem, 16vw, 12rem);
	font-weight: 700; color: var(--paper-3);
	letter-spacing: -0.02em; line-height: 1;
	margin-bottom: 0.5rem;
}
.tc-404 h1 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.tc-404 p  { color: var(--tx-3); margin-bottom: 2rem; }

/* =====================================================================
   SCROLL ANIMATIONS
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
	@keyframes tc-fade-up    { from { opacity: 0; transform: translateY(22px) scale(0.985); } to { opacity: 1; transform: none; } }
	@keyframes tc-fade-left  { from { opacity: 0; transform: translateX(-30px) scale(0.985); } to { opacity: 1; transform: none; } }
	@keyframes tc-fade-right { from { opacity: 0; transform: translateX(30px) scale(0.985); } to { opacity: 1; transform: none; } }

	.tc-anim       { animation: tc-fade-up 0.7s cubic-bezier(0.16,1,0.3,1) both; }
	.tc-anim-left  { animation: tc-fade-left 0.7s cubic-bezier(0.16,1,0.3,1) both; }
	.tc-anim-right { animation: tc-fade-right 0.7s cubic-bezier(0.16,1,0.3,1) both; }

	@keyframes tc-lines-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
	.tc-anim .tc-lines span,
	.tc-anim-left .tc-lines span,
	.tc-anim-right .tc-lines span {
		transform-origin: left;
		animation: tc-lines-draw 0.5s cubic-bezier(0.16,1,0.3,1) both;
	}
	.tc-anim .tc-lines span:nth-child(1),
	.tc-anim-left .tc-lines span:nth-child(1),
	.tc-anim-right .tc-lines span:nth-child(1) { animation-delay: 0.4s; }
	.tc-anim .tc-lines span:nth-child(2),
	.tc-anim-left .tc-lines span:nth-child(2),
	.tc-anim-right .tc-lines span:nth-child(2) { animation-delay: 0.5s; }
	.tc-anim .tc-lines span:nth-child(3),
	.tc-anim-left .tc-lines span:nth-child(3),
	.tc-anim-right .tc-lines span:nth-child(3) { animation-delay: 0.6s; }
}

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.tc-form-wrap { padding-block: var(--sec); background: var(--paper); }

.tc-contact-split {
	display: grid; grid-template-columns: 1.5fr 1fr;
	gap: 2rem; align-items: stretch;
	max-width: 1080px; margin-inline: auto;
}

.tc-form-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--sh-1);
}
.tc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tc-form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.tc-form-field label { font-size: 0.76rem; font-weight: 600; color: var(--tx-2); letter-spacing: 0.02em; }
.tc-form-field input,
.tc-form-field textarea {
	width: 100%; padding: 0.8rem 1rem;
	font-family: inherit; font-size: 0.92rem; color: var(--tx);
	background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r-sm);
	transition: border-color 0.2s, background 0.2s;
}
.tc-form-field input:focus, .tc-form-field textarea:focus { outline: none; border-color: var(--signal); background: #fff; }
.tc-form-field textarea { min-height: 140px; resize: vertical; }
.tc-form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tc-form-actions { display: flex; justify-content: flex-end; }
.tc-form-note {
	display: flex; align-items: center; gap: 0.6rem;
	padding: 0.95rem 1.1rem; border-radius: var(--r-sm);
	font-size: 0.88rem; margin-bottom: 1.5rem;
}
.tc-form-note svg { width: 16px; height: 16px; flex-shrink: 0; }
.tc-form-note--ok  { background: rgba(59,76,219,0.08); color: var(--signal-dk); }
.tc-form-note--err { background: rgba(198,58,58,0.08); color: #B23A3A; }

/* Quick-contact side panel */
.tc-contact-side { display: flex; flex-direction: column; gap: 1.25rem; }
.tc-contact-side-card {
	background: var(--ink); border-radius: var(--r);
	padding: 1.75rem;
}
.tc-contact-side-card:last-child { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.tc-contact-side-card h3 {
	font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
	color: var(--txw-3); margin-bottom: 1.1rem;
}
.tc-contact-side-link {
	display: flex; align-items: center; gap: 0.9rem;
	padding: 0.7rem 0; border-bottom: 1px solid var(--line-w2);
	transition: opacity 0.2s;
}
.tc-contact-side-link:last-child { border-bottom: none; padding-bottom: 0; }
.tc-contact-side-link:first-of-type { padding-top: 0; }
.tc-contact-side-link:hover { opacity: 0.8; }
.tc-contact-side-icon {
	flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(59,76,219,0.18); color: var(--signal);
	display: flex; align-items: center; justify-content: center;
}
.tc-contact-side-icon svg { width: 18px; height: 18px; }
.tc-contact-side-link strong { display: block; font-size: 0.92rem; font-weight: 700; color: #fff; }
.tc-contact-side-link span span { font-size: 0.78rem; color: var(--txw-3); }

.tc-contact-side-office {
	display: flex; align-items: flex-start; gap: 0.9rem;
	padding: 0.7rem 0; border-bottom: 1px solid var(--line-w2);
}
.tc-contact-side-office:last-child { border-bottom: none; padding-bottom: 0; }
.tc-contact-side-office:first-of-type { padding-top: 0; }
.tc-contact-side-office-icon { flex-shrink: 0; width: 16px; height: 16px; color: var(--signal); margin-top: 0.15em; }
.tc-contact-side-office-icon svg { width: 16px; height: 16px; }
.tc-contact-side-office strong { display: block; font-size: 0.88rem; font-weight: 700; color: #fff; }
.tc-contact-side-office span span { font-size: 0.78rem; color: var(--txw-3); }

@media (max-width: 900px) { .tc-contact-split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tc-form-row { grid-template-columns: 1fr; } }

/* =====================================================================
   CARD TILT — JS drives --tilt-x/--tilt-y/--tilt-lift on mousemove
   ===================================================================== */
.tc-loc-card {
	--tilt-x: 0deg; --tilt-y: 0deg; --tilt-lift: 0px;
	transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--tilt-lift));
	transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
	will-change: transform;
}
.tc-loc-card:hover { transition: box-shadow 0.3s, border-color 0.2s; }
@media (prefers-reduced-motion: reduce) {
	.tc-loc-card { transform: none !important; }
}
