/* p24 — K8 영업사원 : L4 세로 타임라인 / F10 Oswald+IBM Plex Sans KR / HD4 / HR4 / CT3 / FT3 */
:root {
  --accent: #7E22CE;
  --accent-text: #6B1FB0;
  --bg: #FAF6FE;
  --ink: #241234;
  --font-display: "Oswald", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  --footer-bg: #1D0F2C;
  --footer-text: #D9C9EC;
}

/* HD4 : 좌 로고타입 + 우 CTA링크(메뉴는 details 햄버거) */
.site-header { border-bottom: 1px solid #EADCF8; }
.hd4-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 14px; }
.logotype { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; text-decoration: none; color: var(--accent-text); }
.hd4-menu { position: relative; }
.hd4-menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; padding: 8px 10px; border: 1px solid #EADCF8; border-radius: 6px; }
.hd4-menu summary::-webkit-details-marker { display: none; }
.hd4-menu[open] summary { background: #F4EBFC; }
.hd4-menu nav { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #EADCF8; border-radius: 8px; padding: 10px 6px; min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 10; }
.hd4-menu nav ul { list-style: none; margin: 0; padding: 0; }
.hd4-menu nav li a { display: block; padding: 8px 10px; text-decoration: none; font-size: 14px; color: var(--ink); }
.hd4-menu nav li a:hover { color: var(--accent-text); }
.hd4-cta { padding: 10px 16px; font-size: 13.5px; white-space: nowrap; }

/* HR4 : 상단텍스트 / 하단 와이드 차량이미지, 프로필 좌측하단 고정 */
.hero.hr4 { padding-top: clamp(40px, 8vw, 76px); padding-bottom: 0; }
.hero-copy { text-align: center; max-width: 700px; margin: 0 auto clamp(28px, 5vw, 44px); }
.hero-copy h1 { font-size: clamp(30px, 4.6vw, 48px); color: var(--ink); }
.hero-lede { font-size: 17px; color: #4A3760; margin-bottom: 1.4em; }
.hero-wide { position: relative; height: clamp(240px, 42vw, 420px); overflow: hidden; }
.hero-wide .hero-slideshow img { object-position: 50% 20%; }
.hero-slideshow img { animation-duration: 35s; }
.hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.hero-slideshow img:nth-child(2) { animation-delay: 7s; }
.hero-slideshow img:nth-child(3) { animation-delay: 14s; }
.hero-slideshow img:nth-child(4) { animation-delay: 21s; }
.hero-slideshow img:nth-child(5) { animation-delay: 28s; }
.hero-profile-fixed {
  position: absolute; left: clamp(12px, 4vw, 32px); bottom: -28px; width: 76px; height: 76px;
  border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* L4 : 세로 타임라인(좌축+우콘텐츠) */
.l4-timeline { list-style: none; margin: 0; padding: 0; position: relative; padding-top: 44px; }
.l4-timeline > li { position: relative; padding-left: 34px; padding-bottom: 44px; border-left: 3px solid #EADCF8; }
.l4-timeline > li:last-child { padding-bottom: 0; }
.l4-timeline > li::before {
  content: ""; position: absolute; left: -9px; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px #EADCF8;
}
.l4-media picture img { border-radius: 10px; margin-bottom: 16px; }
.l4-content h2 { font-size: clamp(19px, 2.4vw, 25px); margin-bottom: .5em; }
.l4-content p { color: #3E2E52; font-size: 15px; }
.l4-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.l4-gallery picture img { margin-bottom: 0; }
.l4-table-wrap { overflow-x: auto; margin: 16px 0; }
.l4-table { width: 100%; border-collapse: collapse; min-width: 480px; background: #fff; }
.l4-table th, .l4-table td { border: 1px solid #EADCF8; padding: 10px 12px; text-align: center; font-size: 14px; }
.l4-table thead th { background: var(--accent); color: #fff; }
.l4-table tbody th { text-align: left; background: #F4EBFC; }
@media (min-width: 720px) {
  .l4-timeline > li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
  .l4-content--full { grid-column: 1 / -1; max-width: 62ch; }
}

/* CT3 : 좌우분할(좌 문구/우 버튼 세로스택 3개) */
.cta.ct3 { background: #F4EBFC; padding-block: clamp(40px, 6vw, 68px); }
.ct3-wrap { display: grid; gap: 26px; align-items: center; }
.ct3-copy h2 { font-size: clamp(20px, 2.6vw, 26px); color: var(--ink); }
.ct3-buttons { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 700px) {
  .ct3-wrap { grid-template-columns: 1.3fr 1fr; }
}

/* FT3 : 중앙정렬 1단 세로스택 */
.footer-stack { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.footer-links p { margin: 0; }
