/* ==============================
    Gaya Tour FAQ Page
============================== */

.tour-faq-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(122, 92, 63, 0.06) 0 120px, transparent 121px),
        radial-gradient(circle at 92% 28%, rgba(166, 143, 76, 0.08) 0 160px, transparent 161px),
        #f6f0e4;
    color: #4b2a1e;
}

.tour-faq-contents {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 100px;
    /* padding: 86px 0 84px; */
}

/* 기존 cont-top 숨김 처리 필요 시 */
.tour-faq-page .cont-top {
    display: none;
}

/* ==============================
    Hero
============================== */

.tour-faq-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 34px;
}

.tour-faq-hero__inner {
    position: relative;
    z-index: 3;
    text-align: center;
}

.tour-faq-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #b76a2c;
}

.tour-faq-hero__title {
    font-weight: 800;
    color: #5b3020;

	margin: 0;
    font-size: clamp(46px, 6vw, 62px);
    line-height: 1;
    color: #5a2f1e;
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.8);
    font-family: 'Aggravo';
}

.tour-faq-hero__sub {
    margin: 16px 0 0;
    font-size: 30px;
    font-weight: 850;
    /* letter-spacing: -0.05em; */
    color: #5b3020;

	margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #b76a2c;
}

.tour-faq-hero__desc {
    display: block;
    margin-top: 22px;
    font-size: 18px;
    font-weight: 600;
    color: #4f3c2f;
}

/* 스탬프 느낌 */
.tour-faq-hero__stamp {}
.tour-faq-hero__stamp img {
	position: absolute;
    right: 42px;
    top: 74px;
    width: 13%;
    opacity: 0.4;
}

/* 발자취 장식 */
.tour-footprints {
	position: absolute;
	left: 1.5%;
	top: 95px;
	width: 360px;
	height: 620px;
	z-index: 0;
	opacity: 0.18;
	pointer-events: none;
	transform: rotate(-10deg);
}

.tour-footprints i {
	position: absolute;
	display: block;
	width: 58px;
	height: 82px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
.tour-footprints i.foot-left {
	background-image: url("/public/assets/img/CompBulkRegGayaTour/right--foot3.png");
}
.tour-footprints i.foot-right {
	background-image: url("/public/assets/img/CompBulkRegGayaTour/left--foot3.png");
}

.tour-footprints i:nth-child(1) {
	left: 155px;
	top: 0;
	transform: rotate(-22deg);
}

.tour-footprints i:nth-child(2) {
	left: 70px;
	top: 82px;
	transform: rotate(-5deg);
}

.tour-footprints i:nth-child(3) {
	left: 170px;
	top: 165px;
	transform: rotate(1deg);
}

.tour-footprints i:nth-child(4) {
	left: 62px;
	top: 252px;
	transform: rotate(-12deg);
}

.tour-footprints i:nth-child(5) {
	left: 185px;
	top: 342px;
	transform: rotate(2deg);
}

.tour-footprints i:nth-child(6) {
	left: 80px;
	top: 432px;
	transform: rotate(-10deg);
}

.tour-footprints i:nth-child(7) {
	left: 200px;
	top: 520px;
	transform: rotate(10deg);
}

/* 오른쪽 언덕 일러스트 CSS 버전 */
.tour-faq-hero__visual img {
	position: absolute;
	width: 44%;
	right: -50px;
    display: block;
}

/* FAQ List */
.tour-faq-section {
    position: relative;
    z-index: 5;
}

.tour-faq-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.tour-faq-list ul {
    counter-reset: faqNum;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.tour-faq-list li {
    counter-increment: faqNum;
    overflow: hidden;
    list-style: none;
    border: 1px solid rgba(110, 77, 53, 0.14);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 12px 28px rgba(78, 50, 27, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tour-faq-list li:hover {
    border-color: rgba(111, 65, 40, 0.28);
    box-shadow: 0 16px 34px rgba(78, 50, 27, 0.12);
    transform: translateY(-1px);
}

.tour-faq-list li .sel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 20px 72px 20px 28px;
    color: #4b2a1e;
    text-decoration: none;
}

.tour-faq-list li .sel::before {
    content: "Q" counter(faqNum);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: #633421;
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -0.02em;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.tour-faq-list li .btxt {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.015em;
    color: #4f2e22;
}

.tour-faq-list li .txt {
    display: none;
    padding: 0 28px 26px 90px;
}

.tour-faq-list li .txt-inner {
    padding: 20px 22px;
    border: 1px solid rgba(110, 77, 53, 0.12);
    border-radius: 12px;
    background: #fbf6ea;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
    color: #60473a;
}

/* 기존 스크립트가 li에 on 또는 active를 붙이는 경우 모두 대응 */
.tour-faq-list li.on,
.tour-faq-list li.active {
    border-color: rgba(99, 52, 33, 0.34);
    background: #fffdf8;
}

.tour-faq-list li.on .txt,
.tour-faq-list li.active .txt {
    display: block;
}

/* +/- 버튼 */
.faq-toggle {
    position: absolute;
    right: 28px;
    top: 50%;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(183, 124, 72, 0.45);
    border-radius: 50%;
    transform: translateY(-50%);
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: #9c653f;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tour-faq-list li.on .faq-toggle::after,
.tour-faq-list li.active .faq-toggle::after {
    opacity: 0;
}

/* 후속지원사업 타이틀 */
.tour-faq-list .sub-title-wrap {
    margin: 28px 0 4px;
    padding: 0;
}

.tour-faq-list .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 16px;
    border-radius: 999px;
    background: #eef5df;
    color: #4e6e35;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.tour-faq-list .sub-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7da060;
}

/* Help CTA */

.tour-faq-help {
    position: relative;
    width: min(1180px, 100%);
    min-height: 180px;
    margin: 60px auto;
    padding: 34px 330px 34px 38px;
    overflow: hidden;
    border: 1px solid rgba(110, 77, 53, 0.16);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(255, 246, 221, 0.88)),
        #fffaf0;
    box-shadow: 0 18px 40px rgba(78, 50, 27, 0.1);
}

.tour-faq-help__text {
    position: relative;
    z-index: 2;
}

.tour-faq-help h3 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 750;
    color: #4f2e22;
}

.tour-faq-help p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
    color: #6b4b3d;
    letter-spacing: -0.035em;
}

.tour-faq-help__btns {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.tour-faq-help__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.tour-faq-help__btn::after {
    content: "›";
    margin-left: 10px;
    font-size: 18px;
    line-height: 1;
}

.tour-faq-help__btn--primary {
    background: #633421;
    color: #fff;
    box-shadow: 0 10px 18px rgba(99, 52, 33, 0.18);
}

.tour-faq-help__btn--line {
    border: 1px solid rgba(99, 52, 33, 0.35);
    background: #fffdf8;
    color: #633421;
}

/* CTA 오른쪽 CSS 일러스트 */
.tour-faq-help__visual {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 300px;
    height: 170px;
    z-index: 1;
}

.tour-faq-help__sun {
    position: absolute;
    right: 112px;
    bottom: 28px;
    width: 154px;
    height: 154px;
    border-radius: 50%;
    background: rgba(226, 213, 156, 0.34);
}

.tour-faq-help__house {
    position: absolute;
    right: 72px;
    bottom: 36px;
    width: 150px;
    height: 58px;
    border-radius: 8px 8px 3px 3px;
    background: #9a7650;
    box-shadow: inset 0 -12px 0 rgba(90, 61, 37, 0.18);
}

.tour-faq-help__house::before {
    content: "";
    position: absolute;
    left: -16px;
    top: -38px;
    width: 182px;
    height: 46px;
    border-radius: 50% 50% 8px 8px;
    background: #5e3a25;
    transform: skewX(-8deg);
}

.tour-faq-help__house::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -18px;
    width: 118px;
    height: 18px;
    border-radius: 50%;
    background: rgba(83, 62, 39, 0.2);
}

.tour-faq-help__pot {
    position: absolute;
    bottom: 32px;
    border-radius: 48% 48% 42% 42%;
    background: #6d4c32;
}

.pot--01 {
    right: 30px;
    width: 46px;
    height: 54px;
}

.pot--02 {
    right: 4px;
    width: 34px;
    height: 42px;
    opacity: 0.9;
}


/* Responsive */
@media (max-width: 1500px) {
	.tour-faq-hero__visual img {
        width: 50%;
        right: initial;
        left: 50%;
        transform: translatex(-50%);
        opacity: 0.55;
	}
	.tour-faq-hero__stamp img {
		right: -18px;
		top: 34px;
		width: 23%;
	}
}
@media (max-width: 1024px) {
    .tour-faq-hero__visual {
        right: -120px;
    }

    .tour-faq-help {
        padding-right: 260px;
    }

    .tour-faq-help__visual {
        right: -26px;
        opacity: 0.75;
    }

	/* 발걸음 */
	.tour-footprints { display: none; }
	.tour-faq-hero__stamp img {
		right: -68px; 
        width: 28%;
	}
	.tour-faq-hero { margin-bottom: 0; }
}

@media (max-width: 768px) {
    .tour-faq-contents {
        width: calc(100% - 28px);
        padding: 0 0 80px;
		margin: 0 auto;
    }

    .tour-faq-hero {
        min-height: 250px;
        margin-bottom: 0;
    }

    .tour-faq-hero__eyebrow {
        font-size: 14px;
    }

    .tour-faq-hero__sub {
        font-size: 16px;
    }

	.tour-faq-hero__title {
		font-size: 44px;
	}

    .tour-faq-hero__desc {
        font-size: 15px;
        line-height: 1.5;
    }

    .tour-faq-hero__visual,
    .tour-faq-hero__stamp {
        opacity: 0.28;
    }

    .tour-faq-list ul {
        gap: 10px;
    }

    .tour-faq-list li .sel {
        min-height: 64px;
        gap: 12px;
        padding: 18px 54px 18px 18px;
    }

    .tour-faq-list li .sel::before {
        min-width: 38px;
        height: 30px;
        font-size: 13px;
    }

    .tour-faq-list li .btxt {
        font-size: 18px;
    }

    .tour-faq-list li .txt {
        padding: 0 18px 20px 68px;
    }

    .tour-faq-list li .txt-inner {
        padding: 10px 15px;
        font-size: 15px;
    }

    .faq-toggle {
        right: 18px;
        width: 26px;
        height: 26px;
    }

    .tour-faq-help {
        padding: 28px 22px 150px;
    }

    .tour-faq-help h3 {
        font-size: 22px;
    }

    .tour-faq-help p {
        font-size: 14px;
    }

    .tour-faq-help__btns {
        flex-direction: column;
        align-items: stretch;
    }

    .tour-faq-help__btn {
        width: 100%;
    }

    .tour-faq-help__visual {
        right: -8px;
        bottom: -20px;
        transform: scale(0.82);
        transform-origin: right bottom;
    }
}

@media (max-width: 578px) {
	.tour-faq-list li .btxt {
		font-size: 17px;
	}
	.tour-faq-list li .txt-inner { line-height: 1.45; }
}