/* /seminar/baynex_Cosmos_261012/assets/css/survey.css */
:root{
  --bg:#0b0c10;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --accent:#0013b9;     /* 보라 */
  --accentSoft:#ede9fe; /* 연보라 */
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Pretendard,Apple SD Gothic Neo,Malgun Gothic,sans-serif;background:#f6f7fb;color:var(--text)}
a{text-decoration:none;color:inherit}
hr{border:0;border-top:1px solid var(--line)}

.hero{
  position: relative;
  height: 543px; /* 네가 준 값 유지 */
 background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("../../header_v3.png") no-repeat center top;
  background-size: cover;
  background-position: center;
  padding: 36px 0 22px;
  overflow: hidden; /* 혹시 모를 장식 요소 잘림 방지 */
}

/* 텍스트 가독성용 어두운 오버레이(필요 없으면 삭제 가능) */


.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 18px;
  color:#fff;
  text-align:center;

  /* ✅ 텍스트를 hero 중간쯤에 위치시키고 싶으면 */
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start; /* top */
  padding-top: 20px;          /* 원하는 만큼 조절 */
}

.brand{
    display: flex;
    justify-content: space-between;
  font-weight:700;
  letter-spacing:.2px;
  opacity:.95;
  margin-bottom:10px; text-align:left;
}

.brand .logo1 {
height:30px;
}

.brand .logo2 {
height:44px;
}

.hero-title{
  margin:0;
  font-size: 35px;
  line-height: 1.5;
  font-weight: 800;     padding-top: 20px;
} 

.wrap{
  max-width: 900px;
  margin: 0 auto;
  padding: 0px;
}
/* ✅ hero 위로 걸치기 */
.card{
  position: relative;
  z-index: 2;

  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  box-shadow: 0 14px 50px rgba(2,6,23,.08);
  padding: 22px;

  /* 핵심: hero 영역 위로 당김 */
  margin-top: -260px;  /* 이 값으로 “걸치는 정도” 조절 */
}
.card-title{
  margin:0 0 14px;
  font-size: 16px;
  font-weight: 800;
}
.sep{margin:18px 0}

.req{color:var(--accent); font-weight:800}
.hint{color:var(--muted); font-size:12px; margin:10px 0 0}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.field label{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#111827;
  margin-bottom:8px;
}
.field input[type="text"],
.field input[type="email"], select{
  width:100%;
  height: 44px;
  border:1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  outline:none;
  background:#fff;
}
.field input:focus{
border-color: rgba(118, 185, 0, 0.6);
box-shadow: 0 0 0 4px rgba(118, 185, 0, 0.18);
}


.wh50{
  width:50%;
  height: 44px;
  border:1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  outline:none;
  background:#fff;
}

.wd50 {width:50% !important;}

.phone{
  display:flex;
  align-items:center;
  gap:8px;
}
.phone input{
  width: 100%;
  min-width: 0;
  text-align:center;
}
.phone span{color:var(--muted)}

.qblock{margin: 16px 0 0}
.qtitle{
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.choice-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.choice-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* 접근성: 실제 input은 숨김 */
.sr{
  position:absolute;
  left:-9999px;
  width:1px;height:1px;
  overflow:hidden;
}

.chip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:#fff;
  cursor:pointer;
  min-height: 44px;
  transition: .15s ease;
}
.chip span{
  font-size: 12.5px;
  font-weight: 700;
  color:#111827;
}
.chip .dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid #c7c9d1;
  flex:0 0 auto;
  background: transparent;
}

/* ✅ 선택 상태(이미지 1 오른쪽 느낌) */
.sr:checked + .chip{
  border-color: rgba(118, 185, 0, 0.6);
 box-shadow: 0 0 0 4px rgba(118, 185, 0, 0.18);
}
.sr:checked + .chip span{color: #0c2802}
.sr:checked + .chip .dot{
  border-color: var(--accent);
  background: #000;
  box-shadow: 0 0 0 4px rgba(118, 185, 0, 0.18);
}

.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(17,24,39,.18);
}

.agree{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:#fafafa;
}
.agree-row{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 12.5px;
  font-weight: 700;
}
.agree-link{
  font-size: 12px;
  color: var(--accent);
  font-weight: 800;
}

.button-wrap {    display: flex;
    justify-content: center;     padding: 20px 0px;
    width: 100%;}

.btn{
  width:50%;
  height: 48px;
  margin-top: 14px;
  border:0;
  border-radius: 12px;
  background: #0c2802;
  color:#fff;
  font-weight: 900;
  cursor:pointer;
}
.btn:hover{filter:brightness(.98)}


/* 개인정보 아코디언 */
.privacy-box{
  border: 1px solid var(--line);
  border-radius: 12px;
  background:#fafafa;
  overflow:hidden;
}

.privacy-top{
/*   display:flex; */
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 12px;
}

.privacy-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:0;
  background:transparent;
  color: #0c2802;
  font-weight: 900;
  cursor:pointer;
  font-size:12px;
}

.privacy-toggle .chev{
  display:inline-block;
  transition: transform .15s ease;
}


.privacy-panel{
  max-height: 0;
  overflow:auto;
  transition: max-height .2s ease;
  border-top: 1px solid var(--line);
  background:#fff;
}

.privacy-box.open .privacy-panel{
  max-height: 500px; /* 내용 늘어나면 충분히 키워도 됨 */
}

.privacy-box.open .privacy-toggle .chev{
  transform: rotate(180deg);
}

.privacy-content{
  padding: 14px 14px 16px;
  color:#111827;
  font-size: 12.5px;
  line-height: 1.55;
}

.privacy-content h3{
  margin:0 0 10px;
  font-size: 13px;
  font-weight: 900;
}

.privacy-content ul{
  margin:0;
  padding-left: 18px;
}

.privacy-content li{
  margin: 6px 0;
  color:#374151;
}

.privacy-note{
  margin:10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

textarea {    padding: 12px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    width: 100%;}


/* responsive */
@media (max-width: 820px){
  .hero{
    height:auto;
    padding:40px 0;
  }
  .hero-inner{padding-top:0}
  .grid2{grid-template-columns:1fr}
  .choice-row{grid-template-columns:1fr 1fr}
  .choice-grid{grid-template-columns:1fr 1fr}
  .card{margin-top:12px}
  .hero-title{
    margin:0;
    font-size:18px;
    line-height:1.2;
    font-weight:800;
  }
}

@media (max-width: 599px){
  .wd50,
  .wh50{width:100% !important}
  .choice-row,
  .choice-grid{grid-template-columns:1fr}
  .hero-title{
    font-size:20px;
    padding-top:30px;
    padding-bottom:30px;
  }
  .brand .logo1,
  .brand .logo2{height:20px}
  .btn{width:100%}
}
