:root{
  --point:#b6ff00;
  --text:#050505;
  --gray:#8f95a1;
  --line:#dfdfdf;
  --bg:#f7f7f7;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:"Pretendard",sans-serif;
  background:var(--bg);
  color:var(--text);
}

.contact-page{
  width:min(920px,92vw);
  margin:0 auto;
  padding:80px 0 120px;
}

.contact-logo{
  display:flex;
  justify-content:center;
  margin-bottom:28px;
}

.contact-logo img{
  width:350px;
  display:block;
  filter:brightness(0);
  opacity:.92;
}

.contact-title{
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(14px);
    animation: contactTitleFadeUp 1.1s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: .08s;
}

.contact-required-guide{
  margin-top:-36px;
  margin-bottom:56px;
  text-align:center;
  font-size:.95rem;
  color:var(--gray);
  line-height:1.6;
}

.contact-section{
  margin-top:85px;
}

.contact-label{
  display:block;
  font-size:1.15rem;
  font-weight:700;
  margin-bottom:8px;
}

.option-card input:checked + label{
  font-weight:700;
}
.contact-sub{
  font-size:.95rem;
  color:var(--gray);
  margin-bottom:20px;
}

.required{
  color:#050505;
}

.option-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.budget-grid{
  margin-top:20px;
}

.option-card input{
  display:none;
}

.option-card label{
  display:flex;
  align-items:center;
  gap:14px;
  height:82px;
  padding:0 24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  transition:.25s ease;
  font-size:1rem;
  font-weight:500;
}

.option-card label::before{
  content:"";
  width:22px;
  height:22px;
  border-radius:6px;
  border:2px solid #d0d4dc;
  background:#fff;
  flex:0 0 auto;
}

.option-card input:checked + label{
  border-color:#050505;
}

.option-card input:checked + label::before{
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    border-color: #050505;
    color: #b6ff00;
    font-size: 1.2rem;
    font-weight: 800;
}

.other-input{
  display:none;
  width:100%;
  height:58px;
  margin-top:16px;
  padding:0 4px 0 14px;
  border:none;
  border-left:3px solid var(--point);
  border-bottom:1px solid #d6d6e7;
  font-size:1rem;
  font-weight:500;
  color:#050505;
  outline:none;
  transition:.22s ease;
}

.other-input::placeholder{
  color:#8f95a1;
  font-weight:400;
}

.other-input.is-active{
  display:block;
  animation:otherInputFade .24s ease;
}

.other-input:focus{
  border-bottom-color:var(--point);
  background:#fff;
}

.form-area{
  margin-top:80px;
  padding-top:50px;
  border-top:1px solid #e5e7eb;
}

.form-group{
  margin-bottom:32px;
}

.form-group label{
  display:block;
  margin-bottom:12px;
  font-size:1.08rem;
  font-weight:700;
}

.form-group span{
  color::var(--point);
  font-weight:500;
  font-size:.95rem;
}

.form-input{
  width:100%;
  height:68px;
  padding:0 22px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  font-size:1rem;
  outline:none;
  transition:.25s ease;
}

.form-input:focus{
  border-color:var(--point);

}

.contact-agree{
  margin-top:44px;
}

.agree-check{
  display:flex;
  align-items:center;
  gap:10px;
      font-size: 1.08rem;
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
}

.agree-check input{
  width:18px;
  height:18px;
  accent-color:var(--point);
}

.agree-desc{
  margin-top:10px;
  font-size:.9rem;
  line-height:1.6;
  color:var(--gray);
}

.error-message{
  display:none;
  margin-top:10px;
  font-size:.9rem;
  font-weight:500;
  color:#ff3b30;
}

.contact-section.is-error .error-message,
.form-group.is-error .error-message,
.contact-agree.is-error .error-message{
  display:block;
}

/*
.contact-section.is-error .contact-label,
.form-group.is-error label,
.contact-agree.is-error .agree-check{
  color:var(--point);
}
*/
.contact-section.is-error .option-card label{
  border-color:var(--point);
}

.form-input.is-error,
.other-input.is-error{
  border-color:var(--point);
}

.other-input.is-error{
  border-left-color:var(--point);
  border-bottom-color:var(--point);
  background:linear-gradient(
    90deg,
    rgba(108,92,231,.10) 0%,
    rgba(108,92,231,.03) 100%
  );
}
.submit-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .52em;
    width: fit-content;
    min-width: 320px;
    height: 65px;
    margin: 60px auto 0;
    padding: 0 42px;
    border: none;
    border-radius: 999px;
    background: #050505;
    color: #b6ff00;
    font-size: 1.08rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: .25s ease;
}

.submit-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(20,24,39,.18);
}

.option-card label{
  word-break: keep-all;
  white-space: normal;
  line-break: strict;
}

.submit-btn::after{
  content:"→";
  display:inline-block;
  position:relative;
  top:-0.01em;
  font-size:1em;
  font-weight:600;
  line-height:1;
  transform-origin:center;
  animation:contactArrowMove 1.8s ease-in-out infinite;
}

/*
.btnDisabled{
    background: #FFF;
}*/

@keyframes otherInputFade{
  from{
    opacity:0;
    transform:translateY(-4px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes contactArrowMove{
  0%{ transform:translateX(0); }
  50%{ transform:translateX(.18em); }
  100%{ transform:translateX(0); }
}

@keyframes contactTitleFadeUp{
  from{
    opacity:0;
    transform:translateY(14px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

.contact-title br{
  display:none;
}

.agree-check{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-size:1.08rem;
  font-weight:700;
  color:var(--text);
}

/* input 숨김 */
.agree-check input{
  display:none;
}

/* 체크박스 UI (option-card랑 동일 구조) */
.agree-check span{
  display:flex;
  align-items:center;
  gap:10px;
}

/* fake checkbox */
.agree-check span::before{
  content:"";
  width:18px;
  height:18px;

  border:2px solid #d0d4dc;
  border-radius:6px;

  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  flex:0 0 auto;
  transition:.2s ease;
}

/* 체크 상태 */
#privacyAgree:checked + span::before{
  content:"✓";
  background:#050505;
  border-color:#050505;

  color:#b6ff00;
  font-size:18px;
  font-weight:800;
  line-height:1;
}

/* MOBILE */
@media (max-width:768px){

.contact-title br{
  display:block;
}
  .contact-page{
    width:min(100% - 32px, 520px);
    padding:38px 0 72px;
  }

  .contact-logo{
    margin-bottom:20px;
  }

  .contact-logo img{
    width:170px;
  }

  .contact-title{
   font-size: 1.2rem;
        line-height: 1.32;
        margin-bottom: 34px;
  }

  .contact-required-guide{
    margin-top:-20px;
    margin-bottom:34px;
    font-size:.82rem;
    line-height:1.45;
  }

  .contact-section{
    margin-top:50px;
  }

  .contact-label{
    font-size:1rem;
    line-height:1.35;
    margin-bottom:6px;
  }

  .contact-sub{
    font-size:.8rem;
    margin-bottom:12px;
  }

  .option-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .budget-grid{
    margin-top:14px;
  }

  .option-card label{
    height:50px;
    gap:8px;
    padding:0 12px;
    border-radius:11px;
    font-size:.82rem;
    line-height:1.25;
    letter-spacing:-.02em;
  }

  .option-card label::before{
    width:16px;
    height:16px;
    border-radius:4px;
    border-width:1.5px;
  }

  .option-card input:checked + label::before{
    font-size:.6rem;
  }

  .other-input{
    height:46px;
    margin-top:10px;
    padding-left:10px;
    font-size:.86rem;
    border-left-width:2px;
  }

  .error-message{
    margin-top:8px;
    font-size:.78rem;
  }

  .form-area{
    margin-top:46px;
    padding-top:34px;
  }

  .form-group{
    margin-bottom:20px;
  }

  .form-group label{
    margin-bottom:8px;
    font-size:.95rem;
  }

  .form-group span{
    font-size:.82rem;
  }

  .form-input{
    height:50px;
    padding:0 14px;
    border-radius:11px;
    font-size:.88rem;
  }

  .contact-agree{
    margin-top:28px;
  }

  .agree-check{
    align-items:flex-start;
    gap:8px;
    font-size:.84rem;
    line-height:1.45;
  }

  .agree-check input{
    width:16px;
    height:16px;
    margin-top:2px;
    flex:0 0 auto;
  }

  .agree-desc{
    margin-top:7px;
    padding-left:0;
    font-size:.76rem;
    line-height:1.45;
  }

  .submit-btn{
    width:100%;
    min-width:0;

    height:54px;

    margin-top:35px;
    padding:0 24px;

    font-size:.95rem;
  }
}

/* SMALL MOBILE */
@media (max-width:390px){
  .contact-page{
    width:100%;
    padding:38px 22px 72px;
  }


  .option-card label{
    height:48px;
    padding:0 10px;
    font-size:.78rem;
  }
}

@media (max-width:390px){

  .contact-page{
    padding:34px 18px 64px;
  }

}

/* =========================
   CONTACT COMPLETE PAGE
========================= */

.complete-page{
  min-height:60vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:70px 24px;
  background:#f7f7f7;
  color:#050505;
  text-align:center;
}

.complete-logo{
  display:block;
  margin-bottom:30px;
}

.complete-logo img{
  width:150px;
  display:block;
  filter:brightness(0);
  opacity:.92;
}

.complete-box{
  width:min(760px, 100%);
  opacity:0;
  transform:translateY(14px);
  animation:contactTitleFadeUp 1.1s cubic-bezier(.22, 1, .36, 1) forwards;
}



.complete-title{
color: #050505;
    font-size: clamp(2.4rem, 2.7vw, 3.3rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.055em;
}

.complete-desc{
    margin-top: 25px;
    color: #6f7683;
    font-size: clamp(1.1rem, 2.1vw, 1.3rem);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -.04em;
}

.complete-btn-wrap{
  margin-top:40px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}

.complete-main-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:300px;
  height:65px;
  padding:0 44px;
  border-radius:999px;
  background:#050505;
  color:#b6ff00;
  font-size:1.08rem;
  font-weight:700;
  text-decoration:none;
  transition:.25s ease;
}

.complete-main-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(20,24,39,.18);
}

.complete-sub-link{
  color:#7a7f8b;
  font-size:.98rem;
  font-weight:700;
  text-decoration:none;
  transition:.25s ease;
}

.complete-sub-link:hover{
  color:#050505;
}

.mo-br{
  display:none;
}

@media (max-width:768px){
  .complete-page{
    padding:54px 24px;
  }

  .complete-logo{
    margin-bottom:32px;
  }

  .complete-logo img{
    width:120px;
  }

  .complete-title{
         font-size: 2rem;
        line-height: 1.3;
  }

  .complete-desc{
    margin-top:15px;
    font-size:1.05rem;
    line-height:1.6;
  }

  .complete-btn-wrap{
    margin-top:32px;
    gap:18px;
  }

  .complete-main-btn{
    width:100%;
    min-width:0;
    height:56px;
    font-size:.95rem;
  }

  .complete-sub-link{
    font-size:.88rem;
  }

  .mo-br{
    display:block;
  }
}

/* ─────────────────────────────────────────────────────────
   22. FOOTER
   ───────────────────────────────────────────────────────── */

.site-footer{
  position:relative;
  z-index:30;

  background:#f5f5f5;
  border-top:1px solid #e5e7eb;

  padding:58px 40px 42px;

  color:#6b7280;
  overflow:hidden;
}

.footer-inner{
  position:relative;
  z-index:2;

  width:min(1150px,100%);
  margin:0 auto;
}

/* LOGO */

.footer-logo{
  width:96px;
  display:block;

  margin-bottom:30px;

  filter:brightness(0);
  opacity:.92;
}

/* INFO */

.footer-info{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.footer-info p{
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #7d7d7d;
    letter-spacing: -0.01em;
}

.footer-info a{
color:  #7d7d7d;
    font-weight: 600;
    text-decoration: none;
}

.footer-info .is-strong{
font-weight: 600;
    color: #0b0b0b;
}

.footer-info a.footer-mail {
font-weight: 600;
    color: #0b0b0b;
}

.footer-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 16px; /* 라인과 텍스트 간격 */
}

.footer-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08); /* 아주 은은한 라인 */
}



/* LINKS */

.footer-links{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;

  margin-top:24px;
}

.footer-links a,
.footer-links span{
  font-size:13px;
  font-weight:600;
  letter-spacing:-0.03em;

  color:#0b0b0b;
  text-decoration:none;
}

.footer-bar{font-weight: 400 !important;   opacity: 0.6;   }

/* COPY */

.footer-copy{
  margin-top:12px;

  font-size:12px;
  line-height:1.6;
  letter-spacing:-0.01em;

  color:#9b9b9b;
}

/* MOBILE */

/* FOOTER MOBILE */

@media (max-width:768px){
  .site-footer{
    padding:44px 22px 38px;
  }

  .footer-logo{
    width:104px;
    margin-bottom:22px;
  }

  .footer-info p{
    font-size:12px;
    line-height:1.6;
  }

  .footer-links{
    margin-top:24px;
    gap:9px;
  }

  .footer-links a,
  .footer-links span{
    font-size:13px;
  }

  .footer-copy{
    font-size:11px;
    line-height:1.5;
  }

  .floating-contact{
    right:12px;
    bottom:14px;
  }


}