﻿@font-face {
  font-family: "ForestTitle";
  src: url("font/title/Geist-Black.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ForestTitle";
  src: url("font/title/Geist-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ForestText";
  src: url("font/text/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ForestText";
  src: url("font/text/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #050606;
  --panel: rgba(7, 10, 8, 0.94);
  --panel-strong: rgba(4, 6, 5, 0.98);
  --line: rgba(230, 195, 122, 0.34);
  --gold: #e6c37a;
  --gold-strong: #f7d993;
  --green: #1e5b42;
  --green-soft: #77b892;
  --text: #f7f0e3;
  --muted: #ddd3c1;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --luxury-text-gradient: linear-gradient(135deg, #fff8e7 0%, #f7d993 28%, #c8923f 52%, #8ee1ae 76%, #fff0bd 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background-color: #040505;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(4, 6, 5, 0.84) 38%, rgba(0, 0, 0, 0.94) 100%),
    radial-gradient(circle at 18% 4%, rgba(31, 91, 66, 0.32), transparent 34rem),
    url("images/background.webp");
  background-attachment: fixed, fixed, fixed;
  background-position: center, center, center top;
  background-size: auto, auto, cover;
  color: var(--text);
  font-family: "ForestText", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  text-align: center;
  word-break: keep-all;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 76%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24) 45%, rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05), transparent 34rem);
  pointer-events: none;
  content: "";
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes ctaGlow {
  0%,
  100% {
    text-shadow:
      0 0 8px rgba(247, 217, 147, 0.42),
      0 2px 12px rgba(0, 0, 0, 0.86);
  }

  50% {
    text-shadow:
      0 0 16px rgba(247, 217, 147, 0.85),
      0 0 30px rgba(255, 210, 86, 0.38),
      0 2px 12px rgba(0, 0, 0, 0.86);
  }
}

@keyframes ctaShine {
  0% {
    transform: translateX(-140%) skewX(-18deg);
  }

  46%,
  100% {
    transform: translateX(180%) skewX(-18deg);
  }
}

.header-cta,
.primary-btn,
.secondary-btn,
.fixed-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.header-cta,
.primary-btn,
.secondary-btn,
.fixed-btn span {
  animation: ctaGlow 2.4s ease-in-out infinite;
}

.header-cta::after,
.primary-btn::after,
.secondary-btn::after {
  position: absolute;
  inset: -35% auto -35% -35%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 231, 0.44), transparent);
  content: "";
  pointer-events: none;
  animation: ctaShine 3.4s ease-in-out infinite;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #090909;
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 14px clamp(14px, 4vw, 34px);
  border-bottom: 1px solid rgba(230, 195, 122, 0.16);
  background: rgba(4, 5, 5, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "ForestTitle", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(230, 195, 122, 0.35);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(230, 195, 122, 0.18);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px clamp(18px, 3vw, 30px);
  border: 1px solid rgba(247, 217, 147, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78)),
    url("images/recovery-button-bg.webp") center / cover;
  box-shadow: 0 12px 34px rgba(185, 133, 52, 0.24);
  color: #fff8e7;
  font-family: "ForestText", sans-serif;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta:hover,
.header-cta:focus {
  box-shadow: 0 16px 42px rgba(247, 217, 147, 0.28);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 116px clamp(20px, 5vw, 80px) 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58) 46%, rgba(0, 0, 0, 0.9)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 36%, rgba(0, 0, 0, 0.58)),
    url("images/1.webp");
  background-position: center;
  background-size: cover;
  opacity: 0.92;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(1080px, 100%);
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(4, 6, 5, 0.98), rgba(7, 10, 8, 0.9)),
    radial-gradient(circle at 0% 0%, rgba(230, 195, 122, 0.16), transparent 22rem);
  box-shadow: var(--shadow);
}

.hero-visual {
  overflow: hidden;
  margin-bottom: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(247, 217, 147, 0.38);
  border-radius: clamp(20px, 3vw, 34px);
  background: #050606;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.hero-visual img {
  width: 100%;
  height: clamp(220px, 36vw, 430px);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "ForestTitle", "ForestText", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  margin-inline: auto;
  color: #fff8e7;
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.72);
}

.hero-subtitle {
  margin: 10px 0 24px;
  color: var(--gold-strong);
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 248, 231, 0.96);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.8;
}

.branches {
  max-width: 900px;
  margin: 0 auto 30px;
  color: rgba(255, 248, 231, 0.88);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid rgba(247, 217, 147, 0.48);
  border-radius: 999px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  color: #fff8e7;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.primary-btn {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82)),
    url("images/phone-reservation-button-bg.webp");
  box-shadow: 0 14px 36px rgba(185, 133, 52, 0.32);
}

.secondary-btn {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.82)),
    url("images/hero-kakao-button-bg.webp");
}

.primary-btn:hover,
.primary-btn:focus,
.secondary-btn:hover,
.secondary-btn:focus {
  transform: translateY(-2px);
}

.open-time {
  margin: 0;
  color: #a8e6bf;
  font-weight: 700;
}

.intro-grid,
.section,
.reserve-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.feature-card,
.program-card,
.benefit-card,
.reserve-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: stretch;
  overflow: hidden;
  min-height: 360px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(6, 9, 7, 0.98), rgba(12, 19, 15, 0.94)),
    radial-gradient(circle at 75% 20%, rgba(230, 195, 122, 0.12), transparent 20rem);
}

.feature-card:nth-child(even) .feature-media {
  order: 2;
}

.feature-card:nth-child(even) .feature-copy {
  order: 1;
}

.feature-media {
  min-height: 360px;
  background: rgba(0, 0, 0, 0.28);
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.feature-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(34px, 5vw, 70px);
}

.card-number {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "ForestTitle", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.feature-card h2,
.program-card h3,
.benefit-card h3 {
  margin-bottom: 12px;
  color: #fff7e9;
  font-size: clamp(1.32rem, 2.4vw, 1.76rem);
}

.feature-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
}

.feature-card p,
.program-card li,
.benefit-card p,
.reserve-panel p,
.site-footer {
  color: rgba(255, 248, 231, 0.88);
  font-size: 1.03rem;
  line-height: 1.8;
}

.section {
  padding: clamp(78px, 10vw, 132px) 0 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 34px;
  justify-items: center;
  text-align: center;
}

.section-heading h2,
.reserve-panel h2 {
  color: #fff8e7;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  margin-inline: auto;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.program-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 8, 6, 0.98), rgba(13, 22, 17, 0.94)),
    radial-gradient(circle at 18% 14%, rgba(230, 195, 122, 0.14), transparent 18rem);
  border-radius: 30px;
}

.program-media {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 14px;
  border-bottom: 1px solid rgba(230, 195, 122, 0.18);
  background: rgba(0, 0, 0, 0.34);
}

.program-card img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

.program-copy {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 330px;
  padding: clamp(28px, 3.4vw, 42px) clamp(22px, 2.8vw, 34px);
  background: rgba(0, 0, 0, 0.22);
}

.program-card h3 {
  max-width: 360px;
  margin-bottom: 22px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.program-card ul {
  display: grid;
  width: min(100%, 360px);
  gap: 12px;
  margin: 0;
  padding-left: 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  list-style: none;
}

.program-card li {
  padding: 13px 16px;
  border: 1px solid rgba(230, 195, 122, 0.18);
  border-radius: 16px;
  background: rgba(255, 248, 231, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.program-card li::marker {
  color: var(--gold);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.benefit-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  min-height: 280px;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(5, 8, 6, 0.98), rgba(12, 18, 14, 0.96)),
    radial-gradient(circle at 15% 20%, rgba(230, 195, 122, 0.12), transparent 16rem);
}

.benefit-media {
  min-height: 280px;
  background: rgba(0, 0, 0, 0.32);
}

.benefit-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.benefit-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(26px, 4vw, 42px);
  border-left: 1px solid rgba(230, 195, 122, 0.18);
}

.benefit-card h3 {
  margin: 0 0 14px;
  background-image: none;
  color: #f7d993;
  filter: none;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  -webkit-text-fill-color: currentColor;
}

.benefit-card p {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 248, 231, 0.94);
  font-size: 1.05rem;
  line-height: 1.75;
}

.reserve-section {
  padding: clamp(80px, 10vw, 138px) 0;
}

.reserve-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 38px;
  text-align: center;
}

.reserve-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48)),
    url("images/1.webp") center / cover;
  content: "";
  opacity: 0.64;
}

.reserve-panel p {
  max-width: 840px;
  margin: 18px auto;
  color: rgba(255, 248, 231, 0.9);
  font-size: 1.08rem;
}

.phone-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-strong);
  font-family: "ForestTitle", sans-serif;
  font-size: clamp(2rem, 6vw, 4.7rem);
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 34px 0 112px;
  border-top: 1px solid rgba(230, 195, 122, 0.18);
  font-size: 0.94rem;
  text-align: center;
}

.site-footer div {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
}

.site-footer strong {
  color: var(--text);
}

.brand span,
h1,
h2,
h3,
.hero-subtitle,
.card-number,
.open-time,
.phone-link,
.site-footer strong {
  background-image: var(--luxury-text-gradient);
  background-size: 180% 100%;
  color: var(--gold-strong);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.58));
  -webkit-text-fill-color: transparent;
}

.fixed-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  pointer-events: none;
}

.fixed-btn {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 76px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(230, 195, 122, 0.35);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.46);
  color: #fff8e7;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  pointer-events: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.fixed-btn::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  content: "";
}

.fixed-btn::after {
  position: absolute;
  inset: -35% auto -35% -35%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 231, 0.38), transparent);
  content: "";
  pointer-events: none;
  animation: ctaShine 3.4s ease-in-out infinite;
}

.fixed-btn span::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.5);
  content: "";
}

.fixed-btn span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(340px, 82%);
  padding: 9px 16px;
  border-radius: 999px;
}

.fixed-btn:hover,
.fixed-btn:focus {
  border-color: rgba(247, 217, 147, 0.82);
  transform: translateY(-3px);
}

.fixed-btn.kakao::before {
  background-image: url("images/kakao-banner.webp");
}

.fixed-btn.cafe::before {
  background-image: url("images/cafe-banner.webp");
}

@media (max-width: 980px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-card {
    grid-template-columns: 1fr;
  }

  .benefit-copy {
    border-top: 1px solid rgba(230, 195, 122, 0.18);
    border-left: 0;
  }

  .feature-card {
    grid-template-columns: 1fr 1fr;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto;
    align-items: stretch;
  }

  .program-media {
    min-height: 300px;
    border-right: 1px solid rgba(230, 195, 122, 0.18);
    border-bottom: 0;
  }

  .program-card img {
    max-height: 300px;
  }

  .program-copy {
    min-height: auto;
    align-content: center;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand {
    gap: 9px;
    font-size: 1.02rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    min-height: 40px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 106px 16px 74px;
  }

  .hero-content {
    border-radius: 28px;
  }

  .hero-actions,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .intro-grid,
  .benefit-grid {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(even) .feature-media,
  .feature-card:nth-child(even) .feature-copy {
    order: initial;
  }

  .feature-card,
  .feature-media,
  .feature-card img {
    min-height: 230px;
  }

  .program-card {
    grid-template-columns: 1fr;
  }

  .program-media {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(230, 195, 122, 0.18);
  }

  .program-card img {
    max-height: 220px;
  }

  .section,
  .reserve-section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .benefit-card img {
    height: 210px;
    min-height: 210px;
  }

  .benefit-media {
    min-height: 210px;
  }

  .fixed-actions {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 8px;
  }

  .fixed-btn {
    min-height: 62px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
}
