/* =========================================================
   Raven Homecare — design tokens (white base, Raven logo red accent)
   ========================================================= */
:root {
  --red: #9e2428;          /* 레이븐 로고 레드 (logo.png 실측) */
  --red-dark: #7f1c20;
  --cyan: #33bbd1;
  --black: #000;
  --text: #333;
  --muted: #666;
  --line: #e5e5e5;
  --gray: #f6f6f6;
  --gray-2: #f8f8f8;
  --white: #fff;

  --font: Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  --font-en: Poppins, Pretendard, sans-serif;

  --radius: 15px;
  --radius-lg: 30px;
  --header-h: 100px;
  --container: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--black); background: var(--white); word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 1000px; }
.section { padding: 140px 0; }
.bg-gray { background: var(--gray-2); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* 제목 스타일 */
.h-en { font-family: var(--font-en); font-size: clamp(40px, 5vw, 72px); font-weight: 700; line-height: 1.1; color: var(--red); letter-spacing: -0.01em; }
.h-ko { font-size: clamp(26px, 3.4vw, 48px); font-weight: 400; line-height: 1.35; letter-spacing: -0.02em; }
.h-ko strong { color: var(--red); font-weight: 700; }
.sub { margin-top: 18px; font-size: clamp(15px, 1.3vw, 20px); color: var(--text); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 36px; border-radius: 60px; font-size: 18px; font-weight: 600; transition: background .2s, color .2s; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--line { border: 1px solid #ccc; background: #fff; }
.btn--line:hover { border-color: var(--red); color: var(--red); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 50px; }

/* =========================================================
   Header
   ========================================================= */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1840px; margin: 0 auto; padding: 0 40px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo img { width: 40px; height: auto; }
.logo__text { display: flex; flex-direction: column; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.logo__text small { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: 0; }
.gnb { display: flex; gap: 60px; font-size: 19px; font-weight: 500; }
.gnb a { position: relative; padding: 8px 0; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.gnb a:hover::after, .gnb a.is-current::after { transform: scaleX(1); }
.gnb a.is-current { color: var(--red); font-weight: 700; }
.gnb-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 640px; margin-top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; color: #fff; background: #222; }
.hero__slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 8vw; background: center / cover; opacity: 0; transition: opacity 1s; }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.hero__slide { isolation: isolate; }
.hero__slide.is-active { opacity: 1; }
.hero__word { font-family: var(--font-en); font-size: clamp(56px, 9vw, 150px); font-weight: 800; line-height: 1; color: var(--red); letter-spacing: -0.02em; }
.hero__title { margin-top: 20px; font-size: clamp(26px, 3.4vw, 54px); font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; }
.hero__desc { margin-top: 18px; font-size: clamp(15px, 1.2vw, 20px); opacity: .9; }
.hero__slide.is-active .hero__word,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__desc { animation: rise .9s both; }
.hero__slide.is-active .hero__title { animation-delay: .15s; }
.hero__slide.is-active .hero__desc { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

.hero__bottom { position: absolute; left: 0; right: 0; bottom: 60px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 calc(10vw + 110px) 0 40px; }
.hero__tabs { display: flex; gap: 6px; }
.hero__tabs button { width: 160px; padding-top: 14px; text-align: left; font-size: 16px; font-weight: 600; color: #fff; position: relative; }
.hero__tabs i { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.6); overflow: hidden; }
.hero__tabs i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero__tabs .is-active i::after { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.hero__badges { display: flex; gap: 28px; text-align: center; }
.medal__ring { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f7e2a6, #b88a2c 70%); border: 4px solid #e8c873; box-shadow: 0 6px 20px rgba(0,0,0,.35), inset 0 0 0 4px rgba(255,255,255,.35); color: #4a3205; font-size: 13px; font-weight: 700; }
.medal__ring b { font-family: var(--font-en); font-size: 24px; line-height: 1.1; }
.medal__ring sup { font-size: .6em; }
.medal p { margin-top: 10px; font-size: 18px; font-weight: 700; }

.hero__scroll { position: absolute; right: 10vw; bottom: 60px; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--red); }
.hero__scroll span { position: absolute; bottom: 70px; writing-mode: vertical-rl; font-family: var(--font-en); font-size: 13px; white-space: nowrap; }
.hero__scroll::after { content: "↓"; font-size: 22px; animation: bob 1.6s infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Intro (메인 첫 방문): 원 안의 사진 → 원이 화면 전체로 펼쳐짐 */
.intro { position: fixed; inset: 0; z-index: 100; background: #fff; cursor: pointer; animation: intro-out .4s 2.3s forwards; }
/* 원/글자는 히어로와 같은 영역(헤더 아래)에 배치 → 펼쳐진 마지막 프레임이 히어로 첫 슬라이드와 겹침 */
.intro__circle { position: absolute; inset: var(--header-h) 0 0; background: center / cover; filter: blur(6px); clip-path: circle(min(32vw, 310px) at 50% 50%); animation: intro-in .6s both, intro-open .9s 1.4s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro__circle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); opacity: 0; animation: intro-shade .9s 1.4s forwards; }
.intro__name { position: absolute; inset: var(--header-h) 0 0; display: grid; place-items: center; margin: 0; font-size: clamp(42px, 6vw, 86px); font-weight: 800; letter-spacing: -0.03em; color: var(--red); text-shadow: 0 0 24px rgba(255,255,255,.6); animation: intro-in .6s .2s both, intro-fade .4s 1.2s forwards; }
@keyframes intro-in { from { opacity: 0; transform: scale(.94); } }
@keyframes intro-open { to { clip-path: circle(75% at 50% 50%); filter: blur(0); } }
@keyframes intro-shade { to { opacity: 1; } }
/* 인트로 중에는 히어로 글자를 숨겼다가, 인트로가 걷힐 때 등장 애니메이션 시작 */
.has-intro .hero__slide > * { opacity: 0; animation: none !important; }
@keyframes intro-fade { to { opacity: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* Sub visual (서브페이지 상단) */
.subvisual { position: relative; display: flex; align-items: center; height: 420px; margin-top: var(--header-h); background: center / cover; color: #fff; isolation: isolate; }
.subvisual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.45); }
.subvisual__en { font-family: var(--font-en); font-size: 16px; font-weight: 600; letter-spacing: .2em; }
.subvisual h1 { margin-top: 10px; font-size: clamp(34px, 4vw, 60px); font-weight: 700; letter-spacing: -0.03em; }

/* SNS bar */
.sns-bar { border-bottom: 1px solid var(--line); }
.sns-bar__inner { display: flex; align-items: center; justify-content: space-between; height: 120px; }
.sns-bar__title { font-family: var(--font-en); font-size: clamp(24px, 2.5vw, 40px); font-weight: 700; color: var(--black); }
.sns-bar__title em { font-style: normal; color: var(--red); }
.sns-bar__links { display: flex; gap: 20px; }
.sns { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; font-family: var(--font-en); font-weight: 700; font-size: 17px; color: #fff; }
.sns--blog { background: #03c75a; }
.sns--insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.sns--kakao { background: #fee500; color: #3c1e1e; }

/* =========================================================
   About
   ========================================================= */
.about__quote { font-family: var(--font-en); font-size: clamp(26px, 3.2vw, 50px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.about__lead { margin-top: 20px; font-size: clamp(15px, 1.3vw, 20px); color: var(--muted); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 70px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 40px; }
.stat dt { font-size: clamp(16px, 1.5vw, 24px); font-weight: 500; }
.stat dd { display: flex; align-items: flex-start; margin-top: 4px; color: var(--red); }
.stat b { font-size: clamp(40px, 4.5vw, 72px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.stat sup { font-size: clamp(24px, 2.4vw, 40px); font-weight: 700; line-height: 1; }
.stat span { align-self: flex-end; margin: 0 0 10px 4px; font-size: clamp(16px, 1.4vw, 22px); color: var(--text); }
.about__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Material
   ========================================================= */
.mat-tabs, .filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.mat-tabs button, .filter button { height: 52px; padding: 0 28px; border-radius: 52px; border: 1px solid #d5d5d5; background: #fff; font-size: 17px; font-weight: 600; color: var(--muted); transition: all .2s; }
.mat-tabs button.is-active, .filter button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.mat-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; margin-top: 30px; padding: 56px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.05); }
.mat-card__origin { font-size: 14px; font-weight: 600; color: var(--red); }
.mat-card h3 { margin-top: 10px; font-size: clamp(22px, 2vw, 32px); font-weight: 700; line-height: 1.35; }
.mat-card__summary { margin-top: 18px; color: var(--text); }
.mat-card__points { margin-top: 24px; display: grid; gap: 10px; }
.mat-card__points li { position: relative; padding-left: 26px; }
.mat-card__points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.spec { display: grid; border-top: 2px solid var(--black); }
.spec div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { font-weight: 700; }
.spec dd { color: var(--text); }
.mat-card .btn { margin-top: 26px; height: 50px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 6px 14px; border-radius: 30px; background: var(--gray); font-size: 14px; font-weight: 600; color: var(--red); }

/* =========================================================
   Business
   ========================================================= */
.biz { display: grid; grid-template-columns: 280px 120px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px; margin-top: 80px; }
.biz__list { display: grid; gap: 22px; }
.biz__list button { display: flex; align-items: center; gap: 16px; font-size: 19px; font-weight: 500; color: #999; text-align: left; transition: color .2s; }
.biz__list button.is-active { color: var(--black); font-weight: 700; }
.biz__list .ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--gray); }
.biz__list .ico svg { width: 26px; height: 26px; stroke: #888; }
.biz__list .is-active .ico { background: var(--red); }
.biz__list .is-active .ico svg { stroke: #fff; }
.biz__line { height: 1px; background: #999; }
.biz__img { aspect-ratio: 1; border-radius: 10px 60px 10px 60px; overflow: hidden; }
.biz__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.biz__text h3 { font-size: clamp(24px, 2.2vw, 40px); font-weight: 700; }
.biz__text h3 em { font-style: normal; color: var(--red); font-family: var(--font-en); }
.biz__catch { margin-top: 24px; font-size: 20px; font-weight: 700; }
.biz__desc { margin-top: 10px; color: var(--muted); }

/* =========================================================
   Before / After (native range input)
   ========================================================= */
.ba { position: relative; margin-top: 50px; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__label { position: absolute; top: 24px; padding: 6px 16px; border-radius: 30px; background: rgba(0,0,0,.6); color: #fff; font-family: var(--font-en); font-size: 14px; font-weight: 600; pointer-events: none; }
.ba__label--l { left: 24px; }
.ba__label--r { right: 24px; background: var(--red); }
.ba-desc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.ba-desc h3 { font-size: 20px; font-weight: 700; }
.ba-desc div:last-child h3 { color: var(--red); }
.ba-desc p { margin-top: 8px; color: var(--muted); }

/* =========================================================
   Advantage
   ========================================================= */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 70px; }
.adv__item { padding: 54px 36px; border-radius: var(--radius); background: var(--gray); text-align: center; transition: transform .25s, box-shadow .25s; }
.adv__item:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.adv__ico { display: block; width: 64px; height: 64px; margin: 0 auto 22px; }
.adv__ico svg { width: 100%; height: 100%; stroke: #444; }
.adv__ico svg .accent { stroke: var(--red); }
.adv__item h3 { font-size: 21px; font-weight: 700; }
.adv__item p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* =========================================================
   Package
   ========================================================= */
.pkg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 70px; }
.pkg__card { display: flex; flex-direction: column; padding: 40px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pkg__card--best { border: 2px solid var(--red); }
.pkg__no { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .05em; }
.pkg__card h3 { margin-top: 10px; font-size: 22px; font-weight: 700; line-height: 1.35; }
.pkg__card p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.pkg__card ul { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.pkg__card li::before { content: "· "; color: var(--red); font-weight: 700; }
.pkg__note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.card { text-align: left; }
.card__img { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--gray); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 600; }
.card__tag { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--red); }
.card__title { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ — native <details> */
.faq { margin-top: 50px; border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 26px 24px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--red); }
.faq summary::after { content: "+"; margin-left: auto; font-size: 26px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 28px 62px; color: var(--text); }
.faq__a p + p { margin-top: 10px; }

/* Notice / Event */
.notice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.notice__item { padding: 36px 32px; border-radius: var(--radius); background: var(--gray); text-align: left; transition: background .2s; }
.notice__item:hover { background: #eee; }
.notice__item time { font-family: var(--font-en); font-size: 14px; color: var(--muted); }
.notice__item h3 { margin-top: 12px; font-size: 19px; font-weight: 700; line-height: 1.45; }
.notice__item p { margin-top: 10px; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Modal — native <dialog> */
.modal { width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 64px); padding: 0; border: 0; border-radius: 20px; }
.modal::backdrop { background: rgba(0,0,0,.6); }
.modal__close { position: sticky; top: 0; float: right; width: 52px; height: 52px; font-size: 20px; z-index: 1; }
.modal__body { padding: 40px; }
.modal__body h3 { font-size: 26px; font-weight: 700; line-height: 1.35; padding-right: 40px; }
.modal__tag { font-size: 14px; font-weight: 700; color: var(--red); }
.modal__main { margin-top: 24px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--gray); }
.modal__main img { width: 100%; height: 100%; object-fit: contain; }
.modal__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.modal__thumbs button { flex: none; width: 80px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.modal__thumbs button.is-active { border-color: var(--red); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__text { margin-top: 24px; color: var(--text); white-space: pre-line; }
.modal__content img { height: auto; margin: 12px 0; border-radius: 10px; }
.modal__content p { margin-top: 10px; }

/* =========================================================
   Footer
   ========================================================= */
.footer__top { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer__top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 120px; gap: 20px; }
.footer__links { display: flex; gap: 30px; font-size: 15px; font-weight: 600; }
.footer__sns { display: flex; gap: 30px; }
.footer__sns a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; }
.footer__sns span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: #fff; font-weight: 700; }
.footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 50px; padding-bottom: 60px; }
.footer address { margin-top: 24px; font-style: normal; font-size: 15px; line-height: 1.9; color: var(--text); }
.footer__cs { text-align: right; }
.footer__cs-label { display: inline-block; padding: 6px 18px; border-radius: 10px 10px 25px 10px; background: var(--cyan); color: #fff; font-size: 19px; font-weight: 700; }
.footer__tel { display: block; margin-top: 6px; font-family: var(--font-en); font-size: clamp(40px, 4vw, 60px); font-weight: 700; line-height: 1.1; }
.footer__cs p { margin-top: 16px; font-size: 15px; color: var(--text); }

/* =========================================================
   Quick menu
   ========================================================= */
.quick { position: fixed; right: 0; top: 50%; z-index: 40; width: 106px; transform: translateY(-50%); background: #fff; border-radius: 25px 0 0 25px; box-shadow: 0 6px 30px rgba(0,0,0,.12); overflow: hidden; transition: transform .3s; }
.quick__head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 0 18px; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; }
.quick__head img { filter: brightness(0) invert(1); }
.quick__btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.quick__btn i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); font-style: normal; color: #fff; }
.quick__fold { width: 100%; padding: 10px 0; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; }
.quick__fold::before { content: "— "; }
.quick.is-folded { transform: translate(78px, -50%); }
.quick.is-folded .quick__fold::before { content: "+ "; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .gnb { gap: 32px; font-size: 17px; }
  .biz { grid-template-columns: 1fr 1fr; }
  .biz__list { grid-column: 1 / -1; grid-template-columns: repeat(4, auto); justify-content: start; gap: 24px; }
  .biz__line { display: none; }
  .pkg, .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .header__inner { padding: 0 20px; }
  .logo__text { font-size: 20px; }
  .gnb-toggle { display: grid; gap: 6px; width: 32px; }
  .gnb-toggle span { height: 2px; background: var(--black); transition: transform .2s, opacity .2s; }
  .gnb-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .gnb-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .gnb-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .gnb { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.06); display: none; }
  .gnb.is-open { display: flex; }
  .gnb a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .about__grid, .mat-card { grid-template-columns: 1fr; }
  .adv, .notice { grid-template-columns: repeat(2, 1fr); }
  .hero__badges { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero { min-height: 560px; }
  .subvisual { height: 260px; }
  .hero__slide { padding: 0 20px 80px; }
  .hero__bottom { bottom: 94px; padding: 0 20px; }
  .hero__tabs { width: 100%; }
  .hero__tabs button { flex: 1; width: auto; font-size: 12px; }
  .hero__scroll { display: none; }
  .sns-bar__inner { height: 90px; }
  .sns { width: 46px; height: 46px; font-size: 13px; border-radius: 12px; }
  .sns svg { width: 22px; height: 22px; }
  .stats { gap: 36px 20px; }
  .mat-card { padding: 28px 22px; gap: 30px; }
  .spec div { grid-template-columns: 96px 1fr; font-size: 14px; }
  .biz { grid-template-columns: 1fr; margin-top: 40px; }
  .biz__list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .biz__list button { font-size: 15px; gap: 10px; }
  .biz__list .ico { width: 40px; height: 40px; }
  .ba { aspect-ratio: 4 / 3; }
  .ba-desc, .adv, .pkg, .notice { grid-template-columns: 1fr; }
  .adv { gap: 16px; margin-top: 40px; }
  .adv__item { padding: 34px 24px; }
  .gallery { gap: 20px 14px; }
  .card__title { font-size: 15px; }
  .mat-tabs button, .filter button { height: 42px; padding: 0 18px; font-size: 14px; }
  .btn { height: 54px; font-size: 16px; padding: 0 26px; }
  .faq summary { padding: 20px 12px; font-size: 16px; }
  .faq__a { padding: 0 12px 22px 50px; font-size: 15px; }
  .modal__body { padding: 28px 20px; }
  .footer__top-inner { flex-direction: column; align-items: flex-start; padding-top: 24px; padding-bottom: 24px; }
  .footer__bottom { flex-direction: column; padding-bottom: 110px; }
  .footer__cs { text-align: left; }

  /* 퀵메뉴 → 하단 고정 바 */
  .quick { top: auto; bottom: 0; left: 0; width: auto; transform: none; display: grid; grid-template-columns: 1fr 1fr; border-radius: 0; box-shadow: 0 -4px 20px rgba(0,0,0,.1); }
  .quick__head, .quick__fold { display: none; }
  .quick__btn { flex-direction: row; justify-content: center; gap: 8px; padding: 0; height: 64px; border: 0; font-size: 16px; font-weight: 700; color: #fff; background: var(--red); }
  .quick__btn:first-of-type { background: #fee500; color: #3c1e1e; }
  .quick__btn i { width: auto; height: auto; background: none; color: inherit; }
}
