/* ============================================================
   contact.css — Noble Web 고객문의 페이지
   다크 골드 테마 / nw- 대신 ct- 접두어 사용
   ============================================================ */

   :root {
    --ct-dark:     #1e1e1e;
    --ct-darker:   #161616;
    --ct-darkest:  #111111;
    --ct-gold:     #c9a96e;
    --ct-gold-lt:  #e8c99a;
    --ct-gold-dk:  #9b7a45;
    --ct-white:    #f5f2ee;
    --ct-gray:     #888;
    --ct-lt-gray:  #c0bbb4;
    --ct-border:   rgba(201,169,110,.15);
    --ct-font-ko:  'Noto Sans KR', sans-serif;
    --ct-font-se:  'Noto Serif KR', serif;
    --ct-font-en:  'Playfair Display', serif;
  }
  
  
  /* ============================================================
     HERO
     ============================================================ */
  .ct-hero {
    position: relative;
    padding: 110px 40px 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .ct-hero__bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 70% at 30% 40%, rgba(201,169,110,.07) 0%, transparent 55%),
      radial-gradient(ellipse 60% 80% at 80% 60%, rgba(201,169,110,.04) 0%, transparent 50%),
      linear-gradient(180deg, #111 0%, #151510 60%, #1a1a14 100%);
  }
  
  .ct-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(201,169,110,.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,169,110,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 68%);
            mask-image: radial-gradient(ellipse at center, black 10%, transparent 68%);
  }
  
  .ct-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
  }
  
  .ct-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201,169,110,.1);
    border: 1px solid rgba(201,169,110,.3);
    border-radius: 30px;
    padding: 6px 20px;
    margin-bottom: 32px;
    font-size: 11px;
    font-weight: 700;
    color: var(--ct-gold);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: var(--ct-font-ko);
    animation: ctFadeDown .7s ease both;
  }
  .ct-hero__badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--ct-gold);
    border-radius: 50%;
    animation: ctPulse 2s infinite;
  }
  
  .ct-hero__title {
    font-family: var(--ct-font-se);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ct-white);
    margin-bottom: 22px;
    animation: ctFadeUp .8s ease .08s both;
  }
  .ct-hero__title em {
    font-style: normal;
    color: var(--ct-gold);
  }
  
  .ct-hero__sub {
    font-size: clamp(14px, 1.8vw, 17px);
    color: var(--ct-lt-gray);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 40px;
    font-family: var(--ct-font-ko);
    animation: ctFadeUp .8s ease .16s both;
  }
  
  /* 신뢰 배지 행 */
  .ct-hero__trust {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--ct-border);
    border-radius: 40px;
    padding: 12px 28px;
    animation: ctFadeUp .8s ease .24s both;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  
  .ct-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ct-lt-gray);
    font-family: var(--ct-font-ko);
    padding: 0 16px;
    white-space: nowrap;
  }
  
  .ct-trust-icon { font-size: 14px; }
  
  .ct-trust-sep {
    width: 1px;
    height: 14px;
    background: rgba(201,169,110,.2);
  }
  
  
  /* ============================================================
     FORM SECTION
     ============================================================ */
  .ct-form-section {
    background: linear-gradient(180deg, #1a1a14 0%, #131310 100%);
    padding: 0 24px 100px;
  }
  
  .ct-form-wrap {
    max-width: 760px;
    margin: 0 auto;
  }
  
  
  /* ── 카카오 바 ── */
  .ct-kakao-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #1a1600;
    border: 1px solid rgba(254,229,0,.2);
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 24px;
    animation: ctFadeUp .8s ease .3s both;
    flex-wrap: wrap;
  }
  
  .ct-kakao-bar__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .ct-kakao-bar__text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--ct-white);
    font-family: var(--ct-font-ko);
    letter-spacing: -.01em;
  }
  
  .ct-kakao-bar__text span {
    font-size: 13px;
    color: var(--ct-gray);
    font-family: var(--ct-font-ko);
    font-weight: 300;
  }
  
  .ct-kakao-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FEE500;
    color: #3A1D1D;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--ct-font-ko);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .25s, box-shadow .25s, background .25s;
    box-shadow: 0 4px 16px rgba(254,229,0,.2);
  }
  .ct-kakao-btn:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(254,229,0,.35);
    color: #3A1D1D;
    text-decoration: none;
  }
  .ct-kakao-btn svg { flex-shrink: 0; }
  
  
  /* ── 폼 카드 ── */
  .ct-card {
    background: #1c1b17;
    border: 1px solid var(--ct-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.4);
    animation: ctFadeUp .9s ease .4s both;
  }
  
  .ct-card__header {
    padding: 44px 52px 32px;
    border-bottom: 1px solid rgba(201,169,110,.1);
    background: linear-gradient(135deg, #201e18 0%, #1c1b17 100%);
  }
  
  .ct-card__title {
    font-family: var(--ct-font-se);
    font-size: 26px;
    font-weight: 700;
    color: var(--ct-white);
    margin-bottom: 8px;
    letter-spacing: -.01em;
  }
  
  .ct-card__sub {
    font-size: 14px;
    color: var(--ct-gray);
    font-family: var(--ct-font-ko);
    font-weight: 300;
  }
  
  
  /* ── 폼 내부 ── */
  .ct-form {
    padding: 40px 52px 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  
  .ct-fieldset { display: flex; flex-direction: column; gap: 16px; }
  
  .ct-fieldset__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ct-gold);
    font-family: var(--ct-font-ko);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,169,110,.1);
  }
  
  .ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .ct-col { display: flex; flex-direction: column; gap: 8px; }
  
  .ct-label {
    font-size: 13px;
    font-weight: 600;
    color: #b0a898;
    font-family: var(--ct-font-ko);
    letter-spacing: .01em;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .ct-req {
    color: var(--ct-gold);
    font-size: 15px;
    line-height: 1;
  }
  
  .ct-input {
    width: 100%;
    padding: 13px 17px;
    background: #141310;
    border: 1.5px solid rgba(201,169,110,.15);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--ct-font-ko);
    color: var(--ct-white);
    outline: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
    -webkit-appearance: none;
    appearance: none;
  }
  
  .ct-input::placeholder {
    color: #4a4640;
    font-weight: 300;
  }
  
  .ct-input:hover {
    border-color: rgba(201,169,110,.3);
    background: #181610;
  }
  
  .ct-input:focus {
    border-color: var(--ct-gold);
    background: #1a1710;
    box-shadow: 0 0 0 4px rgba(201,169,110,.08);
  }
  
  /* select 화살표 */
  .ct-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23c9a96e' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: #141310;
    padding-right: 44px;
    cursor: pointer;
    color: var(--ct-white);
  }
  
  .ct-select option {
    background: #1c1b17;
    color: var(--ct-white);
  }
  
  .ct-textarea {
    height: 150px;
    resize: none;
    line-height: 1.8;
  }
  
  /* 동의 체크박스 */
  .ct-agree {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(201,169,110,.04);
    border: 1px solid rgba(201,169,110,.1);
    border-radius: 10px;
    margin-top: -8px;
  }
  
  .ct-agree input {
    width: 17px; height: 17px;
    accent-color: var(--ct-gold);
    cursor: pointer;
    flex-shrink: 0;
  }
  
  .ct-agree label {
    font-size: 13px;
    color: var(--ct-gray);
    font-family: var(--ct-font-ko);
    cursor: pointer;
    line-height: 1.5;
  }
  
  /* 제출 버튼 */
  .ct-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 19px;
    background: linear-gradient(135deg, var(--ct-gold) 0%, var(--ct-gold-dk) 100%);
    color: #111;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--ct-font-ko);
    letter-spacing: .04em;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 8px 28px rgba(201,169,110,.3);
  }
  
  .ct-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(201,169,110,.42);
  }
  
  .ct-submit:active { transform: translateY(0); }
  
  .ct-submit svg { transition: transform .25s; }
  .ct-submit:hover svg { transform: translateX(4px); }
  
  
  /* ============================================================
     키프레임
     ============================================================ */
  @keyframes ctFadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes ctFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes ctPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .35; transform: scale(.6); }
  }
  
  
  /* ============================================================
     반응형
     ============================================================ */
  @media (max-width: 720px) {
    .ct-hero { padding: 80px 24px 60px; }
    .ct-hero__trust { padding: 10px 16px; }
    .ct-trust-sep { display: none; }
    .ct-trust-item { padding: 4px 12px; }
  
    .ct-kakao-bar {
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
      padding: 18px 20px;
    }
    .ct-kakao-btn { width: 100%; justify-content: center; }
  
    .ct-card__header { padding: 32px 28px 24px; }
    .ct-form { padding: 28px 28px 36px; gap: 24px; }
    .ct-row { grid-template-columns: 1fr; gap: 14px; }
  }
  
  @media (max-width: 480px) {
    .ct-hero { padding: 72px 16px 52px; }
    .ct-form-section { padding: 0 16px 80px; }
    .ct-card__header { padding: 28px 20px 20px; }
    .ct-card__title { font-size: 22px; }
    .ct-form { padding: 24px 20px 32px; }
  }