/* =========================================================
   홈 — Figma Desktop-23 (81:4376) / Desktop-1 (1:2)
   1440 canvas · 헤더 95px · 히어로 95~988 (893px)
   ========================================================= */

.hero {
  position: relative;
  height: 893px;                 /* Figma y 95 → 988 */
  padding: 171px 0 0;            /* eyebrow y=266 */
  background: #FBEEE5;           /* 일러스트 배경과 동일 톤 (fallback) */
  overflow: hidden;
}

/* ---------- 히어로 일러스트 (Figma image 7 / image 6) ---------- */
.hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__slide {
  position: absolute;
  top: 0; left: 0;
  height: auto;
  max-width: none;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero__slide.is-active { opacity: 1; }

/* image 7 — x:0 y:-10 w:1479 h:1109 (frame 1440, hero top y=95) */
.hero__slide[data-slide="0"] {
  left: 0;
  width: 102.7083%;              /* 1479 / 1440 */
  margin-top: -7.2917%;          /* -105 / 1440 */
}
/* image 6 — x:-157.7 y:-146.6 w:1666.8 (2% 내부 오프셋 반영) */
.hero__slide[data-slide="1"] {
  left: -10.9514%;               /* -157.7 / 1440 */
  width: 115.7500%;              /* 1666.8 / 1440 */
  margin-top: -16.7778%;         /* -241.6 / 1440 */
}

/* ---------- 히어로 레이아웃 ---------- */
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 101px 0 138px;      /* Figma: 카피 x=138, 퀵메뉴 우측 x=1339 */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.hero__copy { position: relative; z-index: 3; flex: 0 1 auto; min-width: 0; }

.hero__eyebrow {                 /* 81:4396 — 14px Bold #f80, y=266 */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: normal;
  color: var(--orange);
  margin: 0 0 19px;
}
.hero__title {                   /* 81:4393 — 70px SemiBold #000, y=302 */
  font-size: 70px;
  font-weight: 600;
  line-height: 1.21;
  letter-spacing: 0;
  color: #000000;
  margin: 0;
}
.hero__bar {                     /* 81:4394 — 137x8 #f80, radius 0, y=497 */
  display: block;
  width: 137px;
  height: 8px;
  background: var(--orange);
  border-radius: 0;
  margin: 26px 0 0;
}
.hero__desc {                    /* 81:4397 — 14px Regular #000, y=540 */
  font-size: 14px;
  font-weight: 400;
  line-height: 1.21;
  color: #000000;
  margin: 35px 0 0;
}

/* 화살표 + 프로그레스 — Figma y=599 (42x42), 간격 13px */
.hero__controls {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 25px 0 0;
}
.arrow {
  width: 42px; height: 42px;
  border-radius: 4px;
  border: 1px solid var(--orange);
  background: #FFFFFF;
  color: var(--orange);
  box-shadow: -3px 4px 5.7px rgba(0, 0, 0, .25);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.arrow svg { width: 9px; height: 15px; }
.arrow--filled { background: var(--orange); color: #FFFFFF; }
.arrow:hover { background: var(--orange-dark); color: #FFFFFF; border-color: var(--orange-dark); }

/* 81:4395 (트랙 46x2 #f0ece8) + 81:4402 (진행 46x4 #f80) → 2칸 92px */
.hero__progress {
  position: relative;
  width: 92px;
  height: 4px;
  margin-left: 0;
  background: none;
  border-radius: 0;
  overflow: visible;
}
.hero__progress::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 100%; height: 2px;
  background: #F0ECE8;
}
.hero__progress span {
  position: absolute; left: 0; top: 0;
  display: block;
  height: 4px;
  background: var(--orange);
  border-radius: 0;
  transition: width .45s ease;
}

/* 사업 더보기 — 81:4386: 210x42, radius 4, #f80, 14px, y=685 */
.hero__copy .btn--primary {
  width: 210px;
  height: 42px;
  padding: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  background: var(--orange);
  box-shadow: -3px 4px 5.7px rgba(0, 0, 0, .25);
  margin-top: 44px;
}

/* ---------- 퀵메뉴 3x2 ---------- */
/* 81:4387~4392 — 135x181, radius 5, border #f0ece8, shadow 5px 4px 6px */
.quick {
  position: static;
  flex: none;
  margin-top: 49px;              /* y=315 (hero__inner top = 266) */
  display: grid;
  grid-template-columns: repeat(3, 135px);
  column-gap: 7px;
  row-gap: 9px;
  z-index: 2;
}
.quick__card {
  width: 135px; height: 181px;
  background: #FFFFFF;
  border: 1px solid #F0ECE8;
  border-radius: 5px;
  box-shadow: 5px 4px 6px rgba(0, 0, 0, .25);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding-top: 39px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.quick__card:hover { transform: translateY(-6px); box-shadow: 5px 12px 18px rgba(0, 0, 0, .22); }
.quick__icon { margin: 0; height: 54px; display: flex; align-items: center; justify-content: center; }
.quick__icon svg { width: 50px; height: 50px; }
.quick__card strong { font-size: 16px; font-weight: 600; color: #000000; margin-top: 16px; }
.quick__card em { font-style: normal; font-size: 14px; font-weight: 300; color: #000000; margin-top: 6px; }

/* =========================================================
   센터 소식 — 흰 배경 y 988~1385, 카드 428x160
   ========================================================= */
.news {
  max-width: 1440px;
  margin: 0 auto;
  padding: 93px 40px 192px;      /* 제목 y=1081 / 카드 하단 1417 → 1609 */
  background: #FFFFFF;
}
.news .section-head { margin-bottom: 116px; }
.news .section-head h2 {         /* 81:4403 — 32px SemiBold #000 */
  font-size: 32px;
  font-weight: 600;
  color: #000000;
  gap: 9px;
}
.news .section-head .dot { width: 8px; height: 8px; background: #FE6803; }
.news .section-head p {          /* 81:4404 — 14px #000 */
  margin-top: 4px;
  font-size: 14px;
  color: #000000;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 428px);
  justify-content: space-between;
  gap: 38px;
}
.news__card {                    /* 81:4379 — 428x160, radius 13, border #f0ece8 */
  width: 428px;
  height: 160px;
  padding: 33px 21px 30px 30px;
  border: 1px solid #F0ECE8;
  border-radius: 13px;
  background: #FFFFFF;
  box-shadow: -2px 8px 13px rgba(0, 0, 0, .25);
  display: flex; align-items: center; justify-content: space-between;
}
.news__card:hover { transform: translateY(-4px); box-shadow: -2px 12px 20px rgba(0, 0, 0, .22); }
.news__text h3 {                 /* 81:4411 — 24px SemiBold #000 */
  font-size: 24px; font-weight: 600; color: #000000;
  margin-bottom: 13px;
}
.news__text p {                  /* 81:4407 — 14px #000 */
  font-size: 14px; color: #000000; margin-bottom: 19px;
}
.news .more {                    /* 81:4382 — 100x25, radius 13.5, border #f80, 14px */
  display: inline-flex; align-items: center; justify-content: center;
  width: 100px; height: 25px;
  padding: 0;
  font-size: 14px;
  color: var(--orange);
  background: #FFFFFF;
  border: 1px solid var(--orange);
  border-radius: 13.5px;
}
.news .more:hover { background: var(--orange); color: #FFFFFF; }
.news .icon-circle {             /* 81:4414 — 104px, #FEF8F1 */
  width: 104px; height: 104px;
  background: #FEF8F1;
}
.news .icon-circle svg { width: 48px; height: 48px; }

/* =========================================================
   찾아오시는 길 — #fcf0e5 밴드 y 1609~2292 (683px)
   ========================================================= */
.map {
  background: #FCF0E5;
  padding: 37px 24px 91px;
  text-align: center;
}
.map h2 {                        /* 81:4432 — 32px SemiBold #000 */
  font-size: 32px; font-weight: 600; color: #000000;
  margin-bottom: 33px;
}
.map__box {                      /* 81:4433 — 1050x483, 카카오맵 임베드 */
  width: 1050px;
  max-width: 100%;
  height: 483px;
  margin: 0 auto;
  background: #FFFFFF;
  overflow-x: auto;              /* 좁은 화면에서 지도 패닝 */
  overflow-y: hidden;
}
.map__box .root_daum_roughmap { width: 1050px; margin: 0 auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news__card { width: 100%; }
}
@media (max-width: 1280px) {
  .hero__inner { padding: 0 40px 0 60px; }
}
@media (max-width: 1100px) {
  .hero { height: auto; padding: 80px 0 90px; }
  .hero__art { display: none; }
  .hero__inner { flex-direction: column; padding: 0 24px; gap: 0; }
  .hero__copy { max-width: 100%; }
  .quick { margin: 40px auto 0; }
}
@media (max-width: 900px) {
  .news { padding: 70px 24px 90px; }
  .news .section-head { margin-bottom: 48px; }
  .news__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 620px) {
  .hero__title { font-size: 38px; }
  .hero__inner { padding: 0 16px; }
  .quick { grid-template-columns: repeat(2, minmax(0, 135px)); justify-content: center; }
  .map { padding: 37px 16px 60px; }
  .news__card { height: auto; padding: 24px 20px; }
  .news .icon-circle { width: 72px; height: 72px; }
  .news .icon-circle svg { width: 34px; height: 34px; }
}
