/* p31 — EV3 카마스터 : L1 3열 카드그리드 / F10 Oswald+IBM Plex Sans KR / HD3 / HR1 / CT3 / FT1 */
:root {
  --accent: #047857;
  --accent-text: #035E44;
  --bg: #F2FAF6;
  --ink: #0E271D;
  --font-display: "Oswald", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  --footer-bg: #0A2019;
  --footer-text: #C4E7D9;
}

/* HD3 : 상단 얇은 안내바 + 아래 메뉴바(2단) */
.hd3-topbar { background: var(--accent); color: #fff; font-size: 12.5px; padding-block: 6px; text-align: center; }
.hd3-mainbar { border-bottom: 1px solid #D6EEE3; background: var(--bg); }
.hd3-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; flex-wrap: wrap; gap: 10px; }
.logotype { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--accent-text); }
.site-header nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); }
.site-header nav a:hover { color: var(--accent-text); }

/* HR1 : 좌 차량이미지 / 우 텍스트, 프로필은 텍스트 하단 원형 소형 */
.hero { padding-block: clamp(48px, 8vw, 88px); }
.hero-inner { display: grid; gap: 32px; }
.hero-copy h1 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(28px, 4.2vw, 44px); color: var(--ink); }
.hero-lede { font-size: 17px; color: #315245; max-width: 56ch; }
.hero-profile-inline { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); margin-top: 18px; }
.hero-visual { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; }
.hero-visual .hero-slideshow img { border-radius: 12px; }
.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; }
@media (min-width: 760px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

/* L1 : 3열 카드 그리드 */
.section--muted { background: #E6F5EC; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid #D6EEE3; border-radius: 10px; padding: 24px; }
.card h3 { font-size: 17px; margin-bottom: 8px; color: var(--accent-text); }
.card p { font-size: 14.5px; color: #33544A; margin: 0; }
.ev3-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 20px; }
.ev3-gallery picture img { border-radius: 8px; }
.ev3-table-wrap { overflow-x: auto; margin-top: 20px; }
.ev3-table { width: 100%; border-collapse: collapse; min-width: 420px; background: #fff; }
.ev3-table th, .ev3-table td { border: 1px solid #D6EEE3; padding: 11px 13px; text-align: center; font-size: 14.5px; }
.ev3-table thead th { background: var(--accent); color: #fff; }
.ev3-table tbody th { text-align: left; background: #F2FAF6; }

/* CT3 : 좌우분할(좌 문구 / 우 버튼 세로스택 3개) */
.cta.ct3 { background: var(--accent); color: #fff; padding-block: clamp(48px, 7vw, 80px); }
.ct3-inner { display: flex; flex-direction: column; gap: 26px; }
.ct3-copy h2 { color: #fff; font-size: clamp(21px, 2.8vw, 28px); }
.ct3-copy p { color: #D6F0E4; }
.ct3-buttons { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.ct3-buttons .btn { width: 100%; }
.ct3 .btn-outline { border-color: #fff; color: #fff; }
.ct3 .btn-solid { background: #fff; color: var(--accent-text); }
@media (min-width: 760px) {
  .ct3-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* FT1 : 3단 그리드 */
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer-links p { margin: 0 0 8px; }
