@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Gowun+Dodum&display=swap');

:root {
  --primary: #5a3b28;
  --secondary: #d8b178;
  --accent: #f2dfc5;
  --bg: #f1e4d5;
  --text: #35271d;
  --muted: #7a6554;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(70, 45, 30, 0.1);
  --soft-shadow: 0 30px 60px rgba(56, 38, 25, 0.18);
  --radius: 18px;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-color: #f4eadc;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), rgba(241, 223, 201, 0.85)),
    url('배경이미지.png');
  background-repeat: no-repeat, repeat;
  background-size: 1600px 1600px, 420px 420px;
  background-attachment: fixed, fixed;
  background-blend-mode: multiply, normal;
  position: relative;
  z-index: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body::after {
  content: '';
  position: fixed;
  bottom: clamp(20px, 4vw, 48px);
  right: clamp(20px, 4vw, 48px);
  width: clamp(160px, 18vw, 260px);
  aspect-ratio: 416 / 453;
  background-image: url('테라요가3.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.inner {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 234, 217, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(88, 57, 37, 0.08);
  box-shadow: 0 6px 18px rgba(53, 39, 29, 0.08);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.logo-mark img {
  width: 130%;
  height: auto;
  transform: translateY(2px);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--primary);
}

.gnb {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  color: var(--muted);
}

.gnb a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0;
  background: url('https://images.unsplash.com/photo-1519710164239-da123dc03ef4?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 36, 23, 0.88), rgba(177, 130, 82, 0.7));
}

.hero .inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.badge {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4.8rem;
}

h1 {
  margin: 0 0 3rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.25;
  font-weight: 700;
}

.lead {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--secondary);
  color: #3b281d;
  box-shadow: 0 12px 30px rgba(107, 76, 59, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(107, 76, 59, 0.4);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: inherit;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.section {
  padding: 6rem 0;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.section .summary {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-description {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  color: var(--muted);
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
}

.intro-description p:first-child {
  font-weight: 600;
  color: var(--primary);
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card,
.program-card,
.price-card,
.event-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 225, 205, 0.88));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(126, 92, 64, 0.12);
  position: relative;
  overflow: hidden;
}

.card::before,
.program-card::before,
.price-card::before,
.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(172, 123, 78, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before,
.program-card:hover::before,
.price-card:hover::before,
.event-card:hover::before {
  opacity: 1;
}

.program-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
}

.program-intro {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(227, 207, 182, 0.85));
  border-radius: var(--radius);
  border: 1px solid rgba(120, 82, 54, 0.12);
  box-shadow: var(--shadow);
  padding: 2.4rem;
  color: #423024;
}

.program-intro header h3 {
  font-size: 1.9rem;
  margin: 0;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.program-intro header h3 span {
  color: #718d54;
}

.program-intro .program-subtitle {
  margin: 0.6rem 0 1.8rem;
  font-size: 1.15rem;
  color: #6d5a4a;
  font-weight: 600;
}

.program-copy {
  display: grid;
  gap: 1.2rem;
  line-height: 1.85;
  font-size: 1.02rem;
  color: #4b392d;
}

.program-copy p:first-child {
  font-weight: 600;
}

.program-side {
  display: grid;
  gap: 1.4rem;
}

.program-side .program-card {
  padding: 1.8rem;
}

.program-side .program-card h4 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.program-side .program-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.program-side .program-card .program-meta {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #5c4736;
  letter-spacing: 0.05em;
}

.classes {
  background: linear-gradient(180deg, rgba(236, 213, 185, 0.45), rgba(244, 232, 216, 0.7));
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.class-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 222, 198, 0.88));
  border-radius: calc(var(--radius) + 2px);
  padding: 2rem;
  border: 1px solid rgba(116, 80, 53, 0.16);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.class-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(129, 90, 59, 0.08));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.class-card:hover::after {
  opacity: 1;
}

.class-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.class-head h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--primary);
}

.class-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(90, 59, 40, 0.1);
  color: var(--primary);
  letter-spacing: 0.04em;
}

.class-lead {
  margin: 0;
  color: #4c382b;
  line-height: 1.65;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.class-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: #6a5241;
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

.class-card ul li {
  padding-left: 1.1rem;
  position: relative;
}

.class-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(90, 59, 40, 0.7);
}

.class-vinyasa .class-tag {
  background: rgba(223, 205, 179, 0.5);
  color: #5a4031;
}

.class-aroma .class-tag {
  background: rgba(207, 224, 197, 0.6);
  color: #3f4b32;
}

.class-relax .class-tag {
  background: rgba(231, 213, 186, 0.6);
  color: #5c422d;
}

.class-mens .class-tag {
  background: rgba(192, 218, 197, 0.7);
  color: #2e4b38;
}

.class-prenatal .class-tag {
  background: rgba(235, 197, 178, 0.7);
  color: #5a2c1b;
}

.class-postnatal .class-tag {
  background: rgba(246, 206, 160, 0.7);
  color: #60361a;
}

.gallery {
  background: linear-gradient(180deg, rgba(202, 169, 120, 0.18), transparent);
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timetable .note,
.pricing .note,
.notice p,
.map-note {
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.table-wrapper {
  overflow-x: auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 223, 197, 0.9));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(120, 82, 54, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th:first-child,
table td:first-child {
  width: 140px;
}

th,
td {
  padding: 0.9rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

thead th {
  background: rgba(107, 76, 59, 0.1);
  color: var(--primary);
  font-weight: 600;
}

tbody tr:hover {
  background: rgba(202, 169, 120, 0.1);
}

.schedule-off {
  background: rgba(206, 188, 165, 0.38);
  color: var(--muted);
  font-weight: 500;
}

.schedule-vinyasa {
  background: rgba(223, 205, 179, 0.65);
  color: #5a4031;
  font-weight: 600;
}

.schedule-aroma {
  background: rgba(207, 224, 197, 0.68);
  color: #3f4b32;
  font-weight: 600;
}

.schedule-relax {
  background: rgba(231, 213, 186, 0.72);
  color: #5c422d;
  font-weight: 600;
}

.schedule-mens {
  background: rgba(192, 218, 197, 0.7);
  color: #2e4b38;
  font-weight: 600;
}

.schedule-mom {
  background: rgba(235, 197, 178, 0.72);
  color: #5a2c1b;
  font-weight: 600;
}

.schedule-sunghu {
  background: rgba(246, 206, 160, 0.78);
  color: #60361a;
  font-weight: 600;
}

.schedule-workshop {
  background: rgba(239, 215, 192, 0.85);
  color: #5b4029;
  font-weight: 600;
  line-height: 1.3;
}

.schedule-empty {
  color: var(--muted);
  font-style: italic;
}

.schedule-divider td {
  background: rgba(107, 76, 59, 0.08);
  color: #5a3b28;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timetable-notes {
  margin-top: 2rem;
  display: grid;
  gap: 0.6rem;
  color: #4d3a2b;
  text-align: left;
  margin-left: 140px;
}

.timetable-notes p {
  margin: 0;
}

.price-tables {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.price-table-wrapper {
  margin-top: 2rem;
  overflow-x: auto;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 223, 197, 0.92));
  border: 1px solid rgba(120, 82, 54, 0.12);
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.price-table thead th {
  text-align: center;
  background: rgba(107, 76, 59, 0.14);
  letter-spacing: 0.05em;
}

.price-table tbody th {
  text-align: left;
  vertical-align: top;
  background: rgba(210, 176, 137, 0.18);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  padding-right: 1.6rem;
}

.price-table tbody td {
  text-align: left;
  color: var(--text);
}

.price-table tbody td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

.price-duration {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--text);
}

.price-duration span {
  font-size: 0.9rem;
  color: var(--muted);
}

.price-item {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.price-item .unit {
  font-size: 0.9rem;
  color: var(--muted);
}

.price-benefits {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 1.8rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 222, 198, 0.85));
  border-radius: var(--radius);
  border: 1px solid rgba(120, 82, 54, 0.12);
  box-shadow: var(--shadow);
  color: #473328;
  font-family: 'Gowun Dodum', 'Noto Sans KR', sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
}

.price-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.price-benefits-footer {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.price-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.4rem;
}

.events .event-card {
  display: grid;
  gap: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.events .event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(70, 45, 30, 0.2);
}

.event-image img {
  width: 100%;
  border-radius: var(--radius);
}

.event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.event-card p br {
  content: '';
  display: block;
  margin-bottom: 0.3rem;
}

.notice {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.notice h2 {
  color: var(--white);
}

.notice p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 660px;
  margin: 0 auto;
}

.amenities-list li {
  position: relative;
  padding-left: 1.4rem;
}

.amenities-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.contact-list span {
  display: inline-block;
  min-width: 120px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.map-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.map-links .btn {
  border-color: var(--primary);
  color: var(--primary);
}

.map-links .btn:hover {
  background: rgba(202, 169, 120, 0.15);
}

.map-container {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 225, 204, 0.92));
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
}

.map-container iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  background: #2c2019;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-made {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  text-align: right;
}

.policy {
  margin: 0;
  font-size: 0.95rem;
}

.policy.centered {
  margin-top: 0.6rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .classes-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* 모바일 최적화 - 기본 설정 */
@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .inner {
    width: 95%;
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }

  .gnb {
    display: none;
  }

  .site-header .inner {
    justify-content: center;
    padding: 0.8rem 0;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-mark {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 60vh;
    padding: 3rem 0 2.5rem;
  }

  .badge {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem 1rem;
  }

  h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .cta-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .intro-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .program-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .program-intro {
    padding: 1.5rem 1.2rem;
  }

  .program-intro header h3 {
    font-size: 1.5rem;
  }

  .program-subtitle {
    font-size: 1rem;
  }

  .program-copy {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .program-side .program-card {
    padding: 1.5rem 1.2rem;
  }

  .program-side .program-card h4 {
    font-size: 1.15rem;
  }

  .classes-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .class-card {
    padding: 1.5rem 1.2rem;
  }

  .class-head h3 {
    font-size: 1.2rem;
  }

  .class-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .class-card ul {
    font-size: 0.9rem;
  }

  /* 시간표 모바일 최적화 */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    margin: 0 -1rem;
    padding: 0 1rem;
    position: relative;
  }

  .table-wrapper::after {
    content: '← 좌우로 스크롤하여 전체 시간표를 확인하세요 →';
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    font-style: italic;
  }

  /* 텍스트 넘침 방지 */
  p, h1, h2, h3, h4, h5, h6, li, span, a, td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  table {
    min-width: 600px;
    font-size: 0.85rem;
  }

  table th:first-child,
  table td:first-child {
    width: 80px;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    position: sticky;
    left: 0;
    background: rgba(107, 76, 59, 0.1);
    z-index: 10;
  }

  th,
  td {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  thead th {
    font-size: 0.75rem;
    padding: 0.7rem 0.5rem;
  }

  .schedule-vinyasa,
  .schedule-aroma,
  .schedule-relax,
  .schedule-mens,
  .schedule-mom,
  .schedule-sunghu,
  .schedule-workshop {
    font-size: 0.75rem;
    padding: 0.5rem 0.4rem;
  }

  .timetable-notes {
    margin-left: 0;
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .timetable-notes p {
    margin-bottom: 0.4rem;
  }

  /* 가격표 모바일 */
  .price-tables {
    grid-template-columns: 1fr;
  }

  .price-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-table {
    min-width: 500px;
    font-size: 0.9rem;
  }

  .price-table thead th:last-child {
    width: 35%;
    max-width: 120px;
  }

  .price-table tbody th {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }

  .price-table tbody td {
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
  }

  .price-table tbody td:last-child {
    width: 35%;
    max-width: 120px;
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
  }

  .price-item {
    align-items: flex-end;
    gap: 0.15rem;
  }

  .price-item .unit {
    font-size: 0.75rem;
  }

  .price-benefits {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.2rem;
    font-size: 0.95rem;
  }

  /* 이벤트 카드 */
  .events .event-card {
    padding: 1.5rem 1.2rem;
  }

  .event-card h3 {
    font-size: 1.2rem;
  }

  .event-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* 갤러리 */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* 연락처 */
  .contact-list {
    font-size: 0.95rem;
  }

  .contact-list span {
    min-width: 100px;
    font-size: 0.9rem;
  }

  .map-links {
    flex-direction: column;
  }

  .map-links .btn {
    width: 100%;
  }

  .map-container {
    padding: 0.8rem;
  }

  .map-container iframe {
    min-height: 280px;
  }

  /* 푸터 */
  .site-footer {
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }

  .policy {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .footer-made {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .classes-grid {
    grid-template-columns: 1fr;
  }
}

/* 작은 모바일 화면 최적화 */
@media (max-width: 480px) {
  :root {
    font-size: 13px;
  }

  .inner {
    width: 98%;
    padding: 0 0.8rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .hero {
    min-height: 55vh;
    padding: 2.5rem 0 2rem;
  }

  .badge {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0.4rem 0.8rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .lead {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .program-intro {
    padding: 1.2rem 1rem;
  }

  .program-intro header h3 {
    font-size: 1.3rem;
  }

  .class-card {
    padding: 1.2rem 1rem;
  }

  .class-head h3 {
    font-size: 1.1rem;
  }

  table {
    min-width: 550px;
    font-size: 0.8rem;
  }

  table th:first-child,
  table td:first-child {
    width: 70px;
    padding: 0.5rem 0.4rem;
    font-size: 0.75rem;
  }

  th,
  td {
    padding: 0.5rem 0.4rem;
    font-size: 0.75rem;
  }

  .schedule-vinyasa,
  .schedule-aroma,
  .schedule-relax,
  .schedule-mens,
  .schedule-mom,
  .schedule-sunghu,
  .schedule-workshop {
    font-size: 0.7rem;
    padding: 0.4rem 0.3rem;
  }

  .price-table {
    min-width: 450px;
    font-size: 0.85rem;
  }

  .price-table thead th:last-child {
    width: 32%;
    max-width: 110px;
  }

  .price-table tbody td:last-child {
    width: 32%;
    max-width: 110px;
    padding: 0.6rem 0.4rem;
    font-size: 0.8rem;
  }

  .price-item {
    gap: 0.1rem;
  }

  .price-item .unit {
    font-size: 0.7rem;
  }

  .event-card h3 {
    font-size: 1.1rem;
  }

  .event-card p {
    font-size: 0.85rem;
  }

  .map-container iframe {
    min-height: 250px;
  }
}

/* 이벤트 모달 스타일 */
.event-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem;
}

.event-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 222, 198, 0.95));
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10001;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.event-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(90, 59, 40, 0.1);
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(90, 59, 40, 0.2);
  transform: rotate(90deg);
}

.modal-image {
  width: 100%;
  padding: 2rem 2rem 1rem;
}

.modal-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.modal-body {
  padding: 1.5rem 2rem 2.5rem;
}

.modal-body h3 {
  margin: 0 0 1.2rem;
  font-size: 1.6rem;
  color: var(--primary);
  text-align: center;
}

.modal-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
  text-align: center;
}

.modal-body p br {
  display: block;
  margin-bottom: 0.5rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .event-modal {
    padding: 1rem;
  }

  .modal-content {
    max-width: 100%;
    max-height: 95vh;
  }

  .modal-image {
    padding: 1.5rem 1.5rem 0.5rem;
  }

  .modal-body {
    padding: 1rem 1.5rem 2rem;
  }

  .modal-body h3 {
    font-size: 1.3rem;
  }

  .modal-body p {
    font-size: 0.98rem;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
}
