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

:root {
    --p: #1E3A8A;
    --s: #2563EB;
    --l: #3B82F6;
    --bg: #0f1d3d;
    --tx: #f1f5f9;
    --mt: #94a3b8;
    --bd: rgba(255, 255, 255, .1);
    --bb: rgba(37, 99, 235, .3);
    --glass: rgba(255, 255, 255, .04)
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Pretendard GOV", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--tx);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased
}

.rv {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease
}

.rv.show {
    opacity: 1;
    transform: none
}

/* NAV - 최상위 z-index, 절대 가려지지 않음 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 22px 5% 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    transition: background-color .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
    pointer-events: auto
}

nav.sc {
    background: rgba(15, 29, 61, .96);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--bd);
    padding-top: 22px;
}

nav a {
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto
}

.nav-cert {
    justify-self: start;
    white-space: nowrap;
}

.logo {
    justify-self: center;
}

.logo img {
    height: clamp(36px, 4.2vw, 40px);
    filter: brightness(0) invert(1);
    opacity: .95;
    transition: .3s
}

.nav-menu {
    position: relative;
    justify-self: end;
}

.menu-icon {
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.menu-icon:hover {
    color: var(--l);
}

.dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(15, 29, 61, .95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bd);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.nav-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    padding: 14px 20px;
    color: var(--mt);
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem;
}

.dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 24px;
}

/* 모든 섹션 공통: 스택 카드 효과를 위한 sticky */
.page {
    --stack-top: 0px;
    min-height: 0;
    height: calc(100vh - var(--stack-top));
    height: calc(100dvh - var(--stack-top));
    padding: 80px 5% 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: var(--stack-top);
    background: var(--bg);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, .4);
    overflow: hidden;
}

.page-scroll {
    width: 100%;
    max-height: 100%;
    min-height: 0;
    overflow-x: clip;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scrollbar-gutter: stable;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.page-scroll::-webkit-scrollbar {
    display: none;
}

.page.inner-scrollable .page-scroll {
    justify-content: flex-start;
}

.page.hero {
    align-items: stretch;
    position: sticky;
    top: 0;
    box-shadow: none;
    z-index: 1
}

/* 스택 순서를 위한 z-index - 위에 쌓이는 페이지일수록 높은 z-index */
#home {
    z-index: 1
}

#svc {
    z-index: 2
}

#insp {
    z-index: 3
}

#process {
    z-index: 4
}

#checkpoint {
    z-index: 5
}

#contact {
    z-index: 6
}

/* HERO Backgrounds */
.hero {
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
    align-content: center;
    gap: 40px;
    min-height: 100vh;
    padding: 200px 5% 80px;
    transition: background-color 1s ease
}

/* Removed Weather transitions */

.orb1 {
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, .12);
    top: -10%;
    left: -5%
}

.orb2 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, .08);
    bottom: 5%;
    right: 5%;
    animation-delay: 5s
}

.hero-text {
    position: relative;
    z-index: 2;
    margin-top: 72px
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--bd);
    font-size: clamp(0.6rem, 0.67vw + 0.5rem, 1rem);
    font-weight: 800;
    color: var(--mt)
}

.pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, .5);
    animation: pulse 2s infinite
}

.pill.blue {
    background: rgba(37, 99, 235, .15);
    border-color: rgba(37, 99, 235, .3);
    color: #93c5fd;
    font-size: clamp(0.65rem, 0.71vw + 0.55rem, 1.08rem);
    font-weight: 900;
    padding: 11px 26px
}

.hero h1 {
    font-size: clamp(1.2rem, 5.33vw + 0.2rem, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 18px;
    color: #fff
}

.hero h1 .grad {
    background: linear-gradient(135deg, #60a5fa, #93c5fd, #bfdbfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 5s linear infinite
}

.hero .sub {
    font-size: clamp(0.78rem, 0.44vw + 0.77rem, 1.1rem);
    color: var(--mt);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 24px
}

.hero-nums {
    display: flex;
    gap: 28px
}

.hn {
    padding-left: 14px;
    border-left: 3px solid var(--s)
}

.hn strong {
    display: block;
    font-size: clamp(0.9rem, 1.56vw + 0.63rem, 1.8rem);
    font-weight: 900;
    color: #fff
}

.hn span {
    font-size: .78rem;
    color: var(--mt)
}

.weather-fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 30px;
}

.sun-fx,
.rain-fx,
.snow-fx {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.page.hero.weather-clear .sun-fx {
    opacity: 1;
}

.page.hero.weather-rain .rain-fx {
    opacity: 1;
}

.page.hero.weather-snow .snow-fx {
    opacity: 1;
}

/* Sun rays & glow */
.sun-fx {
    background: radial-gradient(circle at 80% -10%, rgba(253, 184, 19, 0.4) 0%, transparent 50%);
}

.sun-fx::after {
    content: '';
    position: absolute;
    top: -50px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: #fdb813;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-sun 4s infinite alternate;
}

@keyframes pulse-sun {
    0% {
        transform: scale(1);
        opacity: 0.6
    }

    100% {
        transform: scale(1.2);
        opacity: 0.9
    }
}

/* Realistic Rain (CSS only) */
.rain-fx {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 8px 120px, 15px 150px;
    background-position: 0 0, 0 0;
    animation: rainDrop 0.6s linear infinite;
    transform: rotate(10deg) scale(1.5);
}

@keyframes rainDrop {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 0 100vh, 0 100vh;
    }
}

/* Realistic Snow */
.snow-fx {
    background-image:
        radial-gradient(4px 4px at 20px 30px, #fff, transparent),
        radial-gradient(6px 6px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 50px 160px, #fff, transparent),
        radial-gradient(4px 4px at 90px 40px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(5px 5px at 130px 80px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: snowFall 5s linear infinite;
}

@keyframes snowFall {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 200px;
    }
}

/* 히어로 우측 카드들 */
.hero-side {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.side-card {
    padding: 24px;
    border-radius: 18px;
    background: var(--glass);
    border: 1px solid var(--bd);
    backdrop-filter: blur(8px)
}

.side-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px
}

.side-card>p {
    font-size: .8rem;
    color: var(--mt);
    margin-bottom: 14px
}

.sf {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.sf input,
.sf select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--bd);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    transition: .3s;
    -webkit-appearance: none
}

.sf input:focus,
.sf select:focus {
    border-color: var(--s);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15)
}

.sf input::placeholder {
    color: #64748b
}

.sf select {
    color: var(--mt)
}

.sf select option {
    background: #1a2744;
    color: #fff
}

.sf button {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--p), var(--s));
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: .3s
}

.sf button:hover {
    box-shadow: 0 6px 16px rgba(37, 99, 235, .35)
}

.sf button.kakao {
    background: #FEE500;
    color: #000
}

.sf button.kakao:hover {
    box-shadow: 0 6px 16px rgba(254, 229, 0, .35)
}

.sr {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    display: none;
    font-size: .85rem
}

.sr.found {
    display: block;
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .2)
}

.sr.notfound {
    display: block;
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .2)
}

.sr.ok {
    display: block;
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .2)
}

.live-banner {
    --live-accent: #94a3b8;
    position: absolute;
    top: 90px;
    left: 5%;
    width: 90%;
    background:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(135deg, rgba(9, 21, 45, 0.96), rgba(15, 23, 42, 0.86));
    background-size: 24px 24px, 24px 24px, auto;
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 10fr 30fr 38fr 22fr;
    align-items: center;
    padding: clamp(6px, 0.55vw, 10px) clamp(14px, 1.35vw, 21px) calc(clamp(6px, 0.55vw, 10px) + 12px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.08);
    gap: 10px;
    box-sizing: border-box;
    z-index: 10;
    overflow: visible;
}

.live-banner::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 18px;
    background: rgba(2, 6, 23, 0.24);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.live-banner::after {
    content: none;
}

#lbClockArea {
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 18px !important;
    min-width: 0 !important;
}

.live-board-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
    color: #dbeafe;
    font-size: clamp(0.96rem, 0.5vw + 0.78rem, 1.4rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.18;
    white-space: normal;
    text-align: center;
    text-shadow: none;
}

.live-board-title span:first-child {
    position: relative;
    color: #FF8C02;
    text-shadow: 0 0 14px rgba(255, 140, 2, 0.34);
}

.live-board-title span:last-child {
    color: #dbeafe;
}

.live-board-title::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -5px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF8C02, transparent);
    opacity: 0.8;
    animation: liveTitleScan 2.8s ease-in-out infinite;
}

#lbClockDate {
    font-size: clamp(0.84rem, 0.31vw + 0.75rem, 1.18rem) !important;
    color: #94a3b8;
    font-weight: 800;
    margin-bottom: 6px;
}

#lbClockTime {
    font-size: clamp(1rem, 0.6vw + 0.93rem, 1.8rem) !important;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
}

#lbClockTime .clock-seconds {
    font-size: clamp(0.72rem, 0.29vw + 0.63rem, 1rem);
    color: #94a3b8;
}

.clock-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: auto;
    flex: 0 0 auto;
}

.banner-weather {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    position: relative;
    cursor: help;
}

#bannerWeatherIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.banner-weather-icon {
    width: clamp(60px, 5.5vw, 84px);
    height: clamp(60px, 5.5vw, 84px);
    display: block;
}

#bannerWeatherTemp {
    font-size: clamp(0.75rem, 0.35vw + 0.65rem, 1.16rem);
    color: #bfdbfe;
    font-weight: 900;
}

/* 구역 1: 상태 배지 및 타이틀 */
.wide-section-status {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 6px 9px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.16));
    border: 0;
    border-left: 3px solid var(--live-accent);
    border-radius: 0;
}

.status-badge-wrap {
    position: relative;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 9px;
    border-radius: 5px;
    background: rgba(239, 68, 68, 0.12);
    border: 0;
    box-shadow: none;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: none;
    animation: pulseGlow 1.5s infinite;
}

.live-badge {
    font-size: clamp(0.66rem, 0.125vw + 0.62rem, 0.8rem);
    font-weight: 900;
    letter-spacing: 1px;
    color: #f87171;
}

.status-text h2 {
    color: #fff;
    font-size: clamp(0.96rem, 0.5vw + 0.78rem, 1.4rem);
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
    text-shadow: none;
}

.holiday-name {
    color: #f87171;
}

.live-banner.is-live .status-text h2 {
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    animation: none;
}

.live-banner.is-live .status-badge-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 68px;
    height: 6px;
    transform: translateX(-50%);
    background: #f87171;
    border-radius: 999px;
    animation: liveDotFlow 2.1s steps(6, end) infinite;
    mask:
        radial-gradient(circle at 3px 50%, #000 0 3px, transparent 3.4px) 0 0 / 12px 6px repeat-x;
    -webkit-mask:
        radial-gradient(circle at 3px 50%, #000 0 3px, transparent 3.4px) 0 0 / 12px 6px repeat-x;
}

.status-text p {
    font-size: clamp(0.74rem, 0.104vw + 0.71rem, 0.86rem);
    font-weight: 500;
    color: #94a3b8;
    margin: 12px 0 0 0;
}

.status-text p.is-holiday {
    color: #fca5a5;
    font-weight: 800;
}

.vehicle-line {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.1vw, 18px);
    color: #fff;
    font-weight: 800;
    min-width: 0;
    white-space: nowrap;
}

.vehicle-line .vehicle-plate,
.vehicle-line .vehicle-model {
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-line .vehicle-model {
    max-width: min(22vw, 260px);
}

.vehicle-type {
    color: #cbd5e1;
}

.live-line {
    color: #fff !important;
}

/* 구역 2: 프로그레스 바 (가운데 넓은 영역) */
.wide-section-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}

.live-progress-bg {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    height: 8px;
    position: relative;
    overflow: hidden;
}

.live-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, #3b82f6 0%, #22c55e 30%, #eab308 60%, #f97316 80%, #ef4444 100%);
    border-radius: 10px;
    transition: width 1s linear;
}

.live-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: clamp(0.68rem, 0.18vw + 0.62rem, 0.85rem);
    font-weight: 700;
    color: #94a3b8;
}

.live-timer {
    font-weight: 900;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* 구역 3: 직전 검사 기록 */
.wide-section-recent {
    justify-self: end;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px 10px 6px 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 0;
    background: transparent;
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
}

.recent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px !important;
}

.recent-label {
    font-size: clamp(0.66rem, 0.05vw + 0.636rem, 0.7rem);
    font-weight: 800;
    color: #94a3b8;
}

.recent-time {
    font-size: clamp(0.66rem, 0.05vw + 0.636rem, 0.7rem);
    font-weight: 800;
    color: #94a3b8;
    text-align: right;
    white-space: nowrap;
}

.recent-body {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
}

.recent-line {
    justify-content: flex-start;
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
    font-size: clamp(0.78rem, 0.1vw + 0.732rem, 0.86rem);
    font-weight: 700;
    flex-wrap: wrap;
}

.recent-line span {
    white-space: nowrap;
    flex-shrink: 0;
}

.recent-status {
    font-size: clamp(0.66rem, 0.025vw + 0.648rem, 0.68rem);
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 5px;
    white-space: nowrap;
    min-width: 56px;
    text-align: center;
    box-sizing: border-box;
    margin-left: 2px;
}

.recent-status.pass {
    background: #eff6ff;
    color: #2563EA;
    border: 1px solid #bfdbfe;
}

.recent-status.fail {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.recent-status.re {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.recent-status.live {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.16);
}

@media (max-width: 1500px) and (min-width: 901px) {
    .live-banner {
        grid-template-columns: minmax(70px, 0.5fr) minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(160px, 1.2fr);
        align-items: center;
        gap: 8px 12px;
        padding: 8px 16px 20px;
    }

    .live-board-title {
        padding-right: 12px;
        border-right: 1px solid rgba(148, 163, 184, 0.14);
    }

    #lbClockArea {
        gap: 12px !important;
        padding-right: 12px !important;
        border-right: 1px solid rgba(148, 163, 184, 0.12) !important;
    }

    .banner-weather-icon {
        width: clamp(50px, 4.5vw, 68px);
        height: clamp(50px, 4.5vw, 68px);
    }

    .wide-section-status {
        min-width: 0;
        padding: 4px 8px;
    }

    .status-text {
        min-width: 0;
    }

    .status-text h2 {
        white-space: normal;
        line-height: 1.14;
    }

    .live-line {
        gap: 8px;
        white-space: normal;
        flex-wrap: wrap;
    }

    .wide-section-recent {
        width: 100%;
        padding: 4px 8px 4px 12px;
        border-left: 1px solid rgba(148, 163, 184, 0.12);
    }

    .recent-header {
        gap: 8px;
    }

    .recent-line {
        gap: 7px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .recent-status {
        min-width: 48px;
        padding: 2px 6px;
    }
}

.recent-model {
    font-size: clamp(0.88rem, 0.16vw + 0.82rem, 1.05rem);
    font-weight: 700;
    color: #e2e8f0;
    white-space: nowrap;
}

.hours-progress {
    position: absolute;
    left: clamp(20px, 2.4vw, 36px);
    right: clamp(20px, 2.4vw, 36px);
    bottom: 4px;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(130px, auto) 1fr;
    align-items: center;
    gap: 10px;
}

.hours-progress.is-holiday {
    grid-template-columns: 1fr;
}

.hours-progress.is-holiday .hours-progress-meta {
    display: none;
}

.hours-progress-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: clamp(0.64rem, 0.11vw + 0.6rem, 0.74rem);
    font-weight: 900;
    white-space: nowrap;
}

#hoursProgressLabel {
    color: #fff;
}

#hoursProgressTime {
    color: #93c5fd;
}

#hoursProgressTime.is-holiday {
    color: #f87171;
}

.hours-progress-track {
    height: 4px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 5px;
    overflow: hidden;
}

.hours-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0E74E4 0%, #8CE347 25%, #FEF23C 50%, #FF8C02 75%, #F53F2E 100%);
    background-size: calc(100vw - 72px) 100%;
    background-position: left center;
    border-radius: 5px;
    transition: width 0.5s ease;
}

@media (max-width: 1180px) and (min-width: 901px) {
    .live-banner {
        grid-template-columns: minmax(60px, 0.45fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(140px, 1.1fr);
        gap: 8px 10px;
    }

    .hero-text {
        margin-top: 116px;
    }

    .banner-weather-icon {
        width: clamp(44px, 4vw, 60px);
        height: clamp(44px, 4vw, 60px);
    }

    .wide-section-recent {
        justify-self: stretch;
        padding-left: 10px;
        border-left: 1px solid rgba(148, 163, 184, 0.12);
        padding-top: 4px;
    }
}

@media (max-height: 1100px) and (min-width: 901px) {
    .hero-text {
        margin-top: 132px;
    }

    .hero {
        padding-top: 230px;
    }
}

@media (max-width: 1180px) and (min-width: 901px) and (max-height: 1100px) {
    .hero-text {
        margin-top: 160px;
    }
}

@media (max-width: 900px) {
    nav {
        padding-top: 14px;
        grid-template-columns: minmax(92px, 1fr) auto minmax(46px, 1fr);
        column-gap: 8px;
    }

    .nav-cert.pill.blue {
        max-width: min(31vw, 126px);
        padding: 5px 8px;
        font-size: clamp(0.54rem, 2vw, 0.7rem);
        line-height: 1.08;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .logo img {
        content: url('https://cdn.imweb.me/upload/S2017082759a2c0d30f96f/181a51255c16d.png');
        height: clamp(40px, 12vw, 51px);
        filter: brightness(0) invert(1);
    }

    .page.hero {
        position: relative; /* 모바일에서는 sticky 해제 → 페이지 스크롤로 전체 콘텐츠 접근 */
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    .hero {
        padding-top: 0;
        gap: 18px;
    }

    .hero-text {
        margin-top: 318px; /* JS가 배너 실제 높이 기준으로 동적 업데이트 */
    }

    .live-banner {
        grid-template-columns: 1fr 3fr;
        align-items: stretch;
        gap: 8px;
        padding: 7px 10px 30px;
        position: absolute;
        top: 96px;
        left: 5%;
        width: 90%;
        margin-bottom: 0;
        border-radius: 8px;
    }

    #lbClockArea {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px !important;
        padding-right: 0 !important;
        padding-bottom: 0;
        border-right: 0 !important;
        border-bottom: 0;
    }

    .clock-main {
        display: flex;
        gap: 10px;
    }

    .clock-main>div:first-child {
        min-width: 0;
    }

    .live-hourly {
        min-width: unset;
        width: 92vw;
        max-width: unset;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(5px, 2vw, 8px);
        padding: 12px 10px;
    }

    .banner-weather:hover .live-hourly,
    .banner-weather:focus-within .live-hourly {
        transform: translateY(0);
    }

    .live-hourly .wx-hour-icon {
        width: clamp(28px, 8vw, 40px);
        height: clamp(28px, 8vw, 40px);
    }

    .live-board-title {
        letter-spacing: 0;
        padding: 6px 8px;
        border-right: 1px solid rgba(148, 163, 184, 0.12);
        border-bottom: 0;
    }

    .clock-main {
        min-width: 0;
    }

    .banner-weather {
        gap: 5px;
        padding: 3px 6px;
    }

    .banner-weather-icon {
        width: clamp(52px, 15vw, 78px);
        height: clamp(52px, 15vw, 78px);
    }

    .hours-progress {
        left: 12px;
        right: 12px;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hours-progress-meta {
        justify-content: space-between;
    }

    .hours-progress-track {
        height: 5px;
    }

    .wide-section-status {
        grid-column: 1 / -1;
        width: 100%;
        gap: 8px;
        padding: 6px 8px;
        text-align: left;
        align-items: flex-start;
    }

    .status-badge-wrap {
        padding: 4px 8px;
        flex-shrink: 0;
    }

    .live-badge {
        letter-spacing: 0.04em;
    }

    .status-text h2 {
        letter-spacing: -0.02em;
    }

    .status-text p {
        margin-top: 5px;
    }

    .vehicle-line {
        flex-wrap: wrap;
        row-gap: 7px;
        white-space: normal;
    }

    .vehicle-line .vehicle-model {
        max-width: 100%;
    }

    .wide-section-progress {
        max-width: 100%;
        margin-top: 10px;
    }

    .wide-section-recent {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        padding-left: 0;
        border-left: none;
        padding-top: 10px;
        margin-top: 0;
    }

    .recent-header {
        justify-content: flex-start;
    }

    .recent-body {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .recent-line {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    /* 예보는 툴팁으로만 노출합니다. */
}

@media (max-width: 480px) {
    .hero {
        padding-top: 0;
    }

    .page {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* ── 홈 히어로 ── */
    .hero h1 {
        line-height: 1.18;
    }

    .hero .sub {
        line-height: 1.65;
    }

    .pill {
        padding: 7px 12px;
    }

    .pill.blue {
        padding: 8px 14px;
    }

    .nav-cert.pill.blue {
        max-width: 30vw;
        padding: 5px 7px;
        font-size: clamp(0.5rem, 2.25vw, 0.62rem);
    }

    /* ── 공통 섹션 타이틀 ── */
    .st {
        margin-bottom: 20px;
    }

    .st .lab {
        letter-spacing: 2px;
    }

    /* ── 카드 레이아웃 공통 ── */
    .svc-row,
    .proc-row,
    .insp-row,
    .fee-row,
    .ci {
        padding: 16px;
    }

    .svc-row,
    .proc-row,
    .insp-row,
    .fee-row {
        gap: 13px;
    }

    .svc-row .simg,
    .proc-row .pimg,
    .insp-row .iimg,
    .fee-row .fimg {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }

    /* ── 카드 본문 / 리스트 ── */
    .svc-row p,
    .proc-row p,
    .insp-row li,
    .ci p,
    .ckp-label {
        line-height: 1.55;
    }

    .live-banner {
        grid-template-columns: 1fr 3fr;
        padding: 7px 9px 32px;
        gap: 8px;
    }

    .hours-progress {
        left: 12px;
        right: 12px;
        bottom: 5px;
    }

    #lbClockArea {
        display: flex !important;
        gap: 4px !important;
    }

    .live-board-title {
        letter-spacing: 0;
        max-width: none;
        white-space: normal;
        line-height: 1.15;
    }

    .banner-weather {
        padding: 2px 5px;
    }

    .banner-weather-icon {
        width: 44px;
        height: 44px;
    }

    .wide-section-status {
        flex-direction: row;
        align-items: flex-start;
    }

    .status-text h2 {
        letter-spacing: -0.02em;
    }

    .recent-header {
        align-items: flex-start;
    }

    .recent-status {
        padding: 2px 7px;
    }

    .recent-line {
        font-weight: 700;
        gap: 7px;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

@keyframes liveDotFlow {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: .4;
    }

    60% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 100%);
        opacity: .4;
    }
}

@keyframes liveTitleScan {

    0%,
    100% {
        transform: translateX(-18%);
        opacity: 0.25;
    }

    50% {
        transform: translateX(18%);
        opacity: 0.9;
    }
}

/* 탭 전환 */
.tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px
}

.tab {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--bd);
    background: transparent;
    color: var(--mt);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: .2s;
    text-align: center
}

.tab.active {
    background: var(--s);
    border-color: var(--s);
    color: #fff
}

.tab-body {
    display: none
}

.tab-body.active {
    display: block
}

/* 섹션 타이틀 */
.st {
    margin-bottom: 32px;
    text-align: center
}

.st .lab {
    display: block;
    font-size: clamp(0.62rem, 0.38vw + 0.57rem, 0.85rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--l);
    margin-bottom: 10px
}

.st h2 {
    font-size: clamp(1.05rem, 3.33vw + 0.4rem, 2.9rem);
    font-weight: 900;
    color: #fff
}

.guide-group-title {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 14px;
    text-align: left;
}

.guide-group-title-process {
    margin-top: 28px;
}

.guide-group-title span {
    display: block;
    margin-bottom: 6px;
    color: #93c5fd;
    font-size: clamp(0.62rem, 0.34vw + 0.58rem, 0.82rem);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.guide-group-title h2,
.guide-group-title h3 {
    color: #fff;
    font-size: clamp(0.96rem, 0.92vw + 0.82rem, 1.55rem);
    font-weight: 900;
}

/* ===== 전체 세로 1열 레이아웃 ===== */

/* 서비스: 좌 일러스트 우 텍스트 (다른 섹션과 통일) */
#svc {
    background: #0d1a38
}

.svc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    width: 100%
}

.svc-row {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--bd);
    transition: .3s
}

.svc-row:hover {
    border-color: var(--bb);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2)
}

.svc-row .simg {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.svc-row .simg img {
    width: 80%;
    height: 80%;
    object-fit: contain
}

.svc-row h3 {
    font-size: clamp(0.8rem, 0.78vw + 0.72rem, 1.3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px
}

.svc-row p {
    font-size: clamp(0.74rem, 0.58vw + 0.67rem, 1.1rem);
    color: var(--mt);
    line-height: 1.7
}

.svc-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
    color: #93c5fd;
    font-size: clamp(0.58rem, 0.28vw + 0.55rem, 0.76rem);
    font-weight: 850;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.svc-points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}

.svc-points span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 7px;
    background: rgba(96, 165, 250, .1);
    border: 1px solid rgba(147, 197, 253, .18);
    color: rgba(226, 232, 240, .94);
    font-size: clamp(0.64rem, 0.34vw + 0.6rem, 0.84rem);
    font-weight: 750;
    line-height: 1.25;
}

/* 검사 안내: 세로, 좌 일러스트 우 텍스트 */
#insp {
    background: #0f1d3d
}

/* 검사 절차: 세로, 좌 일러스트 우 텍스트 */
#process {
    background: #0f1d3d
}

.proc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    width: 100%
}

.proc-row {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--bd);
    transition: .3s
}

.proc-row:hover {
    border-color: var(--bb);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2)
}

.proc-row .pimg {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.proc-row .pimg img {
    width: 80%;
    height: 80%;
    object-fit: contain
}

.proc-row .ptitle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px
}

.proc-row h4 {
    font-size: clamp(0.8rem, 0.78vw + 0.72rem, 1.3rem);
    font-weight: 800;
    color: #fff
}

.proc-row p {
    font-size: clamp(0.74rem, 0.58vw + 0.67rem, 1.1rem);
    color: var(--mt);
    line-height: 1.65
}

.process-points {
    list-style: none;
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.process-points li {
    position: relative;
    padding-left: 14px;
    color: rgba(226, 232, 240, .88);
    font-size: clamp(0.72rem, 0.5vw + 0.66rem, 1rem);
    line-height: 1.55;
}

.process-points li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #93c5fd;
}

.process-points strong {
    color: #bfdbfe;
    font-weight: 800;
}

.process-subtitle {
    margin: 12px 0 5px;
    color: #fff;
    font-size: clamp(0.76rem, 0.56vw + 0.7rem, 1.08rem);
    font-weight: 850;
}

.insp-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    width: 100%
}

.insp-row {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--bd);
    transition: .3s
}

.insp-row:hover {
    border-color: var(--bb);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2)
}

.insp-row .iimg {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.insp-row .iimg img {
    width: 80%;
    height: 80%;
    object-fit: contain
}

.insp-row h3 {
    font-size: clamp(0.8rem, 0.78vw + 0.72rem, 1.3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px
}

.guide-intro {
    margin-bottom: 8px;
    color: rgba(226, 232, 240, .9);
    font-size: clamp(0.74rem, 0.58vw + 0.67rem, 1.1rem);
    font-weight: 650;
    line-height: 1.65;
}

.insp-row ul {
    list-style: none
}

.insp-row li {
    font-size: clamp(0.74rem, 0.58vw + 0.67rem, 1.1rem);
    line-height: 1.6;
    margin-bottom: 5px;
    padding-left: 14px;
    position: relative
}

.insp-row li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--l)
}

.insp-row li strong {
    color: #93c5fd;
    font-weight: 700
}

.tw {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: clamp(0.74rem, 0.36vw + 0.73rem, 1rem);
    font-weight: 600;
    line-height: 1.5
}

.tw.warn {
    background: rgba(239, 68, 68, .1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, .2)
}

.tw.info {
    background: rgba(37, 99, 235, .1);
    color: #93c5fd;
    border: 1px solid rgba(37, 99, 235, .2)
}

/* 수수료 항목 */
.fee-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    width: 100%
}

.fee-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--bd);
    transition: .3s
}

.fee-row:hover {
    border-color: var(--bb);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2)
}

.fee-row .fimg {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.fee-row .fimg img {
    width: 80%;
    height: 80%;
    object-fit: contain
}

.fee-row h3 {
    font-size: clamp(0.8rem, 0.78vw + 0.72rem, 1.3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px
}

.fee-row.pen h3 {
    color: #fca5a5
}

.fee-row .fee-items,
.insp-row .fee-items {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.insp-row.fee-summary h3 {
    color: #fff
}

.fee-summary .fee-penalty span:first-child,
.fee-summary .fee-penalty span:last-child {
    color: #fca5a5;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--bd)
}

.fee-item:last-child {
    border: none
}

.fee-item span:first-child {
    font-size: clamp(0.74rem, 0.56vw + 0.68rem, 1.1rem);
    font-weight: 600
}

.fee-item span:last-child {
    font-size: clamp(0.84rem, 0.78vw + 0.72rem, 1.3rem);
    font-weight: 800;
    color: #93c5fd
}

.fee-row.pen .fee-item span:last-child {
    color: #fca5a5
}

/* 히어로 날씨 위젯 */
.hero-wx {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--bd)
}

.hero-wx .wx-temp {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff
}

.weather-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: block;
}

.hero-wx .wx-tip {
    font-size: .85rem;
    color: var(--mt);
    margin-top: 4px
}

.wx-hourly {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.live-hourly {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 9999;
    width: max-content;
    min-width: clamp(300px, 42vw, 480px);
    max-width: min(92vw, 540px);
    transform: translateX(-50%) translateY(-6px);
    grid-template-columns: repeat(6, 1fr);
    justify-content: center;
    gap: clamp(5px, 0.6vw, 9px);
    margin-top: 0;
    padding: clamp(12px, 1.2vw, 18px);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: rgba(8, 19, 42, 0.97);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.banner-weather:hover .live-hourly,
.banner-weather:focus-within .live-hourly {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.wx-tooltip-title {
    grid-column: 1 / -1;
    color: #94a3b8;
    font-size: clamp(0.72rem, 0.8vw, 0.84rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: left;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    margin-bottom: 2px;
}

.live-hourly .wx-hour {
    padding: clamp(6px, 0.7vw, 10px) clamp(4px, 0.5vw, 8px);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.4);
    gap: clamp(3px, 0.4vw, 5px);
}

.live-hourly .wx-hour-time {
    font-size: clamp(0.66rem, 0.75vw, 0.8rem);
    font-weight: 700;
}

.live-hourly .wx-hour-icon {
    width: clamp(32px, 3.2vw, 46px);
    height: clamp(32px, 3.2vw, 46px);
}

.live-hourly .wx-hour-temp {
    font-size: clamp(0.74rem, 0.85vw, 0.92rem);
    font-weight: 900;
}

.live-hourly .wx-hour-rain {
    font-size: clamp(0.62rem, 0.7vw, 0.76rem);
    font-weight: 700;
}

.wx-hour {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.34);
    padding: 7px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-variant-numeric: tabular-nums;
}

.wx-hour-time {
    color: #cbd5e1;
    font-size: clamp(0.62rem, 0.08vw + 0.594rem, 0.72rem);
    font-weight: 800;
    line-height: 1;
}

.wx-hour-icon {
    width: 31px;
    height: 31px;
    display: block;
}

.wx-hour-temp {
    color: #fff;
    font-size: clamp(0.7rem, 0.08vw + 0.674rem, 0.78rem);
    font-weight: 900;
    line-height: 1;
}

.wx-hour-rain {
    color: #93c5fd;
    font-size: clamp(0.6rem, 0.08vw + 0.574rem, 0.68rem);
    font-weight: 800;
    line-height: 1;
}

/* 체크포인트 신호등 */
#checkpoint {
    background: #0d1a38
}

.ckp-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    width: 100%
}

.ckp-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--glass);
    border: 1px solid var(--bd);
    cursor: pointer;
    transition: .3s;
    user-select: none
}

.ckp-item:hover {
    border-color: var(--bb)
}

.ckp-light {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 8px rgba(220, 38, 38, .4);
    transition: .4s;
    flex-shrink: 0
}

.ckp-item.checked .ckp-light {
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, .5)
}

.ckp-label {
    font-size: clamp(0.74rem, 0.58vw + 0.67rem, 1.1rem);
    font-weight: 600;
    color: #fff;
    flex: 1
}

.ckp-item.checked .ckp-label {
    color: #4ade80
}

.ckp-done {
    margin-top: 16px;
    text-align: center;
    display: none
}

.ckp-done.show {
    display: block
}

.ckp-done p {
    font-size: clamp(0.84rem, 0.56vw + 0.78rem, 1.2rem);
    font-weight: 800;
    color: #4ade80;
    margin-bottom: 16px
}

.map-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto
}

.map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
    border: 1px solid var(--bd)
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3)
}

.map-btn.naver {
    background: #03C75A;
    color: #fff;
    border-color: #03C75A
}

.map-btn.kakao {
    background: #FEE500;
    color: #000;
    border-color: #FEE500
}

.map-btn.google {
    background: #4285F4;
    color: #fff;
    border-color: #4285F4
}

.map-btn.tmap {
    background: #EF4040;
    color: #fff;
    border-color: #EF4040
}

/* 오시는 길: 세로 풀폭 */
#contact {
    background: linear-gradient(135deg, #0a1530, var(--p) 40%, var(--s))
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    width: 100%
}

.ci {
    padding: 28px 24px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--bd);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(6px);
    transition: .3s
}

.ci:hover {
    background: rgba(255, 255, 255, .1)
}

.ci h3 {
    font-size: clamp(0.8rem, 0.56vw + 0.78rem, 1.2rem);
    font-weight: 800;
    color: rgba(226, 232, 240, .92);
    margin-bottom: 6px
}

.ci p {
    font-size: clamp(0.74rem, 0.58vw + 0.67rem, 1.1rem);
    color: #fff;
    font-weight: 650;
    opacity: 1;
    line-height: 1.6
}

.ci .contact-strong {
    font-weight: 800;
    color: #fff;
}

.ci .contact-muted {
    color: rgba(226, 232, 240, .72);
    font-weight: 650;
}

/* ===== 홈 이후 섹션 공통 카드 시스템 ===== */
.svc-list,
.proc-list,
.insp-list,
.ckp-list,
.contact-list {
    max-width: 820px;
    gap: 14px;
}

.svc-row,
.proc-row,
.insp-row,
.ckp-item,
.ci {
    --card-pad-x: 22px;
    --media-size: 82px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: rgba(255, 255, 255, .045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.svc-row:hover,
.proc-row:hover,
.insp-row:hover,
.ckp-item:hover,
.ci:hover {
    border-color: rgba(96, 165, 250, .36);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.svc-row,
.proc-row,
.insp-row,
.ckp-item,
.ci {
    gap: 18px;
    padding: 20px var(--card-pad-x);
}

.svc-row .simg,
.proc-row .pimg,
.insp-row .iimg,
.ci .cimg,
.ckp-light {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--media-size);
    height: var(--media-size);
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 10px 22px rgba(2, 6, 23, .16);
    overflow: hidden;
    flex: 0 0 var(--media-size);
}

.svc-row .simg img,
.proc-row .pimg img,
.insp-row .iimg img,
.ci .cimg img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.proc-row .ptitle {
    margin-bottom: 7px;
}

.ckp-light {
    position: relative;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 22px rgba(2, 6, 23, .16);
}

.ckp-light::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 14px rgba(220, 38, 38, .38);
    transform: translate(-50%, -50%);
}

.ckp-item.checked .ckp-light {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 22px rgba(2, 6, 23, .16);
}

.ckp-item.checked .ckp-light::after {
    background: #22c55e;
    box-shadow: 0 0 16px rgba(34, 197, 94, .5);
}

@media (max-width: 768px) {
    .svc-row,
    .proc-row,
    .insp-row,
    .ckp-item,
    .ci {
        --card-pad-x: 16px;
        --media-size: 70px;
        gap: 13px;
    }

}

footer.site-footer {
    position: relative;
    width: min(100%, 760px);
    margin-top: clamp(18px, 2.4vw, 28px);
    background: rgba(15, 29, 61, .24);
    padding: 14px 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08)
}

footer.site-footer img {
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: .32;
    margin-bottom: 4px
}

footer.site-footer p {
    color: rgba(219, 234, 254, .72);
    font-size: .72rem;
    line-height: 1.45
}

.adm {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    opacity: 0
}

.kk {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: auto;
    min-width: 54px;
    height: 54px;
    padding: 0 18px;
    border-radius: 8px;
    background: #FEE500;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    z-index: 999;
    transition: .3s;
    cursor: pointer;
    text-decoration: none
}

.kk-label {
    color: #111827;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.kk:hover {
    transform: translateY(-4px) scale(1.05)
}

.test-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(234, 179, 8, .12);
    border: 1px solid rgba(234, 179, 8, .25);
    color: #fbbf24;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 999;
    font-family: inherit
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes orbF {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(15px, -20px) scale(1.03)
    }

    66% {
        transform: translate(-10px, 10px) scale(.97)
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%
    }

    100% {
        background-position: 200% 50%
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

@media(max-width:900px) {
    .hero {
        grid-template-columns: 1fr
    }

    .hero-side {
        margin-top: 20px
    }
}

@media(max-width:768px) {
    nav .nlinks {
        display: none
    }

    .hero-nums {
        flex-wrap: wrap;
        gap: 16px
    }

    .page {
        padding: 70px 4% 40px
    }

    .proc-row .pimg,
    .insp-row .iimg,
    .fee-row .fimg,
    .svc-row .simg {
        width: 70px;
        height: 70px
    }

}

/* 1. 상단 네비게이션 로고 여백 조정 - 일정하게 유지 (스크롤 시 튀는 문제 수정) */
nav {
    padding-top: 22px !important;
}

nav.sc {
    padding-top: 22px !important;
}

@media (max-width: 900px) {
    nav,
    nav.sc {
        padding-top: 14px !important;
    }
}

/* 2. 날씨 위젯 및 유효기간/알림신청 영역 숨김 */
.hero-wx,
.side-card {
    display: none !important;
}

/* 4. 홈 화면 우측 브랜드 워터마크 */
.hero-watermark {
    position: absolute;
    right: clamp(24px, 6vw, 96px);
    top: 53%;
    width: min(46vw, 660px);
    min-height: 300px;
    transform: translateY(-42%);
    pointer-events: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    opacity: .44;
}

.hero-watermark::before {
    content: "";
    position: absolute;
    inset: -22% -8% -18% 8%;
    background:
        linear-gradient(90deg, rgba(147, 197, 253, 0) 0 28%, rgba(147, 197, 253, .16) 28% 29%, rgba(147, 197, 253, 0) 29% 100%),
        repeating-linear-gradient(0deg, rgba(147, 197, 253, .12) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(90deg, rgba(147, 197, 253, .09) 0 1px, transparent 1px 42px);
    mask-image: linear-gradient(90deg, transparent, #000 26%, #000 84%, transparent);
    opacity: .42;
}

.hero-watermark::after {
    content: "";
    position: absolute;
    right: 2%;
    top: 50%;
    width: min(34vw, 460px);
    height: min(34vw, 460px);
    border: 1px solid rgba(147, 197, 253, .18);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        inset 0 0 0 36px rgba(59, 130, 246, .025),
        0 0 80px rgba(59, 130, 246, .14);
}

.mark-brand,
.inspection-flow {
    position: relative;
}

.mark-brand span {
    position: relative;
    display: block;
    letter-spacing: 0;
    text-shadow: 0 22px 54px rgba(37, 99, 235, .2);
}

.mark-kicker {
    color: rgba(219, 234, 254, .72);
    font-size: clamp(.82rem, 1.1vw, 1.1rem);
    font-weight: 900;
    margin-bottom: 8px;
}

.mark-main {
    color: transparent;
    -webkit-text-stroke: 1px rgba(219, 234, 254, .28);
    font-size: clamp(4rem, 8vw, 7.8rem);
    font-weight: 950;
    line-height: .88;
}

.mark-sub {
    color: rgba(147, 197, 253, .55);
    font-size: clamp(.72rem, 1vw, .95rem);
    font-weight: 800;
    margin-top: 14px;
}

@media (max-height: 1100px) and (min-width: 901px) {
    .hero-watermark {
        top: 58%;
        transform: translateY(-34%);
    }
}

@media (max-width: 1180px) and (min-width: 901px) and (max-height: 1100px) {
    .hero-watermark {
        top: 61%;
        width: min(42vw, 560px);
        opacity: .38;
    }

    .mark-main {
        font-size: clamp(3.8rem, 7vw, 6.4rem);
    }
}

.inspection-flow {
    width: min(390px, 82%);
    margin-top: 30px;
    display: grid;
    gap: 13px;
}

.inspection-flow::before,
.inspection-flow::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(191, 219, 254, .38);
}

.inspection-flow::after {
    background: linear-gradient(180deg, transparent, rgba(147, 197, 253, .98), transparent);
    transform-origin: top;
    animation: inspectionScan 7.5s ease-in-out infinite;
}

.flow-step {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    min-height: 22px;
}

.flow-text {
    color: rgba(219, 234, 254, .64);
    font-size: clamp(.72rem, .82vw, .9rem);
    font-weight: 850;
    white-space: nowrap;
    animation: flowTextPulse 7.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.08s);
}

.flow-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid rgba(191, 219, 254, .72);
    background: rgba(15, 29, 61, .88);
    box-shadow: 0 0 0 5px rgba(96, 165, 250, .08);
    animation: flowDotPulse 7.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.08s);
}

@keyframes inspectionScan {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

    12% {
        opacity: .9;
    }

    74% {
        transform: scaleY(1);
        opacity: .9;
    }

    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

@keyframes flowDotPulse {
    0%,
    100% {
        background: rgba(15, 29, 61, .88);
        border-color: rgba(191, 219, 254, .66);
        box-shadow: 0 0 0 5px rgba(96, 165, 250, .08);
    }

    12%,
    28% {
        background: #93c5fd;
        border-color: rgba(255, 255, 255, .98);
        box-shadow: 0 0 0 7px rgba(147, 197, 253, .18), 0 0 30px rgba(147, 197, 253, .56);
    }
}

@keyframes flowTextPulse {
    0%,
    100% {
        color: rgba(219, 234, 254, .58);
    }

    12%,
    28% {
        color: rgba(255, 255, 255, .95);
    }
}

@media (max-width: 900px) {
    .hero-watermark {
        right: 4vw;
        top: 57%;
        width: 54vw;
        min-height: 260px;
        opacity: .36;
        transform: translateY(-32%);
        align-items: flex-end;
    }

    .hero-watermark::before {
        inset: -12% -8% -10% -34%;
        opacity: .54;
    }

    .hero-watermark::after {
        width: 58vw;
        height: 58vw;
        border-color: rgba(147, 197, 253, .24);
    }

    .mark-main {
        font-size: clamp(3rem, 10vw, 5.2rem);
        -webkit-text-stroke-color: rgba(219, 234, 254, .22);
    }

    .inspection-flow {
        width: min(300px, 48vw);
        gap: 11px;
        margin-top: 22px;
    }

    .flow-text {
        color: rgba(219, 234, 254, .58);
        font-size: clamp(.68rem, 2.35vw, .82rem);
    }

    .flow-dot {
        width: 10px;
        height: 10px;
        border-color: rgba(147, 197, 253, .62);
        box-shadow: 0 0 0 5px rgba(59, 130, 246, .08);
    }

    .mark-kicker,
    .mark-sub {
        color: rgba(219, 234, 254, .68);
    }
}

@media (prefers-reduced-motion: reduce) {
    .inspection-flow::after,
    .flow-text,
    .flow-dot {
        animation: none;
    }
}

/* 5. 페이지 상단 라운드 중첩(Stack) 및 단계별 배경 그라데이션
   5px 탭에서 곡선이 보이려면 radius를 작게 설정 */
.page {
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* 첨부해주신 이미지처럼 상단이 둥글게 15px 간격으로 겹치도록 top 값 조절 */
/* 배경색은 홈(#0f1d3d)에서 마지막(#3b82f6)까지 남은 페이지 수에 맞춰 점진적으로 밝아집니다 */
/* nav 높이 기준
   74px 아래에서 5px씩 탭이 보이도록 top 값 설정 */
#home {
    --stack-top: 0px;
    border-radius: 0 !important;
    border: none !important;
    background: #0f1d3d !important;
}

#svc {
    --stack-top: 74px;
    /* nav 바로 아래에 붙음 → #home 탭 0px 노출 (탭 시작점) */
    background: #18325d !important;
}

#insp {
    --stack-top: 79px;
    /* #svc 탭 5px 노출 */
    background: #25509a !important;
}

#process {
    --stack-top: 84px;
    /* #insp 탭 5px 노출 */
    background: #2c60b8 !important;
}

#checkpoint {
    --stack-top: 89px;
    /* #checkpoint 탭 5px 노출 */
    background: #3471d7 !important;
}

#contact {
    --stack-top: 94px;
    /* #checkpoint 탭 5px 노출 */
    background: #3b82f6 !important;
}
