/* ================================================
   Brand / 회사소개 페이지
   ================================================ */

.ab-page {
	padding-top: 0;
}
.ab-container {
	max-width: 1550px;
	margin: 0 auto;
	padding: 0 40px;
	height: 100%;
	position: relative;
}

.ab-intro::before {
	content: '';
	position: absolute;
	top: 0;
	/* left: 0; */
	right: 0;
	bottom: 0;
	background: url('../../img/sub/brand_deco.png') center / cover no-repeat;
	/* opacity: 0.1; */
	pointer-events: none;
	user-select: none;
	z-index: 0;
	width: 304px;
	height: 395px;
}
/* ── 1. 인트로 ── */
.ab-intro {
	padding-top: 120px;
	padding-bottom: 100px;
	overflow: hidden;
	position: relative;
}
.ab-intro-inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 60px;
	position: relative;
}

.ab-intro-deco {
	position: absolute;
	right: -40px;
	top: -80px;
	width: 420px;
	height: auto;
	pointer-events: none;
	z-index: 0;
}
.ab-intro-text {
	position: relative;
	z-index: 1;
	flex: 1;
}
.ab-headline-black {
	color: #121212;
	font-family: 'Poppins', sans-serif;
	font-size: 70px;
	font-weight: 600;
	line-height: 90px;
	letter-spacing: -2.8px;
	margin: 0;
}
.ab-headline-red {
	color: var(--MainColor, #d60057);
	font-family: 'Poppins', sans-serif;
	font-size: 70px;
	font-weight: 600;
	line-height: 90px;
	letter-spacing: -2.8px;
	margin: 0 0 48px;
}
.ab-body-group {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.ab-body-group p {
	margin: 0;
	color: #121212;
	font-family: 'Pretendard', sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 160%;
	letter-spacing: -1.68px;
	word-break: keep-all;
}
.ab-body-group p + p {
	margin-top: 58px;
}
.ab-intro-mark {
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	height: 100%;
}
.ab-intro-mark img {
	width: 340px;
	height: auto;
	display: block;
}

/* ── 2. 비전 이미지 슬라이더 ── */
.ab-vision-section {
	margin-top: 180px;
}
.ab-vision-img {
	width: 100%;
	max-width: 1677px;
	aspect-ratio: 160 / 71;
	border-radius: 55px;
	overflow: hidden;
	margin: 0 auto;
	position: relative;
}
.ab-vision-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.9s ease;
}
.ab-vision-slide.active {
	opacity: 1;
}
.ab-vision-slide--1 {
	background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.26) 100%), url('../../img/sub/brand_bg.png');
}
.ab-vision-slide--2 {
	background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.42) 100%), url('../../img/sub/brand_bg_01.png');
}
.ab-vision-title {
	color: #fff;
	text-align: center;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(28px,5vw,70px);
	font-weight: 700;
	line-height: 140%;
	letter-spacing: -2.88px;
	margin: 0;
}

/* ── 3. 스탯 바 ── */
.ab-stats-section {
	margin-top: 44px;
}
.ab-stats-bar {
	max-width: 1680px;
	height: 210px;
	border-radius: 35px;
	background: var(--MainColor, #d60057);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}
.ab-stat-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.ab-stat-item:last-child {
	border-right: none;
}
.ab-stat-num {
	color: #fff;
	text-align: center;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(28px, 5vw, 60px);
	font-weight: 700;
	line-height: 160%;
}
.ab-stat-unit {
	color: #fff;
	font-family: 'Pretendard', sans-serif;
	font-size: 28px;
	font-weight: 400;
	line-height: 160%;
	margin-left: 5px;
}
.ab-stat-label {
	color: #fff;
	font-family: 'Pretendard', sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 160%;
}

/* ── 4. 연혁 ── */
.ab-history-section {
	margin-top: 140px;
}

.ab-history-section .ab-container {
	width: 100%;
	padding: 0 0 0 120px;
	margin: 0;
	max-width: 100%;
}

.ab-history-label {
	color: #919191;
	text-align: left;
	font-family: 'Pretendard', sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 72px;
	letter-spacing: -1.04px;
	margin: 0 0 8px;
}
.ab-history-grid {
	display: flex;
	/* gap: 80px; */
	align-items: flex-start;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
}
.ab-history-grid::-webkit-scrollbar {
	display: none;
}
.ab-history-grid.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}
.ab-history-col {
	flex: 0 0 auto;
}
.ab-history-year {
	color: var(--MainColor, #d60057);
	font-family: 'Pretendard', sans-serif;
	font-size: 80px;
	font-weight: 700;
	line-height: 72px;
	letter-spacing: -3.2px;
	margin-bottom: 36px;
}
.ab-tl-row {
	display: flex;
	gap: 0;
	position: relative;
}
.ab-tl-row::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 12px;
	right: 0;
	height: 1px;
	background: #adadad;
	z-index: 0;
}
.ab-tl-item {
	flex: 0 0 435px;
	min-width: 435px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 0;
	scroll-snap-align: start;
}
.ab-tl-dot {
	position: relative;
	z-index: 1;
	margin-bottom: 14px;
	flex-shrink: 0;
}
.ab-tl-date {
	font-family: 'Pretendard', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #121212;
	line-height: 1.5;
	margin-bottom: 4px;
}
.ab-tl-desc {
	font-family: 'Pretendard', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #555;
	line-height: 1.55;
	max-width: 380px;
}

/* ── 5. 슬라이더 섹션 ── */
.ab-slider-section {
	margin-top: 280px;
}
.ab-slider-outer {
	max-width: 1680px;
	height: fit-content;
	border-radius: 50px;
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ab-slider-outer::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../../img/sub/brand_bg_02.png') lightgray 0.33px -49.494px / 100% 124.46% no-repeat;
	mix-blend-mode: luminosity;
	z-index: 0;
	filter: grayscale(1);
}
.ab-slider-outer::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.66);
	z-index: 1;
}
.ab-slider-inner {
	gap: 70px;
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ab-slider-title-wrap {
	padding-top: 60px;
	text-align: center;
	position: relative;
	width: 100%;
	height: auto;
}
.ab-slider-title-wrap h2 {
	color: #fff;
	text-align: center;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(24px, 3.5vw, 55px);;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: -2.2px;
	margin: 0;
	/* position: absolute; */
	width: 100%;
	display: block;
	height: fit-content;
	word-break: keep-all;
	top: 0;
}
.ab-slider-card-area {
	padding: 0 0 100px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}
.ab-slider-redbar {
	bottom: 0;
	width: 1125px;
	max-width: calc(100% - 80px);
	height: 93px;
	background: var(--MainColor, #d60057);
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
	display: none;
}
.ab-slider-title-wrap h2 span{
	background-color: var(--MainColor, #d60057);
    padding: 0 1vw;
	width: fit-content;
    margin: 0 auto;
}
.ab-slides-wrapper {
	width: min(1300px, calc(100% - 80px));
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 52px;
	margin-bottom: 0;
}
.ab-slide-card {
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: #383838;
	border-radius: 52px;
	height: 421px;
	overflow: hidden;
	flex-direction: row;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s ease;
}
.ab-slide-card.active {
	position: relative;
	opacity: 1;
	pointer-events: auto;
}

.slider_01 {
	background: url('/img/sub/brand_ob.png') no-repeat;
}
.slider_02 {
	background: url('/img/sub/brand_ob_02.png') no-repeat;
}

.slider_03 {
	background: url('/img/sub/brand_ob_03.png') no-repeat;
}

.ab-slide-bg-img {
	width: 100%;
	max-width: 768px;
	/* min-width: 768px; */
	height: 421px;
	opacity: 0.31;
	mix-blend-mode: color-dodge;
	background-size: contain;
	background-position: center;
	flex-shrink: 0;
}

.ab-slide-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 70px 48px 40px;
	gap: 20px;
}
.ab-slide-title {
	color: #fff;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(20px, 3.5vw, 36px);
	font-weight: 700;
	line-height: 32px;
	letter-spacing: -1.44px;
	margin: 0;
}
.ab-slide-body {
	color: #fff;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(16px, 1.9vw, 22px);
	font-weight: 400;
	line-height: 150%;
	/* letter-spacing: -0.88px; */
	margin: 0;
	word-break: keep-all;
}
.ab-slide-btn {
	width: fit-content;
	background: #d60057;
	color: #fff;
	text-align: center;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(16px, 1.9vw, 22px);
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.88px;
	cursor: pointer;
	flex-shrink: 0;
	padding: 5px 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ab-slide-flow {
	display: flex;
	flex-direction: row;
	gap: 4px;
	width: fit-content;
	align-items: center;
}
.ab-slide-flow span {
	word-break: keep-all;
	color: #fff;
	font-family: 'Pretendard', sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: -0.8px;
}
.ab-slide-flow .ab-arrow {
	/* color: var(--MainColor, #d60057); */
	font-size: 22px;
	line-height: 20px;
}

/* 페이지네이션 */
.ab-slider-dots {
	position: absolute;
	bottom: 65px;
	right: 95px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
}
.ab-dot {
	width: 8px;
	height: 8px;
	border-radius: 600px;
	background: #c2c2c2;
	cursor: pointer;
	transition:
		width 0.2s,
		height 0.2s,
		background 0.2s;
	border: none;
	padding: 0;
}
.ab-dot.active {
	width: 13px;
	height: 13px;
	background: var(--MainColor, #d60057);
}

/* ── 6. CTA ── */
.ab-cta-section {
	margin-top: 180px;
	padding-bottom: 120px;
	text-align: center;
}
.ab-cta-red {
	color: var(--MainColor, #d60057);
	text-align: center;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(28px, 3.5vw, 55px);
	font-weight: 700;
	letter-spacing: -2.2px;
	word-break: keep-all;
	margin: 0;
}
.ab-cta-black {
	color: #000;
	text-align: center;
	font-family: 'Pretendard', sans-serif;
	font-size: clamp(28px, 3.5vw, 55px);
	font-weight: 700;
	letter-spacing: -2.2px;
	margin: 0;
	word-break: keep-all;
}

.mo_line {
	display: none;
}

/* ── 플로팅 스크롤 애니메이션 ── */
.float-in {
	opacity: 0;
	transform: translateY(52px);
	transition:
		opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.float-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}
@media (max-width: 1400px) {
	.ab-slide-bg-img {
		max-width: 480px;
		background-size: contain;
		background-position: bottom;
	}
	.ab-slide-content {
		padding: 48px 40px 48px 80px;
	}

	.ab-slider-redbar {
		height: 55px;
		max-width: calc(100% - 150px);
	}
}

@media (max-width: 1280px) {
	.ab-slider-section {
		margin-top: 180px;
	}
	
	.ab-slide-bg-img {
		max-width: 380px;
		background-position: center;
	}
	.ab-slide-content {
		padding: 48px 30px 48px 30px;
	}

	.ab-slider-redbar {
		height: 55px;
		max-width: calc(100% - 150px);
	}
	.ab-stats-bar{
		height: 160px;
	}
	.ab-vision-img{
		spect-ratio: 130 / 71;
	}
	.ab-headline-black, .ab-headline-red{
		font-size: 55px;	
		line-height: 70px;
	}

	.ab-body-group p{
		font-size: 24px;
		line-height: 145%;
	}
	.ab-intro-mark img{
		width: 240px;
	}
	.ab-body-group p + p{
		margin-top: 36px;
	}
}
@media (max-width: 1024px) {
	.ab-slide-bg-img{
		display: none;
	}
	.ab-slide-content{
		        justify-content: center;
        align-items: center;
	}
	.ab-slide-body{
		text-align: center;
	}
	.ab-slide-card{
		border-radius: 30px;
	}
}
/* ── 모바일 (768px) ── */
@media (max-width: 768px) {
	.ab-container {
		padding: 0 20px;
	}

	/* 인트로 */
	.ab-intro {
		padding-top: 60px;
		padding-bottom: 0;
	}
	.ab-intro-inner {
		flex-direction: column;
		gap: 24px;
		align-items: flex-start;
	}
	.ab-intro-deco {
		width: 180px;
		right: -20px;
		top: -30px;
		opacity: 0.4;
	}
	.ab-headline-black,
	.ab-headline-red {
		font-size: 32px;
		line-height: 42px;
		letter-spacing: -1.28px;
	}
	.ab-headline-red {
		margin-bottom: 70px;
	}
	.ab-body-group p {
		font-size: 18px;
		line-height: 24px;
		letter-spacing: -0.72px;
	}
	.ab-body-group p + p {
		margin-top: 20px;
	}
	.ab-intro-mark {
		display: flex;
		width: 100%;
		justify-content: flex-end;
	}
	.ab-intro-mark img {
		width: 126px;
		height: 35px;
		object-fit: contain;
	}

	/* 비전 */
	.ab-vision-section {
		margin-top: 53px;
	}
	.ab-vision-img {
		max-width: 100%;
		width: 100%;
		height: auto;
		aspect-ratio: 100 / 71;
		border-radius: 20px;
	}
	.ab-vision-title {
		font-size: 28px;
		font-weight: 700;
		line-height: 36px;
		letter-spacing: 0;
	}
	/* 스탯 */
	.ab-stats-section {
		margin-top: 10px;
	}
	.ab-stats-bar {
		max-width: 100%;
		width: 100%;
		height: 101px;
		padding: 0;
		border-radius: 15px;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0;
	}
	.ab-stat-item {
		flex: 1;
		border-right: 1px solid rgba(255, 255, 255, 0.3);
		padding: 0;
		gap: 5px;
	}
	.ab-stat-item:last-child {
		border-right: none;
	}
	.ab-stat-num {
		line-height: 1.1;
		letter-spacing: -1.68px;
	}
	.ab-stat-unit {
		font-size: 16px;
		line-height: 1.1;
	}
	.ab-stat-label {
		font-size: 16px;
		line-height: 1.4;
	}

	/* 연혁 */
	.ab-history-section {
		margin-top: 80px;
	}
	.ab-history-section .ab-container {
		padding: 0 0 0 24px;
	}
	.ab-history-label {
		font-size: 16px;
		line-height: 1.5;
	}

	.ab-history-year {
		font-size: 42px;
		line-height: 1.2;
		margin-bottom: 24px;
		font-weight: 800;
	}
	.ab-tl-row {
		flex-direction: row;
		gap: 0;
	}
	.ab-tl-row::before {
		top: 12px;
		left: 12px;
		right: 0;
		height: 1px;
		bottom: auto;
		width: auto;
	}
	.ab-tl-item {
		flex: 0 0 250px;
		min-width: 250px;
		width: 250px;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-bottom: 0;
		scroll-snap-align: start;
	}
	.ab-tl-dot {
		margin-bottom: 14px;
		margin-top: 0;
	}
	.ab-tl-text {
		flex: initial;
	}
	.ab-tl-date {
		font-size: 14px;
	}
	.ab-tl-desc {
		max-width: 200px;
		color: #515151;
		font-size: 16px;
		font-weight: 400;
		line-height: 20px;
		letter-spacing: -0.72px;
	}

	/* 슬라이더 */

	.mo_line {
		display: block;
		bottom: 40px;
		width: 47% !important;
	}

	.ab-slider-inner {
		gap: 35px;
	}

	.ab-slider-section {
		margin-top: 100px;
	}
	.ab-slider-outer {
		/* max-width: 370px; */
		width: 100%;
		height: 650px;
		min-height: unset;
		padding-bottom: 0;
		border-radius: 20px;
	}
	.ab-slider-title-wrap {
		padding: 30px 16px 0;
	}
	.ab-slider-title-wrap h2 span {
		display: block;
	}

	.ab-slider-card-area {
		/* margin-top: 24px; */
		padding: 0 16px;
	}
	.ab-slider-redbar {
		/* display: none; */
		height: 36px;
		width: 100%;
		max-width: 280px;
		padding: 0 50px;
		display: none;
	}
	.ab-slides-wrapper {
		max-width: 90%;
		width: 90%;
		margin: 0 auto;
		border-radius: 20px;
	}
	.ab-slide-card {
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		height: 377px;
		border-radius: 20px;
		align-items: center;
		margin: 0 auto;
	}

	.ab-slide-bg-img {
		/* display: none; */
		height: 173px;
		width: 100%;
		background-size: contain;
		background-position: center;
	}

	.ab-slide-content {
		padding: 24px 20px;
		gap: 12px;
		height: 100%;
	}
	.ab-dot {
		width: 5px;
		height: 5px;
	}
	.ab-dot.active {
		width: 7px;
		height: 7px;
	}
	.ab-slider-dots {
		bottom: 25px;
		right: 35px;
	}
	.ab-slide-flow {
		width: fit-content;
	}
	.ab-slide-flow span {
		flex-direction: row;
		font-size: 12px;
		letter-spacing: -1.8px;
	}

	.ab-slide-flow .ab-arrow {
		font-size: 10px;
	}

	/* CTA */
	.ab-cta-section {
		margin-top: 62px;
		padding-bottom: 80px;
	}
	.ab-cta-red,
	.ab-cta-black {
		font-size: 24px;
		line-height: 36px;
		letter-spacing: -0.96px;
	}
}
