:root {
    --deep-navy: #0A192F;
    --navy-light: #112240;
    --silver: #E6F1FF;
    --white: #FFFFFF;
    --accent: #00D4FF;
    --red-alert: #FF3B30;
    --text-main: #CCD6F6;
    --text-dark: #222;
    --gray-bg: #F5F6F8;
    --card-border: #E0E0E0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }

/* ===== Ticker ===== */
.top-ticker { background: var(--red-alert); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 8px 0; overflow: hidden; white-space: nowrap; }
.ticker-content { display: inline-block; animation: ticker 100s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== Header ===== */
.main-header { background: #fff; border-bottom: 2px solid #111; position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 16px; }
.logo { font-size: 1.4rem; font-weight: 900; color: #000; display: flex; align-items: center; gap: 8px; letter-spacing: -0.04em; white-space: nowrap; flex-shrink: 0; }
.logo-badge { background: var(--red-alert); color: #fff; font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; font-weight: 800; }
.service-categories { display: flex; gap: 4px; flex-wrap: nowrap; align-items: center; }
.cat-item { text-decoration: none; color: #333; font-weight: 700; font-size: 0.88rem; padding: 6px 12px; border-radius: 6px; transition: 0.2s; white-space: nowrap; }
.cat-item:hover { background: var(--deep-navy); color: #fff; }
.cat-highlight { background: var(--red-alert) !important; color: #fff !important; font-weight: 800; }
.cat-highlight:hover { background: #cc2e26 !important; }
.nav-cta { background: #000; color: #fff; text-decoration: none; font-weight: 800; padding: 8px 18px; border-radius: 50px; font-size: 0.88rem; white-space: nowrap; flex-shrink: 0; }

/* ===== Hero (CLEAN) ===== */
.hero {
    position: relative; width: 100%; padding: 120px 20px 110px;
    background-image: url('images/KakaoTalk_20260515_093556219.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1; }
.hero-content { position: relative; z-index: 10; max-width: 850px; }
.hero-hook {
    font-size: 1.5rem; color: rgba(255,255,255,0.7); font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em;
}
.hero-title {
    font-size: 3.6rem; font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 22px;
    word-break: keep-all; letter-spacing: -0.05em;
}
.hero-title .highlight { color: #FFCC00; }
.hero-subtitle { font-size: 1.2rem; color: #bbb; margin-bottom: 40px; font-weight: 500; word-break: keep-all; line-height: 1.8; }
.hero-subtitle strong { color: #FFCC00; font-weight: 800; }
.btn-primary {
    background: var(--red-alert); color: #fff; text-decoration: none; padding: 20px 40px;
    border-radius: 14px; display: inline-flex; flex-direction: column; align-items: center;
    box-shadow: 0 10px 35px rgba(255,59,48,0.5); transition: 0.2s;
}
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 14px 45px rgba(255,59,48,0.6); }
.btn-text { font-size: 1.4rem; font-weight: 900; margin-bottom: 4px; letter-spacing: -0.02em; }
.btn-subtext { font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 600; }

.fade-up { animation: fadeUp 0.8s ease-out forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.pulse { animation: pulse 2.5s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* ===== Services ===== */
.services-section { padding: 90px 0; background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: #fff; border: 2px solid var(--card-border); border-radius: 14px; padding: 35px 25px;
    text-align: center; transition: 0.3s;
}
.service-card:hover { border-color: var(--deep-navy); transform: translateY(-4px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }
.service-icon { font-size: 2.2rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.35rem; font-weight: 800; color: #000; margin-bottom: 10px; letter-spacing: -0.03em; }
.service-card p { font-size: 0.95rem; color: #666; line-height: 1.7; }

/* ===== Radar ===== */
.coverage-section { padding: 90px 0; background: var(--gray-bg); overflow: hidden; }
.coverage-header { margin-bottom: 35px; }
.section-desc { font-size: 1.1rem; color: #666; font-weight: 500; }
.radar-map-container {
    position: relative; width: 100%; max-width: 700px; height: 360px; margin: 0 auto 45px;
    background: radial-gradient(circle, #112240 0%, #0A192F 100%);
    border-radius: 18px; border: 2px solid #222; overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}
.radar { position: absolute; top: 50%; left: 50%; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; border: 1.5px solid rgba(0,212,255,0.25); }
.radar::before, .radar::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(0,212,255,0.12); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.radar::before { width: 160px; height: 160px; }
.radar::after { width: 240px; height: 240px; }
.sweep {
    position: absolute; top: 50%; left: 50%; width: 160px; height: 160px;
    background: conic-gradient(from 0deg, rgba(0,212,255,0.65), rgba(0,212,255,0) 60%);
    transform-origin: 0 0; animation: spin 4s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.ping {
    position: absolute; width: 10px; height: 10px; background: #FFCC00; border-radius: 50%;
    box-shadow: 0 0 14px #FFCC00, 0 0 6px rgba(255,204,0,0.6); animation: pingFade 3s infinite;
    transition: opacity 0.5s, top 0.5s, left 0.5s;
}
.ping span {
    position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: max-content;
    color: #fff; font-size: 0.72rem; font-weight: 700; text-shadow: 1px 1px 3px #000;
    background: rgba(0,0,0,0.55); padding: 2px 8px; border-radius: 4px; white-space: nowrap;
}
@keyframes pingFade { 0%,100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-box { background: #fff; padding: 24px; border-radius: 12px; text-align: center; box-shadow: 0 8px 25px rgba(0,0,0,0.06); border: 2px solid #111; }
.stat-box h4 { font-size: 0.95rem; color: #000; margin-bottom: 6px; font-weight: 700; }
.stat-box strong { font-size: 2.4rem; font-weight: 900; color: var(--red-alert); }
.stat-box strong span { font-size: 1rem; }

/* ===== Trust/Impact ===== */
.dark-impact {
    background: #000; padding: 100px 0;
    background-image: radial-gradient(circle at center, #111 0%, #000 100%);
    border-top: 3px solid var(--red-alert); border-bottom: 3px solid var(--red-alert);
}
.section-title { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 45px; text-align: center; }
.white-text { color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.impact-card {
    background: #111; padding: 40px 30px; border-radius: 16px; border: 1px solid #333;
    transition: transform 0.3s; position: relative; overflow: hidden;
}
.impact-card:hover { transform: translateY(-6px); border-color: #555; }
.impact-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; }
.impact-card:nth-child(1)::before { background: var(--red-alert); }
.impact-card:nth-child(2)::before { background: var(--accent); }
.impact-card:nth-child(3)::before { background: #FFCC00; }
.trust-number { font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.04); position: absolute; top: 12px; right: 18px; line-height: 1; }
.impact-card h3 { font-size: 1.45rem; font-weight: 900; margin-bottom: 14px; }
.red-highlight { color: var(--red-alert); }
.blue-highlight { color: var(--accent); }
.yellow-highlight { color: #FFCC00; }
.impact-card p { color: #999; font-size: 1rem; line-height: 1.7; font-weight: 500; }

/* ===== AEO Content ===== */
.aeo-content-section { padding: 90px 0; background: var(--white); }
.aeo-content { max-width: 880px; margin: 0 auto 45px; }
.aeo-content p { font-size: 1.05rem; color: #444; line-height: 1.9; margin-bottom: 18px; word-break: keep-all; }
.aeo-content strong { color: #000; }
.faq-section { max-width: 880px; margin: 0 auto; }
.faq-section h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 22px; color: #000; text-align: center; }
.faq-item { background: var(--gray-bg); padding: 22px 28px; border-radius: 10px; margin-bottom: 12px; border-left: 4px solid var(--deep-navy); }
.faq-item h4 { font-size: 1.1rem; font-weight: 800; color: #000; margin-bottom: 6px; }
.faq-item p { font-size: 0.98rem; color: #555; line-height: 1.7; }

/* ===== Gallery ===== */
.cases-section { padding: 90px 0; background: var(--gray-bg); }
.section-subtitle { text-align: center; font-size: 1.1rem; font-weight: 600; color: #666; margin-bottom: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { overflow: hidden; border-radius: 12px; }
.real-image { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); transition: 0.3s; }
.real-image:hover { transform: scale(1.03); }

/* ===== Sitemap (Hierarchical) ===== */
.sitemap-section { padding: 80px 0 160px; background: var(--white); }
.sitemap-area { margin-bottom: 35px; }
.sitemap-area-title {
    font-size: 1.5rem; font-weight: 900; color: #000; margin-bottom: 18px;
    padding-bottom: 8px; border-bottom: 3px solid var(--red-alert); display: inline-block;
}
.sitemap-gu { margin-bottom: 16px; padding: 16px 20px; background: var(--gray-bg); border-radius: 10px; }
.sitemap-gu-title {
    display: inline-block; font-size: 1.1rem; font-weight: 800; color: #000;
    text-decoration: none; margin-bottom: 8px; padding: 4px 12px; background: var(--deep-navy);
    color: #fff; border-radius: 6px;
}
.sitemap-gu-title:hover { background: #1a3a6e; }
.sitemap-dongs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sitemap-dongs a {
    display: inline-block; padding: 5px 10px; background: #fff; border: 1px solid #ddd;
    border-radius: 6px; text-decoration: none; color: #444; font-size: 0.82rem; font-weight: 600;
    transition: 0.2s; white-space: nowrap;
}
.sitemap-dongs a:hover { background: var(--deep-navy); color: #fff; border-color: var(--deep-navy); }
.sitemap-dongs a.landmark-link { border-color: #FFCC00; color: #8a6d00; background: #FFFBEB; }
.sitemap-dongs a.landmark-link:hover { background: #FFCC00; color: #000; }

/* ===== Sticky CTA ===== */
.sticky-cta { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 520px; z-index: 9999; }
.sticky-btn {
    display: block; width: 100%; background: var(--red-alert); color: #fff; text-align: center;
    padding: 18px; border-radius: 12px; font-weight: 900; font-size: 1.1rem; text-decoration: none;
    box-shadow: 0 10px 30px rgba(255,59,48,0.5); border: 2px solid rgba(255,255,255,0.4);
    animation: pulse 2.5s infinite;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .service-categories { display: none; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .stats-grid, .trust-grid, .service-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero { padding: 70px 15px 60px; }
    .hero-hook { font-size: 1.1rem; }
    .hero-title { font-size: 1.7rem; }
    .gallery-grid { grid-template-columns: 1fr; }
}

.breadcrumb-container { background-color: var(--gray-bg); border-bottom: 1px solid var(--card-border); padding: 12px 0; }
.breadcrumb-nav { display: flex; align-items: center; font-size: 0.85rem; color: #666; font-weight: 500; flex-wrap: wrap; }
.breadcrumb-nav a { color: #444; text-decoration: none; transition: color 0.2s; }
.breadcrumb-nav a:hover { color: var(--red-alert); text-decoration: underline; }
.breadcrumb-nav .separator { margin: 0 8px; color: #aaa; font-size: 0.8rem; }
.breadcrumb-nav .current { color: var(--deep-navy); font-weight: 700; }
