/**
 * GATLS Legal Services - Child Theme Styles
 */

/* Homepage hero — brighten left only, keep sky tone */
.gatls-hero:before,
.gatls-hero.stk--has-background-overlay::before {
	display: block !important;
	content: "" !important;
	opacity: 1 !important;
	background: none !important;
	background-image: linear-gradient(
		to right,
		rgba(255, 255, 255, 0.22) 0%,
		rgba(255, 255, 255, 0.12) 38%,
		rgba(255, 255, 255, 0.04) 58%,
		transparent 72%
	),
	linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.06) 0%,
		rgba(0, 0, 0, 0.1) 55%,
		rgba(0, 0, 0, 0.24) 100%
	) !important;
}

/* Bottom feature row only: subtle bottom gradient for readability */
.gatls-hero::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	inset: auto 0 0 0 !important;
	height: 45% !important;
	pointer-events: none !important;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%) !important;
	z-index: 0 !important;
}

.gatls-hero {
	position: relative !important;
}

.gatls-hero > .stk-row,
.gatls-hero > .stk-inner-blocks {
	position: relative !important;
	z-index: 1 !important;
}

.gatls-hero .stk-block-text__text,
.gatls-hero .stk-block-count-up__text {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
	color: #ffffff !important;
}

/* Main hero headline + subheadline — pure white, no mask/shadow */
.gatls-hero__headline .stk-block-heading__text,
.gatls-hero__subheadline .stk-block-text__text {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-shadow: none !important;
	opacity: 1 !important;
	mix-blend-mode: normal !important;
	filter: none !important;
}

.gatls-hero__headline .stk-block-heading__text::before,
.gatls-hero__headline .stk-block-heading__text::after {
	display: none !important;
}

/* Hero bottom feature labels — dark backdrop + white text */
.gatls-hero__stat .stk-block-heading__text {
	display: inline-block !important;
	max-width: 100% !important;
	padding: 0.65rem 1rem !important;
	margin: 0 !important;
	background: rgba(47, 42, 35, 0.88) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border-radius: 8px !important;
	line-height: 1.55 !important;
	font-weight: 600 !important;
	text-shadow: none !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Hero service labels — clickable links to service pages */
.gatls-hero .gatls-hero-service-link {
	color: inherit !important;
	-webkit-text-fill-color: inherit !important;
	text-decoration: none !important;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.gatls-hero .gatls-hero-service-link:hover,
.gatls-hero .gatls-hero-service-link:focus {
	color: #f0d9b8 !important;
	-webkit-text-fill-color: #f0d9b8 !important;
	text-decoration: underline !important;
}

@media (max-width: 689.98px) {
	.gatls-hero__stat .stk-block-heading__text {
		padding: 0.55rem 0.85rem !important;
		font-size: 15px !important;
	}
}

/* Homepage stats band (5859+ / 100% / 1000+ / 數億元) */
.gatls-stats-band,
.gatls-stats-band:before {
	background-color: #5c544d !important;
}

.gatls-stats-band {
	border-radius: 8px !important;
	overflow: hidden !important;
}

.gatls-stats-band .stk-block-count-up__text,
.gatls-stats-band .stk-block-text__text {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Lawyer team — keep 4 members in one row on desktop/tablet */
@media (min-width: 768px) {
	.gatls-lawyer-team .stk-ba81f5c-column.stk-row {
		flex-wrap: nowrap !important;
	}

	.gatls-lawyer-team .stk-ba81f5c-column > .stk-block-column {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		max-width: 25% !important;
		width: 25% !important;
	}

	.gatls-lawyer-team .stk-ba81f5c-column {
		--stk-column-gap: 20px !important;
	}

	.gatls-lawyer-card .stk-img-wrapper {
		height: 420px !important;
	}

	.gatls-lawyer-team .stk-block-heading__text {
		font-size: 1rem !important;
	}

	.gatls-lawyer-team .stk-block-text__text {
		font-size: 0.9rem !important;
	}
}

/* Homepage lawyer cards — link to resume pages */
.gatls-lawyer-team .gatls-lawyer-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.gatls-lawyer-team .gatls-lawyer-card-link:hover .stk-block-heading__text,
.gatls-lawyer-team .gatls-lawyer-card-link:focus .stk-block-heading__text {
	color: var(--theme-palette-color-1, #a0876e) !important;
}

.gatls-lawyer-team .gatls-lawyer-card-link:hover .stk-img-wrapper img,
.gatls-lawyer-team .gatls-lawyer-card-link:focus .stk-img-wrapper img {
	transform: scale(1.02);
	transition: transform 0.25s ease;
}

/* Lawyer resume pages */
.gatls-lawyer-page .entry-content {
	padding-top: 2.5rem;
}

.gatls-lawyer-profile {
	max-width: 920px;
	margin: 0 auto;
}

.gatls-lawyer-profile__header {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 2rem;
	align-items: start;
	margin-bottom: 2rem;
}

.gatls-lawyer-profile__photo {
	margin: 0;
}

.gatls-lawyer-profile__photo img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.gatls-lawyer-profile__summary h1 {
	margin: 0 0 0.35rem;
}

.gatls-lawyer-profile__title {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--theme-palette-color-1, #a0876e);
}

.gatls-lawyer-profile__intro {
	margin: 0 0 1.25rem;
	line-height: 1.75;
	color: #3f4245;
}

.gatls-lawyer-profile__contact {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1rem;
	background: #fff;
	border: 1px solid rgba(160, 135, 110, 0.3);
	border-radius: 8px;
}

.gatls-lawyer-profile__contact p {
	margin: 0 0 0.45rem;
	line-height: 1.6;
	color: #3f4245;
}

.gatls-lawyer-profile__contact p:last-child {
	margin-bottom: 0;
}

.gatls-lawyer-profile__contact a {
	color: var(--theme-palette-color-1, #a0876e);
	font-weight: 600;
	text-decoration: none;
}

.gatls-lawyer-profile__contact a:hover {
	text-decoration: underline;
}

.gatls-lawyer-profile__cta {
	display: inline-block;
	padding: 0.7rem 1.5rem;
	border-radius: 8px;
	background: var(--theme-palette-color-1, #a0876e);
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
}

.gatls-lawyer-profile__cta:hover {
	opacity: 0.92;
}

.gatls-lawyer-profile__section {
	margin-bottom: 1.75rem;
	padding: 1.25rem 1.5rem;
	background: #f7f5f4;
	border-left: 4px solid var(--theme-palette-color-1, #a0876e);
	border-radius: 0 10px 10px 0;
}

.gatls-lawyer-profile__section h2 {
	margin: 0 0 0.85rem;
	font-size: 1.2rem;
}

.gatls-lawyer-profile__section ul {
	margin: 0;
	padding-left: 1.25rem;
}

.gatls-lawyer-profile__section li {
	margin-bottom: 0.45rem;
	line-height: 1.65;
}

@media (max-width: 767px) {
	.gatls-lawyer-profile__header {
		grid-template-columns: 1fr;
	}
}

/* Homepage contact form */
.gatls-consultation-band {
	margin-top: 0 !important;
}

.gatls-consultation-form .wpcf7 {
	max-width: 100%;
}

.gatls-consultation-form .wpcf7-form p {
	margin-bottom: 1rem;
}

.gatls-consultation-form .wpcf7-form label {
	display: block;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--theme-palette-color-2, #5c544d);
}

.gatls-consultation-form .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.9rem;
	border: 1px solid #e4e0db;
	border-radius: 8px;
	background: #f7f5f4;
}

.gatls-consultation-form textarea.wpcf7-form-control {
	min-height: 120px;
	resize: vertical;
}

.gatls-consultation-form .wpcf7-submit {
	min-width: 120px;
	padding: 0.7rem 1.6rem;
	border: 0;
	border-radius: 8px;
	background: var(--theme-palette-color-1, #a0876e);
	color: #fff;
	cursor: pointer;
}

@media (min-width: 768px) {
	.gatls-consultation-form .wpcf7-form-control:not(.wpcf7-submit),
	.gatls-consultation-form textarea.wpcf7-form-control {
		max-width: 420px;
	}
}

/* Consultation page contact details */
.page-consultation .entry-content .gatls-contact-details {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.gatls-contact-details {
	margin-top: 1.5rem;
	padding: 1.5rem 1.75rem;
	background: #f7f5f4;
	border: 1px solid rgba(160, 135, 110, 0.35);
	border-left: 4px solid var(--theme-palette-color-1, #a0876e);
	border-radius: 0 12px 12px 0;
}

.gatls-contact-details p {
	margin: 0 0 1.1rem;
	line-height: 1.7;
	color: #3f4245;
}

.gatls-office-address {
	font-size: 1.02rem;
}

.gatls-contact-phone {
	margin-bottom: 1.35rem !important;
}

.gatls-contact-visual-row {
	display: flex;
	align-items: stretch;
	gap: 1.25rem;
	margin-top: 0.25rem;
}

.gatls-contact-visual-row__transit,
.gatls-contact-visual-row__wechat {
	flex: 1 1 0;
	min-width: 0;
}

.gatls-contact-visual-row__transit {
	display: flex;
}

.gatls-contact-visual-row__wechat {
	padding-left: 1.25rem;
	border-left: 1px solid rgba(160, 135, 110, 0.28);
}

.gatls-transit-route {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin: 0;
	padding: 1.1rem 0.75rem;
	background: #fff;
	border-radius: 10px;
	border: 1px solid rgba(31, 159, 176, 0.18);
	width: 100%;
	align-self: center;
}

.gatls-transit-route__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	min-width: 96px;
	text-align: center;
}

.gatls-transit-route__svg {
	width: 52px;
	height: 52px;
}

.gatls-transit-route__label {
	font-size: 0.92rem;
	font-weight: 600;
	color: #2f7f8d;
	line-height: 1.35;
}

.gatls-transit-route__connector {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	min-width: 120px;
}

.gatls-transit-route__time {
	font-size: 0.88rem;
	font-weight: 600;
	color: #1f9fb0;
	white-space: nowrap;
}

.gatls-transit-route__arrow {
	display: block;
	width: 88px;
	height: 3px;
	background: linear-gradient(90deg, #1f9fb0 0%, #5ec4d2 100%);
	position: relative;
	border-radius: 999px;
}

.gatls-transit-route__arrow::after {
	content: "";
	position: absolute;
	right: -2px;
	top: 50%;
	transform: translateY(-50%);
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid #5ec4d2;
}

.gatls-contact-divider {
	margin: 0 0 1.35rem;
	border: 0;
	border-top: 1px solid rgba(160, 135, 110, 0.28);
}

.gatls-wechat-card {
	padding: 0;
	text-align: center;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.gatls-wechat-card__headline {
	margin: 0 0 1rem !important;
	font-size: 1.05rem;
	font-weight: 700;
	color: #2a2d30;
}

.gatls-wechat-card__profile {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	text-align: left;
}

.gatls-wechat-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
}

.gatls-wechat-card__identity {
	min-width: 0;
}

.gatls-wechat-card__name {
	margin: 0 0 0.2rem !important;
	font-size: 1rem;
	font-weight: 700;
	color: #2a2d30;
}

.gatls-wechat-card__location {
	margin: 0 !important;
	font-size: 0.88rem;
	color: #7a7f85;
}

.gatls-wechat-card__hint {
	margin: 0.75rem 0 0.35rem !important;
	font-size: 0.9rem;
	color: #6b6f74;
}

.gatls-wechat-card__id {
	margin: 0 !important;
	font-size: 0.88rem;
	color: #7a7f85;
}

.gatls-contact-details p:last-of-type {
	margin-bottom: 1.25rem;
}

.gatls-contact-details a {
	color: var(--theme-palette-color-1, #a0876e);
	font-weight: 600;
	text-decoration: none;
}

.gatls-contact-details a:hover {
	text-decoration: underline;
}

.gatls-wechat-qr {
	margin: 0;
	text-align: center;
}

.gatls-wechat-qr img {
	display: inline-block;
	width: 220px;
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	background: #fff;
}

.gatls-wechat-qr figcaption {
	margin-top: 0.65rem;
	font-size: 0.92rem;
	color: #6b6f74;
}

@media (max-width: 768px) {
	.gatls-contact-visual-row {
		flex-direction: column;
		gap: 1rem;
	}

	.gatls-contact-visual-row__wechat {
		padding-left: 0;
		border-left: 0;
		padding-top: 1rem;
		border-top: 1px solid rgba(160, 135, 110, 0.28);
	}
}

@media (max-width: 520px) {
	.gatls-transit-route {
		flex-direction: column;
		padding: 1rem 0.5rem;
	}

	.gatls-transit-route__connector {
		transform: rotate(90deg);
		margin: 0.25rem 0;
	}

	.gatls-transit-route__time {
		transform: rotate(-90deg);
	}
}

/* Header legal services dropdown — more prominent */
@media (min-width: 1000px) {
	#header-menu-1 .menu-item-has-children .sub-menu {
		--dropdown-top-offset: 10px;
		min-width: 240px !important;
		padding: calc(0.65rem + 4px) 0 0.65rem !important;
		margin-top: var(--dropdown-top-offset) !important;
		background:
			linear-gradient(
				90deg,
				var(--theme-palette-color-1, #a0876e) 0%,
				#d4b896 50%,
				var(--theme-palette-color-1, #a0876e) 100%
			)
			top center / 100% 4px no-repeat,
			linear-gradient(180deg, #3a342e 0%, #221f1b 100%) !important;
		border: 2px solid var(--theme-palette-color-1, #a0876e) !important;
		border-radius: 12px !important;
		box-shadow:
			0 20px 45px rgba(0, 0, 0, 0.32),
			0 0 0 1px rgba(160, 135, 110, 0.2) !important;
		overflow: visible !important;
	}

	/* Invisible bridge — prevents submenu closing in the margin gap */
	#header-menu-1 .menu-item-has-children .sub-menu::before {
		position: absolute !important;
		content: "" !important;
		display: block !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: var(--dropdown-top-offset, 10px) !important;
		transform: translateY(-100%) !important;
		background: transparent !important;
		pointer-events: auto !important;
	}

	#header-menu-1 .menu-item-has-children:hover > .sub-menu,
	#header-menu-1 .menu-item-has-children.ct-active > .sub-menu,
	#header-menu-1 .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transform: translate3d(0, 0, 0) !important;
	}

	#header-menu-1 .sub-menu .ct-menu-link {
		padding: 0.9rem 1.35rem !important;
		font-size: 1rem !important;
		font-weight: 600 !important;
		color: #ffffff !important;
		letter-spacing: 0.02em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
		transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
	}

	#header-menu-1 .sub-menu li:last-child .ct-menu-link {
		border-bottom: 0 !important;
	}

	#header-menu-1 .sub-menu .ct-menu-link:hover,
	#header-menu-1 .sub-menu .current-menu-item > .ct-menu-link {
		background: var(--theme-palette-color-1, #a0876e) !important;
		color: #ffffff !important;
		padding-left: 1.65rem !important;
	}

	#header-menu-1 .menu-item-has-children:hover > .ct-menu-link,
	#header-menu-1 .menu-item-has-children:focus-within > .ct-menu-link {
		color: var(--theme-palette-color-1, #a0876e) !important;
	}

	#header-menu-1 .menu-item-has-children .ct-toggle-dropdown-desktop .ct-icon {
		fill: var(--theme-palette-color-1, #a0876e);
	}
}

/* Entity definition block for GEO */
.gatls-entity-definition {
	background: #f7f5f4;
	border-left: 4px solid #a0876e;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border-radius: 0 8px 8px 0;
}

.gatls-entity-definition p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3f4245;
}

/* Latest posts category filter */
.gatls-latest-posts {
	margin-top: 0.5rem;
}

.gatls-posts-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0 0 1.5rem;
}

.gatls-posts-filter__item {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	border: 1px solid rgba(160, 135, 110, 0.45);
	background: #fff;
	color: #3f4245;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gatls-posts-filter__item:hover,
.gatls-posts-filter__item.is-active {
	background: var(--theme-palette-color-1, #a0876e);
	border-color: var(--theme-palette-color-1, #a0876e);
	color: #fff;
}

.gatls-latest-posts--archive {
	margin-bottom: 1.5rem;
}

.gatls-latest-posts .ct-posts-shortcode {
	margin-top: 0;
}

.gatls-article .gatls-entity-definition {
	background: #f7f5f4;
	border-left: 4px solid var(--theme-palette-color-1, #a0876e);
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
	border-radius: 0 8px 8px 0;
}

.gatls-article h2 {
	margin-top: 1.75rem;
}

.gatls-article h3 {
	margin-top: 1.25rem;
	font-size: 1.1rem;
}

.gatls-article__case {
	margin-bottom: 1rem;
	padding: 1rem 1.15rem;
	background: #faf9f8;
	border-radius: 8px;
	border: 1px solid rgba(160, 135, 110, 0.2);
}

.gatls-article__case p:last-child {
	margin-bottom: 0;
}

/* Single post layout — horizontal breathing room */
body.single-post .site-main > :is(.ct-container, .ct-container-full)[data-sidebar] {
	box-sizing: border-box;
	width: var(--theme-container-width);
	max-width: var(--theme-normal-container-max-width, 1290px);
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 2.5rem);
}

body.single-post .hero-section > [class*="ct-container"] {
	box-sizing: border-box;
	padding-inline: clamp(1rem, 3vw, 2.5rem);
}

body.single-post .ct-comments-container > :is(.ct-container, .ct-container-narrow) {
	box-sizing: border-box;
	padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* Single post sidebar */
.gatls-post-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.gatls-post-sidebar__panel {
	background: #fff;
	border: 1px solid rgba(160, 135, 110, 0.22);
	border-radius: 10px;
	padding: 1.1rem 1.15rem;
}

.gatls-post-sidebar__title {
	margin: 0 0 0.85rem;
	font-size: 1rem;
	font-weight: 700;
	color: #2f2a23;
	line-height: 1.35;
}

.gatls-post-sidebar__service {
	margin: -0.25rem 0 0.75rem;
	font-size: 0.88rem;
}

.gatls-post-sidebar__service a {
	color: var(--theme-palette-color-1, #a0876e);
	font-weight: 600;
	text-decoration: none;
}

.gatls-post-sidebar__service a:hover {
	text-decoration: underline;
}

.gatls-post-sidebar__cats,
.gatls-post-sidebar__toc,
.gatls-post-sidebar__related,
.gatls-post-sidebar__services {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gatls-post-sidebar__service-item {
	margin-bottom: 0.4rem;
}

.gatls-post-sidebar__service-item a {
	display: block;
	color: #3f4245;
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.45;
}

.gatls-post-sidebar__service-item a:hover {
	color: var(--theme-palette-color-1, #a0876e);
}

.gatls-post-sidebar__cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.gatls-post-sidebar__cat a {
	flex: 1;
	color: #3f4245;
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.45;
}

.gatls-post-sidebar__cat a:hover,
.gatls-post-sidebar__toc-item a:hover,
.gatls-post-sidebar__related-item a:hover {
	color: var(--theme-palette-color-1, #a0876e);
}

.gatls-post-sidebar__cat.is-active a {
	color: var(--theme-palette-color-1, #a0876e);
	font-weight: 700;
}

.gatls-post-sidebar__count {
	flex-shrink: 0;
	min-width: 1.5rem;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 600;
	color: #979591;
	background: #f4f4f5;
	border-radius: 999px;
	padding: 0.1rem 0.45rem;
}

.gatls-post-sidebar__toc {
	max-height: 320px;
	overflow-y: auto;
	padding-right: 0.15rem;
}

.gatls-post-sidebar__toc-item {
	margin-bottom: 0.45rem;
	line-height: 1.45;
}

.gatls-post-sidebar__toc-item a {
	display: block;
	color: #3f4245;
	text-decoration: none;
	font-size: 0.88rem;
}

.gatls-post-sidebar__toc-item.is-current a {
	color: var(--theme-palette-color-1, #a0876e);
	font-weight: 700;
}

.gatls-post-sidebar__related-item {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #f0efed;
}

.gatls-post-sidebar__related-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.gatls-post-sidebar__related-item a {
	display: block;
	color: #3f4245;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.45;
	margin-bottom: 0.2rem;
}

.gatls-post-sidebar__date {
	display: block;
	font-size: 0.78rem;
	color: #979591;
}

.gatls-post-sidebar-mobile {
	display: none;
	margin-top: 2rem;
}

@media (max-width: 999.98px) {
	.gatls-post-sidebar-mobile {
		display: block;
	}
}

/* Trust bar */
.gatls-trust-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	padding: 1.5rem;
	background: #2f2a23;
	color: #fff;
	border-radius: 10px;
	margin-bottom: 2rem;
}

.gatls-trust-bar__item {
	text-align: center;
}

.gatls-trust-bar__number {
	display: block;
	font-size: 1.75rem;
	font-weight: 700;
	color: #a0876e;
	line-height: 1.2;
}

.gatls-trust-bar__label {
	display: block;
	font-size: 0.8rem;
	color: #adaba6;
	margin-top: 0.25rem;
}

/* Service CTA */
.gatls-service-cta {
	background: linear-gradient(135deg, #2f2a23 0%, #5c544d 100%);
	color: #fff;
	padding: 2.5rem 2rem;
	border-radius: 12px;
	text-align: center;
	margin: 2.5rem 0 1.5rem;
}

.gatls-service-cta h2 {
	color: #fff;
	margin-top: 0;
}

.gatls-service-cta p {
	color: #eaeaec;
	margin-bottom: 1.5rem;
}

.gatls-btn {
	display: inline-block;
	padding: 0.85rem 2rem;
	border-radius: 100px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.gatls-btn--primary {
	background: #a0876e;
	color: #fff;
}

.gatls-btn--primary:hover {
	background: #8a7359;
	color: #fff;
	transform: translateY(-1px);
}

/* Why us section */
.gatls-why-us {
	background: #f4f4f5;
	padding: 2rem;
	border-radius: 10px;
	margin-bottom: 2rem;
}

.gatls-why-us h2 {
	margin-top: 0;
}

.gatls-why-us ul {
	margin: 0;
	padding-left: 1.25rem;
}

.gatls-why-us li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

/* FAQ accordion */
.gatls-faq {
	margin: 2rem 0;
}

.gatls-faq__item {
	border: 1px solid #eaeaec;
	border-radius: 8px;
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.gatls-faq__question {
	padding: 1rem 1.25rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	background: #fff;
}

.gatls-faq__question::-webkit-details-marker {
	display: none;
}

.gatls-faq__item[open] .gatls-faq__question {
	background: #f7f5f4;
	color: #a0876e;
}

.gatls-faq__answer {
	padding: 0 1.25rem 1rem;
}

.gatls-faq__answer p {
	margin: 0;
	line-height: 1.65;
	color: #3f4245;
}

/* Mobile floating CTA */
.gatls-mobile-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
	padding: 0.5rem 0;
	padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

.gatls-mobile-cta__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	text-decoration: none;
	color: #3f4245;
	font-size: 0.75rem;
	border: none;
	background: none;
	cursor: pointer;
	font-family: inherit;
}

.gatls-mobile-cta__icon {
	font-size: 1.25rem;
	margin-bottom: 0.15rem;
}

.gatls-mobile-cta__consult {
	color: #a0876e;
	font-weight: 600;
}

/* WeChat modal */
.gatls-wechat-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gatls-wechat-modal[hidden] {
	display: none;
}

.gatls-wechat-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.gatls-wechat-modal__content {
	position: relative;
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	max-width: 320px;
	width: 90%;
	text-align: center;
}

.gatls-wechat-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #979591;
}

.gatls-wechat-id strong {
	color: #a0876e;
	font-size: 1.1rem;
}

.gatls-wechat-hint {
	font-size: 0.85rem;
	color: #979591;
}

/* Form placeholder */
.gatls-form-placeholder {
	padding: 2rem;
	background: #f7f5f4;
	border-radius: 8px;
	text-align: center;
	color: #979591;
}

/* Footer contact info injected via setup */
.gatls-footer-contact {
	text-align: center;
	padding: 1rem 0;
	font-size: 0.9rem;
	color: #979591;
}

.gatls-footer-contact a {
	color: #adaba6;
}

@media (max-width: 999.98px) {
	.gatls-mobile-cta {
		display: flex;
	}

	body {
		padding-bottom: 70px;
	}

	.gatls-trust-bar {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 689.98px) {
	.gatls-trust-bar {
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
		padding: 1rem;
	}

	.gatls-trust-bar__number {
		font-size: 1.4rem;
	}
}
