/* ============================================
   LUDA LAW OFFICE - Complete Styles
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-dark: #1a1c20;
    --bg-darker: #111317;
    --bg-darkest: #0d0f12;
    --gold: #c09c67;
    --gold-light: #d4b383;
    --gold-dark: #a88550;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-gray: #a0a5ad;
    --text-dim: #9299a3;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(192, 156, 103, 0.3);
    --glass: rgba(30, 32, 36, 0.85);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --font-kr: 'Noto Sans KR', -apple-system, sans-serif;
    --font-en: 'Inter', 'Noto Sans KR', sans-serif;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* 고정 헤더에 가려지지 않도록 앵커 이동 시 여백 확보 */
    scroll-padding-top: 100px;
}

/* 모션 최소화를 선호하는 사용자 존중 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-kr);
    background: var(--bg-darker);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
/* <picture> 자체는 박스를 만들지 않고 안의 <img> 가 부모 레이아웃에 그대로 참여한다 */
picture { display: contents; }
button { font-family: inherit; cursor: pointer; }

/* === 키보드 접근성: 포커스 표시 === */
:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* 본문 바로가기 링크 (키보드/스크린리더용) */
.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 2000;
    background: var(--gold);
    color: #111;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}

/* 앵커 이동 시 고정 헤더 보정 */
section[id], main[id] {
    scroll-margin-top: 100px;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 19, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(17, 19, 23, 0.98);
    border-bottom-color: var(--border-gold);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon svg {
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 3px;
}

.logo-sub {
    font-family: var(--font-en);
    font-size: 10px;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

@media (hover: hover) {
    .nav-link:hover {
        color: var(--gold);
    }

    .nav-link:hover::after {
        width: 100%;
    }
}

.nav-link:focus-visible {
    color: var(--gold);
}

/* 현재 보고 있는 페이지 표시 */
.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    width: 100%;
}

/* Services/Results Dropdown */
.nav-item-services {
    position: relative;
}

.services-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-top: 12px;
}

.nav-item-services:hover .services-dropdown,
.nav-item-services:focus-within .services-dropdown,
.nav-item-services.expanded .services-dropdown,
.nav-item-services.open .services-dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

/* 드롭다운이 마우스 이동 중에 닫히지 않도록 연결 영역 확보 */
.nav-item-services::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
}

.services-dropdown-link {
    display: block;
    padding: 12px 24px;
    font-size: 16px;
    color: var(--text-light);
    white-space: nowrap;
    transition: var(--transition);
}

@media (hover: hover) {
    .services-dropdown-link:hover {
        color: var(--gold);
        background: rgba(192, 156, 103, 0.08);
        padding-left: 28px;
    }
}

.services-dropdown-link:focus-visible {
    color: var(--gold);
}

/* 현재 보고 있는 하위 페이지 */
.services-dropdown-link.active {
    color: var(--gold);
    font-weight: 600;
}

/* Language Selector */
.lang-selector {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 16px;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--gold);
}

.lang-flag {
    font-size: 20px;
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--text-white);
    border-radius: 10px;
    overflow: hidden;
    width: 170px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.lang-selector.open .lang-dropdown,
.lang-selector:focus-within .lang-dropdown,
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown {
    transform: translateY(-6px);
}

.lang-selector.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    min-height: 46px;
    padding: 12px 18px;
    border: none;
    background: none;
    font-size: 16px;
    color: #333;
    transition: background 0.2s;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    color: var(--gold-dark);
    font-weight: 600;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    /* 본문 line-height(1.7)를 물려받으면 버튼마다 높이가 달라진다 */
    line-height: 1.3;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a1a1a;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 156, 103, 0.3);
}

.btn-outline {
    background: transparent;
    /* 테두리 두께가 옆의 채워진 버튼과 높이를 어긋나게 하지 않도록
       1px 로 줄이고, 그만큼 안쪽 여백에서 덜어낸다 */
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 11px 27px;
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(192, 156, 103, 0.10);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-gray {
    background: #d6d8dc;
    color: #1a1a1a;
    font-weight: 600;
}

.btn-gray:hover {
    background: #e8eaee;
    transform: translateY(-2px);
}

.btn-large {
    min-height: 56px;
    padding: 14px 32px;
    font-size: 17px;
    width: 100%;
    /* 칸을 꽉 채우게 두면 620px 짜리 거대한 막대가 된다 */
    max-width: 340px;
    border-radius: 8px;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 동영상이 아직 로드되지 않았을 때 보이는 배경 (빈 검은 화면 방지) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0d0f12 url('images/hero-bg.webp') center / cover no-repeat;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    padding-top: 100px;
    width: 100%;
}

.hero-label {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-title {
    font-size: 62px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 35px;
    max-width: 700px;
}

.hero-title .gold {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 550px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* 히어로 영상 멈춤 / 재생 */
.hero-video-toggle {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.25s ease, border-color 0.25s ease;
}

.hero-video-toggle:hover,
.hero-video-toggle:focus-visible {
    opacity: 1;
    border-color: var(--gold);
}

.hero-video-icon {
    font-size: 11px;
    letter-spacing: -1px;
}

/* === WHY LUDA SECTION === */
.why-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-label {
    text-align: center;
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 400;
}

.why-heading {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 80px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid var(--gold);
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-card {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.why-card:last-child {
    border-bottom: none;
}

.why-card-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 15px;
}

.why-num {
    font-family: var(--font-en);
    font-size: 52px;
    font-weight: 400;
    color: var(--gold);
    opacity: 0.6;
    line-height: 1;
    min-width: 70px;
}

.why-card-title {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 700;
    padding-top: 12px;
}

.why-card-desc {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
    padding-left: 95px;
}

/* === CEO SECTION === */
.ceo-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a2a2a 0%, #162020 50%, #1a1c20 100%);
    position: relative;
    overflow: hidden;
}

.ceo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(20,40,35,0.3) 0%, rgba(26,28,32,0.8) 100%);
}

.ceo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ceo-label {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 30px;
    font-weight: 400;
}

.ceo-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 40px;
}

.ceo-body p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.ceo-body .spacer {
    height: 20px;
}

.ceo-signature {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ceo-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ceo-role {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.ceo-credentials p {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 4px;
}

.ceo-image img {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    display: block;
}

/* === SERVICES SECTION === */
.services-section {
    padding: 120px 0;
    background: var(--bg-darkest);
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.services-content {
    position: relative;
    z-index: 1;
}

.services-label {
    text-align: center;
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 30px;
    font-weight: 400;
}

.services-heading {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.services-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 70px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 45px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-num {
    font-family: var(--font-en);
    font-size: 40px;
    font-weight: 400;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 25px;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card-desc {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-link {
    color: var(--gold);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 12px;
}

/* === CONTACT CTA SECTION === */
.contact-cta {
    padding: 120px 0;
    background: var(--bg-darker);
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-cta-label {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 400;
}

.contact-cta-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 30px;
}

.contact-cta-desc {
    color: var(--text-gray);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.contact-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === FOOTER === */
.footer {
    background: var(--bg-darkest);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.footer-info p {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-info a {
    color: var(--text-dim);
    text-decoration: underline;
}

.footer-right {
    text-align: right;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--gold);
    font-size: 14px;
    margin-left: 20px;
}

.footer-phone {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
}

.footer-phone:hover,
.footer-phone:focus-visible {
    color: var(--gold-light);
}

.footer-links a {
    padding: 4px 0;
}

.footer-copyright {
    color: #7c828b;
    font-size: 13px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

/* === RESPONSIVE === */

/* 넓은 태블릿 / 작은 노트북 */
@media (max-width: 1200px) {
    .nav { gap: 28px; }
    .nav-link { font-size: 17px; }
}

@media (max-width: 1024px) {
    .header-inner { padding: 15px 20px; }
    .nav { gap: 22px; }
    .nav-link { font-size: 16px; }
    .hero-title { font-size: 44px; }
    .hero-content { padding: 0 20px; padding-top: 100px; }
    .why-grid, .ceo-grid, .contact-cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); max-width: none; margin: 0; }
    .why-heading, .services-heading, .ceo-title, .contact-cta-title { font-size: 32px; }
    .section-container { padding: 0 20px; }
    .ceo-image img { max-width: 420px; margin: 0 auto; }
    .contact-cta-buttons { flex-direction: row; flex-wrap: wrap; }
    .contact-cta-buttons .btn { flex: 1 1 220px; width: auto; max-width: none; }
}

/* 769~900px: 데스크톱 내비게이션이 로고·언어 버튼과 부딪히는 구간.
   글자와 간격을 줄이고 부가 라벨을 감춰 숨통을 틔운다. */
@media (max-width: 900px) {
    .nav { gap: 16px; }
    .nav-link { font-size: 15px; letter-spacing: 0; }
    .logo-sub { display: none; }
    .logo-name { font-size: 20px; letter-spacing: 2px; }
    .lang-selector { margin-left: 10px; }
    .lang-btn { padding: 10px 12px; font-size: 14px; }
    .lang-label { display: none; }
    .services-grid { gap: 20px; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 12px 7px;
    margin-left: -7px;
    position: relative;
    z-index: 1001;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}
.mobile-menu-btn span { left: 7px; width: 30px; }
.mobile-menu-btn span:nth-child(1) { top: 12px; }
.mobile-menu-btn span:nth-child(2) { top: 21px; }
.mobile-menu-btn span:nth-child(3) { top: 30px; }

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 21px;
}
.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
}

/* 모바일 메뉴가 열려 있는 동안 뒤 화면 스크롤 잠금 */
body.nav-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .header-inner { justify-content: space-between; }
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: opacity 0.3s ease;
    }
    .logo.hidden { opacity: 0; pointer-events: none; }
    .lang-selector { margin-left: 0; z-index: 1000; }
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(15, 17, 21, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 24px 48px;
        /* 항목이 많아 화면을 넘칠 때 메뉴 안에서 스크롤 */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        transition: left 0.3s ease;
        z-index: 999;
        gap: 0;
    }
    .nav.open { left: 0; }

    /* 각 항목을 옅은 선으로 구분해 목록처럼 읽히게 한다 */
    .nav > .nav-link,
    .nav > .nav-item-services {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .nav > .nav-item-services:last-child,
    .nav > .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 19px;
        font-weight: 500;
        margin-bottom: 0;
        display: block;
        width: 100%;
        padding: 17px 0;
    }

    /* 하위 메뉴가 있는 항목에는 펼침 표시를 단다 */
    .nav-item-services > .nav-link {
        position: relative;
        padding-right: 32px;
    }
    .nav-link::after { display: none; }
    .nav-item-services > .nav-link::after {
        content: '';
        display: block;
        position: absolute;
        right: 6px;
        top: 50%;
        width: 8px;
        height: 8px;
        margin-top: -6px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        background: none;
        opacity: 0.55;
        transform: rotate(45deg);
        transform-origin: center;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    .nav-item-services.expanded > .nav-link::after {
        margin-top: -2px;
        transform: rotate(-135deg);
        opacity: 1;
    }

    .services-dropdown {
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        border: none;
        min-width: auto;
    }
    .nav-item-services.expanded .services-dropdown {
        display: flex;
        flex-direction: column;
        gap: 0;
        /* 세로 선으로 상위 항목에 딸린 목록임을 보여준다 */
        margin: 0 0 14px 3px;
        padding-left: 15px;
        border-left: 2px solid rgba(192, 156, 103, 0.3);
    }
    .services-dropdown-link {
        font-size: 16px;
        color: var(--text-gray);
        padding: 11px 0;
        white-space: normal;
    }
    .services-dropdown-link.active {
        color: var(--gold);
    }

    .hero { min-height: 88vh; min-height: 88svh; }
    .hero-content { padding-top: 96px; padding-bottom: 40px; }
    .hero-label { font-size: 12px; font-weight: 500; letter-spacing: 3px; line-height: 1.6; margin-bottom: 14px; }
    .hero-title { font-size: 32px; line-height: 1.3; margin-bottom: 18px; }
    .hero-subtitle { font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 12px; }
    .hero-buttons .btn { min-height: 50px; padding: 13px 20px; font-size: 16px; width: 100%; }
    .hero-video-toggle { right: 16px; bottom: 16px; padding: 10px 14px; font-size: 12px; min-height: 44px; }

    .why-section, .ceo-section, .services-section, .contact-cta { padding: 72px 0; }

    /* 모바일 제목 위계: 섹션 제목 > 카드 제목 > 본문 순서가 지켜지도록 */
    .why-label { font-size: 12px; font-weight: 500; letter-spacing: 3px; line-height: 1.6; margin-bottom: 12px; }
    .why-heading { font-size: 26px !important; font-weight: 800; line-height: 1.4; text-align: center; margin-bottom: 36px; }
    .why-grid { gap: 28px; }
    .why-image img { height: auto; aspect-ratio: 4/3; }
    .why-card { padding: 24px 0; }
    .why-card-header { gap: 14px; margin-bottom: 8px; align-items: center; }
    .why-num { font-size: 34px; line-height: 1; min-width: 48px; }
    .why-card-title { font-size: 19px; line-height: 1.4; padding-top: 0; }
    .why-card-desc { font-size: 15px; font-weight: 400; line-height: 1.75; padding-left: 62px; margin-top: 6px; }

    .ceo-label { font-size: 12px; letter-spacing: 3px; margin-bottom: 16px; }
    .ceo-title { font-size: 26px !important; line-height: 1.45; margin-bottom: 24px; }
    .ceo-body p { font-size: 15px; line-height: 1.8; margin-bottom: 8px; }
    .ceo-signature { margin-top: 36px; padding-top: 24px; }
    .ceo-name { font-size: 20px; line-height: 1.4; margin-top: 0; margin-bottom: 6px; }
    .ceo-role { font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
    .ceo-credentials p { font-size: 14px; line-height: 1.8; }

    .services-label { font-size: 12px; letter-spacing: 3px; margin-bottom: 12px; }
    .services-heading { font-size: 26px !important; margin-bottom: 14px; }
    .services-subtitle { font-size: 15px; margin-bottom: 36px; line-height: 1.7; }
    .services-grid { grid-template-columns: 1fr; gap: 18px; }
    .service-card { padding: 28px 22px; }
    .service-num { font-size: 32px; margin-bottom: 14px; }
    .service-card-title { font-size: 19px; margin-bottom: 12px; }
    .service-card-desc { font-size: 15px; margin-bottom: 20px; line-height: 1.75; }
    .service-link { font-size: 15px; min-height: 44px; padding: 10px 0; display: inline-flex; align-items: center; }

    .contact-cta-label { font-size: 12px; letter-spacing: 3px; margin-bottom: 12px; }
    .contact-cta-title { font-size: 26px !important; line-height: 1.4; margin-bottom: 16px; }
    .contact-cta-desc { font-size: 15px; margin-bottom: 6px; line-height: 1.7; }
    .contact-cta-grid { gap: 32px; }
    .contact-cta-buttons { flex-direction: column; width: 100%; gap: 12px; }
    /* flex-basis 를 반드시 되돌린다. 세로 배치에서는 basis 가 '높이' 로 해석돼
       버튼이 220px 높이로 부풀고 글자가 한 자씩 줄바꿈된다. */
    .contact-cta-buttons .btn {
        flex: 0 0 auto;
        min-height: 52px;
        width: 100%;
        max-width: none;
        font-size: 16px;
        font-weight: 700;
        padding: 14px 20px;
    }

    .footer { padding: 48px 0 32px; }
    .footer-top { flex-direction: column; gap: 28px; }
    .footer-right { text-align: left; }
    .footer-links a { margin-left: 0; margin-right: 24px; font-size: 15px; display: inline-block; padding: 8px 0; margin-bottom: 4px; }
    .footer-phone { font-size: 26px; margin-bottom: 16px; display: inline-block; padding: 4px 0; }
    .footer-info p { font-size: 13px; line-height: 1.7; margin-bottom: 6px; }
}

/* 소형 휴대폰 (320~430px) */
@media (max-width: 430px) {
    .section-container,
    .hero-content,
    .footer-inner { padding-left: 16px; padding-right: 16px; }
    .header-inner { padding: 12px 16px; }
    .hero-title { font-size: 28px; }
    .why-heading,
    .services-heading,
    .ceo-title,
    .contact-cta-title { font-size: 23px !important; }
    .why-num { font-size: 30px; min-width: 42px; }
    .why-card-desc { padding-left: 56px; }
    .service-card { padding: 24px 18px; }
    .footer-phone { font-size: 23px; }
}


/* === LOGIN PAGE ===
   기존에는 pages.css 의 .login-* 규칙에 기대고 있었지만
   그 파일은 어느 페이지에서도 불러오지 않아 스타일이 전혀 적용되지 않았다. */
.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 360px);
    padding: 140px 0 100px;
}

.login-wrap {
    width: 100%;
    max-width: 440px;
}

.login-head {
    text-align: center;
    margin-bottom: 32px;
}

.login-head h1 {
    font-size: 30px;
    font-weight: 700;
}

.login-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 36px 32px;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.login-field input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-field input::placeholder { color: #8a8f97; }

.login-field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(192, 156, 103, 0.25);
}

.login-submit {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .login-main { padding: 110px 0 72px; min-height: 0; }
    .login-box { padding: 28px 22px; }
    .login-head h1 { font-size: 25px; }
}

/* === SCROLL REVEAL ===
   JS가 .js-reveal 을 붙여준 뒤에만 숨김이 적용되므로,
   JS가 실패하거나 느려도 내용은 항상 보인다. */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* === Utility === */
.gold { color: var(--gold); }
.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }