:root {
    --ink: #172423;
    --deep: #102c2d;
    --deep-2: #183f40;
    --teal: #23706d;
    --aqua: #81cfc6;
    --amber: #f0b35a;
    --rust: #bd6045;
    --paper: #fbfaf6;
    --mist: #edf5f2;
    --white: #ffffff;
    --muted: #637370;
    --line: #d8e2df;
    --shadow: 0 22px 55px rgba(16, 44, 45, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 15px;
    line-height: 1.62;
    word-break: keep-all;
    overflow-wrap: anywhere;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { letter-spacing: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 12px 18px;
    color: var(--deep);
    background: rgba(251, 250, 246, .92);
    border-bottom: 1px solid rgba(216, 226, 223, .85);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 178px;
    height: 42px;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--deep);
}

.site-nav {
    position: fixed;
    inset: 74px 12px auto 12px;
    display: none;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.site-nav.is-open { display: grid; }

.site-nav a {
    padding: 12px 14px;
    border-radius: 6px;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 760;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--deep);
    background: var(--mist);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 9px;
}

.header-kakao,
.header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 820;
}

.header-kakao {
    color: #362500;
    background: #fee500;
}

.header-call {
    color: var(--paper);
    background: var(--deep);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--deep);
}

.hero-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 44, 45, .98) 0%, rgba(16, 44, 45, .84) 42%, rgba(16, 44, 45, .28) 72%),
        linear-gradient(0deg, rgba(16, 44, 45, .98) 0%, rgba(16, 44, 45, .08) 42%),
        url("../images/seohae-night-drive.png") 68% center / cover no-repeat;
    transform: scale(1.015);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 9px;
    background: linear-gradient(90deg, var(--amber), var(--aqua), var(--rust));
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 86px 0 120px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--amber);
    font-size: .76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2.42rem, 8.2vw, 5.65rem);
    line-height: 1.03;
    font-weight: 850;
}

.hero-copy {
    max-width: 610px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.02rem;
}

.hero-actions,
.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: .98rem;
    font-weight: 830;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    color: #1f1604;
    background: var(--amber);
    box-shadow: 0 16px 34px rgba(240, 179, 90, .3);
}

.hero-call-pulse {
    position: relative;
    isolation: isolate;
    min-width: 180px;
    min-height: 60px;
    padding-inline: 34px;
    color: #1f1604;
    background: linear-gradient(135deg, #ffd36f 0%, #f0b35a 48%, #ff8f4b 100%);
    box-shadow: 0 18px 38px rgba(240, 179, 90, .42);
    animation: heroCallBreathe 1.42s ease-in-out infinite;
}

.hero-call-pulse::before,
.hero-call-pulse::after {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -1;
    border-radius: 999px;
    background: rgba(240, 179, 90, .34);
    animation: heroCallRing 1.42s ease-out infinite;
}

.hero-call-pulse::after {
    animation-delay: .48s;
    background: rgba(255, 211, 111, .26);
}

.btn-soft {
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(10px);
}

.route-meter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(620px, 100%);
    margin: 34px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .24);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.route-meter div {
    padding: 14px 14px 14px 0;
}

.route-meter div + div {
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.route-meter dt {
    color: var(--white);
    font-size: 1rem;
    font-weight: 870;
}

.route-meter dd {
    margin: 1px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: .78rem;
}

.dispatch-panel {
    position: absolute;
    z-index: 2;
    right: max(18px, calc((100vw - 1120px) / 2));
    bottom: 58px;
    width: min(330px, calc(100% - 36px));
    padding: 20px;
    color: var(--deep);
    background: rgba(251, 250, 246, .92);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
}

.dispatch-panel span {
    color: var(--teal);
    font-size: .72rem;
    font-weight: 860;
}

.dispatch-panel strong {
    display: block;
    margin-top: 4px;
    font-size: 2rem;
    line-height: 1;
}

.dispatch-panel p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .92rem;
}

.quick-strip {
    display: grid;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.quick-strip a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 2px 12px;
    align-items: center;
    padding: 20px;
    border-top: 1px solid var(--line);
}

.quick-strip span {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--deep);
    background: var(--mist);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 900;
}

.quick-strip strong {
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 850;
}

.quick-strip small {
    color: var(--muted);
    font-size: .85rem;
}

.section {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 64px 0;
}

.section-head {
    width: min(760px, 100%);
    margin-bottom: 24px;
}

.section-head h2,
.cta-split h2,
.form-intro h2,
.policy h2,
.notice h2 {
    margin: 0 0 10px;
    font-size: clamp(1.42rem, 4.4vw, 2.35rem);
    line-height: 1.24;
    font-weight: 840;
}

.section-head p,
.area-copy p,
.cta-split p,
.form-intro p,
.page-hero p,
.policy p,
.notice p {
    margin: 0;
    color: var(--muted);
}

.area-board {
    display: grid;
    gap: 22px;
    align-items: stretch;
    padding: 24px;
    color: var(--deep);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.area-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.area-list li {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.area-list b {
    color: var(--teal);
    font-weight: 900;
}

.area-list span {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--teal);
    font-weight: 860;
}

.service-lanes,
.recruit-board {
    width: 100%;
    padding: 66px max(18px, calc((100vw - 1120px) / 2));
    background: var(--deep);
    color: var(--white);
}

.service-lanes .section-head p,
.recruit-board p {
    color: rgba(255, 255, 255, .7);
}

.lane-grid,
.service-list,
.process,
.recruit-info-grid {
    display: grid;
    gap: 14px;
}

.lane-grid article,
.service-list article,
.process article,
.recruit-info-grid article,
.lead-form,
.admin-login,
.notice,
details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.lane-grid article,
.recruit-info-grid article {
    padding: 22px;
    color: var(--deep);
}

.lane-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    color: var(--deep);
    background: var(--amber);
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 900;
}

.lane-grid h3,
.recruit-info-grid h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    line-height: 1.25;
}

.lane-grid p,
.recruit-info-grid p {
    margin: 0;
    color: var(--muted);
}

.cta-split {
    display: grid;
    gap: 18px;
    align-items: center;
    padding-bottom: 72px;
}

.page-hero {
    padding: 70px max(18px, calc((100vw - 1120px) / 2)) 54px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(16, 44, 45, .98), rgba(35, 112, 109, .76)),
        url("../images/seohae-night-drive.png") center / cover no-repeat;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(1.92rem, 6.4vw, 3.7rem);
    line-height: 1.13;
}

.page-hero p {
    max-width: 720px;
    margin-top: 12px;
    color: rgba(255, 255, 255, .78);
}

.service-list article,
.process article {
    padding: 24px;
}

.service-number,
.process span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    color: var(--white);
    background: var(--deep);
    border-radius: 50%;
    font-weight: 900;
}

.service-list h2,
.process h2 {
    margin: 0 0 8px;
    font-size: 1.28rem;
}

.service-list p,
.process p {
    margin: 0;
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink);
    font-size: .92rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 10px;
    height: 10px;
    background: var(--amber);
    border-radius: 50%;
}

.split-section {
    display: grid;
    gap: 24px;
    align-items: start;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pill-list li {
    padding: 10px 14px;
    color: var(--deep);
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 760;
}

.safety-lanes {
    background: var(--paper);
    color: var(--ink);
}

.safety-lanes .lane-grid article {
    box-shadow: 0 10px 28px rgba(16, 44, 45, .08);
}

.notice {
    padding: 24px;
    background: #fff6e8;
    border-color: #f3d4a8;
}

.recruit-heading {
    max-width: 780px;
    margin-bottom: 24px;
}

.form-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.lead-form,
.admin-login {
    display: grid;
    gap: 13px;
    padding: 20px;
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 6px;
    font-size: .92rem;
    font-weight: 720;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
    font-size: .95rem;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(129, 207, 198, .25);
    border-color: var(--teal);
}

.full { grid-column: 1 / -1; }

.consent {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.3;
}

.consent input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
}

.hidden-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.success-message,
.error-message {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 760;
}

.success-message {
    color: #0b5d4a;
    background: #dbfff5;
}

.error-message {
    color: #7a210f;
    background: #ffe7df;
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    overflow: hidden;
}

summary {
    padding: 17px 18px;
    font-weight: 800;
    cursor: pointer;
}

details p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

.policy {
    display: grid;
    gap: 12px;
}

.admin-section table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: var(--white);
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

th,
td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--deep);
    background: var(--mist);
}

.site-footer {
    padding: 34px 18px 92px;
    color: rgba(255, 255, 255, .78);
    background: #0b2223;
}

.footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.site-footer strong {
    color: var(--white);
    font-size: 1.02rem;
}

.site-footer p {
    margin: 8px 0 0;
    font-size: .9rem;
}

.muted {
    color: var(--muted);
}

.footer-contact,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-phone,
.footer-kakao,
.footer-links a {
    color: var(--paper);
    font-size: .88rem;
    font-weight: 760;
}

.footer-kakao {
    color: #fee500;
}

.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(251, 250, 246, .96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.store-btn {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 54px;
    padding: 8px 10px;
    color: var(--white);
    background: #151a1d;
    border-radius: 8px;
}

.store-btn.apple {
    background: linear-gradient(135deg, #1f262a, #3a4247);
}

.store-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, .12);
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 900;
}

.store-btn small,
.store-btn strong {
    display: block;
    line-height: 1.1;
}

.store-btn small {
    color: rgba(255, 255, 255, .64);
    font-size: .67rem;
}

.store-btn strong {
    color: var(--white);
    font-size: .8rem;
    font-weight: 860;
    white-space: nowrap;
}

.kakao-float {
    position: fixed;
    right: 18px;
    bottom: 98px;
    z-index: 51;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fee500;
    box-shadow: 0 16px 32px rgba(16, 44, 45, .24);
    overflow: hidden;
}

.kakao-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes heroCallBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 18px 38px rgba(240, 179, 90, .42);
    }
    50% {
        transform: translateY(-2px) scale(1.075);
        box-shadow: 0 26px 54px rgba(255, 143, 75, .56);
    }
}

@keyframes heroCallRing {
    0% {
        opacity: .78;
        transform: scale(.96);
    }
    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

@media (min-width: 720px) {
    body { font-size: 16px; }
    .quick-strip { grid-template-columns: repeat(4, 1fr); }
    .quick-strip a { border-top: 0; border-right: 1px solid var(--line); }
    .area-board { grid-template-columns: .9fr 1.1fr; padding: 34px; }
    .area-list { border-top: 0; }
    .lane-grid,
    .recruit-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .service-list,
    .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .form-layout { grid-template-columns: .78fr 1.22fr; }
    .lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px; }
    .cta-split { grid-template-columns: 1fr auto; }
    .split-section { grid-template-columns: .9fr 1.1fr; }
    .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
    .footer-links { grid-column: 1 / -1; }
    .mobile-cta { display: none; }
    .kakao-float { bottom: 28px; right: 28px; }
}

@media (min-width: 980px) {
    .site-header {
        padding: 12px max(24px, calc((100vw - 1180px) / 2));
    }

    .nav-toggle { display: none; }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        margin-left: auto;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-nav a {
        padding: 10px 11px;
        background: transparent;
    }

    .site-nav a.is-active,
    .site-nav a:hover {
        color: var(--deep);
        background: transparent;
    }

    .site-nav a.is-active {
        box-shadow: inset 0 -2px 0 var(--amber);
    }

    .header-actions { display: flex; }
    .hero { min-height: 742px; }
}

@media (max-width: 719px) {
    .dispatch-panel {
        position: relative;
        right: auto;
        bottom: auto;
        justify-self: stretch;
        width: auto;
        max-width: none;
        margin: -96px 18px 44px;
    }

    .hero-inner {
        width: calc(100vw - 36px);
        padding: 62px 0 136px;
    }

    .hero-copy {
        max-width: 100%;
        font-size: .95rem;
        overflow-wrap: anywhere;
    }

    .lane-grid,
    .recruit-info-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        min-height: 390px;
    }
}

@media (max-width: 420px) {
    .brand {
        width: 158px;
        height: 36px;
    }
    .hero { min-height: 650px; }
    .hero-inner { width: min(100% - 30px, 1120px); padding-top: 52px; }
    .hero h1 { font-size: clamp(2.02rem, 9.6vw, 2.72rem); line-height: 1.08; }
    .hero-copy { font-size: .94rem; }
    .hero-actions .btn { width: 100%; }
    .hero-call-pulse { min-height: 64px; font-size: 1.12rem; }
    .route-meter { margin-top: 24px; }
    .route-meter div { padding-right: 8px; }
    .route-meter div + div { padding-left: 10px; }
    .section { width: min(100% - 32px, 1120px); padding: 46px 0; }
    .service-lanes,
    .recruit-board { padding: 48px 16px; }
    .page-hero { padding-top: 48px; padding-bottom: 36px; }
    .page-hero h1 { font-size: clamp(1.58rem, 8vw, 2.24rem); }
    .quick-strip a { padding: 16px; }
    .area-board { padding: 20px; }
    .area-list li { grid-template-columns: 68px 1fr; }
    .service-list article,
    .process article,
    .lead-form { padding: 18px; }
    .consent { font-size: .76rem; }
    .kakao-float { right: 14px; bottom: 88px; width: 52px; height: 52px; }
    .store-btn strong { font-size: .73rem; }
    .store-btn small { font-size: .62rem; }
}
