:root {
    --navy: #0d1b2a;
    --steel-blue: #2e6da4;
    --light-steel: #5b9bd5;
    --bg: #f4f7fb;
    --white: #ffffff;
    --text: #1a2636;
    --text-secondary: #4a6080;
    --gray: #64748b;
    --border: #dce8f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ─── 네비게이션 ─── */
.nav-wrapper {
    background-color: var(--steel-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.nav-inner {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    padding: 0 1.5rem 0 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 1rem 1.15rem;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s;
    height: 100%;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background-color: rgba(255,255,255,0.18);
    color: white;
}

/* 드롭다운 */
.nav-menu > li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    border-top: 3px solid var(--steel-blue);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 1001;
}

.nav-menu > li .dropdown-menu a {
    display: block;
    padding: 0.65rem 1.2rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    border-bottom: 1px solid #f0f4f8;
    transition: background-color 0.15s, color 0.15s, padding-left 0.15s;
}

.nav-menu > li .dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-menu > li .dropdown-menu a:hover {
    background-color: #f0f6ff;
    color: var(--steel-blue);
    padding-left: 1.5rem;
}

.nav-menu > li:hover .dropdown-menu {
    display: block;
}

/* ─── 히어로 섹션 ─── */
.hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a4a7a 100%);
    padding: 5rem 2rem;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: white;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── 버튼 ─── */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--steel-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1a56a0;
    box-shadow: 0 4px 14px rgba(46, 109, 164, 0.35);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.55);
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.12);
    box-shadow: none;
}

/* ─── 홈 서비스 그리드 ─── */
.home-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.home-section h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 2rem;
    border-left: 4px solid var(--steel-blue);
    padding-left: 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(13,27,42,0.05);
}

.service-card:hover {
    border-color: var(--steel-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46,109,164,0.14);
}

.service-no {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--border);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.service-card a {
    color: var(--steel-blue);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.service-card a:hover {
    color: #1a56a0;
    text-decoration: underline;
}

/* ─── 섹션 공통 ─── */
section {
    padding: 4rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

section h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 2rem;
    border-left: 4px solid var(--steel-blue);
    padding-left: 1rem;
}

/* ─── 카드 그리드 ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(13,27,42,0.05);
}

.card:hover {
    border-color: var(--steel-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46,109,164,0.14);
}

.card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card a {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--steel-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.card a:hover {
    color: #1a56a0;
    text-decoration: underline;
}

/* ─── 준비중 페이지 ─── */
.coming-soon {
    text-align: center;
    padding: 6rem 2rem;
}

.coming-soon .coming-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.coming-soon h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.coming-soon p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ─── 푸터 ─── */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--navy);
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    margin-top: 4rem;
}

/* ─── 문의 폼 ─── */
.contact-form {
    max-width: 600px;
}

.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-family: inherit;
}

.contact-form textarea {
    height: 160px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--steel-blue);
    box-shadow: 0 0 0 3px rgba(46,109,164,0.1);
}
