/* ==========================================================================
   행정사무소 신뢰 - 프리미엄 CSS 디자인 시스템
   ========================================================================== */

/* 1. 디자인 토큰 및 CSS 변수 */
:root {
    /* 색상 정의 */
    --color-navy-900: #0b0f19;      /* 가장 깊은 네이비 (바탕, 깊은 인상) */
    --color-navy-800: #0f172a;      /* 딥 네이비 (메인 헤더, 히어로 배경) */
    --color-navy-700: #1e293b;      /* 중간 네이비 (풋터, 카드 호버 등) */
    --color-navy-600: #334155;      /* 보조 네이비 (텍스트, 타이틀) */
    
    --color-gold-500: #d4af37;      /* 브라이트 골드 (강조, 하이라이트) */
    --color-gold-400: #c5a880;      /* 소프트 브론즈/골드 (서브 타이틀, 보더) */
    --color-gold-600: #aa8045;      /* 다크 골드 (버튼 호버, 그림자 용) */
    --color-gold-100: #fbf8f3;      /* 웜 골드 베이지 (섹션 배경, 은은한 느낌) */

    --color-slate-100: #f8fafc;     /* 매우 밝은 슬레이트 (섹션 백그라운드) */
    --color-slate-200: #e2e8f0;     /* 보더 라인 */
    --color-slate-500: #64748b;     /* 보조 바디 텍스트 */
    
    --color-white: #ffffff;
    --color-error: #ef4444;
    --color-success: #10b981;

    /* 타이포그래피 */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --font-heading: 'Outfit', 'Pretendard', sans-serif;

    /* 그림자 및 효과 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-gold: 0 10px 20px -5px rgba(212, 175, 55, 0.2);
    --shadow-glow: 0 0 15px rgba(212, 175, 55, 0.4);

    /* 테두리 둥글기 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* 전환 속도 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. 초기화 및 기본 스타일 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-navy-600);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

strong {
    color: var(--color-navy-800);
    font-weight: 700;
}

/* 유틸리티 클래스 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6.5rem 0;
}

.bg-light {
    background-color: var(--color-slate-100);
}

.bg-navy {
    background-color: var(--color-navy-800);
}

.text-white {
    color: var(--color-white);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-500) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: var(--color-slate-500);
}

/* 3. 버튼 컴포넌트 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-500));
    color: var(--color-navy-900);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--color-gold-400);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--color-gold-500);
    color: var(--color-navy-900);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background-color: var(--color-gold-600);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    border: 1px solid var(--color-slate-200);
    color: var(--color-navy-700);
    background-color: var(--color-white);
}

.btn-outline:hover {
    border-color: var(--color-gold-500);
    color: var(--color-gold-600);
    background-color: var(--color-gold-100);
}

.btn-phone {
    padding: 0.6rem 1.2rem;
    background-color: var(--color-navy-900);
    border: 1px solid var(--color-gold-400);
    color: var(--color-gold-400);
    font-size: 0.95rem;
    border-radius: var(--radius-full);
}

.btn-phone:hover {
    background-color: var(--color-gold-500);
    color: var(--color-navy-900);
    box-shadow: var(--shadow-glow);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.icon-svg {
    width: 1.25rem;
    height: 1.25rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold-400);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.tag-gold {
    display: inline-block;
    color: var(--color-gold-400);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

/* 4. 헤더 및 GNB */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: var(--color-navy-900);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--color-gold-400);
    font-weight: 400;
    margin-right: 0.15rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold-500);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-normal);
}

/* 5. Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--color-white);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 700px) 350px;
    gap: 4rem;
 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;

    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0.8rem;
}

.hero-buttons .btn {
    min-width: 190px;
    text-align: center;
}

/* Hero Quick Consultation Form Card */
.hero-card {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-lg);

    width: 100%;
    max-width: 380px;
    margin-left: 0;
    justify-self: center;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-align: center;
}

.card-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.8rem;
    text-align: center;
}

.quick-form .form-group {
    margin-bottom: 1.1rem;
}

.quick-form input, .quick-form select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: var(--transition-normal);
}

.quick-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.quick-form input:focus, .quick-form select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-gold-400);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.quick-form select option {
    background-color: var(--color-navy-800);
    color: var(--color-white);
}

/* 6. Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 4.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold-500);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy-800);
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-slate-500);
    line-height: 1.7;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(15%);
    transition: var(--transition-slow);
}

.image-wrapper img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.gold-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--color-gold-400);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-normal);
}

.about-image:hover .gold-frame {
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border-color: var(--color-gold-500);
}

.about-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-navy-800);
    margin-bottom: 0.5rem;
}

.about-role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gold-500);
    margin-left: 0.5rem;
}

.about-quote {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-navy-700);
    border-left: 3px solid var(--color-gold-400);
    padding-left: 1rem;
    margin: 1.2rem 0 1.8rem;
    line-height: 1.6;
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-slate-500);
    margin-bottom: 2.2rem;
}

.qualifications {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.qual-column h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy-800);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gold-400);
    display: inline-block;
}

.qual-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.qual-column li {
    font-size: 0.9rem;
    position: relative;
    padding-left: 0.9rem;
    color: var(--color-navy-600);
}

.qual-column li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold-500);
    font-weight: bold;
}

/* 7. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold-400);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--color-gold-100);
    color: var(--color-gold-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--color-gold-500);
    color: var(--color-navy-900);
    transform: scale(1.05);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-navy-800);
    margin-bottom: 1rem;
}

.service-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-slate-500);
    margin-bottom: 0.7rem;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--color-slate-200);
    padding-top: 0.7rem;
}

.service-bullets li {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy-700);
    position: relative;
    padding-left: 1.2rem;
}

.service-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-gold-500);
    border-radius: var(--radius-full);
}

/* 8. Strengths & Statistics Section */
.strengths-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.strength-items {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    margin-top: 3rem;
}

.strength-item {
    display: flex;
    gap: 1.5rem;
}

.strength-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold-500);
    border: 2px solid var(--color-gold-400);
    border-radius: var(--radius-md);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strength-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy-800);
    margin-bottom: 0.5rem;
}

.strength-item p {
    font-size: 0.95rem;
    color: var(--color-slate-500);
    line-height: 1.6;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.stat-card {
    background-color: var(--color-slate-100);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.8rem;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-navy-800);
    border-color: var(--color-navy-800);
    color: var(--color-white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--color-gold-500);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold-500);
    margin-left: 0.15rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.85rem;
    color: var(--color-navy-600);
}

.stat-card:hover .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* 9. Consultation Form Section */
.consult-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.consult-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-top: 1.2rem;
    margin-bottom: 3.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 24px;
    height: 24px;
}

.method-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.2rem;
}

.method-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.method-val:hover {
    color: var(--color-gold-400);
}

/* Detailed Form Styles */
.consult-form-container {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    color: var(--color-navy-800);
}

.form-heading {
    font-size: 1.45rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.2rem;
    position: relative;
    padding-bottom: 0.85rem;
}

.form-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-gold-500);
}

.detail-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.detail-form .form-group {
    margin-bottom: 1.35rem;
}

.detail-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-navy-700);
    margin-bottom: 0.5rem;
}

.detail-form input, .detail-form select, .detail-form textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background-color: var(--color-slate-100);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-md);
    color: var(--color-navy-800);
    transition: var(--transition-normal);
}

.detail-form input::placeholder, .detail-form textarea::placeholder {
    color: var(--color-slate-500);
    font-size: 0.9rem;
}

.detail-form input:focus, .detail-form select:focus, .detail-form textarea:focus {
    background-color: var(--color-white);
    border-color: var(--color-gold-500);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 1.8rem 0;
    font-size: 0.85rem;
    color: var(--color-slate-500);
}

.form-agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
}

.btn-link {
    color: var(--color-gold-600);
    text-decoration: underline;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--color-navy-800);
}

/* 10. Location Section & Mock Map Design */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: stretch;
}

.map-container {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-slate-200);
}
.office-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;

    background: rgba(255,255,255,0.96);
    padding: 16px 20px;
    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.15);

    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;

    color: #1e293b;
}

/* simulated high fidelity premium map */
.simulated-map {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background-color: #e5e9ef;
    position: relative;
    overflow: hidden;
}

.map-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #eaf1f7;
}

.map-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-road {
    position: absolute;
    background-color: var(--color-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.road-horizontal {
    width: 100%;
    height: 36px;
}

.road-vertical {
    width: 36px;
    height: 100%;
}

.subway-station {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    background-color: var(--color-white);
    border: 1px solid #c9d6df;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.station-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #3cb44b; /* 2호선 초록색 */
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.station-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4a5568;
}

/* Pulsating Pin Marker */
.map-marker-pulsate {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
}

.pulse-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    background-color: rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.5);
    animation: pulsate 2s infinite ease-out;
}

.marker-core {
    width: 24px;
    height: 24px;
    background-color: var(--color-gold-500);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-full) var(--radius-full) 0 var(--radius-full);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.marker-icon {
    width: 14px;
    height: 14px;
    color: var(--color-navy-900);
    transform: rotate(-45deg); /* 아이콘 원복 */
}

.marker-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-navy-900);
    border: 1px solid var(--color-gold-400);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 160px;
    pointer-events: none;
    z-index: 25;
}

.marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--color-navy-900) transparent transparent transparent;
}

.marker-tooltip h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold-400);
    margin-bottom: 0.2rem;
}

.marker-tooltip p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

.map-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    z-index: 15;
}

.map-btn {
    width: 32px;
    height: 32px;
    background-color: var(--color-white);
    border: 1px solid var(--color-slate-200);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy-800);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.map-btn:hover {
    background-color: var(--color-slate-100);
    color: var(--color-gold-600);
}

.map-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-slate-200);
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--color-slate-500);
    border-radius: var(--radius-sm);
    z-index: 15;
}

/* Geo Information text styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.info-block h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy-800);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-cta-buttons {
    display: flex;
    gap: 0.85rem;
}

.transit-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.transit-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.95rem;
}

.transit-badge {
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.badge-subway {
    background-color: rgba(60, 180, 75, 0.15);
    color: #3cb44b;
    border: 1px solid rgba(60, 180, 75, 0.3);
}

.badge-bus {
    background-color: rgba(30, 144, 255, 0.15);
    color: #1e90ff;
    border: 1px solid rgba(30, 144, 255, 0.3);
}

/* 11. Footer */
.footer {
    background-color: var(--color-navy-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 3rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    max-width: 450px;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-slogan {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-gold-400);
    padding-left: 4px;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 0 0 2.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-info {
    max-width: 800px;
}

.footer-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.copyright {
    margin-top: 1.2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.footer-legal a:hover {
    color: var(--color-white);
}

#privacy-policy-link {
    color: var(--color-gold-400);
}

/* 12. 모달(Modal) 컴포넌트 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 1.5rem;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    width: 100%;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal.active .modal-dialog {
    transform: scale(1);
}

.modal-content {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gold-400);
    position: relative;
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy-800);
    margin-bottom: 0.85rem;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-body-scroll {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.modal-body-scroll p {
    margin-bottom: 0.5rem;
}

.modal-body-scroll ol {
    margin-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* 13. 애니메이션 효과 (스크롤 인스펙션용) */
@keyframes pulsate {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInAnimation 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-1 {
    animation-delay: 0.2s;
}

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

/* Intersection Observer를 활용한 리빌 애니메이션 */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}


/* ==========================================================================
   14. 반응형 레이아웃 미디어 쿼리 (Responsiveness)
   ========================================================================== */

/* A. 테블릿 가로 & 노트북 (1024px 이하) */
@media screen and (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.65rem;
    }
    
    .about-grid {
        gap: 3.5rem;
    }
    
    .about-image img {
        height: 460px;
    }
    
    .strengths-wrapper, .consult-wrapper, .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .stats-grid {
        order: -1; /* 통계를 본문 위로 올리기 */
    }
    
    .consult-info {
        max-width: 700px;
        margin: 0 auto;
    }
}

/* B. 테블릿 세로 (768px 이하) */
@media screen and (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
    
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .qualifications {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* 모바일 햄버거 메뉴 및 내비게이션 바 변형 */
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-navy-900);
        padding: 3rem 1.5rem;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .header.scrolled + .nav {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.2rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    /* 햄버거 애니메이션 */
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* C. 모바일 휴대폰 (480px 이하) */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.15rem;
    }
    
    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .about-name {
        font-size: 1.55rem;
    }
    
    .qual-column h4 {
        width: 100%;
    }
    
    .service-card {
        padding: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .consult-form-container {
        padding: 1.8rem;
    }
    
    .detail-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-container, .simulated-map {
        min-height: 350px;
    }
    
    .station-badge {
        width: 15px;
        height: 15px;
        font-size: 0.6rem;
    }
    
    .station-name {
        font-size: 0.7rem;
    }
    
    .info-cta-buttons {
        flex-direction: column;
        gap: 0.65rem;
    }
    
    .info-cta-buttons .btn {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.btn-kakao {
    background: #FEE500;
    color: #191919;
    border: none;
}

.btn-kakao:hover {
    background: #f4da00;
    color: #191919;
}

.btn-email {
    background: #0d6efd;
    color: white;
    border: none;
}

.btn-email:hover {
    background: #0b5ed7;
    color: white;
}
/* ===============================
   업무분야 카드 높이 통일
   =============================== */

.services-grid{
    align-items: stretch;
}

.service-card{
    display:flex;
    flex-direction:column;
    height:100%;
}

.service-title{
    min-height:50px;
    display:flex;
    align-items:center;
}

.service-text{
    min-height:70px;
}

.service-bullets{
    flex-grow:1;
}

.service-buttons{
    margin-top:auto;
    padding-top:15px;
}

.service-buttons .btn{
    width:100%;
    text-align:center;
}
