/* =========================================================
   MEYLE Auto Service — 가맹 창업 홈페이지
   컬러/사선 모티프는 MEYLE 공식 디자인 매뉴얼(2025.01) 기준.
   본문/헤딩 서체는 Pretendard Variable을 자체 호스팅.
   ========================================================= */

@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
}

:root {
  /* Brand colours (MEYLE Design Manual p.16-18, digital values) */
  --c-blue: #004479;
  --c-dark-blue: #000034;
  --c-turquoise: #01f5bf;
  --c-coral: #ff7849;
  --c-light-grey: #f1f0ec;
  --c-soft-white: #fcfbf8;
  --c-white: #ffffff;
  --c-ink: #10161f;
  --c-ink-soft: #4a5568;

  --font-head: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-body: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  --header-h: 76px;
  --ticker-h: 44px;
  --quick-bar-h: 60px;
  --radius: 4px;
  --shadow-card: 0 12px 32px rgba(0, 20, 45, 0.08);
  --container-w: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: calc(var(--quick-bar-h) + env(safe-area-inset-bottom, 0px));
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-soft-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.only-desktop { display: none; }
@media (min-width: 768px) { .only-desktop { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn--accent {
  background: var(--c-coral);
  color: var(--c-white);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 120, 73, 0.35); }
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--c-white);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  background: var(--c-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 46px; width: auto; max-width: none; display: block; }

.nav__list {
  display: flex;
  gap: 4px;
}
.nav__link {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-soft);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--c-blue); }
.nav__link.is-active {
  color: var(--c-blue);
  background: var(--c-light-grey);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tel-link {
  display: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-blue);
}
@media (min-width: 1024px) { .tel-link { display: inline-flex; align-items: center; gap: 6px; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-white);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    overflow-y: auto;
    padding: 12px 0 40px;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav__list { flex-direction: column; padding: 12px 24px; gap: 2px; }
  .nav__link { padding: 16px 8px; font-size: 17px; border-bottom: 1px solid var(--c-light-grey); }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav { display: block; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; overflow: hidden; scroll-margin-top: calc(var(--header-h) + var(--ticker-h)); }
.section--alt { background: var(--c-light-grey); }
.section--dark { background: var(--c-dark-blue); color: var(--c-white); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head__lead { margin-top: 16px; }

.eyebrow {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--c-turquoise); }

.section__title {
  font-family: var(--font-head);
  font-size: clamp(48px, 8.25vw, 87px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-blue);
}
.section__title--light { color: var(--c-white); }
.section__title--sm { font-size: clamp(49.5px, 6.75vw, 63px); }

.body-lg { font-size: 27px; line-height: 1.7; color: var(--c-ink); margin-top: 18px; }
.body { font-size: 22.5px; line-height: 1.85; color: var(--c-ink-soft); margin: 16px auto 0; max-width: 640px; }

/* ---------- 인라인 강조 하이라이트 ---------- */
.hl {
  display: inline-block;
  padding: 0 0.16em;
  border-radius: 0.08em;
  background: var(--c-coral);
  color: var(--c-white);
  white-space: nowrap;
}
.hl--blue { background: var(--c-blue); color: var(--c-white); }
.hl--bold { font-weight: 900; }
.hl-count { font-variant-numeric: tabular-nums; }

.hl--accent { background: var(--c-turquoise); color: var(--c-dark-blue); }

/* 하이라이트 박스 등장 모션 (elastic bounce) */
@keyframes hl-bounce-in {
  0% { opacity: 0; transform: translateY(-60px) scale(0.7); }
  55% { opacity: 1; transform: translateY(10px) scale(1.08); }
  75% { transform: translateY(-4px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal-lines .hl:not(.hl-pop) { opacity: 0; }
.hl.hl-pop {
  animation: hl-bounce-in 1.1s cubic-bezier(0.17, 0.89, 0.32, 1.28) both;
  animation-delay: 0.3s;
}

/* 좌→우 하이라이터 색 채움 모션 */
@keyframes hl-sweep-in {
  0% { background-size: 0% 100%; color: var(--c-white); }
  70% { color: var(--c-white); }
  100% { background-size: 100% 100%; color: var(--c-dark-blue); }
}
.hl--sweep {
  background-color: transparent;
  background-image: linear-gradient(var(--c-turquoise), var(--c-turquoise));
  background-repeat: no-repeat;
  background-position: left center;
}
.hl--sweep.hl-pop {
  animation: hl-sweep-in 0.9s var(--ease) both;
  animation-delay: 0.3s;
}

/* ---------- 스크롤링 워드마크 티커 ---------- */
.ticker {
  position: sticky;
  top: var(--header-h);
  z-index: 499;
  overflow: hidden;
  background: var(--c-dark-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 52s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 28px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.ticker__item span { color: var(--c-turquoise); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------- 초대형 통계 ---------- */
.stat-huge {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-head);
}
.stat-huge__value {
  font-size: clamp(84px, 5.5vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-huge__arrow { font-size: clamp(42px, 2.7vw, 46px); font-weight: 900; }
.stat-huge__label { margin-top: 6px; font-size: 21px; font-weight: 700; color: rgba(255, 255, 255, 0.7); }

/* ---------- 회전 리본 태그 ---------- */
.tag-ribbon {
  position: absolute;
  top: 18px;
  left: -8px;
  z-index: 1;
  padding: 7px 18px 7px 22px;
  font-family: var(--font-head);
  font-size: 19.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--c-white);
  background: var(--c-coral);
  border-radius: 2px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

/* ---------- 인터루드(도발적 문구) 밴드 ---------- */
.statement-band {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--c-dark-blue) 0%, var(--c-blue) 100%);
  text-align: center;
}
.statement-band__q {
  font-size: clamp(22.5px, 2.7vw, 27px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}
.statement-band__title {
  font-family: var(--font-head);
  font-size: clamp(42px, 7.5vw, 72px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--c-white);
}
@media (max-width: 600px) {
  .statement-band { padding: 64px 0; }
}

/* ---------- Hero (시장 성장성) ---------- */
.hero {
  padding-top: 64px;
  background: linear-gradient(180deg, var(--c-dark-blue) 0%, var(--c-blue) 62%, var(--c-blue) 100%);
  color: var(--c-white);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 52, 0.78) 0%, rgba(0, 68, 121, 0.72) 55%, var(--c-blue) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding-bottom: 56px; text-align: center; }
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(48px, 9.75vw, 108px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.hero__title-light { font-weight: 500; }
.hero__title-row { display: flex; justify-content: center; }
@media (max-width: 640px) {
  .hero__title { font-size: 43px; }
}
.hero__lead { margin-top: 20px; font-size: 25.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.hero__content .btn { margin-top: 32px; }

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 8px;
}
@media (min-width: 768px) { .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.stat-card__row {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 520px) {
  .stat-card__row { flex-direction: row; align-items: center; gap: 16px; }
  .stat-card__text { flex: 1 1 0; min-width: 0; }
  .bar-chart-panel { flex: 0 0 46%; }
}
.stat-card__label { display: flex; flex-direction: column; gap: 2px; }
.stat-card__label-sm { font-size: 17px; color: rgba(255, 255, 255, 0.65); font-weight: 600; }
.stat-card__label-lg { font-size: clamp(21px, 2.4vw, 25px); color: var(--c-white); font-weight: 800; }
.stat-card__intro { margin-top: 18px; font-size: 16.5px; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.stat-huge { margin-top: 4px; }
.stat-huge--lift { transform: translateY(-9px); margin-bottom: 9px; }
.stat-huge__comma { font-size: 90%; }
.stat-huge__suffix-inline { font-size: clamp(28px, 3vw, 32px); font-weight: 800; margin-left: 2px; }
.stat-card__suffix { margin-top: 2px; font-size: clamp(23px, 2.6vw, 27px); font-weight: 800; color: var(--c-white); line-height: 1.3; }
.stat-card__note { margin-top: 14px; font-size: 16.5px; color: rgba(255, 255, 255, 0.5); }
.section .stat-card__note { color: rgba(255,255,255,0.5); }

.bar-chart-panel { position: relative; }
.bar-chart__trend {
  position: absolute;
  top: -30px;
  left: 16%;
  width: 66%;
  height: 56px;
  overflow: visible;
  pointer-events: none;
}
.bar-chart__trend path {
  fill: none;
  stroke: var(--c-turquoise);
  stroke-width: 4;
  stroke-linecap: butt;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease);
  transition-delay: 1.5s;
}
.bar-chart__trend polygon {
  fill: var(--c-turquoise);
  opacity: 0;
  transition: opacity 0.25s ease;
  transition-delay: 2.4s;
}
.bar-chart__trend.in-view path { stroke-dashoffset: 0; }
.bar-chart__trend.in-view polygon { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .bar-chart__trend path, .bar-chart__trend polygon { transition: none; }
}

.bar-chart { display: flex; flex-direction: column; }
.bar-chart__plot {
  position: relative;
  height: 160px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 0 16px 0 2px;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}
.bar-chart__yaxis, .bar-chart__xaxis {
  position: absolute;
  color: rgba(255, 255, 255, 0.45);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.bar-chart__yaxis { left: -7px; top: -20px; }
.bar-chart__xaxis { right: -16px; bottom: -10px; }
.bar-chart__guide { position: absolute; left: 0; right: 0; top: calc(100% - var(--h)); border-top: 1px dashed rgba(255, 255, 255, 0.22); }
.bar-chart__col { display: flex; align-items: flex-end; justify-content: center; flex: 1; height: 100%; }
.bar-chart__bar {
  width: 100%;
  max-width: 80px;
  height: 0%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 6px 6px 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: height 1.5s var(--ease);
}
.bar-chart__bar--accent { background: var(--c-turquoise); }
.bar-chart__bar.in-view { height: var(--h); }
.bar-chart__value {
  position: absolute;
  top: -26px;
  font-size: 19.5px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--c-white);
}
.bar-chart__labels { display: flex; gap: 24px; padding: 10px 16px 0 2px; }
.bar-chart__labels span { flex: 1; max-width: 80px; margin: 0 auto; text-align: center; font-size: 17px; color: rgba(255, 255, 255, 0.6); font-weight: 600; }

/* 제목을 한 줄로 유지하며 화면 중앙 정렬 (overflow 상태에서도 text-align:center가 아닌
   flex justify-content:center를 사용해야 대칭적으로 중앙 정렬됨).
   350px 미만에서는 nowrap을 해제해 자연 줄바꿈으로 되돌아감. */
@media (min-width: 350px) {
  .title-center-row { display: flex; justify-content: center; }
  #autoservice .section__title--nowrap {
    white-space: nowrap;
    font-size: clamp(28px, 8vw, 72px);
  }
}

/* ---------- Split (마일레 소개) ---------- */
.split__text { max-width: 760px; margin: 0 auto; text-align: center; }
#meyle .body,
#meyle .body-lg { margin-left: auto; margin-right: auto; }
/* body-lg 문장이 .split__text(760px)보다 넓어 자연스러운 지점에서 줄바꿈되도록,
   808px 이상에서만 음수 마진으로 폭을 넓힘(그 아래에서는 .split__text 폭에 맞춰 자연 줄바꿈) */
@media (min-width: 808px) {
  #meyle .body-lg { max-width: 1000px; margin-left: -120px; margin-right: -120px; }
}
.split__media {
  margin: 48px 0 0;
  overflow: hidden;
  border-radius: 14px;
}
.split__media img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.badge-row {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 560px) { .badge-row { grid-template-columns: 1fr; } }
.badge-row__item { text-align: center; }
.badge-row__icon {
  width: 171px;
  height: 171px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.badge-row__title { font-weight: 800; font-size: 21px; color: var(--c-blue); }
.badge-row__desc { margin-top: 6px; font-size: 18px; color: var(--c-ink-soft); line-height: 1.6; }

/* ---------- 이미지 롤링 (마일레 부품 카테고리) ---------- */
.rolling-gallery {
  overflow: hidden;
  padding: 44px 0;
  background: var(--c-dark-blue);
}
.rolling-gallery__track {
  display: flex;
  width: max-content;
  animation: rolling-gallery-scroll 72s linear infinite;
}
.rolling-gallery__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 20px;
  padding-right: 20px;
}
.rolling-gallery__group img {
  height: 630px;
  width: auto;
  max-width: none;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) {
  .rolling-gallery__group img { height: 320px; }
  .rolling-gallery__track { animation-duration: 68s; }
}
@keyframes rolling-gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rolling-gallery__track { animation: none; }
}

/* ---------- Feature grid (오토서비스 소개) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-card {
  background: var(--c-white);
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 26px;
  box-shadow: var(--shadow-card);
}
.feature-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--c-light-grey); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__title { margin: 22px 28px 0; font-size: 27px; font-weight: 800; color: var(--c-blue); }
.feature-card__desc { margin: 10px 28px 0; font-size: 22.5px; line-height: 1.7; color: var(--c-ink-soft); }

.showcase-photo { margin: 0 0 64px; }
.showcase-photo img { border-radius: 14px; width: 100%; object-fit: cover; max-height: 630px; box-shadow: var(--shadow-card); }
.showcase-photo figcaption { margin-top: 10px; font-size: 12px; color: var(--c-ink-soft); text-align: right; }

/* ---------- 롤링바 (Owners' Real Talk, 2줄 반대 방향 스크롤 — 멕시카나 'REAL REVIEW!' 롤링 모션) ---------- */
.review-marquee {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 64px;
  overflow: hidden;
  background: rgb(1, 245, 191);
  padding: 27px 0;
}
.review-marquee__row + .review-marquee__row { margin-top: 15px; }
.review-marquee__track { display: flex; width: max-content; }
.review-marquee__row--a .review-marquee__track { animation: review-marquee-scroll 40.63s linear infinite; }
.review-marquee__row--b .review-marquee__track { animation: review-marquee-scroll 40.63s linear infinite reverse; }
.review-marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.review-marquee__item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px;
  font-family: var(--font-head);
  font-size: clamp(42.75px, 5.175vw, 56.25px);
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.review-marquee__item--solid { color: var(--c-white); }
.review-marquee__item--outline { color: rgb(0, 0, 52); }
@keyframes review-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .review-marquee__track { animation: none; }
}

.testimonial-block .section-head { margin-bottom: 32px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  margin: 0;
  background: var(--c-white);
  border-left: 4px solid var(--c-turquoise);
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
.testimonial-card__head { display: flex; align-items: center; gap: 12px; }
.testimonial-card__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--c-light-grey);
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 800; color: var(--c-blue); font-size: 21px; }
.testimonial-card__name span { font-weight: 500; color: var(--c-ink-soft); }
.testimonial-card__q { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--c-coral); }
.testimonial-card__a { margin-top: 8px; font-size: 20.25px; line-height: 1.75; color: var(--c-ink-soft); }

/* ---------- 창업 포인트 ---------- */
.point-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .point-list { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.point-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 28px;
  background: var(--c-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.point-list .point-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 48px rgba(0, 68, 121, 0.2);
}
.point-item__num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 19.5px;
  letter-spacing: 0.1em;
  color: var(--c-white);
  background: var(--c-coral);
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 22px;
}
.point-item__icon {
  width: 210px;
  height: 210px;
  object-fit: contain;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .point-item__icon { width: 252px; height: 252px; }
}
.point-item__title { font-size: 36px; font-weight: 900; color: var(--c-blue); }
.point-item__sub { margin-top: 6px; font-size: 19.5px; font-weight: 700; color: var(--c-coral); }
.point-item__desc { margin-top: 10px; font-size: 21px; color: var(--c-ink-soft); line-height: 1.7; max-width: 440px; }

/* ---------- 전기차 정비 경쟁력 ---------- */
#ev .feature-card { background: var(--c-blue); }
#ev .feature-card__title { color: var(--c-turquoise); }
#ev .feature-card__desc { color: var(--c-white); }

/* 카드 순서: 01 고내구성 HD 컨트롤암 / 02 쇼크 업소버 세트(신규) / 03 테슬라 전용 필터 부품
   (구 01번, 오일교환키트 삭제로 자리 이동) / 04 정비사 교육.
   카드 03(필터): 제품 사진이 프레임을 너무 꽉 채워(object-fit:cover 특성상) 확대되어 보인다는
   피드백으로 10% 축소 — 남는 여백은 흰색으로 채운다(.feature-card__media의 기본 배경은
   --c-light-grey 회색이라 축소 후 남는 테두리가 회색으로 보였다는 피드백으로 흰색을 덮어씀).
   추가로 이미지 하단과 텍스트 박스 사이에 여백(경계선)이 남지 않도록 transform-origin을
   하단 기준으로 두어, 축소된 여백이 위쪽에만 남고 아래쪽은 밀착되게 함.
   카드 01(HD 컨트롤암, 구 02번): 컷아웃 제품이 프레임 중앙보다 살짝 왼쪽/위로 치우쳐 보인다는
   피드백으로 우측·하단 방향으로 소폭 이동한 값을 그대로 유지. */
#ev .feature-grid .feature-card:nth-of-type(3) .feature-card__media {
  background: var(--c-white);
}
#ev .feature-grid .feature-card:nth-of-type(3) .feature-card__media img {
  transform: scale(0.9);
  transform-origin: center bottom;
}
#ev .feature-grid .feature-card:nth-of-type(1) .feature-card__media img {
  transform: translate(14px, 12px);
}

/* 상단 히어로: 배너 전용으로 새로 제작된 EV 충전 라인아트(EV_상단이미지.psd → 1563x384,
   .ev-hero의 실제 높이 384px와 딱 맞게 디자인된 원본이라 object-fit:cover만으로도 대부분의
   화면 폭에서 거의 크롭 없이 꽉 차게 채워진다 — 이전 버전(1800x1139, 옆에 사선 도형이 있던
   구도)처럼 좌우 레터박스를 따로 채워 넣을 필요가 없어졌다.
   전류가 흐르는 하이라이트 스윕은 원본 이미지의 밝기를 마스크로 사용해(mask-image +
   mask-mode:luminance) 배경의 어두운 부분은 가려지고 자동차·충전 라인 같은 밝은 부분에만
   부드럽게 겹쳐 보이도록 한다(mask-size는 반드시 img의 object-fit과 동일하게 맞출 것). */
.ev-hero {
  position: relative;
  width: 100vw;
  height: 384px;
  margin: -96px calc(50% - 50vw) 88px;
  overflow: hidden;
  background: #020414;
}
/* 화면이 좁아지면 배너 높이도 70%로 축소(384px -> 269px) */
@media (max-width: 768px) {
  .ev-hero { height: 269px; }
}
.ev-hero__img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ev-hero__pulse {
  /* 배너 전체를 가로지르는 diagonal shine으로 "빛이 너무 넓다/화면 전체를 가린다"는
     피드백을 받아, 다시 자동차·충전 라인에만 빛이 보이도록 마스크를 되살렸다. 단, 마스크가
     걸린 요소 자체를 transform으로 움직이면 마스크(사진 정렬 기준)도 같이 밀려서 실제
     사진과 어긋나 버리므로, 마스크는 고정된 이 요소(.ev-hero__pulse)에 걸어두고, 실제로
     움직이는 빛줄기는 ::before 가상요소로 분리해 그 안에서만 translateX 애니메이션한다
     — 마스크는 항상 사진과 정확히 겹친 채 고정, 빛줄기만 GPU 합성으로 매끄럽게 흐른다.
     모바일(iOS Safari)에서는 mask-mode:luminance가 JPEG 소스에 제대로 적용되지 않고
     알파채널(JPEG는 항상 불투명이라 전부 1) 기준으로 대체 판정되어 마스크가 아예 안 걸린
     것처럼(스윕이 화면 전체를 뒤덮음) 렌더링되는 문제가 있었다. 그래서 원본 사진 대신,
     밝기(luminance) 값을 미리 계산해 알파채널에 직접 구워넣은 전용 마스크 PNG
     (ev-hero-charging-mask.png, RGB=흰색 고정 + A=밝기)를 쓰고 mode도 alpha로 명시해,
     luminance 지원 여부와 무관하게 모든 브라우저가 알파채널만 보고 동일하게 클리핑하도록
     통일했다. */
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: url("../img/ev-hero-charging-mask.png");
  -webkit-mask-mode: alpha;
  -webkit-mask-size: cover;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("../img/ev-hero-charging-mask.png");
  mask-mode: alpha;
  mask-size: cover;
  mask-position: center;
  mask-repeat: no-repeat;
  /* iOS Safari는 mask-image가 걸린 요소가 GPU 레이어로 항상 승격되는 것이 아니라서,
     기기/버전에 따라 마스크+필터+애니메이션 조합의 합성 결과가 들쭉날쭉하게 나타나는
     경우가 보고됐다(같은 코드가 iOS 버전마다 다르게 보임) — translateZ(0)로 레이어
     승격을 명시적으로 강제해 기기 간 렌더링을 통일한다. */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.ev-hero__pulse::before {
  /* 마스크로 얇은 라인 안에만 클리핑되면 색만 살짝 바뀌는 정도로는 실제 배너 크기에서
     거의 안 보인다(과거 라운드에서 겪은 것과 동일한 함정) — filter로 부드러운 글로우를
     씌워 라인 밖으로 살짝 번지게 해야 눈에 띄는 "빛" 느낌이 난다. 마스크는 부모
     (.ev-hero__pulse)에 걸려 있어 블러로 번진 부분도 결국 마스크 경계 안에서만 보인다.
     새 히어로 아트(EV_상단이미지.psd)는 자동차 라인 자체가 이미 밝은 백색/청록 네온
     글로우를 내장하고 있어, 순백색만으로 덧칠하면 "흰 위에 흰"이 되어 안 보인다 —
     그래서 흰색 피크 양옆에 브랜드 청록(--c-turquoise)을 섞어 색상 변화 자체로도
     스윕이 느껴지게 하고, blur/brightness를 크게 올려 확실한 밝기 차이를 만든다.
     "전기 충전되는 느낌"으로 바꿔달라는 요청 — ① 충전기가 이미지 오른쪽, 차가 왼쪽에
     있으므로 전류가 충전기 -> 차 방향(우->좌)으로 흐르게 진행 방향을 반전하고,
     ② 일정한 속도로 미끄러지는 대신 밝기를 순간순간 깜빡이게 해 전류가 스파크처럼
     튀며 흐르는 느낌을 더했다. 원래는 translateX 애니메이션과 opacity 플리커
     애니메이션을 comma로 나열해 동시 적용했는데, iOS 버전에 따라 여러 개를 나열한
     animation 속성 중 일부만 적용되거나 씹히는 경우가 보고돼(기기마다 다르게 보이는
     원인 중 하나) 하나의 @keyframes 안에 transform·opacity를 함께 넣어 애니메이션을
     하나로 합쳤다. */
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(100deg,
    transparent 32%,
    rgba(1, 245, 191, 0.9) 44%,
    rgba(255, 255, 255, 1) 50%,
    rgba(1, 245, 191, 0.9) 56%,
    transparent 68%);
  filter: blur(11px) brightness(2.4) saturate(1.6);
  transform: translateX(140%) translateZ(0);
  -webkit-transform: translateX(140%) translateZ(0);
  will-change: transform, opacity;
  animation: ev-current-flow 2.6s linear infinite;
}
@keyframes ev-current-flow {
  0%   { transform: translateX(140%)   translateZ(0); opacity: 1; }
  3%   { transform: translateX(131.6%) translateZ(0); opacity: 0.5; }
  6%   { transform: translateX(123.2%) translateZ(0); opacity: 1; }
  9%   { transform: translateX(114.8%) translateZ(0); opacity: 0.4; }
  12%  { transform: translateX(106.4%) translateZ(0); opacity: 1; }
  45%  { transform: translateX(14%)    translateZ(0); opacity: 1; }
  48%  { transform: translateX(5.6%)   translateZ(0); opacity: 0.55; }
  51%  { transform: translateX(-2.8%)  translateZ(0); opacity: 1; }
  74%  { transform: translateX(-67.2%) translateZ(0); opacity: 1; }
  77%  { transform: translateX(-75.6%) translateZ(0); opacity: 0.45; }
  80%  { transform: translateX(-84%)   translateZ(0); opacity: 1; }
  100% { transform: translateX(-140%)  translateZ(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-hero__pulse { animation: none; opacity: 0; }
}

/* 02번 카드: 배경 제거된 부품 컷아웃을 그대로 채우지 않고 여백을 두고 담는다 */
.feature-card__media--contain { background: var(--c-white); }
.feature-card__media--contain img { object-fit: contain; padding: 32px; }

/* 영상 쇼케이스: 소낙스 카케어 성공 스토리 영상처럼 다크 풀블리드 배경에서 바로 재생 */
.video-showcase {
  width: 100vw;
  margin: 48px calc(50% - 50vw) 0;
  background: var(--c-dark-blue);
  padding: 56px 24px;
  text-align: center;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1180px;
  margin: 24px auto 0;
}
@media (min-width: 700px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-item__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.video-item__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-item__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 0, 52, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.video-item__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--c-white);
}
.video-item__frame:hover .video-item__play, .video-item__frame:focus-visible .video-item__play { transform: scale(1.08); background: var(--c-coral); }
.video-item__caption { margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--c-white); text-align: center; }

/* ---------- 창업 프로세스 ---------- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 900px) { .process-list { grid-template-columns: repeat(5, 1fr); } }
.process-item {
  position: relative;
  background: var(--c-light-grey);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}
.process-item--final { background: var(--c-blue); color: var(--c-white); }
.process-item--final .process-item__title { color: var(--c-white); }
.process-item--final .process-item__desc { color: rgba(255,255,255,0.85); }
.process-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  font-weight: 900;
  font-size: 25.5px;
  margin-bottom: 14px;
}
.process-item--final .process-item__num { background: var(--c-turquoise); color: var(--c-dark-blue); }
.process-item__title { font-weight: 800; font-size: 24px; color: var(--c-blue); }
.process-item__desc { margin-top: 8px; font-size: 18.75px; color: var(--c-ink-soft); line-height: 1.7; }
.process-item__note { font-size: 90%; }

@media (min-width: 900px) {
  .process-item:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    color: var(--c-coral);
  }
}

/* ---------- 창업 혜택 ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 780px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  background: var(--c-white);
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 28px;
  box-shadow: var(--shadow-card);
}
.benefit-card__media { position: relative; aspect-ratio: 1402 / 1122; background: var(--c-light-grey); }
.benefit-card__media img { width: 100%; height: 100%; object-fit: cover; }
.benefit-card__title { margin: 22px 28px 0; font-size: 19.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-coral); }
.benefit-card__lead { margin: 10px 28px 0; font-size: 25.5px; font-weight: 800; color: var(--c-blue); line-height: 1.5; }
.benefit-card__list { margin: 14px 28px 0; }
.benefit-card__list li { font-size: 20.25px; color: var(--c-ink-soft); line-height: 1.8; }
.benefit-card__note { margin: 16px 28px 0; font-size: 18px; font-weight: 700; color: var(--c-blue); background: var(--c-light-grey); display: inline-block; padding: 4px 10px; border-radius: 20px; }

.promo-banner {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  border-radius: 18px;
  border: 2px solid var(--c-coral);
  box-shadow: 0 20px 48px rgba(255, 120, 73, 0.22);
}
.promo-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 68, 121, 0.9) 0%, rgba(0, 0, 52, 0.62) 65%, rgba(0, 0, 52, 0.4) 100%);
}
.promo-banner__content {
  position: relative;
  z-index: 1;
  padding: 56px 40px;
  max-width: 560px;
  color: var(--c-white);
}
.promo-banner__num {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--c-coral);
  color: var(--c-white);
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.promo-banner__title { font-weight: 900; font-size: clamp(36px, 5.25vw, 48px); color: var(--c-white); }
.promo-banner__desc { margin-top: 12px; font-size: 22.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.promo-banner .btn { margin-top: 24px; }

@media (max-width: 640px) {
  .promo-banner { min-height: 380px; }
  .promo-banner__content { padding: 40px 24px; max-width: none; }
}

/* 인테리어 지원 텍스트 박스: bounce-in 등장 후 펄스(NEW OPEN 뱃지 스타일) 모션으로 전환 */
.promo-banner .hl--shine.hl-pulsing {
  animation: promo-highlight-pulse 1.4s ease-in-out infinite;
}
@keyframes promo-highlight-pulse {
  0%, 100% { transform: scale(1); box-shadow: rgba(1, 245, 191, 0.5) 0 0 0 0; }
  50% { transform: scale(1.08); box-shadow: rgba(1, 245, 191, 0) 0 0 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-banner .hl--shine.hl-pulsing { animation: none; }
}

/* "상담 후 선발 방식" 강조: 볼드 + 스크롤 시 좌→우로 그려지는 밑줄 */
.underline-reveal {
  position: relative;
  display: inline-block;
  font-weight: 900;
}
.underline-reveal::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--c-coral);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease);
}
.underline-reveal.in-view::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .underline-reveal::after { transition: none; }
}

/* ---------- 창업 문의 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-info__lead { white-space: nowrap; }
}

.contact-info { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.contact-info__lead { color: rgba(255, 255, 255, 0.85); font-size: 19px; }
.contact-visual {
  margin-top: 28px;
  width: 100%;
  max-width: 480px;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.contact-detail-list { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-detail-list li { display: flex; gap: 16px; font-size: 15px; align-items: baseline; }
.contact-detail-list__label {
  min-width: 64px;
  font-weight: 700;
  color: var(--c-turquoise);
  font-size: 13px;
}
.contact-detail-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--c-white);
  border-radius: 16px;
  padding: 36px 36px 22px;
  color: var(--c-ink);
}
.contact-form__title { font-weight: 800; font-size: 18px; color: var(--c-blue); margin-bottom: 20px; }
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
@media (min-width: 420px) { .contact-form__grid { grid-template-columns: 1fr 1fr; } }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--c-ink); }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdcd6;
  border-radius: 8px;
  background: var(--c-soft-white);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0, 68, 121, 0.12);
}
.form-row--checkbox label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13px; }
.form-note { margin-top: 8px; font-size: 13px; font-weight: 700; min-height: 0; }
.form-note:empty { margin-top: 0; }
.form-note.is-error { color: #c0392b; }
.form-note.is-success { color: #1a7f5a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark-blue); color: rgba(255, 255, 255, 0.65); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-brand__logo { height: 26px; width: auto; }
.footer-meta, .footer-copy { font-size: 12.5px; }

/* ---------- 빠른 창업 문의 (하단 고정 바) ---------- */
.quick-inquiry {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 700;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--c-blue);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.quick-inquiry__bar {
  position: relative;
  height: var(--quick-bar-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 20px;
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
}
.quick-inquiry__logo { height: 26px; width: auto; flex-shrink: 0; }
.quick-inquiry__tel {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.quick-inquiry__submit { flex-shrink: 0; }
@media (min-width: 640px) {
  .quick-inquiry__submit {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .quick-inquiry__submit:hover { transform: translate(-50%, calc(-50% - 2px)); }
}
.quick-inquiry__toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--c-white);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 4px;
  white-space: nowrap;
}
.quick-inquiry__toggle-label { display: inline-block; min-width: 70px; text-align: left; }
.quick-inquiry__toggle-icon { transition: transform 0.25s var(--ease); font-size: 12px; }
.quick-inquiry[data-open="true"] .quick-inquiry__toggle-icon { transform: rotate(180deg); }

.quick-inquiry__panel {
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-card);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease), padding 0.35s var(--ease);
  padding: 0 24px;
}
.quick-inquiry[data-open="true"] .quick-inquiry__panel {
  max-height: min(560px, calc(100vh - var(--header-h) - var(--quick-bar-h) - env(safe-area-inset-bottom, 0px)));
  opacity: 1;
  overflow-y: auto;
  padding: 24px 24px 4px;
}

.quick-inquiry__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 20px;
}
@media (min-width: 640px) { .quick-inquiry__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .quick-inquiry__grid { grid-template-columns: repeat(4, 1fr); } }
.quick-inquiry__agree { margin-top: 4px; }

@media (max-width: 639px) {
  .quick-inquiry__toggle-label { display: none; }
  .quick-inquiry__submit { padding: 10px 14px; font-size: 12px; }
  .quick-inquiry__tel { font-size: 12.5px; }
  .quick-inquiry__logo { height: 20px; }
}
@media (max-width: 479px) {
  .quick-inquiry__logo { display: none; }
}

/* ---------- Section reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* 이미지 스케일 리빌 (Ken Burns 느낌의 확대→정상 크기 정착) */
.reveal-img {
  opacity: 0;
  transform: translateY(16px) scale(1.06);
  transition: opacity 1.2s var(--ease), transform 1.3s var(--ease);
}
.reveal-img.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* 텍스트 라인 순차 등장(스태거). .reveal-lines가 관측 대상, 자식 .reveal-line이 순서대로 등장 */
.reveal-line {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.22s);
}
.reveal-lines.is-visible .reveal-line { opacity: 1; transform: translateY(0); }

/* 그룹 순차 등장(스태거). 부모 .reveal-group이 관측 대상, 직계 자식이 순서대로 하나씩 등장 */
.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-group > *:nth-child(1) { transition-delay: 0s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.4s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.6s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.8s; }
.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }

/* 창업 프로세스: 멕시카나 창업절차 스타일 좌측 순차 슬라이드인 (일반 reveal-group의 translateY를 오버라이드).
   transition-delay는 선언하지 않아 아래 .reveal-group > *:nth-child(n) 스태거 규칙이 그대로 적용됨. */
.process-list.reveal-group > .process-item {
  transform: translateX(-90px);
  transition-property: opacity, transform;
  transition-duration: 1.1s, 1.1s;
  transition-timing-function: var(--ease), var(--ease);
}
.process-list.reveal-group > .process-item:nth-child(1) { transition-delay: 0s; }
.process-list.reveal-group > .process-item:nth-child(2) { transition-delay: 0.3s; }
.process-list.reveal-group > .process-item:nth-child(3) { transition-delay: 0.6s; }
.process-list.reveal-group > .process-item:nth-child(4) { transition-delay: 0.9s; }
.process-list.reveal-group > .process-item:nth-child(5) { transition-delay: 1.2s; }
.process-list.reveal-group.is-visible > .process-item { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img, .reveal-line, .reveal-group > *, .process-list.reveal-group > .process-item {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .hl.hl-pop { animation: none; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
}
