/* Gamarjoba FAQ Widget — visual language matched to gamarjobageorgiatours.com */

.gg-faq {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ---------- Card ---------- */
.gg-faq__item {
	position: relative;
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 24px;
	overflow: hidden;
	transition:
		border-color 0.35s ease,
		box-shadow 0.35s ease,
		transform 0.35s ease;
}

.gg-faq__item:hover {
	border-color: #e4e4e4;
	box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.gg-faq__item.is-open {
	border-color: rgba(242, 101, 34, 0.35);
	box-shadow: 0 16px 40px rgba(242, 101, 34, 0.10);
}

/* Thin orange progress line on the left when open */
.gg-faq__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	bottom: 18px;
	width: 3px;
	border-radius: 3px;
	background: #f26522;
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gg-faq__item.is-open::before {
	transform: scaleY(1);
}

.gg-faq__heading {
	margin: 0;
	font-size: inherit;
}

/* ---------- Question row ---------- */
.gg-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 26px 30px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	-webkit-tap-highlight-color: transparent;
}

.gg-faq__question:focus-visible {
	outline: 2px solid #f26522;
	outline-offset: -2px;
	border-radius: 24px;
}

.gg-faq__question-text {
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: #141414;
	transition: color 0.3s ease;
}

.gg-faq__item.is-open .gg-faq__question-text {
	color: #f26522;
}

/* ---------- Icon: circle chip, like the site's arrow button ---------- */
.gg-faq__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #f5f5f4;
	color: #141414;
	transition:
		background-color 0.35s ease,
		color 0.35s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gg-faq__icon svg {
	width: 18px;
	height: 18px;
}

.gg-faq__item:hover .gg-faq__icon {
	background: #ededec;
}

.gg-faq__item.is-open .gg-faq__icon {
	background: #f26522;
	color: #ffffff;
	transform: rotate(225deg);
}

.gg-faq__icon-v {
	transform-origin: center;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Answer ---------- */
.gg-faq__answer {
	overflow: hidden;
}

.gg-faq__answer-inner {
	padding: 2px 86px 28px 30px;
	color: #555555;
	font-size: 1rem;
	line-height: 1.75;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.45s ease 0.1s, transform 0.45s ease 0.1s;
}

.gg-faq__item.is-open .gg-faq__answer-inner {
	opacity: 1;
	transform: translateY(0);
}

.gg-faq__answer-inner p:first-child { margin-top: 0; }
.gg-faq__answer-inner p:last-child { margin-bottom: 0; }

.gg-faq__answer-inner a {
	color: #f26522;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	.gg-faq__item,
	.gg-faq__item::before,
	.gg-faq__icon,
	.gg-faq__icon-v,
	.gg-faq__question-text,
	.gg-faq__answer-inner {
		transition: none !important;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.gg-faq { gap: 12px; }

	.gg-faq__item { border-radius: 18px; }

	.gg-faq__question {
		padding: 18px 20px;
		gap: 14px;
	}

	.gg-faq__question-text { font-size: 1rem; }

	.gg-faq__icon {
		width: 36px;
		height: 36px;
	}

	.gg-faq__icon svg {
		width: 15px;
		height: 15px;
	}

	.gg-faq__answer-inner {
		padding: 0 20px 20px;
	}
}
