:root {
  --ink: #282828;
  --ink-soft: #5f5f5f;
  --muted: #838383;
  --line: #e6e1da;
  --cream: #fcfaf7;
  --sand: #f3ede5;
  --brown: #584c41;
  --tan: #a88c73;
  --dark: #191919;
  --ocean: #0f6fa8;
  --ocean-deep: #0a4c75;
  --ocean-light: #e8f4fb;
  --coral: #ff6284;
  --white: #fff;
  --radius: 14px;
  --wrap: 1200px;
  --header-h: 76px;
  --en: 'Montserrat', 'Noto Sans KR', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 52px); }
body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--dark); color: #cfcfcf; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; overflow: hidden; }
.topbar__slogan { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__links { display: flex; gap: 18px; flex-shrink: 0; }
.topbar__links a:hover { color: var(--white); }
.topbar__tel { color: var(--white); font-weight: 500; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header__in { display: flex; justify-content: center; align-items: center; height: var(--header-h); position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ocean); }
.logo__mark { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text small { font-family: var(--en); font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.logo__text strong { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.logo--img img { height: 44px; width: auto; }
.menu-btn { display: none; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; padding: 9px 7px; }
.menu-btn span { display: block; height: 2px; background: var(--ocean); margin: 5px 0; border-radius: 2px; transition: .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gnb { border-top: 1px solid var(--line); background: var(--white); }
.gnb__in { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 30px; padding-top: 12px; padding-bottom: 12px; }
.gnb a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.gnb a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ocean); transform: scaleX(0); transition: transform .25s; }
.gnb a:hover, .gnb a.is-active { color: var(--ocean); }
.gnb a:hover::after, .gnb a.is-active::after { transform: scaleX(1); }

/* ---------- common sections ---------- */
main { outline: none; min-height: 60vh; }
.sec { padding: 110px 0; }
.sec--cream { background: var(--cream); }
.sec--sand { background: var(--sand); }
.sec--dark { background: var(--dark); color: #e9e9e9; }
.sec--ocean { background: linear-gradient(160deg, var(--ocean-deep), var(--ocean)); color: var(--white); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head__en { display: block; font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--ocean); margin-bottom: 14px; }
.sec--dark .sec-head__en, .sec--ocean .sec-head__en { color: #8fd0f3; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -.03em; }
.sec-head h2 b { color: var(--ocean); font-weight: 900; }
.sec--dark .sec-head h2 b, .sec--ocean .sec-head h2 b { color: #8fd0f3; }
.sec-head p { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.sec--dark .sec-head p, .sec--ocean .sec-head p { color: #c9d6de; }
.rich { white-space: normal; }
.rich ul { margin: 8px 0 0; padding-left: 1.1em; }
.rich li { margin: 2px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: .2s; }
.btn--primary { background: var(--ocean); color: var(--white); }
.btn--primary:hover { background: var(--ocean-deep); }
.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { border-color: var(--ocean); color: var(--ocean); }
.btn--line:hover { background: var(--ocean-light); }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ocean); }
.more::after { content: '→'; transition: transform .2s; }
a:hover .more::after, .more:hover::after { transform: translateX(4px); }

/* ---------- placeholder art (no image supplied) ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(170deg, #5cb8e4 0%, #1683bf 45%, #0a4c75 100%); }
.ph::before, .ph::after { content: ''; position: absolute; left: -10%; right: -10%; height: 40%; border-radius: 45%; background: rgba(255,255,255,.08); }
.ph::before { top: 18%; transform: rotate(-4deg); }
.ph::after { top: 48%; transform: rotate(3deg); background: rgba(255,255,255,.06); }
.ph__icon { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.55); }
.ph__icon svg { width: 34%; max-width: 120px; height: auto; }
.closing .ph__icon, .dhero .ph__icon { display: none; }
.ph--warm { background: linear-gradient(170deg, #e8dccd 0%, #c8b39b 55%, #8c745e 100%); }
.media { position: relative; overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero slider ---------- */
.hero { position: relative; height: min(78vh, 720px); min-height: 460px; overflow: hidden; background: var(--ocean-deep); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; visibility: hidden; }
.hero__slide.is-on { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease; }
.hero__slide.is-on .hero__bg img { transform: scale(1); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45)); }
.hero__bg.ph::after { background: none; }
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.hero__bubbles i { position: absolute; bottom: -20px; width: 10px; height: 10px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 50%; animation: rise 9s linear infinite; }
@keyframes rise { to { transform: translateY(-110vh) translateX(20px); opacity: 0; } }
.hero__txt { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white); padding: 0 24px; }
.hero__txt h2 { font-size: clamp(28px, 4.6vw, 54px); font-weight: 900; letter-spacing: -.03em; text-shadow: 0 2px 18px rgba(0,0,0,.25); opacity: 0; transform: translateY(24px); transition: .8s .25s; }
.hero__txt p { margin-top: 18px; font-size: clamp(15px, 1.7vw, 20px); font-weight: 300; max-width: 640px; opacity: 0; transform: translateY(24px); transition: .8s .45s; }
.hero__txt .btn { margin-top: 34px; opacity: 0; transition: .8s .65s; }
.hero__slide.is-on .hero__txt h2, .hero__slide.is-on .hero__txt p, .hero__slide.is-on .hero__txt .btn { opacity: 1; transform: none; }
.hero__arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 54px; height: 54px; border: 0; background: none; color: rgba(255,255,255,.8); font-size: 40px; font-weight: 200; line-height: 1; }
.hero__arrow:hover { color: var(--white); }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.4); transition: .3s; }
.hero__dots button.is-on { background: var(--white); width: 54px; }
.hero__count { position: absolute; z-index: 3; right: 40px; bottom: 24px; font-family: var(--en); color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .1em; }

/* ---------- intro & program cards ---------- */
.intro__lead { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.intro__lead h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; }
.intro__lead h2 b { color: var(--ocean); }
.intro__lead p { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; padding: 34px 28px 30px; min-height: 250px; border-radius: var(--radius); color: var(--white); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10,76,117,.25); }
.pcard--1 { background: linear-gradient(150deg, #44b0de, #1683bf); }
.pcard--2 { background: linear-gradient(150deg, #1683bf, #0f6fa8); }
.pcard--3 { background: linear-gradient(150deg, #0f6fa8, #0a4c75); }
.pcard--4 { background: linear-gradient(150deg, #0a4c75, #06314d); }
.pcard__no { font-family: var(--en); font-size: 13px; letter-spacing: .2em; opacity: .7; }
.pcard h3 { margin-top: 16px; font-size: 24px; font-weight: 900; }
.pcard p { margin-top: 10px; font-size: 15px; opacity: .9; flex: 1; }
.pcard .more { color: var(--white); margin-top: 22px; }

/* ---------- instructors ---------- */
.inst { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.inst__card { display: grid; grid-template-columns: 180px 1fr; gap: 28px; background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: 0 6px 30px rgba(88,76,65,.08); }
.inst__photo { aspect-ratio: 3/4; border-radius: 10px; }
.inst__pos { font-size: 14px; color: var(--tan); font-weight: 500; }
.inst__name { font-size: 26px; font-weight: 900; margin-top: 2px; }
.inst__name small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.inst__level { margin-top: 6px; font-size: 14px; color: var(--ocean); font-weight: 500; }
.inst__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-block; font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: var(--ocean-light); color: var(--ocean); }
.tag--warm { background: #f4ebe1; color: var(--brown); font-family: inherit; letter-spacing: 0; }
.tag--status-open { background: #e3f6ec; color: #13804b; }
.tag--status-closingSoon { background: #fff0e0; color: #c25a00; }
.tag--status-closed, .tag--status-completed, .tag--status-canceled { background: #eee; color: #777; }
.inst__cred { margin-top: 16px; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; }
.inst__bio { margin-top: 14px; font-size: 15px; }

/* ---------- philosophy (alternating blocks) ---------- */
.alt { display: grid; gap: 90px; }
.alt__row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.alt__row:nth-child(even) .alt__media { order: 2; }
.alt__media { aspect-ratio: 4/3; border-radius: var(--radius); }
.alt__no { font-family: var(--en); font-size: 54px; font-weight: 700; color: var(--ocean-light); line-height: 1; -webkit-text-stroke: 1px var(--ocean); }
.alt__txt h3 { margin-top: 18px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; letter-spacing: -.03em; }
.alt__txt p { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }

/* ---------- courses ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); border-radius: 999px; padding: 8px 18px; font-size: 14px; transition: .2s; }
.filters button.is-on, .filters button:hover { border-color: var(--ocean); color: var(--ocean); }
.filters button.is-on { background: var(--ocean); color: var(--white); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ccard { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.ccard:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.ccard__img { aspect-ratio: 16/10; }
.ccard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ccard__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.ccard h3 { margin-top: 12px; font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.ccard p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; flex: 1; }
.ccard__facts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.ccard__price { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.ccard__price strong { font-size: 20px; font-weight: 900; color: var(--ink); }
.ccard__price strong small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- features strip (like mammotome icons) ---------- */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.feat li { list-style: none; text-align: center; padding: 22px 12px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-weight: 500; }
.feat li::before { content: ''; display: block; width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- tours ---------- */
.tours { display: grid; gap: 22px; }
.tcard { display: grid; grid-template-columns: 300px 1fr auto; gap: 30px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; transition: background .3s; }
.tcard:hover { background: rgba(255,255,255,.1); }
.tcard__img { aspect-ratio: 16/10; border-radius: 10px; }
.tcard__date { font-family: var(--en); color: #8fd0f3; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.tcard h3 { margin-top: 8px; font-size: 22px; font-weight: 900; color: var(--white); }
.tcard p { margin-top: 8px; color: #b9c4cb; font-size: 15px; }
.tcard__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tcard__side { text-align: right; padding-right: 14px; }
.tcard__price { font-size: 22px; font-weight: 900; color: var(--white); }
.tcard__price small { display: block; font-size: 12px; font-weight: 400; color: #9aa7b0; }
.tcard .more { color: #8fd0f3; margin-top: 12px; }

/* ---------- dive sites ---------- */
.sites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scard { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 6px 24px rgba(88,76,65,.08); }
.scard__img { aspect-ratio: 1/1; position: relative; }
.scard__region { position: absolute; z-index: 2; top: 14px; left: 14px; }
.scard__body { padding: 20px 20px 22px; }
.scard__loc { font-size: 13px; color: var(--tan); }
.scard h3 { font-size: 19px; font-weight: 900; margin-top: 2px; }
.scard p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.scard__depth { margin-top: 12px; font-size: 13px; color: var(--ocean); font-weight: 500; }
.scard__hl { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }

/* ---------- equipment (ARA system style) ---------- */
.equip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ecard { background: var(--white); padding: 34px 30px; display: flex; flex-direction: column; gap: 8px; }
.ecard__label { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--ocean); }
.ecard__img { aspect-ratio: 16/10; border-radius: 10px; margin: 6px 0 8px; }
.ecard h3 { font-size: 19px; font-weight: 900; }
.ecard p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.ecard__rent { margin-top: 8px; font-size: 13px; color: var(--brown); font-weight: 500; }

/* ---------- facility gallery ---------- */
.fac { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
.fac__list { display: grid; gap: 8px; }
.fac__list button { text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 18px 20px; transition: .2s; }
.fac__list button strong { display: block; font-size: 17px; }
.fac__list button span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.fac__list button.is-on { border-color: var(--ocean); box-shadow: inset 4px 0 0 var(--ocean); }
.fac__view { position: relative; }
.fac__main { aspect-ratio: 16/10; border-radius: var(--radius); }
.fac__nav { position: absolute; bottom: 18px; right: 18px; display: flex; gap: 8px; z-index: 2; }
.fac__nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 20px; color: var(--ink); }
.fac__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.fac__thumbs button { aspect-ratio: 1/1; border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden; background: none; }
.fac__thumbs button.is-on { border-color: var(--ocean); }

/* ---------- closing banner ---------- */
.closing { position: relative; padding: 120px 0; text-align: center; color: var(--white); overflow: hidden; }
.closing .ph, .closing .media { position: absolute; inset: 0; }
.closing .media::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.closing__txt { position: relative; z-index: 2; }
.closing h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.03em; }
.closing p { margin-top: 16px; font-size: 18px; font-weight: 300; }
.closing .btn { margin-top: 30px; }

/* ---------- info / location ---------- */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info__box { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: 0 6px 24px rgba(88,76,65,.07); }
.info__box h3 { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.info__box h3::before { content: ''; width: 6px; height: 20px; background: var(--ocean); border-radius: 3px; }
.hours { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { width: 40%; color: var(--brown); font-weight: 500; }
.info__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.info__tel { display: block; margin-top: 16px; font-family: var(--en); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--ocean); letter-spacing: .02em; }
.info__rows { margin-top: 16px; display: grid; gap: 12px; font-size: 15px; }
.info__rows div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.info__rows dt { color: var(--brown); font-weight: 500; }
.info__rows dd { margin: 0; }
.info__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- detail pages ---------- */
.dhero { position: relative; color: var(--white); padding: 90px 0 70px; overflow: hidden; }
.dhero > .ph, .dhero > .media { position: absolute; inset: 0; }
.dhero > .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.6)); }
.dhero__in { position: relative; z-index: 2; }
.crumb { font-size: 14px; opacity: .85; }
.crumb a:hover { text-decoration: underline; }
.dhero h1 { margin-top: 16px; font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -.03em; }
.dhero p { margin-top: 14px; font-size: 18px; font-weight: 300; max-width: 720px; }
.dhero .ccard__meta { margin-top: 18px; }
.dhero .tag { background: rgba(255,255,255,.2); color: var(--white); }
.dbody { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; padding-top: 70px; padding-bottom: 110px; align-items: start; }
.dsec + .dsec { margin-top: 50px; }
.dsec h2 { font-size: 22px; font-weight: 900; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.dsec .rich { font-size: 16px; color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--ocean); }
.timeline li::after { content: ''; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: var(--ocean-light); }
.timeline li:last-child::after { display: none; }
.timeline b { color: var(--ocean); margin-right: 8px; }
.aside { position: sticky; top: calc(var(--header-h) + 70px); background: var(--cream); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.aside__price { font-size: 30px; font-weight: 900; }
.aside__price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.aside__note { margin-top: 6px; font-size: 14px; color: var(--muted); }
.aside dl { margin: 22px 0 0; display: grid; gap: 0; }
.aside dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.aside dt { color: var(--brown); }
.aside dd { margin: 0; font-weight: 500; text-align: right; }
.aside .btn { width: 100%; margin-top: 12px; }
.aside .btn:first-of-type { margin-top: 24px; }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mini a, .mini div { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: .2s; background: var(--white); }
.mini a:hover { border-color: var(--ocean); }
.mini strong { display: block; font-size: 17px; }
.mini span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 16px; border-radius: 999px; background: var(--ocean-light); color: var(--ocean-deep); font-weight: 500; font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.gallery .media { aspect-ratio: 1/1; border-radius: 8px; }

.notfound { text-align: center; padding: 140px 24px; }
.notfound h1 { font-size: 34px; font-weight: 900; }
.notfound p { margin: 14px 0 30px; color: var(--ink-soft); }
/* 로딩 자리를 화면 높이만큼 잡아 두어, 내용이 그려질 때 아래 영역(푸터)이 밀려 보이지 않게 한다 */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 100vh; padding: 0 24px; color: var(--muted); }
.loading span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--ocean-light); border-top-color: var(--ocean); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { text-align: center; padding: 140px 24px; }
.error p { color: var(--ink-soft); margin: 10px 0 24px; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; grid-column: 1 / -1; }

/* ---------- footer, top button, popups ---------- */
.footer { background: var(--dark); color: #9a9a9a; padding: 54px 0 60px; font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; color: #dedede; font-weight: 500; }
.footer__links a:hover { color: var(--white); }
.footer__note { margin-top: 22px; }
.footer__biz { margin-top: 16px; font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 0; }
.footer__biz > span:not(:last-child)::after { content: '|'; margin: 0 12px; color: #4a4a4a; }
.footer__copy { margin-top: 16px; font-family: var(--en); font-size: 12px; color: #6d6d6d; }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 62px; height: 62px; border-radius: 8px; background: var(--coral); color: var(--white); font-family: var(--en); font-size: 13px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 8px 20px rgba(255,98,132,.35); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s; }
.to-top span { font-size: 16px; margin-bottom: 2px; }
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }

.popups { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; flex-wrap: wrap; }
.popups[hidden] { display: none; }
.popup { width: min(380px, 100%); background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.popup__img { aspect-ratio: 4/3; }
.popup__body { padding: 26px 24px; }
.popup__body h3 { font-size: 20px; font-weight: 900; }
.popup__body p { margin-top: 10px; color: var(--ink-soft); }
.popup__body .btn { margin-top: 18px; min-height: 42px; }
.popup__foot { display: flex; justify-content: space-between; background: var(--dark); color: #ddd; font-size: 13px; }
.popup__foot button { background: none; border: 0; color: inherit; padding: 12px 16px; }
.popup__foot button:hover { color: var(--white); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__bubbles { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards4, .sites { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .tcard { grid-template-columns: 220px 1fr; }
  .tcard__side { grid-column: 2; text-align: left; padding: 0; }
  .fac { grid-template-columns: 1fr; }
  .dbody { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  html { scroll-padding-top: var(--header-h); }
  .topbar__slogan { display: none; }
  .topbar__in { justify-content: center; }
  .menu-btn { display: block; }
  .gnb { display: none; position: absolute; left: 0; right: 0; top: 100%; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .gnb.is-open { display: block; }
  .gnb__in { flex-direction: column; gap: 0; padding: 6px 24px 14px; }
  .gnb a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .gnb a::after { display: none; }
  .logo__text strong { font-size: 19px; }
  .logo--img img { height: 36px; }
  .sec { padding: 76px 0; }
  .alt__row { grid-template-columns: 1fr; gap: 26px; }
  .alt__row:nth-child(even) .alt__media { order: 0; }
  .alt { gap: 60px; }
  .info { grid-template-columns: 1fr; }
  .equip { grid-template-columns: repeat(2, 1fr); }
  .inst__card { grid-template-columns: 120px 1fr; gap: 18px; padding: 22px; }
  .hero__count { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .cards4, .grid3, .sites, .equip { grid-template-columns: 1fr; }
  .tcard { grid-template-columns: 1fr; gap: 16px; }
  .tcard__side { grid-column: auto; }
  .inst__card { grid-template-columns: 1fr; }
  .inst__photo { max-width: 160px; }
  .hero__arrow { display: none; }
  .fac__thumbs { grid-template-columns: repeat(4, 1fr); }
  .map iframe { height: 320px; }
  .to-top { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .topbar__links { gap: 12px; }
  .info__box { padding: 24px; }
}

/* ---------- 예약 ---------- */
.gnb a.gnb__rsv { color: var(--white); background: var(--ocean); padding: 4px 16px; border-radius: 999px; font-weight: 700; }
.gnb a.gnb__rsv::after { display: none; }
.gnb a.gnb__rsv:hover, .gnb a.gnb__rsv.is-active { background: var(--ocean-deep); color: var(--white); }
.rsv { padding-top: 40px; padding-bottom: 90px; max-width: 860px; }
.rsv h1 { font-size: clamp(28px, 5vw, 38px); margin: 14px 0 10px; }
.rsv__lead { color: var(--ink-soft); margin-bottom: 26px; }
.rsv__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.rsv__tabs button { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.rsv__tabs button.is-on { background: var(--ocean); border-color: var(--ocean); color: var(--white); }
.rsv__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; }
.rsv__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.rsv__form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.rsv__form input[type=text], .rsv__form input[type=tel], .rsv__form input[type=number], .rsv__form input[type=date], .rsv__form select, .rsv__form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; background: var(--white); color: var(--ink); }
.rsv__form textarea { resize: vertical; }
.rsv__form [hidden] { display: none; }
.rsv__agree { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--ink-soft); }
.rsv__agree input { margin-top: 4px; }
.rsv__avail { border-radius: 12px; padding: 14px 16px; background: var(--ocean-light); color: var(--ocean-deep); display: grid; gap: 8px; font-size: 15px; }
.rsv__avail.is-full { background: #fdecec; color: #a12a2a; }
.rsv__avail.is-blocked { background: #f3efe8; color: #6b5a3c; }
.rsv__bar { display: block; height: 8px; border-radius: 99px; background: rgba(15,111,168,.15); overflow: hidden; }
.rsv__bar i { display: block; height: 100%; background: var(--ocean); }
.rsv__avail.is-full .rsv__bar i { background: #c0392b; }
.rsv__msg { min-height: 1.4em; font-size: 14px; }
.rsv__msg.is-err { color: #b3261e; font-weight: 700; }
.rsv__submit { width: 100%; }
.rsv__submit[disabled] { opacity: .6; cursor: wait; }
.rsv__done { background: var(--ocean-light); border-radius: var(--radius); padding: 30px 24px; text-align: center; display: grid; gap: 10px; }
.rsv__done[hidden] { display: none; }
.rsv__notice { margin-top: 30px; }
.rsv__notice h2 { font-size: 18px; margin-bottom: 10px; }
.rsv__alt { margin-top: 22px; color: var(--ink-soft); font-size: 14px; }
.rsv-live { font-weight: 700; color: var(--ocean); }
.rsv-live.is-full { color: #c0392b; }
.tcard__price .rsv-live { display: block; font-size: 12px; margin-top: 4px; }

.rsv__sec { display: grid; gap: 18px; }
.rsv__lodge { display: grid; gap: 14px; border-top: 1px dashed var(--line); padding-top: 16px; }
.rsv__lodge [data-lodgebody] { display: grid; gap: 14px; }
.rsv__h { font-size: 18px; margin: 0; }
.rsv__off { color: var(--ink-soft); font-size: 14px; }
.rsv__share { background: #fff6e0; color: #6b4a00; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.6; }
.rsv__share[hidden], .rsv__lodge [hidden] { display: none !important; }
.rsv__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 0; }
.rsv__row + .rsv__row { border-top: 1px solid rgba(15,111,168,.15); }
.rsv__row.is-full strong { color: #a12a2a; }
.rsv__row.is-blocked strong { color: #6b5a3c; }
.rsv__list { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 6px; text-align: left; max-width: 520px; width: 100%; justify-self: center; }
.rsv__list li { display: flex; justify-content: space-between; gap: 12px; background: var(--white); border-radius: 10px; padding: 10px 14px; }
.rsv__sub { color: var(--ink-soft); font-size: 13px; }
.rsv__warn { color: #a12a2a; font-weight: 700; }
