/* TWP Premium Footer — 1.0.0 */
.twp-footer,
.twp-footer * {
	box-sizing: border-box;
}

.twp-footer {
	--twp-bg: #061426;
	--twp-bg-2: #071a2e;
	--twp-line: rgba(148, 163, 184, .22);
	--twp-text: #f5f8fc;
	--twp-muted: #9db0c8;
	--twp-blue: #1769e0;
	--twp-cyan: #16c7e8;
	--twp-green: #10d7b0;
	--twp-orange: #ff9d1f;
	--twp-purple: #c56df2;
	--twp-pink: #f36aa9;
	width: 100%;
	margin: 0 !important;
	padding: 0;
	background: linear-gradient(180deg, var(--twp-bg-2) 0%, var(--twp-bg) 100%);
	color: var(--twp-text);
	font-family: Manrope, Avenir Next, Avenir, "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	position: relative;
	overflow: hidden;
	z-index: 10;
}

.twp-footer::after {
	content: "";
	position: absolute;
	left: -5%;
	right: -5%;
	bottom: -65px;
	height: 115px;
	background:
		radial-gradient(ellipse at 50% 0%, transparent 0 36%, rgba(23,105,224,.28) 37% 38%, transparent 39%),
		radial-gradient(ellipse at 35% 0%, transparent 0 44%, rgba(23,105,224,.18) 45% 46%, transparent 47%);
	pointer-events: none;
	opacity: .8;
}

.twp-footer-shell {
	width: min(94%, 1540px);
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.twp-footer a {
	color: inherit;
	text-decoration: none !important;
	transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.twp-footer-intro {
	min-height: 225px;
	display: grid;
	grid-template-columns: 1.15fr 1.35fr .85fr;
	gap: 50px;
	align-items: center;
	padding: 54px 0 48px;
	border-bottom: 1px solid var(--twp-line);
}

.twp-footer-brand-name {
	display: flex;
	flex-direction: column;
	letter-spacing: .01em;
}

.twp-footer-brand-name span {
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .08em;
}

.twp-footer-brand-name strong {
	font-size: clamp(31px, 3vw, 46px);
	line-height: 1.05;
	font-weight: 850;
	letter-spacing: -.04em;
	margin-top: 6px;
}

.twp-footer-brand-name b {
	color: var(--twp-blue);
	font-weight: 850;
}

.twp-footer-brand-line {
	width: 75px;
	height: 3px;
	background: var(--twp-blue);
	margin: 18px 0 15px;
}

.twp-footer-tagline {
	margin: 0;
	font-size: 17px;
	font-weight: 750;
}

.twp-footer-description p {
	max-width: 590px;
	margin: 0;
	color: #d2deed;
	font-size: 17px;
	line-height: 1.75;
}

.twp-footer-intro-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 13px;
}

.twp-footer-primary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-width: 235px;
	padding: 15px 20px;
	background: #1769e0;
	border: 1px solid #3182f2;
	color: #fff !important;
	font-weight: 800;
	border-radius: 2px;
	box-shadow: 0 10px 28px rgba(23,105,224,.22);
}

.twp-footer-primary-btn:hover {
	background: #2879ee;
	transform: translateY(-1px);
}

.twp-footer-primary-btn span {
	font-size: 20px;
}

.twp-footer-intro-cta p {
	margin: 0;
	color: var(--twp-muted);
	font-size: 13px;
	max-width: 280px;
}

.twp-footer-ecosystem {
	padding: 30px 0 40px;
	border-bottom: 1px solid var(--twp-line);
}

.twp-footer-section-heading {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 22px;
	align-items: center;
	margin-bottom: 28px;
}

.twp-footer-section-heading > div {
	display: flex;
	align-items: center;
	gap: 22px;
}

.twp-footer-section-heading h2 {
	margin: 0;
	font-size: 21px;
	letter-spacing: .02em;
	font-weight: 850;
	white-space: nowrap;
}

.twp-footer-section-heading h2 span,
.twp-footer-contact h2 span,
.twp-social h3 span {
	color: var(--twp-blue);
}

.twp-heading-rule {
	width: 43px;
	height: 1px;
	background: #8aa1bb;
}

.twp-footer-section-heading p {
	margin: 0;
	color: var(--twp-muted);
	font-size: 13px;
}

.twp-footer-section-heading small {
	color: #9caec3;
	font-size: 12px;
	white-space: nowrap;
}

.twp-ecosystem-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0;
}

.twp-eco-card {
	min-width: 0;
	padding: 0 22px;
	border-right: 1px solid var(--twp-line);
	display: flex;
	flex-direction: column;
}

.twp-eco-card:first-child {
	padding-left: 0;
}

.twp-eco-card:last-child {
	border-right: 0;
	padding-right: 0;
}

.twp-eco-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-weight: 400;
	margin-bottom: 10px;
}

.twp-eco-card h3 {
	margin: 0 0 3px;
	font-size: 14px;
	font-weight: 850;
	letter-spacing: .01em;
}

.twp-eco-card p {
	margin: 0 0 15px;
	font-size: 11px;
	color: #9fb0c4;
	min-height: 17px;
}

.twp-eco-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
}

.twp-eco-card li {
	margin: 0;
	padding: 0;
}

.twp-eco-card li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 0;
	color: #e0e8f1;
	font-size: 12px;
	line-height: 1.35;
}

.twp-eco-card li a span {
	color: #91a6bc;
	font-size: 17px;
	flex: 0 0 auto;
}

.twp-eco-card li a:hover {
	color: #fff;
}

.twp-eco-card li a:hover span {
	transform: translateX(2px);
}

.twp-eco-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin-top: 18px;
	padding: 9px 12px;
	border: 1px solid currentColor;
	border-radius: 15px;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.twp-eco-btn:hover {
	background: rgba(255,255,255,.05);
	transform: translateY(-1px);
}

.twp-business .twp-eco-icon,
.twp-business .twp-eco-btn { color: #1f87ff; }
.twp-client .twp-eco-icon,
.twp-client .twp-eco-btn { color: #12d9a8; }
.twp-vendor .twp-eco-icon,
.twp-vendor .twp-eco-btn { color: #ff9d1f; }
.twp-employee .twp-eco-icon,
.twp-employee .twp-eco-btn { color: #c56df2; }
.twp-partner .twp-eco-icon,
.twp-partner .twp-eco-btn { color: #15d4df; }
.twp-careers .twp-eco-icon,
.twp-careers .twp-eco-btn { color: #f36aa9; }

.twp-footer-contact {
	display: grid;
	grid-template-columns: 1.55fr 1fr .8fr;
	gap: 44px;
	padding: 36px 0;
	border-bottom: 1px solid var(--twp-line);
}

.twp-footer-contact h2,
.twp-footer-contact h3 {
	margin: 0;
	font-weight: 850;
}

.twp-contact-block h2 {
	font-size: 20px;
}

.twp-contact-subtitle {
	margin: 2px 0 21px;
	color: var(--twp-muted);
	font-size: 13px;
}

.twp-contact-columns {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 30px;
}

.twp-contact-address,
.twp-contact-details {
	display: flex;
	gap: 15px;
	align-items: flex-start;
}

.twp-contact-address {
	padding-right: 25px;
	border-right: 1px solid var(--twp-line);
}

.twp-contact-symbol,
.twp-contact-details > a span {
	color: #18c9eb;
	font-size: 25px;
	line-height: 1;
	flex: 0 0 auto;
}

.twp-map-link { display: block; color: inherit; text-decoration: none !important; }\n.twp-map-link:hover address { color: #fff; }\n\n.twp-contact-address address {
	font-style: normal;
	color: #d9e2ec;
	font-size: 13px;
	line-height: 1.55;
}

.twp-contact-address address strong {
	color: #fff;
}

.twp-contact-details {
	flex-direction: column;
	gap: 10px;
}

.twp-contact-details a {
	color: #dce7f3;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.twp-contact-details a:hover {
	color: #fff;
}

.twp-contact-details a span {
	font-size: 20px;
}

.twp-contact-note {
	margin-top: 2px;
	color: #73869d;
	font-size: 11px;
}

.twp-quick-links {
	padding-left: 12px;
}

.twp-quick-links h3,
.twp-social h3 {
	font-size: 14px;
	margin-bottom: 17px;
}

.twp-quick-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.twp-quick-grid > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.twp-quick-grid a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: #c3d0de;
	font-size: 12px;
}

.twp-quick-grid a span {
	color: #70869d;
}

.twp-quick-grid a:hover {
	color: #fff;
}

.twp-social p {
	margin: -10px 0 17px;
	color: var(--twp-muted);
	font-size: 11px;
}

.twp-social-row {
	display: flex;
	gap: 8px;
	margin-bottom: 15px;
}

.twp-social-row a {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 5px;
	background: rgba(255,255,255,.02);
	overflow: hidden;
}

.twp-social-row a img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 4px;
}

.twp-social-row a:hover {
	border-color: var(--twp-blue);
	background: rgba(23,105,224,.12);
	transform: translateY(-2px);
}

.twp-whatsapp {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1px solid #10d7b0;
	color: #10d7b0 !important;
	border-radius: 16px;
	padding: 8px 12px;
	font-size: 11px;
	font-weight: 800;
}

.twp-whatsapp img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	border-radius: 50%;
	flex: 0 0 auto;
}

.twp-whatsapp b {
	font-size: 15px;
}

.twp-whatsapp:hover {
	background: rgba(16,215,176,.07);
}

.twp-footer-bottom {
	min-height: 66px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	color: #8294aa;
	font-size: 11px;
}

.twp-footer-bottom p {
	margin: 0;
}

.twp-bottom-right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.twp-bottom-right a:hover {
	color: #fff;
}

.twp-bottom-right span {
	padding-left: 22px;
	border-left: 1px solid var(--twp-line);
	color: #8193a8;
}

/* Tablet */
@media (max-width: 1180px) {
	.twp-footer-shell {
		width: min(94%, 1120px);
	}
	.twp-footer-intro {
		grid-template-columns: 1fr 1fr;
	}
	.twp-footer-intro-cta {
		grid-column: 2;
	}
	.twp-ecosystem-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 26px 0;
	}
	.twp-eco-card {
		border-right: 1px solid var(--twp-line);
	}
	.twp-eco-card:nth-child(3n) {
		border-right: 0;
	}
	.twp-eco-card:nth-child(n+4) {
		padding-top: 26px;
	}
	.twp-footer-contact {
		grid-template-columns: 1.4fr 1fr;
	}
	.twp-social {
		grid-column: 2;
	}
}

/* Mobile — two-column layout */
@media (max-width: 760px) {
	.twp-footer-shell {
		width: calc(100% - 30px);
	}

	.twp-footer-intro {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 22px;
		padding: 36px 0 32px;
		align-items: start;
	}

	.twp-footer-brand {
		grid-column: 1 / -1;
	}

	.twp-footer-brand-name strong {
		font-size: 32px;
	}

	.twp-footer-description {
		grid-column: 1 / -1;
		margin-top: 0;
	}

	.twp-footer-description p {
		font-size: 13px;
		line-height: 1.6;
	}

	.twp-footer-intro-cta {
		grid-column: 1 / -1;
		margin-top: 2px;
	}

	.twp-footer-primary-btn {
		width: 100%;
	}

	.twp-footer-section-heading {
		display: block;
		margin-bottom: 22px;
	}

	.twp-footer-section-heading > div {
		display: flex;
		gap: 14px;
	}

	.twp-footer-section-heading p {
		margin-top: 10px;
	}

	.twp-footer-section-heading small {
		display: block;
		margin-top: 6px;
		white-space: normal;
	}

	/* Ecosystem cards stay in two columns on mobile */
	.twp-ecosystem-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
	}

	.twp-eco-card,
	.twp-eco-card:first-child,
	.twp-eco-card:last-child {
		padding: 22px 14px;
		border-right: 1px solid var(--twp-line);
		border-bottom: 1px solid var(--twp-line);
	}

	.twp-eco-card:nth-child(2n) {
		border-right: 0;
	}

	.twp-eco-card:nth-child(1),
	.twp-eco-card:nth-child(2) {
		padding-top: 0;
	}

	.twp-eco-card:nth-last-child(-n+2) {
		border-bottom: 0;
	}

	.twp-eco-icon {
		width: 34px;
		height: 34px;
		font-size: 25px;
	}

	.twp-eco-card h3 {
		font-size: 12px;
	}

	.twp-eco-card p {
		font-size: 10px;
		min-height: 31px;
		margin-bottom: 10px;
	}

	.twp-eco-card ul {
		display: block;
	}

	.twp-eco-card li a {
		font-size: 10px;
		padding: 4px 0;
	}

	.twp-eco-btn {
		max-width: none;
		font-size: 9px;
		padding: 8px 9px;
		margin-top: 13px;
		border-radius: 13px;
	}

	/* Contact area becomes two columns */
	.twp-footer-contact {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 26px 18px;
		padding: 30px 0;
	}

	.twp-contact-block {
		grid-column: 1 / -1;
	}

	.twp-contact-columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}

	.twp-contact-address {
		padding-right: 15px;
		padding-bottom: 0;
		border-right: 1px solid var(--twp-line);
		border-bottom: 0;
	}

	.twp-contact-details {
		padding-top: 0;
		gap: 9px;
	}

	.twp-contact-details a {
		font-size: 11px;
	}

	.twp-contact-address address {
		font-size: 11px;
	}

	.twp-quick-links {
		padding: 0;
		grid-column: 1;
	}

	.twp-social {
		padding: 0;
		grid-column: 2;
	}

	.twp-quick-grid {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.twp-quick-grid a {
		font-size: 10px;
	}

	.twp-social-row {
		flex-wrap: wrap;
	}

	.twp-social-row a {
		width: 28px;
		height: 28px;
	}

	.twp-whatsapp {
		font-size: 9px;
		padding: 7px 9px;
	}

	/* Bottom area remains two-column where practical */
	.twp-footer-bottom {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
		padding: 18px 0 22px;
		align-items: start;
	}

	.twp-bottom-right {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: 8px 12px;
		margin-top: 0;
	}

	.twp-bottom-right span {
		width: 100%;
		border-left: 0;
		padding-left: 0;
		padding-top: 7px;
		border-top: 1px solid var(--twp-line);
		text-align: right;
	}

	.twp-footer-bottom p {
		font-size: 9px;
	}
}

@media (max-width: 430px) {
	/* Keep the requested two-column mobile layout even on small phones. */
	.twp-footer-shell {
		width: calc(100% - 24px);
	}

	.twp-footer-brand-name strong {
		font-size: 28px;
	}

	.twp-footer-section-heading h2 {
		font-size: 18px;
	}

	.twp-eco-card,
	.twp-eco-card:first-child,
	.twp-eco-card:last-child {
		padding-left: 10px;
		padding-right: 10px;
	}

	.twp-eco-card h3 {
		font-size: 11px;
	}

	.twp-eco-card li a {
		font-size: 9px;
	}

	.twp-eco-btn {
		font-size: 8px;
	}
}

/* v1.0.3: phone contact icon */
.twp-phone-icon {
	position: relative;
	width: 15px;
	height: 20px;
	display: inline-block;
	flex: 0 0 15px;
	font-size: 0 !important;
	line-height: 0;
	border: 2px solid #18c9eb;
	border-radius: 3px;
	background: transparent;
}

.twp-phone-icon::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 2px;
	width: 5px;
	height: 1px;
	background: #18c9eb;
	border-radius: 2px;
}

.twp-phone-icon::after {
	content: "";
	position: absolute;
	left: 5px;
	bottom: 2px;
	width: 3px;
	height: 3px;
	background: #18c9eb;
	border-radius: 50%;
}

/* v1.0.7: Quick Link utility pages */
.twp-utility-page {
	max-width: 980px;
	margin: 0 auto;
	padding: 20px 0 40px;
	font-size: 16px;
	line-height: 1.75;
}

.twp-utility-page .twp-utility-lead {
	font-size: 20px;
	line-height: 1.65;
	margin: 0 0 30px;
}

.twp-utility-page h2 {
	margin: 34px 0 12px;
	font-size: 25px;
	line-height: 1.25;
}

.twp-utility-page p,
.twp-utility-page ul {
	margin-bottom: 18px;
}

.twp-utility-page ul {
	padding-left: 24px;
}

.twp-utility-page a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.twp-utility-page .twp-contact-card {
	padding: 24px 26px;
	margin: 26px 0 32px;
	border: 1px solid rgba(18, 59, 93, 0.18);
	border-radius: 14px;
	background: #f5f8fa;
}

.twp-utility-page .twp-contact-card h2 {
	margin-top: 0;
}

.twp-utility-page .twp-utility-note {
	padding: 16px 18px;
	margin-top: 28px;
	border-left: 3px solid #138808;
	background: #f5f8fa;
	font-size: 14px;
}

@media (max-width: 700px) {
	.twp-utility-page {
		padding: 10px 0 30px;
		font-size: 15px;
	}

	.twp-utility-page .twp-utility-lead {
		font-size: 18px;
	}

	.twp-utility-page h2 {
		font-size: 21px;
	}
}
