/* ===================== Base ===================== */
:root {
    --navy-900: #0b1f3a;
    --navy-800: #122a4d;
    --navy-700: #1a3b66;
    --navy-600: #234b82;
    --gold: #c9a24b;
    --gold-light: #e8d5a0;
    --white: #ffffff;
    --off-white: #f7f8fb;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
}

* { box-sizing: border-box; }

html, body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--navy-900);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ===================== Header ===================== */
.site-header {
    background: var(--navy-900);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.brand-icon { color: var(--gold-light); font-size: 1.3rem; }
.header-nav {
    display: flex;
    gap: 24px;
}
.header-nav a {
    color: #d8dee9;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}
.header-nav a:hover { color: var(--gold-light); }

.header-inquiry-link {
    background: none;
    border: none;
    padding: 0;
    color: #d8dee9;
    font-size: 0.92rem;
    font-weight: 500;
    font-family: inherit;
    transition: color 0.2s;
    cursor: pointer;
}
.header-inquiry-link:hover { color: var(--gold-light); }

@media (max-width: 640px) {
    .header-nav { display: none; }
}

.header-phone-banner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
    color: var(--white);
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.header-phone-banner i {
    color: var(--gold-light);
    margin-right: 6px;
}
.header-phone-banner a {
    color: var(--gold-light);
    font-weight: 800;
    margin-left: 4px;
}

@media (max-width: 900px) {
    .header-phone-banner { display: none; }
}

/* ===================== Hero ===================== */
.hero-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
    padding: 32px 20px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06) 0, transparent 40%),
                       radial-gradient(circle at 80% 80%, rgba(201,162,75,0.12) 0, transparent 45%);
}
.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,162,75,0.5);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-title {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    line-height: 1.25;
}
.hero-sub {
    color: #cdd6e6;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}
.hero-sub strong { color: var(--gold-light); }

/* ===================== Infographic ===================== */
.infographic-section {
    background: var(--off-white);
    padding: 48px 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.infographic-wrap {
    position: relative;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(11,31,58,0.18);
}
.infographic-img {
    display: block;
    width: 100%;
    height: auto;
}
.hotspot {
    position: absolute;
    left: 9%;
    width: 82%;
    border-radius: 12px;
    border: 3px solid transparent;
    transition: border-color 0.25s, background 0.25s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
}
.hotspot:hover {
    border-color: var(--gold);
    background: rgba(201,162,75,0.10);
}
.hotspot-1 { top: 35%; height: 16%; }
.hotspot-2 { top: 51%; height: 15%; }
.hotspot-3 { top: 66%; height: 14%; }
.hotspot-4 { top: 80%; height: 13.5%; }

.hotspot-btn {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hotspot-tag {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s, transform 0.25s;
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.hotspot:hover .hotspot-tag {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== Link Buttons ===================== */
.link-buttons-section {
    background: var(--white);
    padding: 8px 20px 24px;
    text-align: center;
}
.link-buttons-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 720px) {
    .link-buttons-grid { grid-template-columns: 1fr; }
}
.link-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--navy-900);
    border: 1px solid var(--navy-800);
    border-radius: 16px;
    padding: 28px 26px;
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.link-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(11,31,58,0.28);
    background: var(--navy-700);
}
.link-btn-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(201,162,75,0.15);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.link-btn-text { flex: 1 1 auto; }
.link-btn-title {
    display: block;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.link-btn-desc {
    display: block;
    color: #b9c3d6;
    font-size: 0.88rem;
}
.link-btn-arrow {
    color: var(--gold-light);
    font-size: 1.1rem;
    transition: transform 0.25s;
}
.link-btn:hover .link-btn-arrow { transform: translateX(4px); }

/* ===================== Contact CTA ===================== */
.contact-cta-section {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    padding: 24px 20px 28px;
    text-align: center;
}
.contact-cta-inner h2 {
    color: var(--white);
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 800;
    margin: 0 0 12px;
}
.contact-cta-inner p {
    color: #c6cfe0;
    margin: 0 0 26px;
}
.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--navy-900);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px 32px;
    border: none;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(201,162,75,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(201,162,75,0.45);
}

/* ===================== Footer ===================== */
.site-footer {
    background: var(--navy-900);
    color: #8b96ab;
    text-align: center;
    padding: 28px 20px 40px;
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer-note { color: #6b7690; margin-top: 6px; }
.footer-admin-link {
    display: inline-block;
    margin-top: 14px;
    color: #4a5568;
    font-size: 0.78rem;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
}
.footer-admin-link:hover {
    opacity: 1;
    color: #c9a24b;
    text-decoration: underline;
}

/* ===================== Floating Inquiry Button ===================== */
#floating-inquiry-btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 45;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-900);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.68rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(201,162,75,0.45);
    animation: float-pulse 2.4s infinite;
    line-height: 1.15;
}
#floating-inquiry-btn i { font-size: 1.3rem; margin-bottom: 2px; }
@keyframes float-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(201,162,75,0.45); }
    50% { box-shadow: 0 8px 30px rgba(201,162,75,0.75); }
}

/* ===================== Inquiry Modal ===================== */
.inquiry-modal-overlay, .privacy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.inquiry-modal-overlay.active, .privacy-modal-overlay.active {
    display: flex;
}
.inquiry-modal, .privacy-modal {
    background: var(--white);
    border-radius: 18px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.privacy-modal { max-width: 480px; }
.inquiry-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--off-white);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--navy-700);
    font-size: 1rem;
}
.inquiry-modal h3, .privacy-modal h3 {
    color: var(--navy-900);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.inquiry-modal-sub {
    color: var(--gray-500);
    font-size: 0.88rem;
    margin: 0 0 20px;
}
#inquiry-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-800);
    margin: 14px 0 6px;
}
#inquiry-form label:first-of-type { margin-top: 0; }
.required { color: #d64545; }
#inquiry-form input[type="text"],
#inquiry-form input[type="tel"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--navy-900);
    transition: border-color 0.2s;
}
#inquiry-form input:focus {
    outline: none;
    border-color: var(--navy-600);
}
.inquiry-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 6px;
}
.inquiry-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--navy-700);
}
.inquiry-consent label {
    margin: 0;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.inquiry-consent a {
    color: var(--navy-700);
    font-weight: 700;
    text-decoration: underline;
}
.inquiry-submit-btn {
    width: 100%;
    margin-top: 18px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.inquiry-submit-btn:hover { background: var(--navy-700); }
.inquiry-form-msg {
    text-align: center;
    font-size: 0.88rem;
    margin: 12px 0 0;
    min-height: 1.2em;
}
.inquiry-form-msg.success { color: #1a8f4c; font-weight: 700; }
.inquiry-form-msg.error { color: #d64545; font-weight: 700; }

.privacy-modal-body p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0 0 12px;
}
.privacy-modal-body strong { color: var(--navy-800); }

/* ===================== Responsive tweaks ===================== */
@media (max-width: 480px) {
    .header-phone-banner { font-size: 0.85rem; padding: 8px 12px; }
    #floating-inquiry-btn { width: 58px; height: 58px; right: 14px; bottom: 18px; }
}
