:root {
    --primary: #003399;
    --accent: #FFD700;
    --text-dark: #1a1a1a;
    --text-gray: #4b5563;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --font: 'Noto Sans KR', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 900; letter-spacing: -0.05em; flex-shrink: 0; }
.logo span { color: var(--primary); }
.header-call-btn { flex-shrink: 1; min-width: 0; }
.cta-btn { background: var(--primary); color: white; padding: 12px 24px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 15px; white-space: nowrap; transition: 0.3s; display: inline-block; }
.cta-btn:hover { background: #002a80; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,51,153,0.3); }
.cta-btn span { font-weight: 700; }

/* Hero Section */
.hero-master {
    position: relative;
    height: 80vh;
    min-height: 700px;
    background: #000;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay-solid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 51, 153, 0.8) 0%, rgba(0, 51, 153, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-text-layer {
    position: relative;
    z-index: 5;
    max-width: 700px;
    color: white;
}

.status-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 24px;
}

h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.04em; }
.highlight { color: var(--accent); }

.hero-info { font-size: 20px; opacity: 0.95; margin-bottom: 48px; }

.hero-metrics { display: flex; gap: 40px; margin-bottom: 48px; }
.metric strong { display: block; font-size: 34px; font-weight: 900; color: var(--accent); }
.metric span { font-size: 14px; opacity: 0.8; font-weight: 600; }

.hero-btns { display: flex; gap: 20px; }
.btn-tel { padding: 22px 40px; background: var(--accent); color: var(--primary); text-decoration: none; font-weight: 900; font-size: 19px; border-radius: 12px; }
.btn-form { padding: 22px 40px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); color: white; text-decoration: none; font-weight: 800; font-size: 19px; border-radius: 12px; }

/* Services */
.services-v2 { padding: 120px 0; background: var(--bg-light); }
.title-v2 { text-align: center; margin-bottom: 80px; }
.title-v2 h2 { font-size: 40px; font-weight: 900; letter-spacing: -0.04em; }

.service-v2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.v2-card { background: #ffffff; border-radius: 24px; overflow: hidden; border: 1px solid #eee; }
.v2-card-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.v2-card-img img { width: 100%; height: 100%; object-fit: cover; }
.v2-card-body { padding: 40px; }
.v2-card-body h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; color: var(--primary); }

/* FAQ Section */
.faq-section { padding: 80px 0; background: #ffffff; border-top: 1px solid #eee; }
.faq-grid { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 30px; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; }
.faq-item h4 { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.faq-item p { font-size: 16px; color: var(--text-gray); }

/* Consultation */
.consult-v2 { padding: 100px 0; background: var(--primary); color: white; }
.consult-v2-inner { display: flex; gap: 80px; align-items: center; }
.consult-v2-text { flex: 1; }
.consult-v2-text h2 { font-size: 48px; font-weight: 900; margin-bottom: 24px; }
.consult-v2-text p { font-size: 20px; opacity: 0.9; line-height: 1.5; }

.consult-v2-form-box { flex: 1.2; background: #ffffff; padding: 50px; border-radius: 32px; }
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.consult-v2-form-box input, .consult-v2-form-box textarea { width: 100%; padding: 18px; border: 1px solid #e0e0e0; border-radius: 12px; font-size: 16px; background: #fafafa; color: #000; }
.consult-v2-form-box textarea { height: 120px; margin-bottom: 20px; }
.v2-submit-btn { width: 100%; padding: 22px; background: var(--primary); color: white; border: none; border-radius: 12px; font-weight: 900; font-size: 20px; cursor: pointer; transition: background 0.3s; }

/* Footer */
.footer-v2 { padding: 80px 0; border-top: 1px solid #eee; }
.footer-v2-top { display: flex; justify-content: space-between; align-items: center; }
.v2-f-logo { font-size: 24px; font-weight: 900; }
.v2-f-contact { font-size: 15px; color: var(--text-gray); }
.v2-f-copy { text-align: center; margin-top: 40px; font-size: 13px; color: #999; }

/* Mobile and Tablet Layouts */
@media (max-width: 992px) {
    .hero-master { height: auto; padding: 120px 0 80px; }
    .hero-bg-layer img { object-position: 70% top; }
    .hero-overlay-solid { background: linear-gradient(0deg, rgba(0, 51, 153, 0.9) 0%, rgba(0, 51, 153, 0.7) 100%); }
    .hero-text-layer { text-align: center; margin: 0 auto; padding: 0 10px; }
    .hero-metrics { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-tel, .btn-form { width: 100%; max-width: 400px; text-align: center; }
    .service-v2-grid { grid-template-columns: 1fr; }
    .consult-v2-inner { flex-direction: column; text-align: center; }
    .form-row { flex-direction: column; gap: 15px; }
    .title-v2 h2 { font-size: 32px; }
    .consult-v2-text h2 { font-size: 36px; }
}

@media (max-width: 768px) {
    .header { padding: 15px 0; }
    .logo { font-size: 22px; }
    .cta-btn { padding: 10px 18px; font-size: 13px; }
    h1 { font-size: 36px; line-height: 1.2; }
    .hero-info { font-size: 18px; margin-bottom: 30px; }
    .metric strong { font-size: 28px; }
    .v2-card-body { padding: 25px; }
    .consult-v2-form-box { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .logo { font-size: 18px; }
    .cta-btn { padding: 8px 14px; font-size: 12px; }
    .cta-btn span { display: none; } 
    h1 { font-size: 28px; letter-spacing: -0.02em; }
    .hero-info { font-size: 16px; margin-bottom: 24px; }
    .status-badge { font-size: 12px; padding: 4px 12px; margin-bottom: 15px; }
    .v2-submit-btn { font-size: 18px; padding: 18px; }
    .hero-metrics { gap: 10px; }
    .metric strong { font-size: 24px; }
    .metric span { font-size: 12px; }
}

/* Fixed Bar */
.v2-fixed-bar { display: none; position: fixed; bottom: 0; width: 100%; background: var(--primary); padding: 20px; z-index: 1001; text-align: center; }
.v2-fixed-bar a { color: white; text-decoration: none; display: flex; flex-direction: column; }
.v2-fixed-bar strong { font-size: 24px; font-weight: 900; }
@media (max-width: 768px) { .v2-fixed-bar { display: block; } body { padding-bottom: 90px; } }
