@charset "utf-8";

/************************************* 공통 *************************************/
main {
	margin-top: 75px;
	padding: 0;
}

.section-padding {
	height: minmax(700px,100vh);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.section-header {
	text-align: center;
}

section>.container {
	overflow-y: visible !important;
}

/* Prevent unintended scrollbars from overflowing child elements */
section {
	overflow-x: clip;
}
.section-title{
	color: var(--color-text-main);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

/* Ensure media never exceeds the container width */
section img {
	max-width: 100%;
	height: auto;
	display: block;
}

/************************************* 섹션별 *************************************/
.corp-hero {
	--corp-text: #243044;
	--corp-gold: #b89455;

	padding: clamp(4rem, 8vw, 7.5rem) 1.25rem;
	background: #fff;
	color: var(--corp-text);
	position: relative;
	background-image: url(https://cdn.myplayer.kr/lawjibsa-mangobanana/corpsvr/main_p1.jpeg);
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: 0%;
	background-size: cover;

	animation-timing-function: linear;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
	animation-duration: 20s;
	will-change: background-position;
	height: calc(100vh - 75px);
	display: flex;
	align-items: center;

}

#home.home-bg-anim {
	animation-name: home-bg-slide;
}

@keyframes home-bg-slide {
	from {
		background-position: 0% center;
	}

	to {
		background-position: 100% center;
	}
}


.corp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.corp-hero__content {
  min-width: 0;
}

.corp-hero__title {
  margin: 0;
  color: #fff8ec;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.065em;
  word-break: keep-all;
  text-shadow: 0 0.25rem 1.5rem rgba(16, 31, 55, 0.48), 0 0.0625rem 0.125rem rgba(16, 31, 55, 0.58);
}

.corp-hero__expert-groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
	margin-top: clamp(2rem, 5vw, 2.5rem);
}

.corp-hero__expert-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	color: #00112fc2;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.035em;
	word-break: keep-all;
}

.corp-hero__expert-label::before {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: #00112fc2;
}

.corp-hero__expert-list{
  display:flex;
  flex-direction: column;
  gap: 0.75rem;
}

.corp-hero__expert-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 248, 236, 0.32);
  border-radius: 999px;
  background: rgba(23, 35, 59, 0.68);
  color: #fff8ec;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.035em;
  word-break: keep-all;
  box-shadow: 0 0.75rem 1.875rem rgba(16, 31, 55, 0.18);
  backdrop-filter: blur(0.25rem);
}

.corp-hero__check {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(255, 248, 236, 0.92);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.corp-hero__case-box {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(255, 248, 236, 0.34);
  border-radius: 1.25rem;
  background: rgba(23, 35, 59, 0.72);
  box-shadow: 0 1rem 2.5rem rgba(16, 31, 55, 0.2);
  backdrop-filter: blur(0.25rem);
}

.corp-hero__case-title {
  margin: 0 0 1rem;
  color: #fff8ec;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.corp-hero__case-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.corp-hero__case-list li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 248, 236, 0.9);
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.corp-hero__case-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #fff;
}

/* tablet */
@media (max-width: 991.98px) {
  .corp-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .corp-hero__case-box {
    max-width: 640px;
  }
}

/* mobile */
@media (max-width: 575.98px) {
  .corp-hero {
    padding: 4rem 1rem;
    height: fit-content;
  }

  .corp-hero__title {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: 1.12;
  }



  .corp-hero__expert-list li {
    border-radius: 0.875rem;
    padding: 0.875rem 0.95rem;
    font-size: 0.95rem;
  }

  .corp-hero__case-box {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .corp-hero__case-list {
    gap: 0.625rem;
  }
}
/* EXPERT --------------------------------------------------*/
.expert-profile {
  --expert-navy: #17233b;
  --expert-text: #243044;
  --expert-muted: #6b7280;
  --expert-bg: #f8fafc;
  --expert-bg-warm: #fbf7ef;
  --expert-line: #e5e7eb;

  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  background: url(https://cdn.myplayer.kr/lawjibsa-mangobanana/corpsvr/pillars_bg.jpeg) center center / cover no-repeat;
  color: var(--expert-text);
}

.expert-profile__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  /* border: 1px solid var(--expert-line);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background:var(--color-surface); */
} 

.expert-profile__title {
  margin: 0;
  color: var(--expert-navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.06em;
  word-break: keep-all;
  text-align: center;
}
.expert-profile__title-strong {
  color: var(--color-primary);
}
.expert-profile__body {
  display: grid;
  grid-template-columns:clamp(300px, 500px,100vw) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.expert-profile__profile{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expert-profile__img {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 50px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 50px), transparent 100%);
}
.expert-profile__img img {
  width: 100%;
  object-position: center;
}
.expert-profile__name-box {
	display: inline;
	align-items: baseline;
	gap: 1rem;
}

.expert-profile__position {
  margin: 0 0 0.5rem;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.expert-profile__name {
  margin: 0 1rem 0 0;
  color: var(--expert-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.expert-profile__info {

  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.5rem);

}
.expert-profile__career-box {
}


.expert-profile__career-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.expert-profile__career-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--expert-text);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.expert-profile__career-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.5rem;
  margin-top: 0.03rem;
  border-radius: 999px;
  background: rgba( var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 800;
}
.expert-profile__career-item {
	  display: flex;
  flex-direction: column;
  gap: 0.25rem;	
}
.expert-profile__career-item span:nth-child(2) {
	font-size: .8rem;
}
.expert-profile__message {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 3px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.72);
}

.expert-profile__message p {
  margin: 0;
  color: var(--expert-text);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

/* tablet */
@media (max-width: 991.98px) {

  .expert-profile__name-box {
    justify-content: flex-start;
  }
}

/* mobile */
@media (max-width: 575.98px) {
  .expert-profile__body {
    grid-template-columns: 1fr;
  }
  .expert-profile {
    padding: 3.5rem 1rem;
  }

  .expert-profile__inner {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .expert-profile__eyebrow {
    margin-bottom: 0.875rem;
    font-size: 0.85rem;
  }

  .expert-profile__eyebrow::before {
    width: 1.5rem;
  }

  .expert-profile__title {
    font-size: clamp(1.85rem, 8.6vw, 2.45rem);
    line-height: 1.25;
  }

  .expert-profile__lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .expert-profile__body {
    margin-top: 1.75rem;
    gap: 1rem;
  }

  .expert-profile__name-box,
  .expert-profile__career-box {
    border-radius: 1rem;
  }

  .expert-profile__message {
    padding: 1.25rem;
  }

  .expert-profile__name {
    font-size: 2.25rem;
  }

  .expert-profile__career-list {
    gap: 0.7rem;
  }

  .expert-profile__career-list li {
    font-size: 0.95rem;
  }

  .expert-profile__message {
    border-left-width: 2px;
  }

  .expert-profile__message p {
    font-size: 0.96rem;
    line-height: 1.72;
  }
}
/* SERVICES ------------------------------------------------- */
/* #services-rehab .section-title,
#services-bankruptcy .section-title {
	font-size: var(--fz-xl) !important;
} */

.service-badge {
	font-size: var(--fz-tn);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 999px;
	color: var(--color-text-sub);
	margin-bottom: 0.6rem;
	display: inline-block;
}

.service-section-img {
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.service-section-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-list li {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
}

.service-list i {
	color: var(--color-primary);
}

/* SUCCESS CASES ------------------------------------------- */
.success-section {
	background-color: var(--color-bg);
}

/* CONSULT CTA --------------------------------------------- */
#consult {
	background: url(https://cdn.myplayer.kr/lawjibsa-mangobanana/corpsvr/corp_consult_bg.jpeg) center center / cover no-repeat;
	min-height: 600px;
	display: flex;
	align-items: center;
	color: #fff !important;
}
.consult-section {
	background-color: var(--color-bg);
}

.consult-form .form-control {
	background-color: #fff;
	border: 1px solid #d4d4d4;
	color: #222;
}

.consult-form .form-control::placeholder {
	color: #6b7280;
}

.consult-note {
	font-size: var(--fz-sm);
	color: var(--color-border-subtle);
}


.section-desc {
	color: var(--color-text-sub);
	margin: 0 auto 5rem;
	font-size: var(--fz-md);
}

#consult-heading {
	font-size: var(--fz-xl);
	margin-bottom: 2rem;
	font-weight: 700;
}

@media (max-width: 768px) {
	#consult-heading {
		font-size: var(--fz-lg);
	}

	.consult-form .form-control {
		font-size: var(--fz-md);
	}


}



.insight-card {
	display: block;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);

	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.06);

	padding: 22px 26px;
	margin-bottom: 16px;

	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

	transition: all .25s ease;
	position: relative;
}

.insight-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
	background: white;
}

.insight-card-title {
	font-size: var(--fz-md);
	font-weight: 800;
	color: var(--color-text-main);
	display: block;
	margin-bottom: 0.4rem;
}

.insight-card-excerpt {
	font-size: var(--fz-sm);
	color: var(--color-text-sub);
	line-height: 1.6;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}


.consult-form {
	width: 100%;
	display: flex;
	flex-direction: column;
}

#quick_submit_btn {
	max-width: 100%;
	flex: 1;
	background: var(--bs-blue);
	color: #fff;
	font-weight: 700;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	border-radius: 4px;
}

#quick_submit_btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.privacyModalBtn {
	font-size: var(--fz-sm);
	color: var(--bs-info);
	text-decoration: underline;
	cursor: pointer;
}
