  :root {
    --black: #080a0e; --dark: #0d1117; --accent: #e8c86a; --accent2: #4d9fff;
    --text: #f0f2f5; --text-dim: #8b93a7; --text-muted: #4a5265;
    --light-bg: #ffffff; --light-text: #1a1f2e; --light-text-dim: #4a5568;
    --light-text-muted: #a0aec0;
    --font: 'Pretendard', sans-serif;
  }

  /* 서브 페이지: main-nav 숨김 + content-nav 항상 표시 (메인과 동일한 글로벌 헤더) */
  #main-nav { display: none !important; }
  #content-nav,
  #content-nav.is-visible {
      transform: translateY(0) !important;
      pointer-events: auto !important;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { overflow-y: scroll; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  body { background: var(--black); color: var(--text); font-family: var(--font); font-weight: 400; font-size: 15px; line-height: 1.6; overflow-x: hidden; }

  /* ── HEADER ── */
  .hd-row { display: flex; justify-content: space-between; align-items: center; }
  .hd-logo a { display: block; }
  .hd-logo img { height: 44px; width: 175px; display: block; object-fit: contain; object-position: left center; }
  .hd-menu { display: flex; gap: 50px; list-style: none; }
  .hd-menu li a { text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.3s; cursor: pointer; }
  #main-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1060; padding: 16px 0; background: transparent; transition: opacity 0.3s ease; }
  #main-nav .hd-row { padding: 0 240px; }
  #main-nav .hd-menu li a { color: #fff; }
  #main-nav .hd-menu li a:hover { color: #1f7bbf; }
  #content-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1055; padding: 16px 0; background: #fff; transform: translateY(-110%); pointer-events: none; transition: background-color 0.15s ease, transform 0.44s cubic-bezier(0.4,0,0.2,1); }
  #content-nav.is-visible { transform: translateY(0); pointer-events: auto; }
  #content-nav .hd-row { padding: 0 240px; }

  #content-nav .hd-menu li a { color: #111; transition: color 0.3s ease; }
  #content-nav .hd-menu li a:hover { color: #1f7bbf; }
  #content-nav .hd-logo .logo-light { display: block; }
  #content-nav .hd-logo .logo-dark  { display: none; }

  #content-nav.theme-dark { background: #0a0a0b; }
  #content-nav.theme-dark .hd-menu li a { color: #fff; }
  #content-nav.theme-dark .hd-menu li a:hover { color: #4d9fff; }
  #content-nav.theme-dark .hd-logo .logo-light { display: none; }
  #content-nav.theme-dark .hd-logo .logo-dark  { display: block; }

  #content-nav.theme-footer { background: #212121; }
  #content-nav.theme-footer .hd-menu li a { color: #fff; }
  #content-nav.theme-footer .hd-menu li a:hover { color: #4d9fff; }
  #content-nav.theme-footer .hd-logo .logo-light { display: none; }
  #content-nav.theme-footer .hd-logo .logo-dark  { display: block; }

  /* ── 햄버거 메뉴 버튼 (1024px 이하에서만 표시) ── */
  .hd-burger {
    display: none;
    width: 44px; height: 44px;
    background: transparent; border: none; cursor: pointer;
    position: relative; z-index: 1100;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
  }
  .hd-burger span {
    display: block; width: 24px; height: 2px;
    background: currentColor; margin: 5px auto;
    transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
    border-radius: 2px;
  }
  #main-nav .hd-burger { color: #fff; }
  #content-nav .hd-burger { color: #111; }
  #content-nav.theme-dark .hd-burger,
  #content-nav.theme-footer .hd-burger { color: #fff; }
  .hd-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hd-burger.is-open span:nth-child(2) { opacity: 0; }
  .hd-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── 메뉴가 열렸을 때: nav 배경 투명화 + 양쪽 햄버거 숨김 ── */
  body.menu-open #main-nav,
  body.menu-open #content-nav {
    background: transparent !important;
    pointer-events: none !important;
  }
  body.menu-open .hd-burger { display: none !important; }
  body.menu-open #content-nav .logo-light { display: none !important; }
  body.menu-open #content-nav .logo-dark { display: block !important; }

  /* ── 모바일 메뉴 오버레이 ── */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 1050;
    background: rgba(10,10,11,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; text-align: center; }
  .mobile-menu li { margin: 20px 0; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
  .mobile-menu.is-open li { opacity: 1; transform: translateY(0); }
  .mobile-menu.is-open li:nth-child(1) { transition-delay: 0.10s; }
  .mobile-menu.is-open li:nth-child(2) { transition-delay: 0.16s; }
  .mobile-menu.is-open li:nth-child(3) { transition-delay: 0.22s; }
  .mobile-menu.is-open li:nth-child(4) { transition-delay: 0.28s; }
  .mobile-menu.is-open li:nth-child(5) { transition-delay: 0.34s; }
  .mobile-menu li a {
    display: inline-block;
    color: #fff;
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.25s;
  }
  .mobile-menu li a:hover { color: #4d9fff; }

  /* ── 모바일 메뉴 전용 닫기(X) 버튼 ── */
  .mobile-menu-close {
    position: absolute;
    top: max(14px, env(safe-area-inset-top, 14px));
    right: 20px;
    width: 44px; height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: rotate(-90deg);
  }
  .mobile-menu.is-open .mobile-menu-close {
    opacity: 1;
    transform: rotate(0);
    transition-delay: 0.15s;
  }
  .mobile-menu-close::before,
  .mobile-menu-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    margin-top: -1px;
    margin-left: -12px;
  }
  .mobile-menu-close::before { transform: rotate(45deg); }
  .mobile-menu-close::after  { transform: rotate(-45deg); }
  .mobile-menu-close:hover::before,
  .mobile-menu-close:hover::after { background: #4d9fff; }

  /* ── HERO ── */
  #hero { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background: var(--black); }
  #hero video,
  #hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
  .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,10,14,0.3) 0%, rgba(8,10,14,0.1) 40%, rgba(8,10,14,0.6) 80%, rgba(8,10,14,1) 100%); pointer-events: none; }
  .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(120px, 13.542vw, 520px) clamp(24px, 4.167vw, 160px) 0 clamp(24px, 5.213vw, 200px);
    max-width: 100%;
    margin-left: -1.302vw;
  }
  .hero-sub {
    font-family: var(--font);
    font-weight: 200;
    font-size: clamp(14px, 1.042vw, 40px);
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--text);
    margin: 0 0 clamp(14px, 1.042vw, 40px) 0;
    padding-left: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s 0.4s forwards;
    word-break: keep-all;
  }
  .hero-title {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(30px, 3.394vw, 130px);
    line-height: 1.1;
    letter-spacing: clamp(-0.5px, -0.03vw, -1.2px);
    color: var(--text);
    max-width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s 0.6s forwards;
    word-break: keep-all;
  }

  /* ── SCROLL INDICATOR ── */
  .scroll-indicator {
    position: absolute;
    bottom: clamp(20px, 1.5vw, 60px);
    left: 50%;
    transform: translateX(-50%);
    width: 3.646vw;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
    flex-direction: column;
    gap: 0.468vw;
  }
  .scroll-text {
    color: #fff;
    font-family: var(--font);
    font-size: clamp(10px, 0.677vw, 26px);
    font-weight: 400;
    letter-spacing: 0.5px;
  }
  .scroll-indicator.hidden { opacity: 0 !important; }
  .scroll-indicator-line {
    width: clamp(22px, 1.35vw, 52px);
    height: clamp(34px, 2.135vw, 82px);
    position: relative;
    display: block;
    border: 2px solid #fff;
    border-radius: clamp(16px, 1.06vw, 40px);
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 0, 0, 0.15);
  }
  .scroll-indicator-line > img:first-child { display: none; }
  .scroll-indicator-point {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(6px, 0.365vw, 14px);
    height: clamp(6px, 0.365vw, 14px);
    background-color: #fff;
    border-radius: 50%;
    top: 10%;
    animation: scroll-point-move 1.8s ease-in-out infinite;
  }
  @keyframes scroll-point-move {
    0%   { top: 10%; opacity: 1; }
    70%  { top: 65%; opacity: 1; }
    85%  { top: 72%; opacity: 0; }
    100% { top: 10%; opacity: 0; }
  }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

  /* ══ COMMON SECTION HEADER ══ */
  .sec-hd { text-align: center; padding-top: clamp(40px, 6.77vw, 260px); flex-shrink: 0; }
  .sec-hd-sub { font-family: var(--font); font-weight: 500; color: #6d3b3b; font-size: clamp(11px, 0.677vw, 26px); color: var(--text-dim); letter-spacing: 0.3px; line-height: 1.8; padding: 0 16px; }
  .sec-hd-title { margin-top: clamp(12px, 1.042vw, 40px); font-family: var(--font); font-weight: 100; font-size: clamp(28px, 3.281vw, 126px); line-height: 1; letter-spacing: clamp(-1px, -0.13vw, -3px); color: var(--text); }
  .sec-hd-title strong { font-weight: 700; }
  .sec-hd--light .sec-hd-sub   { color: var(--light-text-dim); }
  .sec-hd--light .sec-hd-title { color: var(--light-text); }

  /* ── CONTENT AREA (서브페이지별 콘텐츠가 들어갈 자리) ── */
  #content-area {
    background: #f5f5f5;
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 4vw, 120px) 20px;
  }

  /* 자료 준비중 텍스트 (나중에 실제 콘텐츠 넣을 때 삭제) */
  .preparing {
    text-align: center;
    font-family: var(--font);
  }
  .preparing-title {
    font-size: clamp(40px, 5.5vw, 160px);
    font-weight: 700;
    letter-spacing: clamp(-1px, -0.15vw, -4px);
    color: #b8b8b8;
    line-height: 1.1;
    word-break: keep-all;
  }
  .preparing-sub {
    margin-top: clamp(14px, 1.2vw, 28px);
    font-size: clamp(13px, 0.833vw, 24px);
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #999;
  }

  /* ── CONTACT ── */
  #contact {
    padding: 0 0 clamp(40px, 2.083vw, 80px);
    background: var(--light-bg);
    border-top: 1px solid rgba(0,0,0,0.06);
    min-height: 100vh;
  }
  .contact-inner {
    width: 100%;
    max-width: 1890px;
    margin: 0 auto;
    padding: 0 clamp(20px, 1.042vw, 40px);
    box-sizing: border-box;
  }
  .contact-form-wrap {
    margin-top: clamp(60px, 5.99vw, 230px);
    display: flex;
    justify-content: center;
  }
  .contact-form {
    width: clamp(280px, 46.875vw, 1800px);
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .contact-form .form-group { display: flex; flex-direction: column; }
  .contact-form label {
    font-family: var(--font);
    font-size: clamp(13px, 0.729vw, 28px);
    font-weight: 700;
    color: var(--light-text);
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: clamp(10px, 0.781vw, 30px);
    line-height: 1;
  }
  .contact-form label .req { color: #e53935; margin-left: 4px; }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    height: clamp(44px, 2.214vw, 85px);
    padding: 0 clamp(12px, 0.781vw, 30px);
    background: #f5f5f5;
    border: 0;
    border-radius: 0;
    border-bottom: 3px solid #ebebeb;
    font-family: var(--font);
    font-size: clamp(13px, 0.521vw, 20px);
    color: var(--light-text);
    outline: none;
    box-sizing: border-box;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder { color: #b0b0b0; }
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus { background: #eeeeee; }

  .form-row-3 {
    display: flex;
    justify-content: flex-start;
    gap: clamp(20px, 1.953vw, 75px);
    margin-bottom: clamp(24px, 2.083vw, 80px);
  }
  .form-row-3 .form-group {
    flex: 1;
    min-width: 0;
    width: clamp(180px, 14.323vw, 550px);
  }
  .form-row-email {
    display: flex;
    align-items: flex-end;
    margin-bottom: clamp(24px, 2.083vw, 80px);
  }
  .form-row-email .email-local {
    width: clamp(220px, 17.318vw, 665px);
    margin-right: clamp(8px, 0.651vw, 25px);
  }
  .email-at {
    width: auto;
    height: clamp(44px, 2.214vw, 85px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 0.729vw, 28px);
    color: var(--light-text);
    font-weight: 500;
    flex-shrink: 0;
    margin-right: clamp(8px, 0.651vw, 25px);
  }
  .form-row-email .email-domain {
    width: clamp(160px, 13.542vw, 520px);
  }
  .form-row-email .email-select {
    width: clamp(160px, 13.542vw, 520px);
    margin-left: clamp(8px, 0.521vw, 20px);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("../image/droparrow.png");
    background-repeat: no-repeat;
    background-position: right clamp(12px, 0.781vw, 30px) center;
    background-size: clamp(14px, 0.521vw, 20px) clamp(10px, 0.365vw, 14px);
    padding-right: clamp(30px, 1.823vw, 70px);
    cursor: pointer;
  }

  .form-row-message {
    margin-bottom: clamp(14px, 0.807vw, 31px);
  }
  .contact-form textarea {
    width: 100%;
    max-width: 100%;
    height: clamp(120px, 6.51vw, 250px);
    padding: clamp(14px, 0.781vw, 30px);
    resize: none;
    line-height: 1.6;
  }

  .form-privacy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 3.255vw, 125px);
  }
  .contact-form .privacy-check {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 0.365vw, 14px);
    cursor: pointer;
    font-family: var(--font);
    font-size: clamp(13px, 0.521vw, 20px);
    font-weight: 600;
    color: var(--light-text);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    margin-bottom: 0;
    user-select: none;
  }
  .privacy-check input[type="checkbox"] { display: none; }
  .privacy-box {
    width: clamp(18px, 0.677vw, 26px);
    height: clamp(18px, 0.677vw, 26px);
    border-radius: 50%;
    background: #1a1f2e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .privacy-box::after {
    content: '';
    width: clamp(8px, 0.286vw, 11px);
    height: clamp(4px, 0.156vw, 6px);
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
  }
  .privacy-check input:not(:checked) + .privacy-box { background: #cccccc; }
  .privacy-detail {
    color: #999;
    font-size: clamp(11px, 0.469vw, 18px);
    text-decoration: none;
    margin-left: clamp(4px, 0.208vw, 8px);
  }

  .form-submit {
    display: flex;
    justify-content: center;
  }
  .contact-form .btn-submit {
    width: clamp(180px, 8.854vw, 340px);
    height: clamp(50px, 1.979vw, 76px);
    padding: 0;
    background: #111;
    color: #fff;
    border: none;
    border-radius: clamp(4px, 0.156vw, 6px);
    font-family: var(--font);
    font-size: clamp(14px, 0.677vw, 26px);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: background 0.2s;
  }
  .contact-form .btn-submit:hover {
    background: #333;
  }

  .form-success { display: none; text-align: center; padding: 24px 40px; border: 1px solid rgba(26,31,46,0.15); border-radius: 8px; background: rgba(26,31,46,0.04); margin-bottom: 24px; }
  .form-success.show { display: block; animation: fadeIn 0.3s ease; }
  .form-success h3 { font-size: clamp(16px, 0.625vw, 24px); font-weight: 700; color: var(--light-text); margin-bottom: 10px; }
  .form-success p { font-size: clamp(12px, 0.417vw, 16px); color: var(--light-text-dim); }

  @keyframes fadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

  /* ── FOOTER ── */
  .inner { max-width: 1440px; margin: 0 auto; width: 100%; padding: 0 120px; }
  .footer { background: #212121; padding: clamp(24px, 2.604vw, 50px) 0 clamp(20px, 1.875vw, 36px); }
  .footer .inner {
    max-width: 100%;
    padding: 0 clamp(20px, 6.25vw, 120px) 0 clamp(20px, 11vw, 700px);
    display: flex; flex-direction: column;
  }
  .footer-top {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: clamp(12px, 1.25vw, 24px);
    padding-bottom: clamp(20px, 2.083vw, 40px);
    margin-bottom: clamp(6px, 0.521vw, 10px);
  }
  .footer-logo { display: flex; align-items: center; gap: clamp(6px, 0.625vw, 12px); margin-left: -1.563vw; }
  .footer-logo img { height: clamp(30px, 2.917vw, 56px) !important; }
  .footer-logo-text .main { font-family: 'Pretendard', sans-serif; font-size: clamp(10px, 0.833vw, 16px); font-weight: 400; color: #fff; letter-spacing: -.3px; }
  .footer-logo-text .sub  { font-family: 'Pretendard', sans-serif; font-size: clamp(8px,  0.521vw, 10px); font-weight: 400; color: #aaa; letter-spacing: .5px; }
  .footer-nav {
    display: flex; flex-wrap: wrap;
    gap: clamp(12px, 3.125vw, 60px);
    list-style: none; padding: 0; margin: 0;
    margin-right: 7vw;
  }
  .footer-nav li a { font-family: 'Pretendard', sans-serif; font-size: clamp(10px, 0.677vw, 13px); font-weight: 400; color: #888; text-decoration: none; transition: color .2s; }
  .footer-nav li a:hover { color: #fff; }
  .footer-info { margin-bottom: clamp(12px, 1.25vw, 24px); }
  .footer-info p { font-family: 'Pretendard', sans-serif; font-size: clamp(9px, 0.625vw, 12px); font-weight: 400; color: #888; line-height: 1.8; word-break: keep-all; }
  .footer-info .divider { margin: 0 clamp(4px, 0.417vw, 8px); color: #555; }
  .footer-copy { font-family: 'Pretendard', sans-serif; font-size: clamp(8px, 0.573vw, 11px); font-weight: 400; color: #555; }

  /* ── SCROLL REVEAL ── */
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1); }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ══════════════════════════════════════════════════════════════ */
  /* ══ RESPONSIVE ══════════════════════════════════════════════ */
  /* ══════════════════════════════════════════════════════════════ */

  @media (max-width: 2560px) {
    #main-nav .hd-row, #content-nav .hd-row { padding: 0 160px; }
  }

  @media (max-width: 1920px) {
    #main-nav .hd-row, #content-nav .hd-row { padding: 0 120px; }
  }

  @media (max-width: 1440px) {
    #main-nav .hd-row, #content-nav .hd-row { padding: 0 80px; }
    .hero-content { padding: clamp(100px, 13.542vw, 520px) 80px 0 80px; margin-left: 0; }
    .footer .inner { padding: 0 80px 0 clamp(60px, 11vw, 220px); }
  }

  @media (max-width: 1280px) {
    #main-nav .hd-row, #content-nav .hd-row { padding: 0 60px; }
    .hd-menu { gap: 32px; }
    .hd-menu li a { font-size: 14px; }
    .hero-content { padding: 100px 60px 0 60px; }
    .hero-title { font-size: clamp(32px, 5vw, 70px); }
    .hero-sub { font-size: clamp(14px, 1.6vw, 20px); }
    .sec-hd-title { font-size: clamp(32px, 5vw, 80px); }
    .sec-hd-sub { font-size: clamp(11px, 1.2vw, 16px); }
    .footer .inner { padding: 0 60px 0 120px; }
  }

  /* ── 1024px (태블릿 가로) : 햄버거 시작 ── */
  @media (max-width: 1024px) {
    #main-nav .hd-row, #content-nav .hd-row { padding: 0 40px; }
    .hd-menu { display: none; }
    .hd-burger { display: block; }

    .hd-logo { margin-left: -24px; }
.hd-logo img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
}

    .hero-content { padding: 100px 40px 0 40px; align-items: flex-start; }
    .hero-sub { font-size: 16px; }
    .hero-title { font-size: clamp(34px, 6.5vw, 60px); }

    .sec-hd { padding-top: clamp(50px, 8vw, 120px); }
    .sec-hd-title { font-size: clamp(34px, 6.5vw, 64px); }
    .sec-hd-sub { font-size: 13px; }

    /* 문의 폼 */
    .contact-inner { padding: 0 40px; }
    .contact-form-wrap { margin-top: 60px; }
    .contact-form { width: 100%; }
    .form-row-3 { gap: 20px; margin-bottom: 28px; }
    .form-row-email {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      grid-template-rows: auto auto;
      column-gap: 8px;
      row-gap: 12px;
      align-items: end;
      margin-bottom: 24px;
    }
    .form-row-email .email-local {
      grid-column: 1;
      grid-row: 1;
      width: auto;
      margin: 0;
    }
    .email-at {
      display: flex;
      grid-column: 2;
      grid-row: 1;
      width: auto;
      height: 48px;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 0 2px;
      font-size: 18px;
      font-weight: 500;
    }
    .form-row-email .email-domain {
      grid-column: 3;
      grid-row: 1;
      width: auto;
      margin: 0;
    }
    .form-row-email .email-select {
      grid-column: 1 / -1;
      grid-row: 2;
      width: 100%;
      margin: 0;
    }
    .contact-form label { font-size: 14px; margin-bottom: 10px; }
    .contact-form input, .contact-form select, .contact-form textarea { height: 48px; font-size: 14px; padding: 0 14px; }
    .contact-form textarea { height: 160px; padding: 14px; max-width: 100%; }
    .form-privacy { margin-bottom: 40px; }
    .contact-form .privacy-check { font-size: 13px; gap: 8px; }
    .privacy-box { width: 20px; height: 20px; }
    .privacy-detail { font-size: 12px; }
    .contact-form .btn-submit { width: 220px; height: 52px; font-size: 15px; border-radius: 6px; }

    /* 푸터 */
    .footer .inner { padding: 0 40px; }
    .footer-logo { margin-left: 0; }
    .footer-nav { gap: 20px; margin-right: 0; }
  }

  /* ── 768px (태블릿 세로 / 큰 모바일) ── */
  @media (max-width: 768px) {
    #main-nav { padding: 12px 0; }
    #content-nav { padding: 12px 0; }
    #main-nav .hd-row, #content-nav .hd-row { padding: 0 20px; }

    .hero-content {
        padding: 0 24px;
        justify-content: flex-end;
        align-items: flex-start;
        padding-bottom: 120px;
        text-align: left;
    }
    .hero-sub { font-size: 14px; margin-bottom: 12px; }
    .hero-title { font-size: clamp(28px, 7.5vw, 44px); line-height: 1.2; }

    .sec-hd { padding-top: 60px; }
    .sec-hd-title { font-size: clamp(30px, 8vw, 48px); letter-spacing: -1px; }
    .sec-hd-sub { font-size: 12px; padding: 0 20px; }

    /* 문의 폼 */
    .contact-inner { padding: 0 20px; }
    .contact-form-wrap { margin-top: 40px; }
    .contact-form label { font-size: 13px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.1px; }
    .form-row-3 { flex-direction: column; gap: 14px; margin-bottom: 16px; }
    .form-row-3 .form-group { width: 100%; }
    .form-row-email {
      column-gap: 6px;
      row-gap: 10px;
      margin-bottom: 16px;
    }
    .email-at {
      height: 46px;
      font-size: 16px;
      padding: 0 1px;
    }
    .contact-form input, .contact-form select, .contact-form textarea { height: 46px; font-size: 14px; padding: 0 12px; border-bottom-width: 2px; }
    .contact-form textarea { height: 140px; padding: 14px; max-width: 100%; }
    .form-row-message { margin-bottom: 14px; }
    .form-privacy { margin-bottom: 26px; }
    .privacy-detail { margin-left: 6px; }
    .contact-form .btn-submit { width: 100%; max-width: 320px; height: 50px; }

    /* 푸터 */
    .footer { padding: 28px 0 22px; }
    .footer .inner { padding: 0 20px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 20px; }
    .footer-logo img { height: 36px !important; }
    .footer-nav { gap: 12px 18px; margin-right: 0; }
    .footer-nav li a { font-size: 12px; }
    .footer-info p { font-size: 11px; line-height: 1.7; }
    .footer-info .divider { display: none; }
    .footer-copy { font-size: 10px; }
    .footer-logo { margin-left: -20px; }
  }

  @media (max-width: 640px) {
    .hero-title { font-size: clamp(26px, 8vw, 40px); }
  }

  /* ── 480px (소형 모바일) ── */
  @media (max-width: 480px) {
    #main-nav .hd-row, #content-nav .hd-row { padding: 0 16px; }

    .hero-content {
        padding: 0 20px;
        padding-bottom: 110px;
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
    }
    .hero-title { font-size: 26px; }
    .hero-sub { font-size: 13px; }

    .sec-hd-title { font-size: 30px; }
    .sec-hd-sub { font-size: 11px; }

    .contact-form label { font-size: 12.5px; }
    .form-row-email { column-gap: 4px; row-gap: 8px; }
    .email-at { font-size: 14px; height: 44px; padding: 0; }
    .contact-form input, .contact-form select, .contact-form textarea { height: 44px; font-size: 13.5px; }
    .form-privacy { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 24px; }
    .contact-form .privacy-check { flex-wrap: wrap; }

    .footer-nav { gap: 10px 14px; }
    .footer-logo { margin-left: -20px; }
  }

  /* ── 가로 모드 짧은 높이 (모바일 가로) ── */
  @media (max-height: 500px) and (orientation: landscape) {
    #hero { min-height: 500px; }
    .hero-content { padding: 60px 24px 0 24px; }
  }


/* 문의제목 row — 이메일 / 문의내용 사이 간격 (기존 form-row-email 패턴 동일) */
.form-row-subject {
    margin-bottom: clamp(24px, 2.083vw, 80px);
}
@media (max-width: 1024px) {
    .form-row-subject { margin-bottom: 28px; }
}
@media (max-width: 768px) {
    .form-row-subject { margin-bottom: 20px; }
}

