/* KIM CHANHO / KIA CAR MASTER — Private Showroom design system */
@font-face{font-family:"SUIT";src:url("/assets/fonts/SUIT-Regular.woff2") format("woff2");font-weight:400;font-display:swap;}
@font-face{font-family:"SUIT";src:url("/assets/fonts/SUIT-Bold.woff2") format("woff2");font-weight:700;font-display:swap;}
@font-face{font-family:"SUIT";src:url("/assets/fonts/SUIT-ExtraBold.woff2") format("woff2");font-weight:800;font-display:swap;}
@font-face{font-family:"Inter";src:url("/assets/fonts/Inter-Variable.woff2") format("woff2");font-weight:100 900;font-display:swap;}

:root{
  --charcoal:#17191B;
  --titanium:#454A4F;
  --mist:#F2F3F1;
  --white:#FFFFFF;
  --gold:#B49A6A;
  --steel:#77828B;
  --line:#3A3D40;
  --line-light:#DEDBD4;
  --footer:#111315;
}
*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:"SUIT",-apple-system,"Apple SD Gothic Neo","Malgun Gothic","맑은 고딕",sans-serif;
  color:var(--charcoal);background:var(--mist);
  font-size:1rem;line-height:1.8;letter-spacing:-0.003em;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.num{font-family:"Inter",sans-serif;font-variant-numeric:tabular-nums;}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px;}
.prose{max-width:68ch;}
h1,h2,h3{font-weight:800;color:var(--charcoal);margin:0;}
h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.15;letter-spacing:-0.03em;}
h2{font-size:clamp(1.4rem,2.8vw,2rem);line-height:1.3;letter-spacing:-0.02em;margin:0 0 1rem;}
h3{font-size:1.0625rem;line-height:1.45;letter-spacing:-0.01em;font-weight:700;}
p{margin:0 0 1rem;}
.label{font-family:"Inter",sans-serif;font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:600;}
.caption{font-size:.875rem;color:var(--steel);}

/* header */
header.site{height:68px;display:flex;align-items:center;background:var(--charcoal);border-bottom:1px solid var(--gold);position:sticky;top:0;z-index:20;}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;width:100%;}
.brand{display:flex;flex-direction:column;line-height:1.1;color:var(--white);}
.brand strong{font-family:"Inter",sans-serif;font-size:.95rem;letter-spacing:.08em;font-weight:700;}
.brand span{font-size:.7rem;letter-spacing:.12em;color:var(--gold);margin-top:.15rem;}
.brand a{display:flex;flex-direction:column;}
nav.mainnav{display:flex;align-items:center;gap:1.6rem;}
nav.mainnav a{color:var(--white);font-size:.9rem;opacity:.85;}
nav.mainnav a:hover{opacity:1;color:var(--gold);}
.hdr-cta{background:var(--gold);color:var(--charcoal)!important;padding:.5rem 1.1rem;border-radius:2px;font-weight:700;font-size:.875rem;opacity:1!important;}
@media (max-width:840px){nav.mainnav a:not(.hdr-cta){display:none;}}

/* buttons / cta block (structure identical everywhere; only copy varies) */
.cta-block{background:var(--charcoal);padding:2.4rem 0;display:block;}
.cta-block .wrap{display:flex;gap:.9rem;flex-wrap:wrap;align-items:center;}
.cta-block strong{color:var(--white);font-size:1.05rem;margin-right:.4rem;flex-basis:100%;}
@media(min-width:640px){.cta-block strong{flex-basis:auto;}}
.btn{display:inline-flex;align-items:center;gap:.4rem;padding:.8rem 1.4rem;font-weight:700;font-size:.9rem;border-radius:2px;border:1px solid transparent;}
.btn-primary{background:var(--gold);color:var(--charcoal);}
.btn-outline{background:transparent;color:var(--white);border-color:rgba(255,255,255,.35);}
.btn-kakao{background:#FEE500;color:#191919;}
.btn-tel{color:var(--steel);border:none;padding:.8rem 0;font-size:.875rem;text-decoration:underline;text-underline-offset:3px;}

/* hero (home) */
.hero-split{background:var(--charcoal);color:var(--white);}
.hero-split .grid{display:grid;grid-template-columns:40% 60%;min-height:640px;}
.hero-left{padding:3.2rem 3rem;display:flex;flex-direction:column;justify-content:center;gap:1.4rem;}
.hero-left h1{color:var(--white);}
.hero-left p.lead{color:#C7C9CC;font-size:1.05rem;max-width:34ch;}
.hero-cta{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.4rem;}
.hero-profile{display:flex;align-items:center;gap:1rem;margin-top:auto;padding-top:1.6rem;border-top:1px solid var(--line);}
.hero-profile img{width:76px;height:96px;object-fit:cover;border-radius:2px;}
.hero-profile strong{display:block;color:var(--white);font-size:.95rem;}
.hero-profile span{display:block;color:var(--gold);font-size:.8rem;}
.hero-right{position:relative;overflow:hidden;min-height:340px;}
.hero-right .slide{position:absolute;inset:0;opacity:0;transition:opacity 1.1s ease;}
.hero-right .slide.active{opacity:1;}
.hero-right img{width:100%;height:100%;object-fit:cover;}
.hero-right .tag{position:absolute;left:2rem;bottom:1.6rem;color:var(--white);}
.hero-right .tag .num{font-size:.8rem;color:var(--gold);letter-spacing:.1em;}
.hero-right .tag strong{display:block;font-size:1.3rem;font-family:"Inter",sans-serif;letter-spacing:.02em;}
@media(max-width:900px){.hero-split .grid{grid-template-columns:1fr;min-height:0;}.hero-right{min-height:280px;order:-1;}.hero-left{padding:2.2rem 1.4rem;}}

/* personal brand */
.brand-story{background:var(--mist);padding:4rem 0;}
.brand-story .grid{display:grid;grid-template-columns:36% 64%;gap:3rem;align-items:center;}
.brand-story img{width:100%;aspect-ratio:3/4;object-fit:cover;}
.brand-story .big{font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.4;font-weight:800;margin:.6rem 0 1.2rem;}
@media(max-width:820px){.brand-story .grid{grid-template-columns:1fr;}}

/* trust numbers */
.numberline{background:var(--white);padding:3.2rem 0;}
.numberline .row{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;}
.numberline .item{border-top:2px solid var(--gold);padding-top:1rem;}
.numberline .num{font-size:2.4rem;font-weight:700;color:var(--titanium);display:block;}
@media(max-width:760px){.numberline .row{grid-template-columns:repeat(2,1fr);}}

/* vehicle showroom grid */
.showroom{background:var(--mist);padding:4rem 0;}
.vgrid{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:14px;gap:1rem;margin-top:2rem;}
.vcard{position:relative;grid-column:span 6;grid-row:span 22;overflow:hidden;border-radius:2px;background:var(--charcoal);}
.vcard.v-carnival{grid-column:span 6;grid-row:span 26;}
.vcard.v-sorento{grid-column:span 6;grid-row:span 15;}
.vcard.v-sportage{grid-column:span 3;grid-row:span 26;}
.vcard.v-seltos{grid-column:span 3;grid-row:span 15;}
.vcard.v-ev5{grid-column:span 3;grid-row:span 18;background:#0E0F10;}
.vcard.v-ray{grid-column:span 3;grid-row:span 18;}
@media(min-width:900px){
  .vcard.v-carnival{grid-column:span 3;}
  .vcard.v-sorento{grid-column:span 3;}
}
.vcard a{display:block;height:100%;}
.vcard img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.vcard:hover img{transform:scale(1.03);}
.vcard .meta{position:absolute;left:0;right:0;bottom:0;padding:1.1rem 1.2rem;background:linear-gradient(0deg,rgba(0,0,0,.72),transparent);color:var(--white);transition:transform .3s ease;}
.vcard:hover .meta{transform:translateY(-4px);}
.vcard .meta .num{font-family:"Inter",sans-serif;font-size:1.15rem;letter-spacing:.02em;font-weight:700;}
.vcard .meta small{display:block;color:#D8D2C4;font-size:.8rem;margin:.15rem 0 .5rem;}
.vcard .meta .go{font-size:.8rem;color:var(--gold);border-top:1px solid rgba(180,154,106,0);padding-top:0;opacity:0;transition:opacity .3s ease;}
.vcard:hover .meta .go{opacity:1;}
@media(max-width:720px){.vgrid{grid-template-columns:1fr;}.vcard,.vcard.v-carnival,.vcard.v-sorento,.vcard.v-sportage,.vcard.v-seltos,.vcard.v-ev5,.vcard.v-ray{grid-column:span 1;grid-row:span 30;}}

/* find your car */
.finder{background:var(--charcoal);color:var(--white);padding:4rem 0;}
.finder h2{color:var(--white);}
.finder-opts{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.6rem 0;}
.finder-opts button{font-family:"SUIT";cursor:pointer;background:transparent;border:1px solid var(--line);color:var(--white);padding:.75rem 1.3rem;border-radius:999px;font-size:.9rem;}
.finder-opts button:hover,.finder-opts button.active{background:var(--gold);color:var(--charcoal);border-color:var(--gold);}
.finder-result{display:none;border-top:1px solid var(--line);padding-top:1.4rem;margin-top:.4rem;}
.finder-result.active{display:block;}
.finder-result h3{color:var(--gold);font-size:1rem;margin-bottom:.4rem;}
.finder-result p{color:#C7C9CC;}

/* location finder */
.locations{background:var(--white);padding:4rem 0;}
.locgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:.8rem;margin-top:1.8rem;}
.locgrid a{display:block;background:var(--mist);border:1px solid var(--line-light);padding:1.1rem 1rem;border-radius:2px;}
.locgrid a:hover{border-color:var(--gold);}
.locgrid .name{font-weight:700;display:block;}
.locgrid .dist{color:var(--steel);font-size:.8rem;font-family:"Inter",sans-serif;}
@media(max-width:900px){.locgrid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:560px){.locgrid{grid-template-columns:repeat(2,1fr);}}

/* purchase journey */
.journey{background:var(--mist);padding:4rem 0;}
.jline{display:grid;grid-template-columns:repeat(6,1fr);gap:.8rem;margin-top:1.8rem;position:relative;}
.jline .step{border-top:2px solid var(--gold);padding-top:.8rem;}
.jline .step .num{font-size:1.3rem;font-weight:700;color:var(--titanium);}
.jline .step strong{display:block;margin-top:.2rem;font-size:.95rem;}
@media(max-width:820px){.jline{grid-template-columns:1fr;}.jline .step{border-top:none;border-left:2px solid var(--gold);padding:.2rem 0 1rem 1rem;}}

/* faq */
.faq2{max-width:100%;}
.faq2 .cols{columns:2;column-gap:2.4rem;}
.faq2 details{break-inside:avoid;border-bottom:1px solid var(--line-light);padding:.9rem 0;margin:0;}
.faq2 summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem;}
.faq2 summary::-webkit-details-marker{display:none;}
.faq2 summary::after{content:"+";color:var(--gold);font-size:1.2rem;flex-shrink:0;}
.faq2 details[open] summary::after{content:"\2212";}
.faq2 summary h3{margin:0;flex:1;}
.faq2 details p{margin:.6rem 0 0;color:var(--titanium);}
@media(max-width:760px){.faq2 .cols{columns:1;}}

/* generic info modules (region pages) */
.infobar{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.6rem 0;}
.infomod{border:1px solid var(--line-light);background:var(--white);padding:1.2rem;}
.infomod .label{display:block;margin-bottom:.5rem;}
.infomod dl{margin:0;}
.infomod dt{color:var(--steel);font-size:.8rem;}
.infomod dd{margin:.1rem 0 .7rem;font-weight:700;}
@media(max-width:760px){.infobar{grid-template-columns:1fr;}}
table.datatable{width:100%;border-collapse:collapse;margin:1rem 0 1.6rem;font-size:.95rem;background:var(--white);}
.datatable caption{text-align:left;font-size:.875rem;color:var(--steel);margin-bottom:.5rem;}
.datatable th,.datatable td{border:1px solid var(--line-light);padding:.65rem .9rem;text-align:left;}
.datatable thead th{background:var(--mist);}

/* footer */
footer.site{background:var(--footer);color:#B7B9BB;padding:2.4rem 0 5rem;}
footer.site .brandrow{display:flex;flex-direction:column;color:var(--white);margin-bottom:1.2rem;}
footer.site .brandrow strong{font-family:"Inter",sans-serif;letter-spacing:.06em;}
footer.site .brandrow span{color:var(--gold);font-size:.8rem;margin-top:.2rem;}
footer.site .notice{max-width:68ch;font-size:.8rem;opacity:.8;margin-bottom:1rem;}
footer.site .footrow{display:flex;flex-wrap:wrap;gap:.3rem 1.4rem;font-size:.8rem;margin-bottom:.9rem;}
footer.site .footrow a{text-decoration:underline;text-underline-offset:2px;}
footer.site .nearby{display:flex;gap:1rem;flex-wrap:wrap;margin:.6rem 0;padding:.7rem 0;border-top:1px solid var(--line);font-size:.85rem;}
footer.site .rootlinks{display:flex;gap:1rem;flex-wrap:wrap;font-size:.85rem;}

/* floating cta */
.fab{position:fixed;right:18px;bottom:18px;background:var(--gold);color:var(--charcoal);padding:.85rem 1.15rem;font-weight:700;border-radius:2px;box-shadow:0 4px 16px rgba(0,0,0,.28);z-index:30;font-size:.9rem;}
@media(prefers-reduced-motion:no-preference){
  .reveal{animation:rise .6s ease both;}
  @keyframes rise{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
}

/* vehicle detail pages */
.vp-hero{padding:3.5rem 0 2.5rem;}
.vp-hero .label{display:block;margin-bottom:.6rem;}
.vp-hero h1{margin-bottom:.8rem;}
.vp-hero-img{width:100%;object-fit:cover;border-radius:2px;margin:1.6rem 0;}
.vp-hero-img.tall{aspect-ratio:16/10;}
.vp-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin:1.6rem 0;}
.vp-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:2px;}
@media(max-width:760px){.vp-gallery{grid-template-columns:repeat(2,1fr);}}
.vp-dark{background:var(--charcoal);color:var(--white);}
.vp-dark h1,.vp-dark h2,.vp-dark h3{color:var(--white);}
.vp-dark .label{color:var(--gold);}
.vp-faqnum{display:grid;gap:1rem;}
.vp-faqnum details{border:1px solid var(--line-light);padding:1rem 1.2rem;background:var(--white);}
.vp-dark .vp-faqnum details{border-color:var(--line);background:#1E2022;}
.vp-faqnum summary{cursor:pointer;list-style:none;display:flex;gap:.8rem;align-items:baseline;}
.vp-faqnum summary::-webkit-details-marker{display:none;}
.vp-faqnum .qn{font-family:"Inter",sans-serif;color:var(--gold);font-weight:700;}
.vp-faqnum p{margin:.6rem 0 0;}

/* region pages — legacy markup recolored to the new showroom system */
section{background:var(--mist);padding:2.4rem 0;}
section:nth-of-type(even){background:var(--white);}
.hero{padding:3rem 0;background:var(--charcoal);color:var(--white);}
.hero h1{color:var(--white);}
.hero .grid{display:grid;gap:2rem;align-items:start;}
.hero-1 .grid{grid-template-columns:58% 42%;}
.hero-4 .grid{grid-template-columns:45% 55%;align-items:center;}
.hero-4 .panel{width:100%;height:100%;min-height:220px;object-fit:cover;border-radius:2px;}
.hero-2 .strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);margin-top:1.6rem;border:1px solid var(--line);}
.hero-2 .strip div{background:var(--charcoal);padding:1rem;color:var(--white);}
.hero-3 .wrap{max-width:68ch;}
.hero-5 .infobar{display:flex;gap:2rem;flex-wrap:wrap;background:rgba(180,154,106,.12);padding:.9rem 0;margin-bottom:1.6rem;}
.hero .infobar .wrap{display:flex;gap:2.4rem;flex-wrap:wrap;}
.hero .infocard{background:rgba(255,255,255,.06);border-color:var(--line);}
.hero .infocard dt{color:#B7B9BB;}
.hero .infocard dd{color:var(--white);}
.hero .prose p{color:#C7C9CC;}
.infocard{border:1px solid var(--line-light);padding:1.2rem;background:var(--white);}
.infocard dt{color:var(--steel);font-size:.875rem;}
.infocard dd{margin:.1rem 0 .8rem;font-weight:700;}
.bodyfig{margin:1.6rem 0;}
.bodyfig img{width:100%;height:auto;object-fit:cover;max-height:420px;border-radius:2px;}
.bodyfig figcaption{font-size:.875rem;color:var(--steel);margin-top:.4rem;}
.profile-note{display:flex;align-items:center;gap:1rem;margin:1.4rem 0;}
.profile-note img{width:96px;height:120px;object-fit:cover;flex-shrink:0;border-radius:2px;}
.faqlist{max-width:68ch;}
details.faq-item{border-bottom:1px solid var(--line-light);padding:.8rem 0;}
details.faq-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;}
details.faq-item summary::-webkit-details-marker{display:none;}
details.faq-item summary h3{margin:0;flex:1;}
details.faq-item summary::after{content:"+";font-size:1.3rem;color:var(--gold);flex-shrink:0;}
details.faq-item[open] summary::after{content:"\2212";}
details.faq-item p{margin:.6rem 0 0;color:var(--titanium);}
@media (max-width:720px){
  .hero-1 .grid,.hero-4 .grid{grid-template-columns:1fr;}
  .hero-2 .strip{grid-template-columns:1fr;}
}
@media (prefers-reduced-motion:no-preference){
  .hero h1{animation:rise .5s ease both;}
}
