/* ============================================================
   인달 인천달리기 - style.css
   Light theme / Primary #C8102E
============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; background: #fff; color: #1a1a2e; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* VARIABLES */
:root {
  --red: #C8102E;
  --red-l: #E8264A;
  --red-bg: #FFF0F2;
  --navy: #1B3A5C;
  --acc: #FF7A00;
  --acc-bg: #FFF4E6;
  --t1: #1a1a2e;
  --t2: #4A5568;
  --t3: #8896A5;
  --bg: #fff;
  --bg2: #F7F9FC;
  --bdr: #E4E9F0;
  --s1: 0 2px 8px rgba(0,0,0,.06);
  --s2: 0 4px 20px rgba(0,0,0,.09);
  --s3: 0 8px 40px rgba(0,0,0,.13);
  --r: 12px;
  --rl: 20px;
  --cw: 1160px;
  --py: 84px;
}

/* LAYOUT */
.wrap { max-width: var(--cw); margin: 0 auto; padding: 0 24px; }
section { padding: var(--py) 0; }
.sec-alt { background: var(--bg2); }
.tc { text-align: center; }
.sec-hd { margin-bottom: 3rem; }

/* HEADINGS */
h2.sec-ttl { font-size: 2rem; font-weight: 900; line-height: 1.3; margin-bottom: .4rem; color: var(--t1); }
h2.sec-ttl em { color: var(--red); font-style: normal; }
.sec-sub { font-size: .93rem; color: var(--t3); margin-bottom: 2.8rem; }

/* ── NAV ── */
.site-nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 2.5px solid var(--red); box-shadow: var(--s1); }

.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; }
.logo-txt { font-size: 1.2rem; font-weight: 900; color: var(--red); letter-spacing: -.4px; }
.logo-bdg { background: var(--red); color: #fff; font-size: .6rem; font-weight: 800; padding: 2px 8px; border-radius: 20px; letter-spacing: .3px; }
.nav-menu { display: flex; gap: 14px; }
.nav-menu a { font-size: .80rem; font-weight: 600; color: var(--t2); transition: color .18s; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { color: var(--red); }
.nav-cta { background: var(--red); color: #fff; font-size: .80rem; font-weight: 700; padding: 8px 16px; border-radius: 8px; transition: background .18s; white-space: nowrap; }
.nav-cta:hover { background: var(--red-l); }
/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--t1); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile Nav Dropdown */
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--bdr); border-bottom: 3px solid var(--red); box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 99; padding: 8px 0; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 24px; font-size: .92rem; font-weight: 600; color: var(--t2); transition: background .15s, color .15s; border-bottom: 1px solid #f5f5f5; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--red-bg); color: var(--red); }

/* ── HERO ── */
#sec1 { padding: 0; background: linear-gradient(135deg, #fff5f7 0%, #fff 50%, #eef3ff 100%); min-height: 560px; display: flex; align-items: stretch; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; align-items: center; gap: 48px; }
.hero-content { padding: 80px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--red-bg); color: var(--red); font-size: .78rem; font-weight: 800; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; border: 1px solid rgba(200,16,46,.18); }
h1.hero-ttl { font-size: 2.65rem; font-weight: 900; line-height: 1.2; letter-spacing: -1px; margin-bottom: 14px; color: var(--t1); }
h1.hero-ttl .hl { color: var(--red); }
.hero-desc { font-size: .97rem; color: var(--t2); line-height: 1.85; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-p { display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: #fff; font-size: .92rem; font-weight: 700; padding: 13px 26px; border-radius: 10px; box-shadow: 0 4px 14px rgba(200,16,46,.28); transition: all .2s; }
.btn-p:hover { background: var(--red-l); transform: translateY(-1px); }
.btn-o { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--red); font-size: .92rem; font-weight: 700; padding: 12px 26px; border-radius: 10px; border: 2px solid var(--red); transition: all .2s; }
.btn-o:hover { background: var(--red-bg); }
.hero-stats { display: flex; gap: 28px; padding-top: 20px; border-top: 1px solid var(--bdr); }
.stat-n { font-size: 1.5rem; font-weight: 900; color: var(--red); line-height: 1; }
.stat-l { font-size: .73rem; color: var(--t3); margin-top: 4px; }

/* HERO IMAGE ZONE */
.hero-img-zone { display: flex; align-items: center; justify-content: center; min-height: 560px; overflow: hidden; border-radius: 0 var(--rl) var(--rl) 0; }
.hero-main-img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.img-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 48px 40px; width: 100%; min-height: 460px; border: 3px dashed #CDD3DD; border-radius: var(--rl); background: rgba(255,255,255,.6); margin: 24px; }
.img-ph p { font-size: .95rem; font-weight: 700; color: var(--t3); }
.img-ph small { font-size: .77rem; color: var(--t3); opacity: .75; line-height: 1.7; }

/* ── GRIDS ── */
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ── GENERAL CARD ── */
.card { background: #fff; border-radius: var(--r); box-shadow: var(--s2); padding: 28px 24px; border: 1px solid var(--bdr); transition: transform .22s, box-shadow .22s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--s3); }
.card-ico { width: 52px; height: 52px; background: var(--red-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--t1); }
.card p { font-size: .88rem; color: var(--t2); line-height: 1.78; }

/* ── REGION CARD ── */
.rc { background: #fff; border-radius: var(--r); box-shadow: var(--s1); padding: 22px 20px; border: 1px solid var(--bdr); border-top: 3px solid var(--red); }
.rc h3 { font-size: 1rem; font-weight: 800; color: var(--red); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.rc p { font-size: .86rem; color: var(--t2); line-height: 1.78; }
.tag { display: inline-block; background: var(--red-bg); color: var(--red); font-size: .71rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; margin: 8px 3px 0 0; }
.tag-n { background: #e6edf7; color: var(--navy); }
.tag-a { background: var(--acc-bg); color: var(--acc); }

/* ── TYPE CARD ── */
.tc-card { background: #fff; border-radius: var(--r); box-shadow: var(--s1); padding: 24px 16px; border: 1px solid var(--bdr); text-align: center; transition: all .22s; }
.tc-card:hover { box-shadow: var(--s2); transform: translateY(-2px); }
.tc-ico { width: 58px; height: 58px; background: var(--bg2); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.tc-card h3 { font-size: .93rem; font-weight: 700; margin-bottom: 5px; color: var(--t1); }
.tc-card p { font-size: .8rem; color: var(--t3); }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(5,1fr); position: relative; gap: 8px; }
.steps::before { content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--red), var(--red-l)); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; padding: 0 6px; }
.step-num { width: 68px; height: 68px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; margin: 0 auto 16px; box-shadow: 0 4px 14px rgba(200,16,46,.3); }
.step h3 { font-size: .92rem; font-weight: 700; margin-bottom: 6px; color: var(--t1); }
.step p { font-size: .8rem; color: var(--t2); line-height: 1.65; }

/* ── VENUE CARD (추천 업소) ── */
.vc { background: #fff; border-radius: var(--r); box-shadow: var(--s2); border: 1px solid var(--bdr); overflow: hidden; transition: all .22s; }
.vc:hover { transform: translateY(-3px); box-shadow: var(--s3); }
.vc-head { background: linear-gradient(135deg, var(--red-bg), #f0f4ff); padding: 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--bdr); }
.vc-rank { width: 38px; height: 38px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 900; flex-shrink: 0; }
.vc-name { font-size: 1.05rem; font-weight: 800; color: var(--t1); margin-bottom: 3px; }
.vc-area { font-size: .78rem; color: var(--t3); }
.vc-body { padding: 18px 20px; }
.vc-body p { font-size: .86rem; color: var(--t2); line-height: 1.75; margin-bottom: 12px; }
.star-row { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--t3); }
.stars { color: #FFB400; font-size: .9rem; letter-spacing: 1px; }

/* ── WARNING CARD ── */
.warn-card { background: #fff; border-radius: var(--r); box-shadow: var(--s1); padding: 24px 22px; border: 1px solid var(--bdr); border-left: 4px solid var(--red); display: flex; gap: 16px; align-items: flex-start; }
.warn-ico { width: 42px; height: 42px; background: var(--red-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.warn-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--t1); }
.warn-card p { font-size: .87rem; color: var(--t2); line-height: 1.75; }

/* ── INFO BOX ── */
.ibox { background: var(--red-bg); border-left: 4px solid var(--red); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 20px 0; }
.ibox strong { font-size: .92rem; font-weight: 800; color: var(--red); display: block; margin-bottom: 5px; }
.ibox p { font-size: .87rem; color: var(--t2); line-height: 1.75; }

/* ── REGION INFO BOX (지역 정보) ── */
.ri-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.ri-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--bdr); font-size: .9rem; color: var(--t2); }
.ri-list li:last-child { border-bottom: none; }
.ri-list li strong { color: var(--t1); font-weight: 700; min-width: 70px; flex-shrink: 0; }
.ri-text h3 { font-size: 1.08rem; font-weight: 800; color: var(--t1); margin-bottom: 10px; margin-top: 24px; }
.ri-text h3:first-child { margin-top: 0; }
.ri-text p { font-size: .88rem; color: var(--t2); line-height: 1.8; margin-bottom: 14px; }

/* ── REVIEW CARD ── */
.rev-card { background: #fff; border-radius: var(--r); box-shadow: var(--s1); padding: 22px; border: 1px solid var(--bdr); }
.rev-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rev-name { font-size: .9rem; font-weight: 700; color: var(--t1); }
.rev-meta { font-size: .75rem; color: var(--t3); }
.rev-card blockquote { font-size: .86rem; color: var(--t2); line-height: 1.78; font-style: normal; border-left: 3px solid var(--red-bg); padding-left: 12px; }
.rev-tag { margin-top: 12px; }

/* ── FAQ ACCORDION ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--bdr); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; background: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-family: inherit; font-size: .95rem; font-weight: 700; color: var(--t1); text-align: left; transition: background .18s; }
.faq-q:hover { background: var(--bg2); }
.faq-q.open { background: var(--red-bg); color: var(--red); }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; transition: transform .25s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: .88rem; color: var(--t2); line-height: 1.8; border-top: 1px solid var(--bdr); padding-top: 14px; }
.faq-a.show { display: block; }

/* ── SEO TEXT SECTIONS ── */
.seo-wrap { max-width: 900px; margin: 0 auto; }
.seo-wrap h3 { font-size: 1.15rem; font-weight: 800; color: var(--t1); margin: 2.2rem 0 .8rem; padding-left: 14px; border-left: 4px solid var(--red); }
.seo-wrap h3:first-child { margin-top: 0; }
.seo-wrap p { font-size: .93rem; color: var(--t2); line-height: 1.9; margin-bottom: 1rem; }
.seo-wrap ul { margin: .5rem 0 1.2rem 0; }
.seo-wrap ul li { font-size: .91rem; color: var(--t2); line-height: 1.8; padding: 4px 0 4px 18px; position: relative; }
.seo-wrap ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.district-block { background: #fff; border-radius: var(--r); box-shadow: var(--s1); padding: 28px; border: 1px solid var(--bdr); margin-bottom: 20px; }
.district-block h3 { font-size: 1.12rem; font-weight: 800; color: var(--red); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; padding-left: 0; border-left: none; }
.district-block p { font-size: .88rem; color: var(--t2); line-height: 1.85; margin-bottom: 10px; }
.district-block .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tip-box { background: var(--acc-bg); border-left: 4px solid var(--acc); border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px; margin: 20px 0; }
.tip-box strong { font-size: .9rem; font-weight: 800; color: var(--acc); display: block; margin-bottom: 5px; }
.tip-box p { font-size: .86rem; color: var(--t2); line-height: 1.75; }
.check-list li { font-size: .9rem; color: var(--t2); line-height: 1.8; padding: 5px 0 5px 24px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23C8102E'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/cover no-repeat; }

/* ── FOOTER ── */
.site-footer { background: var(--t1); color: #A0AEC0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-txt { color: #fff; font-size: 1.15rem; margin-bottom: 10px; display: block; }
.footer-brand .logo-bdg { display: inline-block; margin-bottom: 14px; }
.footer-brand p { font-size: .83rem; color: #8896A5; line-height: 1.75; }
.footer-col h4 { font-size: .88rem; font-weight: 800; color: #E2E8F0; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .82rem; color: #8896A5; transition: color .18s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2D3748; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .78rem; color: #5A6780; line-height: 1.65; }
.footer-disclaimer { font-size: .78rem; color: #4A5568; line-height: 1.65; max-width: 640px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { gap: 28px; }
  h1.hero-ttl { font-size: 2.2rem; }
  .g4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(3,1fr); }
  .steps::before { display: none; }
  .ri-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  /* 1024px 이하: 햄버거 메뉴 */
  .nav-menu { display: none !important; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
}

@media (max-width: 768px) {
  /* 히어로 */
  #sec1 { min-height: auto; display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 0; }
  .hero-content { padding: 48px 0 32px; text-align: center; }
  h1.hero-ttl { font-size: 2rem; letter-spacing: -.5px; }
  .hero-desc { font-size: .92rem; }
  .hero-btns { justify-content: center; }
  .hero-badge { margin: 0 auto 16px; }
  /* 모바일에서 이미지 풀사이즈로 표시 */
  .hero-img-zone { display: block; border-radius: 0; min-height: auto; }
  .hero-main-img { width: 100%; height: 280px; object-fit: cover; object-position: top; border-radius: 0; min-height: unset; }
  /* 공통 */
  .g3, .g2 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2,1fr); }
  /* 768px: nav는 이미 1024px에서 처리됨 */

  .steps { grid-template-columns: repeat(2,1fr); }
  .steps::before { display: none; }
  :root { --py: 56px; }
  h2.sec-ttl { font-size: 1.65rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .ri-grid { grid-template-columns: 1fr; }
  .warn-card { flex-direction: column; gap: 10px; }
}
