:root {
    --navy: #06152d;
    --blue: #1245db;
    --blue-dark: #0b35b1;
    --lime: #83e600;
    --ink: #111827;
    --muted: #657085;
    --line: #e5e9f0;
    --soft: #f5f7fa;
    --white: #fff;
    --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans KR", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 112px 0; }
.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--blue);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .15em;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(6, 21, 45, .08);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
}
.header-inner {
    width: min(calc(100% - 48px), var(--max));
    height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { width: 240px; overflow: hidden; }
.brand img { width: 240px; height: auto; }
.desktop-nav { display: flex; gap: 42px; }
.desktop-nav a {
    position: relative;
    font-size: 15px;
    font-weight: 600;
}
.desktop-nav a::after {
    position: absolute;
    right: 0; bottom: -10px; left: 0;
    height: 2px;
    background: var(--blue);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-call {
    display: flex;
    flex-direction: column;
    padding-left: 22px;
    border-left: 1px solid var(--line);
}
.call-label { color: var(--muted); font-size: 11px; }
.header-call strong { color: var(--blue); font-size: 19px; letter-spacing: -.02em; }
.menu-button, .mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; background: #edf0f6; }
.hero-track { position: relative; aspect-ratio: 1920 / 743; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .65s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 13, 29, .82) 0%, rgba(4, 13, 29, .5) 36%, rgba(4, 13, 29, .08) 68%),
        linear-gradient(0deg, rgba(4, 13, 29, .22), transparent 45%);
}
.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: max(48px, calc((100% - var(--max)) / 2));
    width: min(560px, calc(100% - 96px));
    color: var(--white);
    transform: translateY(-50%);
}
.hero-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--lime);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .2em;
}
.hero-content h1 {
    margin: 0;
    font-size: clamp(38px, 4.2vw, 68px);
    line-height: 1.13;
    letter-spacing: -.055em;
}
.hero-content p {
    max-width: 500px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.75;
}
.hero-content a {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease;
}
.hero-content a:hover {
    color: var(--navy);
    background: var(--white);
}
.hero-controls {
    position: absolute;
    bottom: 26px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: white;
    background: rgba(4,13,29,.45);
    backdrop-filter: blur(10px);
    transform: translateX(-50%);
}
.hero-arrow { border: 0; color: white; background: transparent; cursor: pointer; }
.hero-counter { min-width: 38px; font-size: 12px; }
.hero-progress { width: 72px; height: 2px; background: rgba(255,255,255,.35); }
.hero-progress span { display: block; width: 50%; height: 100%; background: white; transition: transform .3s; transform-origin: left; }

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
}
.section-heading h1, .section-heading h2, .period-title h2 {
    margin: 0;
    color: #1f325b;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.2;
    letter-spacing: -.05em;
}
.section-heading p, .period-title p {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 17px;
}
.vehicle-count {
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--blue);
    background: #edf2ff;
    font-size: 13px;
    font-weight: 700;
}
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.vehicle-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    transition: box-shadow .25s, transform .25s;
}
.vehicle-card:hover { box-shadow: 0 24px 50px rgba(6,21,45,.12); transform: translateY(-7px); }
.vehicle-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f4f6f9;
}
.vehicle-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.vehicle-card:hover .vehicle-image img { transform: scale(1.035); }
.vehicle-tag {
    position: absolute;
    z-index: 2;
    top: 18px; left: 18px;
    padding: 6px 10px;
    border-radius: 5px;
    color: white;
    background: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}
.vehicle-body { padding: 27px; }
.vehicle-body h2 { margin: 0 0 20px; font-size: 22px; letter-spacing: -.04em; }
.vehicle-body dl { margin: 0 0 24px; }
.vehicle-body dl div { display: flex; justify-content: space-between; margin-top: 8px; }
.vehicle-body dt { color: var(--muted); font-size: 13px; }
.vehicle-body dd { margin: 0; font-size: 14px; }
.vehicle-body dd strong { color: var(--blue); font-size: 18px; }
.vehicle-body > .vehicle-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
}
.vehicle-body > .vehicle-cta span { font-size: 20px; }
.subscription-block {
    position: relative;
    min-height: 480px;
    margin-top: 60px;
    padding: 58px 64px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 28px;
    color: white;
    background:
        linear-gradient(90deg, rgba(4, 13, 29, .04) 0%, rgba(4, 13, 29, .12) 43%, rgba(4, 13, 29, .82) 67%, rgba(4, 13, 29, .96) 100%),
        url("/images/kgm/musso1.png") center / cover no-repeat;
    box-shadow: 0 26px 60px rgba(6, 21, 45, .18);
}
.subscription-copy {
    z-index: 2;
    flex: 0 0 40%;
    margin-left: auto;
}
.subscription-copy .eyebrow { color: var(--lime); }
.subscription-copy h2 { margin: 0; font-size: 38px; letter-spacing: -.05em; }
.subscription-copy p { color: rgba(255,255,255,.76); }
.subscription-price { margin: 30px 0; display: flex; flex-direction: column; }
.subscription-price small { color: rgba(255,255,255,.65); }
.subscription-price strong { font-size: 30px; }
.subscription-copy a { display: inline-flex; gap: 35px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; font-weight: 600; }

.advantages {
    position: relative;
    overflow: hidden;
    min-height: 920px;
    color: white;
    background:
        linear-gradient(90deg, rgba(4,12,25,.94) 0%, rgba(4,12,25,.75) 46%, rgba(4,12,25,.24) 100%),
        linear-gradient(180deg, rgba(4,12,25,.3), rgba(4,12,25,.86)),
        url("/images/kgm/advantage-bg.jpg") center / cover no-repeat;
}
.advantages::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(3,10,22,.48));
    content: "";
    pointer-events: none;
}
.advantages .container { position: relative; z-index: 1; }
.section-heading.light h2 { color: white; }
.section-heading.light p { color: #9aabc1; }
.section-heading.light .eyebrow { color: var(--lime); }
.advantages .section-heading.light h2 { color: white; }
.advantages .section-heading.light p { color: rgba(255,255,255,.62); }
.advantages .section-heading.light .eyebrow { color: var(--lime); }
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.advantage-card {
    min-height: 235px;
    padding: 28px 26px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(5,17,36,.38);
    box-shadow: 0 16px 35px rgba(0,0,0,.14);
    backdrop-filter: blur(1px);
    text-align: center;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.advantage-card:hover {
    border-color: rgba(255,255,255,.42);
    background: rgba(5,17,36,.55);
    box-shadow: 0 24px 48px rgba(0,0,0,.25);
    transform: translateY(-5px);
}
.advantage-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    display: block;
}
.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.advantage-card h3 { margin: 0 0 11px; color: white; font-size: 18px; letter-spacing: -.03em; }
.advantage-card p { margin: 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.85; }

.period {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 50%, rgba(227, 235, 244, 0.7), transparent 42%),
        linear-gradient(135deg, #ffffff 0%, #f5f8fb 52%, #eef3f8 100%);
}
.period::before {
    position: absolute;
    top: 50%;
    right: auto;
    left: max(-80px, calc(50% - 920px));
    width: min(38vw, 660px);
    aspect-ratio: 16 / 9;
    content: "";
    background: url("../images/kgm/torres.png") center / contain no-repeat;
    opacity: 0.8;
    filter: saturate(0.75) contrast(0.96);
    transform: translateY(-45%);
    pointer-events: none;
}
.period::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.62) 27%, rgba(255,255,255,.94) 47%, rgba(255,255,255,.82) 100%);
    pointer-events: none;
}
.period-grid {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(calc(100% - 48px), 1500px);
    grid-template-columns: .95fr 1.05fr;
    gap: 70px;
    align-items: center;
}
.period-title {
    padding-left: clamp(160px, 14vw, 250px);
}
.period-title p { line-height: 1.8; }
.period-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.period-options article {
    position: relative;
    padding: 35px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 20px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 18px 45px rgba(6,21,45,.08);
    backdrop-filter: blur(8px);
}
.period-options article > span { color: var(--blue); font-size: 13px; font-weight: 700; }
.period-options article strong { display: block; margin: 18px 0; color: var(--muted); font-size: 66px; letter-spacing: -.06em; }
.period-options article strong small { margin-left: 7px; font-size: 19px; }
.period-options article p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.delivery-note {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 23px 28px;
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 12px 30px rgba(6,21,45,.05);
    backdrop-filter: blur(8px);
}
.delivery-note > span { font-size: 28px; }
.delivery-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.delivery-note strong { color: var(--ink); font-size: 16px; }

.section-heading.centered { justify-content: center; text-align: center; }
.benefits {
    position: relative;
    min-height: 800px;
    color: white;
    background:
        linear-gradient(180deg, rgba(5,15,31,.82) 0%, rgba(5,15,31,.28) 47%, rgba(5,15,31,.88) 100%),
        url("/images/kgm/benefit-bg.jpg") center 58% / cover no-repeat;
}
.benefits::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4,13,28,.38), transparent 50%, rgba(4,13,28,.25));
    content: "";
    pointer-events: none;
}
.benefits .container { position: relative; z-index: 1; }
.benefits .section-heading { margin-bottom: 255px; }
.benefits .section-heading.light .eyebrow { color: var(--lime); }
.benefits .section-heading.light p { color: rgba(255,255,255,.72); }
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.benefit-grid article {
    position: relative;
    min-height: 270px;
    padding: 42px 36px 35px;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 20px;
    background: rgba(7,20,42,.18);
    box-shadow: 0 18px 38px rgba(0,0,0,.16);
    backdrop-filter: blur(4px);
    text-align: center;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.benefit-grid article:hover,
.benefit-grid article.featured:hover {
    z-index: 1;
    border-color: rgba(255,255,255,.58);
    background: rgba(7,20,42,.38);
    box-shadow: 0 24px 50px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.18);
    transform: translateY(-10px);
}
.benefit-grid article.featured {
    color: white;
    background: rgba(7,20,42,.18);
}
.benefit-number {
    min-width: 50px;
    margin-bottom: 25px;
    padding: 6px 12px;
    border: 1px solid rgba(131,230,0,.5);
    border-radius: 999px;
    color: var(--lime);
    background: rgba(5,15,31,.22);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}
.benefit-grid h3 { margin: 0 0 15px; font-size: 22px; }
.benefit-grid p,
.featured p { color: rgba(255,255,255,.67); font-size: 14px; line-height: 1.8; }
.benefit-grid strong,
.featured strong { display: inline-block; margin-top: 12px; color: white; font-size: 17px; }
.benefit-notice { margin-top: 22px; color: rgba(255,255,255,.55); text-align: right; font-size: 12px; }

.company-banner { padding: 75px 0; color: white; background: linear-gradient(110deg, #1238af, #0e63e9); }
.company-banner .container { display: flex; align-items: center; justify-content: space-between; }
.company-banner span { color: #9ee936; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.company-banner h2 { margin: 12px 0; font-size: 30px; letter-spacing: -.04em; }
.company-banner p { margin: 0; color: #d7e3ff; font-size: 14px; }
.company-banner a { min-width: 230px; padding: 20px 25px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; }
.company-banner a small { display: block; color: #d7e3ff; }
.company-banner a strong { font-size: 28px; }

.site-footer { padding: 64px 0 85px; color: #7f8b9e; background: #080f1c; font-size: 13px; }
.footer-inner > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { color: white; font-size: 24px; font-weight: 800; }
.footer-brand span { font-size: 15px; font-weight: 500; }
.footer-links { display: flex; gap: 24px; margin: 32px 0 22px; color: #c7d0dc; }
.company-info { display: flex; flex-wrap: wrap; gap: 7px 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.copyright { margin-top: 35px; color: #4f5968; }
.floating-call {
    position: fixed;
    z-index: 40;
    right: 26px; bottom: 25px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    border-radius: 999px;
    color: white;
    background: var(--blue);
    box-shadow: 0 12px 25px rgba(18,69,219,.3);
    font-size: 13px;
}

@media (max-width: 980px) {
    .desktop-nav, .header-call { display: none; }
    .menu-button { width: 40px; height: 40px; padding: 8px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; }
    .menu-button span { height: 2px; background: var(--navy); }
    .mobile-nav { padding: 12px 24px 22px; display: none; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); }
    .mobile-nav.is-open { display: flex; }
    .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .period-grid { grid-template-columns: 1fr; gap: 45px; }
    .company-banner .container { align-items: flex-start; flex-direction: column; gap: 30px; }
    .subscription-block {
        padding: 45px;
        background-position: 42% center;
    }
    .subscription-copy { flex-basis: 48%; }
}

@media (max-width: 640px) {
    .container, .header-inner { width: min(calc(100% - 32px), var(--max)); }
    .section { padding: 78px 0; }
    .header-inner { height: 68px; }
    .brand, .brand img { width: 190px; }
    .hero-track { aspect-ratio: 1 / .95; }
    .hero-video { object-position: center; }
    .hero-shade {
        background: linear-gradient(90deg, rgba(4, 13, 29, .8), rgba(4, 13, 29, .28));
    }
    .hero-content {
        top: 46%;
        left: 24px;
        width: calc(100% - 48px);
    }
    .hero-eyebrow { margin-bottom: 12px; font-size: 11px; }
    .hero-content h1 { font-size: clamp(32px, 10vw, 46px); }
    .hero-content p { margin: 16px 0 22px; font-size: 14px; }
    .hero-content a { padding: 11px 16px; }
    .hero-controls { bottom: 15px; }
    .section-heading { align-items: flex-start; margin-bottom: 34px; }
    .section-heading h1, .section-heading h2 { font-size: 32px; }
    .section-heading p { font-size: 14px; }
    .vehicle-count { display: none; }
    .vehicle-grid { grid-template-columns: 1fr; }
    .vehicle-card:hover { transform: none; }
    .subscription-block {
        min-height: 560px;
        padding: 38px 28px;
        align-items: flex-end;
        background:
            linear-gradient(90deg, rgba(4, 13, 29, .08) 0%, rgba(4, 13, 29, .48) 42%, rgba(4, 13, 29, .94) 100%),
            url("/images/kgm/musso1.png") 38% center / cover no-repeat;
    }
    .subscription-copy { flex: 0 0 61%; }
    .subscription-copy h2 { font-size: 30px; }
    .advantage-grid { grid-template-columns: 1fr; }
    .advantage-card { min-height: 210px; }
    .period-options { grid-template-columns: 1fr; }
    .delivery-note { grid-column: auto; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefits { background-position: 40% center; }
    .benefits .section-heading { margin-bottom: 220px; }
    .company-banner h2 { font-size: 25px; }
    .company-banner a { width: 100%; }
    .footer-inner > div:first-child { align-items: flex-start; flex-direction: column; gap: 18px; }
    .floating-call { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
