/* =========================================================
   에프원모터스 홈페이지 스타일
   색상만 바꾸고 싶으면 아래 :root 부분의 값만 수정하세요.
   ========================================================= */

:root {
  /* 브랜드 색상 */
  --red: #e10600;          /* 포인트 색 (F1 레드) */
  --red-dark: #b30500;
  --ink: #0d0f12;          /* 가장 어두운 배경 */
  --ink-2: #16191f;        /* 카드 배경 */
  --ink-3: #232830;        /* 테두리 */
  --paper: #f5f6f8;        /* 밝은 섹션 배경 */
  --white: #ffffff;
  --text: #1a1d23;         /* 밝은 배경 위 본문 */
  --text-sub: #5b616e;
  --text-on-dark: #e8eaee;
  --text-on-dark-sub: #9aa1ad;
  --kakao: #fee500;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 15, 18, .10);
  --shadow-lg: 0 20px 50px rgba(13, 15, 18, .18);
  --max: 1180px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(225, 6, 0, .28); }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-kakao { background: var(--kakao); color: #3c1e1e; }
.btn-kakao:hover { background: #f2da00; }

.btn-call { background: var(--red); color: #fff; padding: 10px 18px; font-size: 15px; }
.btn-call:hover { background: var(--red-dark); }

/* 전화 아이콘 (이미지 없이 CSS로) */
.ico-phone {
  width: 16px; height: 16px; flex: none;
  background: currentColor;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.3 0 .7-.2 1l-2.3 2.1z'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.3 0 .7-.2 1l-2.3 2.1z'/%3E%3C/svg%3E");
}

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 15, 18, .55);
  backdrop-filter: blur(10px);
  transition: background .25s ease, box-shadow .25s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.scrolled { background: rgba(13, 15, 18, .96); box-shadow: 0 4px 20px rgba(0,0,0,.3); }

.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
/* F-1 motors 로고 모양 뱃지 (실제 로고 이미지로 교체 가능) */
.brand-mark {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2b2f36 0%, #0a0b0d 70%);
  border: 2px solid var(--red);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  line-height: 1;
}
.brand-mark b {
  font-size: 15px; font-weight: 900; font-style: italic;
  color: var(--red); letter-spacing: -0.04em;
}
.brand-mark i {
  font-size: 7.5px; font-weight: 800; font-style: italic;
  color: #fff; letter-spacing: .02em; margin-top: 2px;
}
.brand-logo { width: 46px; height: 46px; flex: none; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; font-weight: 800; }
.brand-text small { font-size: 10.5px; color: var(--text-on-dark-sub); font-weight: 500; }

.nav { display: flex; gap: 16px; margin-left: auto; }
.nav a {
  color: var(--text-on-dark); font-size: 14.5px; font-weight: 600; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.active { color: #fff; border-color: var(--red); }

.header-call { margin-left: 4px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 24px; background: #fff; margin: 0 auto; transition: transform .25s, opacity .25s; }
.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); }

/* ---------- 히어로 ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 500px at 75% 10%, rgba(225, 6, 0, .35), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(70, 90, 130, .30), transparent 60%),
    linear-gradient(160deg, #0d0f12 0%, #14181f 55%, #0d0f12 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px);
}
.hero-inner { position: relative; padding: 170px 20px 100px; text-align: center; }

.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: #fff; background: rgba(225, 6, 0, .9);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero-title { font-size: clamp(30px, 6vw, 56px); font-weight: 900; letter-spacing: -0.035em; }
.hero-title .accent { color: #ff3b30; }
.hero-sub { margin-top: 22px; font-size: clamp(15px, 2.2vw, 19px); color: var(--text-on-dark-sub); line-height: 1.75; }

.hero-cta { margin-top: 38px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-badges {
  margin-top: 60px; display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px; margin-inline: auto;
}
.hero-badges li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 18px 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.hero-badges strong { font-size: 16px; font-weight: 800; }
.hero-badges span { font-size: 13px; color: var(--text-on-dark-sub); }

/* ---------- 공통 섹션 ---------- */
.section { padding: 96px 0; }
.sec-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--red); margin-bottom: 12px; }
.sec-title { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -0.03em; }
.sec-desc { margin-top: 16px; font-size: 16px; color: var(--text-sub); max-width: 680px; }
.sec-desc strong { color: var(--text); font-weight: 700; }

/* ---------- 증상 ---------- */
.section-symptoms { background: var(--paper); }
.symptom-grid {
  margin-top: 44px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.symptom-grid li {
  background: var(--white); border: 1px solid #e6e8ec; border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.symptom-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6d9df; }
.symptom-grid .num { font-size: 13px; font-weight: 900; color: var(--red); letter-spacing: .08em; }
.symptom-grid h3 { margin: 8px 0 8px; font-size: 19px; font-weight: 800; }
.symptom-grid p { font-size: 15px; color: var(--text-sub); }

.symptom-cta {
  margin-top: 40px; padding: 28px 30px; border-radius: var(--radius);
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.symptom-cta p { font-size: 17px; }
.symptom-cta strong { color: #ff5a4f; }

/* ---------- 서비스 ---------- */
.service-grid {
  margin-top: 44px; display: grid; gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-card {
  border: 1px solid #e6e8ec; border-radius: var(--radius);
  padding: 32px 28px 26px; background: var(--white);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(225,6,0,.35); }
.service-head { display: flex; align-items: baseline; gap: 12px; }
.service-no { font-size: 13px; font-weight: 900; color: var(--red); letter-spacing: .08em; }
.service-head h3 { font-size: 23px; font-weight: 900; }
.service-lead { margin-top: 12px; font-size: 15px; color: var(--text-sub); }
.service-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.service-list li { position: relative; padding-left: 24px; font-size: 15px; font-weight: 500; }
.service-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--red);
}
.service-foot {
  margin-top: auto; padding-top: 20px; margin-top: 22px;
  border-top: 1px dashed #dfe2e7; font-size: 13.5px; color: var(--text-sub);
}

/* ---------- 절차 ---------- */
.section-process { background: var(--ink); color: var(--text-on-dark); }
.section-process .sec-desc { color: var(--text-on-dark-sub); }
.section-process .sec-desc strong { color: #fff; }
.process-list {
  margin-top: 44px; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: step;
}
.process-list li {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden;
}
.process-list li::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.process-list .step { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #ff4d42; }
.process-list h3 { margin: 10px 0 10px; font-size: 20px; font-weight: 800; color: #fff; }
.process-list p { font-size: 15px; color: var(--text-on-dark-sub); }

/* ---------- 왜 ---------- */
.why-grid {
  margin-top: 44px; display: grid; gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.why-item { padding: 28px 26px; background: var(--paper); border-radius: var(--radius); border-left: 4px solid var(--red); }
.why-item h3 { font-size: 20px; font-weight: 800; }
.why-item p { margin-top: 10px; font-size: 15px; color: var(--text-sub); }

/* ---------- 문의 CTA ---------- */
.section-contact {
  background: linear-gradient(135deg, var(--red) 0%, #8f0400 100%);
  color: #fff; padding: 84px 0;
}
.contact-inner { text-align: center; }
.contact-inner h2 { font-size: clamp(25px, 4vw, 36px); font-weight: 900; }
.contact-inner > p { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.92); }
.contact-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.section-contact .btn-primary { background: #fff; color: var(--red); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.section-contact .btn-primary:hover { background: #f3f3f3; }
.contact-hours { margin-top: 26px; font-size: 14.5px; color: rgba(255,255,255,.85); }

/* ---------- FAQ ---------- */
.section-faq { background: var(--paper); }
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--white); border: 1px solid #e3e6ea; border-radius: var(--radius);
  padding: 4px 22px; transition: border-color .2s, box-shadow .2s;
}
.faq-list details[open] { border-color: rgba(225,6,0,.35); box-shadow: var(--shadow); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative;
  font-size: 17px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 20px; font-size: 15.5px; color: var(--text-sub); }

/* ---------- 오시는 길 ---------- */
.location-grid {
  margin-top: 44px; display: grid; gap: 28px;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: start;
}
.location-info dl { display: grid; grid-template-columns: 74px 1fr; row-gap: 16px; column-gap: 12px; }
.location-info dt { font-size: 14px; font-weight: 800; color: var(--red); }
.location-info dd { font-size: 15.5px; }
.location-info dd a { font-weight: 800; border-bottom: 1px solid currentColor; }

.location-map { border-radius: var(--radius); overflow: hidden; border: 1px solid #e3e6ea; }
.location-map iframe { width: 100% !important; height: 400px !important; border: 0; display: block; }
.map-placeholder {
  min-height: 340px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 30px;
}
.map-placeholder strong { font-size: 17px; }
.map-placeholder span { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-sub); padding: 48px 0 110px; }
.footer-inner { display: flex; gap: 28px; justify-content: space-between; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand strong { display: block; font-size: 17px; font-weight: 800; }
.footer-brand small { font-size: 12px; color: var(--text-on-dark-sub); }
.footer-info { font-size: 14px; line-height: 1.9; }
.footer-info .copy { margin-top: 10px; font-size: 13px; color: #6d7480; }

/* ---------- 모바일 고정 전화 버튼 ---------- */
.floating-call {
  position: fixed; left: 16px; right: 16px; z-index: 90;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 16px;
  padding: 16px; border-radius: 999px; box-shadow: 0 10px 28px rgba(225,6,0,.45);
}

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 960px) {
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .service-grid, .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .header-inner { height: 64px; gap: 12px; }
  .header-call { display: none; }
  .nav-toggle { display: flex; }

  .nav {
    position: fixed; top: calc(64px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(13, 15, 18, .98);
    padding: 8px 20px 20px;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .2s ease;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .nav a:hover, .nav a.active { border-color: rgba(255,255,255,.08); color: #ff4d42; }

  .section { padding: 68px 0; }
  .hero-inner { padding: 130px 20px 80px; }
  .hero-badges { grid-template-columns: 1fr; margin-top: 44px; }
  .hero-cta .btn { flex: 1 1 100%; }

  .symptom-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .symptom-cta .btn { width: 100%; }

  .floating-call { display: flex; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 420px) {
  .br-m { display: none; }
  .service-card { padding: 26px 20px 22px; }
  .location-info dl { grid-template-columns: 1fr; row-gap: 4px; }
  .location-info dt { margin-top: 12px; }
}

/* 스크롤 등장 효과 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service-card:hover, .symptom-grid li:hover { transform: none; }
}


/* =========================================================
   원모터스 체인 섹션
   ========================================================= */
.section-onemotors { background: var(--ink); color: var(--text-on-dark); }
.section-onemotors .sec-desc { color: var(--text-on-dark-sub); }
.section-onemotors .sec-desc strong { color: #fff; }
.section-onemotors .sec-title { color: #fff; }
.om-accent { color: #ff3b30; }

.om-grid {
  display: grid; gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
}
.om-note {
  margin-top: 22px; padding-left: 16px; border-left: 3px solid var(--red);
  font-size: 15px; color: var(--text-on-dark-sub); line-height: 1.8;
}

.om-cards { display: grid; gap: 14px; }
.om-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 24px 24px 20px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.om-card:hover { transform: translateY(-4px); border-color: rgba(225,6,0,.55); background: #1b1f26; }
.om-badge {
  align-self: flex-start;
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.10); color: var(--text-on-dark-sub);
}
.om-badge-red { background: var(--red); color: #fff; }
.om-card strong { font-size: 21px; font-weight: 900; color: #fff; margin-top: 6px; }
.om-meta { font-size: 14px; color: var(--text-on-dark-sub); }
.om-stat { font-size: 13.5px; color: #ff6b60; font-weight: 700; margin-top: 2px; }
.om-link { margin-top: 12px; font-size: 14px; font-weight: 700; color: #fff; }

/* =========================================================
   대표 분야(고장진단) 카드
   ========================================================= */
.service-feature {
  margin-top: 44px;
  background: linear-gradient(135deg, #12151a 0%, #1d2229 100%);
  border-color: #262b33; color: var(--text-on-dark);
}
.service-feature:hover { transform: none; box-shadow: none; border-color: rgba(225,6,0,.45); }
.service-feature .service-head h3 { color: #fff; font-size: 26px; }
.service-feature .service-head h3 em { font-style: normal; color: #ff4d42; }
.service-feature .service-lead { color: var(--text-on-dark-sub); font-size: 16px; }
.service-feature .service-lead strong { color: #fff; }
.service-feature .service-foot {
  border-top-color: #2b313a; color: #9aa1ad; font-style: italic; font-size: 15px;
}

.code-grid {
  margin-top: 24px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.code-item {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px; padding: 16px 18px;
}
.code-item .code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 15px; font-weight: 800; color: #ff5a4f; letter-spacing: .02em;
}
.code-item span:last-child { font-size: 13.5px; color: var(--text-on-dark-sub); line-height: 1.6; }

.service-grid { margin-top: 20px; }

/* =========================================================
   유튜브 섹션
   ========================================================= */
.section-youtube { background: var(--paper); }
.yt-grid {
  margin-top: 44px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.yt-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: var(--white); border: 1px solid #e3e6ea; border-radius: var(--radius);
  padding: 24px 24px 56px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.yt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ff4d42; }
.yt-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: var(--ink); padding: 5px 11px; border-radius: 999px;
}
.yt-card h3 { font-size: 17.5px; font-weight: 800; margin-top: 4px; }
.yt-card p { font-size: 14.5px; color: var(--text-sub); }
.yt-play {
  position: absolute; left: 24px; bottom: 20px;
  width: 38px; height: 26px; border-radius: 7px; background: #ff0000;
}
.yt-play::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  border-left: 9px solid #fff;
  border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent;
}
.yt-more { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn-youtube { background: #ff0000; color: #fff; }
.btn-youtube:hover { background: #d90000; }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: #c9ced6; }
.btn-ghost-dark:hover { background: rgba(0,0,0,.05); border-color: var(--text); }

/* 기타 */
.location-info .muted { color: var(--text-sub); font-size: 14px; }
.footer-links { display: flex; gap: 16px; margin-top: 6px; }
.footer-links a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.35); }

@media (max-width: 960px) {
  .om-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .brand-text small { display: none; }
  .yt-more .btn { flex: 1 1 100%; }
}


/* 원모터스 카드 영문 표기 */
.om-card strong { letter-spacing: -0.01em; }
.om-city { color: var(--red); }
.om-badge { text-transform: uppercase; }
.om-meta { line-height: 1.55; }
.om-link { letter-spacing: .04em; font-size: 13.5px; }


/* 링크가 아닌 소개 카드 */
.om-card-static { cursor: default; }
.om-card-static:hover { transform: none; border-color: var(--ink-3); background: var(--ink-2); }
.om-card-static .om-stat { color: var(--text-on-dark-sub); font-weight: 500; }

/* =========================================================
   자매점 안내 밴드 / 네비 링크
   ========================================================= */
.nav-sister { color: #ffd400 !important; font-weight: 800 !important; }
.nav-sister:hover, .nav-sister.active { color: #ffe14d !important; border-color: #ffd400 !important; }

.sister-band {
  margin-top: 28px; padding: 30px 32px; border-radius: var(--radius);
  background: linear-gradient(120deg, #101318 0%, #1d2229 100%);
  border: 1px solid #262b33; color: var(--text-on-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sister-label { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #ffd400; }
.sister-text strong { display: block; font-size: 24px; font-weight: 900; color: #fff; margin: 6px 0 8px; }
.sister-text p { font-size: 15px; color: var(--text-on-dark-sub); max-width: 620px; }
.sister-text p strong { display: inline; font-size: inherit; color: #fff; }

@media (max-width: 760px) {
  .sister-band { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .sister-band .btn { width: 100%; }
}

/* =========================================================
   원모터스 인천점 페이지 전용 (body.theme-one)
   ========================================================= */
.brand-mark-one {
  border-color: #ffd400;
  background: radial-gradient(circle at 50% 35%, #2b2f36 0%, #0a0b0d 70%);
}
.brand-mark-one b { color: var(--red); font-size: 13px; }
.brand-mark-one i { color: #ffd400; }

.nav-sister-f1 { color: #ff5a4f !important; }
.nav-sister-f1:hover, .nav-sister-f1.active { color: #ff8078 !important; border-color: #ff5a4f !important; }

.sister-band-f1 .sister-label { color: #ff5a4f; }

.om-badge-yellow { background: #ffd400; color: #2b2400; }

/* 보링 공정 5단계 */
.process-list-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.theme-one .hero-bg {
  background:
    radial-gradient(1000px 500px at 75% 10%, rgba(225, 6, 0, .32), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(255, 212, 0, .16), transparent 60%),
    linear-gradient(160deg, #0d0f12 0%, #14181f 55%, #0d0f12 100%);
}
.theme-one .hero-eyebrow { background: rgba(225, 6, 0, .92); }
.theme-one .om-accent { color: #ffd400; }
.theme-one .sec-eyebrow { color: var(--red); }


/* 메뉴가 많아 태블릿 폭부터 햄버거 메뉴로 전환 */
@media (max-width: 1024px) {
  .nav {
    position: fixed; top: calc(72px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(13, 15, 18, .98);
    padding: 8px 20px 20px;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .2s ease;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .nav a:hover, .nav a.active { border-color: rgba(255,255,255,.08); color: #ff4d42; }
  .nav-toggle { display: flex; margin-left: 0; }
  .header-inner .nav-toggle { order: 3; }
  .header-call { margin-left: auto; }
}


/* 진단 항목 6개를 3열로 (수입차 고장진단 카드) */
.code-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .code-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .code-grid-3 { grid-template-columns: 1fr; } }

/* 강점이 홀수 개일 때 마지막 항목을 가로로 채움 */
.theme-one .why-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .theme-one .why-grid > :last-child:nth-child(odd) { grid-column: auto; } }

/* =========================================================
   검색 최적화용 요소 (브랜드명 H1 / 업체 정보 목록)
   ========================================================= */
.hero-brand {
  display: block;
  font-size: clamp(15px, 2.4vw, 20px);
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 14px;
}

.fact-list {
  margin-top: 26px;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--ink-3);
  padding-top: 22px;
}
.fact-list > div {
  display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  font-size: 14.5px;
}
.fact-list dt { font-weight: 800; color: #ffd400; }
.fact-list dd { margin: 0; color: var(--text-on-dark-sub); }

@media (max-width: 480px) {
  .fact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .fact-list dd { margin-bottom: 6px; }
}

/* =========================================================
   원모터스 브랜드 안내 띠 (히어로 바로 아래)
   ========================================================= */
.brand-strip {
  background: linear-gradient(100deg, #14171c 0%, #1c2128 55%, #14171c 100%);
  border-bottom: 1px solid var(--ink-3);
  border-top: 3px solid #ffd400;
  color: var(--text-on-dark);
  padding: 30px 0;
}
.brand-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
}
.brand-strip-label {
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  color: #ffd400; margin-bottom: 9px;
}
.brand-strip h2 {
  font-size: clamp(19px, 2.6vw, 25px); font-weight: 800;
  letter-spacing: -0.025em; color: #fff; margin: 0;
}
.brand-strip h2 strong { color: #ffd400; font-weight: 900; }
.brand-strip-desc {
  margin-top: 10px; font-size: 15px; color: var(--text-on-dark-sub);
  max-width: 68ch; line-height: 1.75;
}
.brand-strip-desc strong { color: #fff; font-weight: 700; }
.brand-strip-link {
  flex: none;
  display: inline-flex; align-items: center;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 800; white-space: nowrap;
  border: 1.5px solid rgba(255, 212, 0, .55); color: #ffd400;
  transition: background .2s ease, color .2s ease;
}
.brand-strip-link:hover { background: #ffd400; color: #241f00; }

@media (max-width: 760px) {
  .brand-strip-inner { flex-direction: column; align-items: flex-start; }
  .brand-strip-link { width: 100%; justify-content: center; }
}

/* =========================================================
   자매점 카드 (소개 섹션 오른쪽 두 번째 칸)
   ========================================================= */
.om-card-sister { position: relative; }
.om-card-sister .om-link { color: #fff; }

.om-sister-one { border-color: rgba(255, 212, 0, .34); }
.om-sister-one:hover { border-color: rgba(255, 212, 0, .8); background: #1c1f24; }
.om-sister-one .om-stat { color: #ffd400; }

.om-sister-f1 { border-color: rgba(225, 6, 0, .34); }
.om-sister-f1:hover { border-color: rgba(225, 6, 0, .8); background: #1e1a1b; }
.om-sister-f1 .om-stat { color: #ff6b60; }

.om-city-one { color: #ffd400; }

/* 자기 정비소 카드 (소개 섹션 첫 칸) */
.om-card-own { border-color: rgba(255, 212, 0, .28); }
.om-card-own:hover { border-color: rgba(255, 212, 0, .7); background: #1c1f24; }
.om-card-own .om-stat { color: #ffd400; }
.om-card-own .om-link { color: #fff; }

/* =========================================================
   정비사례 페이지
   ========================================================= */
.page-head {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 54px;
  border-bottom: 1px solid var(--ink-3);
}
.page-title {
  font-size: clamp(30px, 5vw, 46px); font-weight: 900;
  letter-spacing: -0.035em; color: #fff; margin: 0;
}
.page-desc {
  margin-top: 16px; font-size: 16px; color: var(--text-on-dark-sub);
  max-width: 62ch; line-height: 1.8;
}
.page-desc strong { color: #fff; font-weight: 700; }
.privacy-note {
  margin-top: 18px; font-size: 14px; color: #8d939e;
  padding-left: 14px; border-left: 2px solid var(--red);
}

/* 분류 칩 */
.case-filter-wrap {
  position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); z-index: 50;
  background: rgba(13, 15, 18, .97);
  border-bottom: 1px solid var(--ink-3);
  padding: 14px 0;
}
.case-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.case-chip {
  font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 9px 17px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text-on-dark-sub);
  border: 1.5px solid rgba(255, 255, 255, .16);
  transition: background .18s, color .18s, border-color .18s;
}
.case-chip:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.case-chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.theme-one .case-chip.is-on { background: #ffd400; border-color: #ffd400; color: #241f00; }

/* 사례 목록 */
.section-cases { background: var(--paper); padding-top: 54px; }
.case-list { display: flex; flex-direction: column; gap: 20px; }

.case-card {
  background: var(--white); border: 1px solid #e3e6ea;
  border-radius: var(--radius); padding: 30px 30px 26px;
}
.case-card[hidden] { display: none; }

.case-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.case-tag {
  font-size: 12.5px; font-weight: 800; letter-spacing: .03em;
  background: var(--ink); color: #fff;
  padding: 6px 13px; border-radius: 999px;
}
.theme-one .case-tag { background: var(--ink); color: #ffd400; }
.case-code, .case-date {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; font-weight: 700; color: var(--red);
}
.theme-one .case-code, .theme-one .case-date { color: #b38f00; }

.case-title {
  margin-top: 14px; font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 900; letter-spacing: -0.03em;
}
.case-lead { margin-top: 10px; font-size: 15.5px; color: var(--text-sub); }

/* 차량 정보 */
.case-spec {
  margin-top: 18px; display: grid; gap: 10px 26px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 16px 18px; background: var(--paper); border-radius: 10px;
}
.case-spec > div { display: flex; gap: 10px; font-size: 14.5px; }
.case-spec dt { font-weight: 800; color: var(--text-sub); flex: none; }
.case-spec dd { margin: 0; font-weight: 600; }

/* 증상 → 진단 → 작업 → 결과 */
.case-steps {
  margin-top: 22px; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.case-steps li {
  padding-top: 14px; border-top: 2px solid #e6e8ec;
}
.case-steps li:nth-child(1) { border-top-color: #c9ced6; }
.case-steps li:nth-child(4) { border-top-color: var(--red); }
.theme-one .case-steps li:nth-child(4) { border-top-color: #ffd400; }
.case-steps span {
  display: block; font-size: 12.5px; font-weight: 900;
  letter-spacing: .1em; color: var(--red); margin-bottom: 7px;
}
.theme-one .case-steps span { color: #b38f00; }
.case-steps p { font-size: 14.5px; color: var(--text-sub); line-height: 1.7; }

/* 사진 · 내역서 */
.case-shots {
  margin-top: 24px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.case-shots figure { margin: 0; }
.case-shots img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; border: 1px solid #e3e6ea; cursor: zoom-in;
  transition: border-color .18s, transform .18s;
}
.case-shots img:hover { border-color: var(--red); transform: scale(1.01); }
.case-shots figcaption {
  margin-top: 7px; font-size: 13px; font-weight: 700; color: var(--text-sub);
}
.shot-empty {
  grid-column: 1 / -1;
  padding: 22px; text-align: center; border-radius: 10px;
  border: 1px dashed #cfd4dc; background: var(--paper);
  font-size: 14px; color: #8b919c;
}

.case-video {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-size: 15px; font-weight: 800;
  color: var(--red); border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.case-video::before {
  content: ""; width: 26px; height: 18px; border-radius: 5px;
  background: #ff0000; flex: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.case-video:hover { color: var(--red-dark); }

.case-more {
  margin-top: 34px; text-align: center;
  font-size: 15px; color: var(--text-sub);
}

/* 사진 크게 보기 */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 9, 11, .94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 40px 20px;
}
.lightbox img {
  max-width: min(1100px, 100%); max-height: 78vh;
  object-fit: contain; border-radius: 8px;
}
.lightbox-cap { color: #cfd4dc; font-size: 15px; font-weight: 700; }
.lightbox-close {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 0; font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .24); }

@media (max-width: 1024px) {
  .case-filter-wrap { top: calc(72px + env(safe-area-inset-top, 0px)); }
}
@media (max-width: 860px) {
  .page-head { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
  .case-filter-wrap { top: calc(64px + env(safe-area-inset-top, 0px)); }
  .case-card { padding: 26px 22px 22px; }
}

/* =========================================================
   차종 브랜드 뱃지 (실제 로고 대신 문자 뱃지 — 상표권 안전)
   ========================================================= */
.car-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 104px; padding: 9px 14px;
  border-radius: 8px; border: 2px solid var(--brand, #8a9099);
  font-size: 11.5px; font-weight: 900; letter-spacing: .1em;
  color: var(--brand, #8a9099); background: transparent;
  text-transform: uppercase; white-space: nowrap;
}
.car-badge[data-brand="benz"]     { --brand: #6f757e; }
.car-badge[data-brand="bmw"]      { --brand: #2f6fc4; }
.car-badge[data-brand="audi"]     { --brand: #c8102e; }
.car-badge[data-brand="vw"]       { --brand: #1f5fae; }
.car-badge[data-brand="volvo"]    { --brand: #1b3a6b; }
.car-badge[data-brand="porsche"]  { --brand: #9c7c37; }
.car-badge[data-brand="land"]     { --brand: #2c6b4f; }
.car-badge[data-brand="korea"]    { --brand: #444b55; }

/* 사례 스토리 */
.case-story {
  margin-top: 14px; padding: 16px 18px;
  background: var(--paper); border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  font-size: 15px; line-height: 1.8; color: var(--text-sub);
}
.theme-one .case-story { border-left-color: #ffd400; }
.case-story strong { color: var(--text); font-weight: 700; }

/* 에프원 전용 강조 블록 */
.rebuild-note {
  margin-bottom: 26px; padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(120deg, #12151a 0%, #1d2229 100%);
  border: 1px solid #262b33; color: var(--text-on-dark);
}
.rebuild-note h2 {
  font-size: clamp(19px, 2.6vw, 24px); font-weight: 900;
  color: #fff; letter-spacing: -0.025em; margin: 0 0 10px;
}
.rebuild-note h2 strong { color: #ff4d42; }
.rebuild-note p { font-size: 15px; color: var(--text-on-dark-sub); line-height: 1.8; max-width: 72ch; }
.rebuild-note ul {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px;
}
.rebuild-note li {
  font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #d6dae1;
}

@media (max-width: 480px) {
  .car-badge { min-width: 0; font-size: 10.5px; padding: 8px 11px; }
}

/* 브랜드 띠 버튼 2개 */
.brand-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.brand-strip-link-ghost { border-color: rgba(255, 255, 255, .28); color: #e8eaee; }
.brand-strip-link-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

@media (max-width: 760px) {
  .brand-strip-actions { width: 100%; }
  .brand-strip-actions .brand-strip-link { flex: 1 1 100%; justify-content: center; }
}

/* =========================================================
   ONE MOTORS 로고 (원본 이미지 확보 전까지 CSS로 재현)
   → assets/img/logo-one.png 를 넣으면 이미지로 교체 가능
   ========================================================= */
.one-logo {
  --logo-size: 34px;
  display: inline-flex; flex-direction: column; align-items: center;
  background: #fff; border-radius: 10px;
  padding: calc(var(--logo-size) * .30) calc(var(--logo-size) * .55) calc(var(--logo-size) * .26);
  line-height: 1; flex: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.one-logo-main {
  font-size: var(--logo-size);
  font-weight: 900; font-style: italic;
  letter-spacing: -0.05em; color: #e30613;
}
.one-logo-sub {
  margin-top: calc(var(--logo-size) * .10);
  font-size: calc(var(--logo-size) * .33);
  font-weight: 900; font-style: italic;
  letter-spacing: .16em; color: #111; padding-left: .16em;
}
.one-logo-bar {
  margin-top: calc(var(--logo-size) * .16);
  width: 100%; height: calc(var(--logo-size) * .10); min-height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #e30613 0 34%, #ffd400 34% 67%, #111 67% 100%);
}

.one-logo-sm { --logo-size: 22px; box-shadow: none; }
.one-logo-md { --logo-size: 34px; }
.one-logo-lg { --logo-size: 52px; }

/* 히어로 로고 — 자체 줄을 차지하도록 block 레벨로 */
.hero-logo {
  display: flex; width: max-content;
  margin: 0 auto 26px;
}

/* 브랜드 띠에 로고 얹기 */
.brand-strip-inner > .one-logo { align-self: flex-start; }
@media (max-width: 960px) {
  .brand-strip-inner > .one-logo { --logo-size: 28px; }
}

/* 자매점 카드 안 로고 */
.om-card .one-logo { align-self: flex-start; margin-bottom: 2px; }

/* 페이지 머리 로고 */
.page-head .one-logo { margin-bottom: 20px; }

/* 브랜드 띠: 로고 + 글 + 버튼 3단 정렬 */
.brand-strip-text { flex: 1 1 340px; min-width: 0; }
.brand-strip-inner > .one-logo { align-self: center; }
@media (max-width: 1080px) {
  .brand-strip-actions { width: 100%; }
}

/* =========================================================
   원모터스 인천점 첫 화면 (시안 반영)
   ========================================================= */
.hero-photo { min-height: 0; }

/* 배경 사진 — 파일이 없으면 그라데이션만 표시됩니다 */
.hero-photo .hero-bg {
  background-image:
    linear-gradient(180deg, rgba(8,9,11,.82) 0%, rgba(8,9,11,.68) 45%, rgba(8,9,11,.94) 100%),
    radial-gradient(900px 480px at 78% 16%, rgba(225, 6, 0, .34), transparent 62%),
    radial-gradient(760px 520px at 12% 88%, rgba(255, 212, 0, .12), transparent 62%),
    url("../img/hero-one.jpg"),
    url("../img/hero-one.png"),
    linear-gradient(160deg, #0b0d10 0%, #15191f 52%, #0b0d10 100%);
  background-size: cover, cover, cover, cover, cover, cover;
  background-position: center, center, center, center, center, center;
  background-repeat: no-repeat;
}
.hero-photo .hero-bg::after {
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 30px);
}

.hero-photo .hero-inner { padding: 150px 20px 40px; }

/* 왼쪽 세로 문구 */
.hero-side {
  position: absolute; left: 34px; top: 46%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: .34em;
  color: rgba(255, 255, 255, .22);
  pointer-events: none; z-index: 1;
}

/* 오른쪽 손글씨 */
.hero-script {
  position: absolute; right: 44px; bottom: 258px;
  font-family: "Dancing Script", "Apple Chancery", cursive;
  font-size: clamp(24px, 3vw, 38px); font-weight: 600; line-height: 1.15;
  color: rgba(255, 255, 255, .55); text-align: center;
  pointer-events: none; z-index: 1;
}
.hero-script::after {
  content: ""; display: block; height: 3px; width: 120px; margin: 10px auto 0;
  border-radius: 2px; background: var(--red);
}

/* 아이콘 들어간 강점 카드 */
.hero-badges-icon {
  max-width: 1000px; gap: 16px;
}
.hero-badges-icon li {
  flex-direction: row; align-items: center; gap: 14px;
  padding: 18px 20px; text-align: left;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(4px);
}
.hero-badges-icon li > div { display: flex; flex-direction: column; gap: 3px; }
.hb-ico {
  width: 30px; height: 30px; flex: none;
  fill: none; stroke: #fff; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* 취급 차종 띠 */
.hero-brands {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(6, 7, 9, .72);
  padding: 18px 0;
}
.hero-brands-inner {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  justify-content: center;
}
.hb-label, .hb-note {
  font-size: 11.5px; font-weight: 800; letter-spacing: .22em;
  color: rgba(255, 255, 255, .34); white-space: nowrap;
}
.hb-note { color: rgba(255, 255, 255, .6); letter-spacing: .06em; font-size: 13px; }
.hb-list {
  display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap;
  justify-content: center; flex: 1 1 auto;
}
.hb-list li {
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em;
  color: rgba(255, 255, 255, .62); white-space: nowrap;
  transition: color .18s;
}
.hb-list li:hover { color: #fff; }

@media (max-width: 1340px) {
  .hero-script { display: none; }
}
@media (max-width: 1180px) {
  .hero-side { display: none; }
}
@media (max-width: 900px) {
  .hero-photo .hero-inner { padding: 124px 20px 34px; }
  .hero-badges-icon { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hb-label, .hb-note { display: none; }
  .hb-list { gap: 8px 14px; }
  .hb-list li { font-size: 11px; letter-spacing: .06em; }
}


/* =========================================================
   인천에프원모터스 첫 화면 배경 사진 자리
   assets/img/hero-f1.jpg 를 넣으면 자동으로 깔립니다
   ========================================================= */
body:not(.theme-one) .hero-bg {
  background-image:
    linear-gradient(180deg, rgba(8,9,11,.80) 0%, rgba(8,9,11,.66) 45%, rgba(8,9,11,.94) 100%),
    radial-gradient(1000px 500px at 75% 10%, rgba(225, 6, 0, .35), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(70, 90, 130, .30), transparent 60%),
    url("../img/hero-f1.jpg"),
    url("../img/hero-f1.png"),
    linear-gradient(160deg, #0d0f12 0%, #14181f 55%, #0d0f12 100%);
  background-size: cover, cover, cover, cover, cover, cover;
  background-position: center, center, center, center, center, center;
  background-repeat: no-repeat;
}

/* =========================================================
   첫 화면 좌우 사진 + 실제 로고
   ========================================================= */
.hero-photo .hero-bg {
  background-image:
    radial-gradient(1000px 560px at 50% 36%, rgba(225, 6, 0, .16), transparent 72%),
    linear-gradient(160deg, #0b0d10 0%, #14181f 52%, #0b0d10 100%);
}

.hero-art {
  position: absolute; top: 0; bottom: 0; width: 34%;
  background-repeat: no-repeat; background-size: cover;
  pointer-events: none; z-index: 0; opacity: .85;
}
.hero-art-l {
  left: 0;
  background-image: url("../img/hero-car.png");
  background-position: left center;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 96%);
          mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 96%);
}
.hero-art-r {
  right: 0;
  background-image: url("../img/hero-engine.png");
  background-position: right center;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 42%, transparent 96%);
          mask-image: linear-gradient(270deg, #000 0%, #000 42%, transparent 96%);
}


@media (max-width: 900px) {
  .hero-art { width: 46%; opacity: .55; }
}
@media (max-width: 560px) {
  .hero-art-r { display: none; }
  .hero-art-l { width: 72%; opacity: .4; }
}

/* 좌우 사진 위에 어둡게 덮어 글자 가독성 확보 */
.hero-art { opacity: .68; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(8, 9, 11, .58) 0%,
    rgba(8, 9, 11, .26) 42%,
    rgba(8, 9, 11, .88) 100%);
}
.hero-photo .hero-inner { position: relative; z-index: 2; }
.hero-photo .hero-side,
.hero-photo .hero-script { z-index: 2; }
.hero-brands { z-index: 3; background: rgba(6, 7, 9, .88); }

/* =========================================================
   실제 ONE MOTORS 로고 이미지 (디자인 시안에서 잘라냄)
   주변 연기 배경을 원형 마스크로 부드럽게 지웁니다
   ========================================================= */
.logo-one {
  display: block; height: auto; flex: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 52%, transparent 88%);
          mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 52%, transparent 88%);
}
.logo-one-lg    { width: min(420px, 78vw); margin: 0 auto 18px; }
.logo-one-md    { width: 180px; }
.logo-one-sm    { width: 132px; margin-bottom: -6px; }
.logo-one-brand { width: 86px; margin: -10px -8px -10px -14px; }

@media (max-width: 900px) {
  .logo-one-lg { width: min(320px, 76vw); }
  .logo-one-brand { width: 74px; }
}

/* 작은 로고는 마스크를 더 좁혀 배경 연기를 확실히 지웁니다 */
.logo-one-brand, .logo-one-sm {
  -webkit-mask-image: radial-gradient(ellipse 56% 58% at 50% 50%, #000 46%, transparent 80%);
          mask-image: radial-gradient(ellipse 56% 58% at 50% 50%, #000 46%, transparent 80%);
}
.logo-one-brand { width: 80px; margin: -8px -6px -8px -10px; }

/* =========================================================
   ONE MOTORS 로고 — 흰색 둥근 판 방식
   (가로형·정사각형 파일 모두 대응, 높이 기준으로 크기 고정)
   ========================================================= */
.logo-one {
  width: auto; object-fit: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .34);
  -webkit-mask-image: radial-gradient(ellipse 82% 82% at 50% 50%, #000 72%, transparent 97%);
          mask-image: radial-gradient(ellipse 82% 82% at 50% 50%, #000 72%, transparent 97%);
}
.logo-one-lg    { height: 190px; max-width: 80vw; margin: 0 auto 20px; padding: 6px 14px; }
.logo-one-md    { height: 76px;  padding: 5px 11px; }
.logo-one-sm    { height: 56px;  padding: 4px 9px; margin-bottom: 0; }
.logo-one-brand { height: 46px;  padding: 3px 8px; margin: 0; border-radius: 9px; box-shadow: none; }

@media (max-width: 900px) {
  .logo-one-lg { height: 140px; }
  .logo-one-brand { height: 40px; }
}
@media (max-width: 480px) {
  .logo-one-lg { height: 116px; }
}

/* =========================================================
   ONE MOTORS 실제 로고 (여백 잘라낸 560x368 버전)
   흰 배경이 그대로 흰 판 역할을 합니다
   ========================================================= */
.logo-one {
  aspect-ratio: 560 / 368;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .32);
  -webkit-mask-image: none;
          mask-image: none;
}
.logo-one-lg    { height: 152px; max-width: 80vw; margin: 0 auto 20px; }
.logo-one-md    { height: 66px; }
.logo-one-sm    { height: 52px; margin-bottom: 0; }
.logo-one-brand { height: 44px; margin: 0; border-radius: 8px; box-shadow: none; }

@media (max-width: 900px) {
  .logo-one-lg { height: 116px; }
  .logo-one-brand { height: 38px; }
}
@media (max-width: 480px) {
  .logo-one-lg { height: 96px; }
}
