:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --accent-primary: #0d9488;
  --accent-secondary: #14b8a6;
  --accent-gradient: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  --accent-gradient-hover: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-border: rgba(226, 232, 240, 0.88);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 148, 136, 0.08);
  --shadow-lg: 0 24px 56px rgba(15, 148, 136, 0.15);
  --header-bg: rgba(255, 255, 255, 0.82);
  --badge-bg: rgba(13, 148, 136, 0.1);
  --badge-text: #0f766e;
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Noto Sans KR', 'Outfit', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: #fff; background: var(--accent-gradient); box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28); }
.btn-primary:hover { background: var(--accent-gradient-hover); box-shadow: 0 14px 30px rgba(13, 148, 136, 0.34); }
.btn-secondary { color: var(--text-primary); background: var(--bg-secondary); border: 2px solid var(--card-border); }
.btn-secondary:hover { background: var(--card-border); }
.badge { display: inline-block; padding: 7px 16px; color: var(--badge-text); background: var(--badge-bg); border-radius: 999px; font-size: .86rem; font-weight: 800; margin-bottom: 16px; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.22; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-desc { max-width: 660px; margin: 0 auto 50px; color: var(--text-secondary); text-align: center; font-size: 1.08rem; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: var(--header-bg); border-bottom: 1px solid var(--card-border); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 900; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-primary); font-weight: 700; font-size: .95rem; transition: color .2s ease; }
.nav-links a:hover { color: var(--accent-primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-primary); background: transparent; border: 2px solid var(--card-border); border-radius: 50%; cursor: pointer; font-weight: 900; }
.menu-btn:hover { background: var(--card-border); }
.menu-btn { display: none; }

.hero { padding: 158px 0 96px; background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, .12), transparent 45%), radial-gradient(circle at 10% 80%, rgba(13, 148, 136, .08), transparent 50%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(36px, 6vw, 68px); }
.hero-text h1 { margin-bottom: 24px; font-size: clamp(2.7rem, 5vw, 4.25rem); line-height: 1.18; font-weight: 900; letter-spacing: -1.4px; }
.hero-text h1 .highlight { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { max-width: 680px; margin-bottom: 34px; color: var(--text-secondary); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image-wrapper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-lg); }
.hero-image-wrapper img { height: 100%; object-fit: cover; transition: transform .65s ease; }
.hero-image-wrapper:hover img { transform: scale(1.05); }

.keywords-bar { padding: 34px 0; background: var(--bg-secondary); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.keywords-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.keyword-tag { padding: 10px 18px; background: var(--bg-primary); border: 1px solid var(--card-border); border-radius: 999px; color: var(--text-secondary); font-size: .92rem; font-weight: 800; transition: all .25s ease; }
.keyword-tag:hover { color: var(--accent-primary); border-color: var(--accent-primary); transform: translateY(-2px); }

.sales-note { padding: 74px 0 24px; background: linear-gradient(180deg, #fff 0%, rgba(236, 253, 245, .48) 100%); }
.sales-note-box { position: relative; overflow: hidden; padding: clamp(34px, 5vw, 58px); border: 1px solid rgba(20, 184, 166, .22); border-radius: 28px; background: #fff; box-shadow: var(--shadow-md); }
.sales-note-box::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, .2), transparent 68%); pointer-events: none; }
.sales-note-box h2 { position: relative; max-width: 960px; margin: 18px 0 18px; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.28; font-weight: 900; }
.sales-note-box h2 span { color: var(--accent); }
.sales-note-box p { position: relative; max-width: 850px; color: var(--text-secondary); font-size: 1.12rem; line-height: 1.82; }
.sales-note-points { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.sales-note-points strong { display: flex; align-items: center; min-height: 74px; padding: 18px 20px; border-radius: 18px; background: var(--bg-secondary); border: 1px solid var(--card-border); color: var(--text-primary); font-size: 1rem; line-height: 1.45; }
.sales-note-points strong::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; margin-right: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(20, 184, 166, .13); }

.intro, .facility, .price-section, .faq-section { padding: 96px 0; }
.intro-box, .booking-card, .compare-box { position: relative; overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--card-border); border-radius: 32px; box-shadow: var(--shadow-md); }
.intro-box { padding: clamp(36px, 6vw, 62px); text-align: center; }
.intro-box::before { content: '"'; position: absolute; top: 4px; left: 34px; color: var(--card-border); font-family: serif; font-size: 12rem; line-height: 1; opacity: .28; }
.intro-box h2 { position: relative; margin-bottom: 22px; font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.36; font-weight: 900; }
.intro-box p { position: relative; max-width: 820px; margin: 0 auto 30px; color: var(--text-secondary); font-size: 1.08rem; line-height: 1.85; }

.process, .compare-section { padding: 96px 0; background: var(--bg-secondary); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.process-grid, .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card, .price-card, .feature-item, .compare-card, .faq-list details { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px; box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.process-card { position: relative; padding: 38px; overflow: hidden; }
.process-card:hover, .price-card:hover, .feature-item:hover, .faq-list details:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent-secondary); }
.process-step { position: absolute; top: 20px; right: 28px; font-family: 'Outfit', sans-serif; font-size: 3.4rem; font-weight: 900; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: .16; }
.process-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 24px; color: #fff; background: var(--accent-gradient); border-radius: 16px; font-weight: 900; }
.process-card h3, .price-card h3 { margin-bottom: 14px; font-size: 1.35rem; font-weight: 850; }
.process-card p, .price-card p, .feature-item p, .compare-card p, .faq-list p { color: var(--text-secondary); }

.facility-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 54px; }
.facility-image-wrapper { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-lg); }
.facility-image-wrapper img { height: 100%; object-fit: cover; }
.features-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-item { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.feature-icon-wrapper { display: flex; align-items: center; gap: 10px; }
.feature-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: var(--accent-primary); background: var(--badge-bg); border-radius: 12px; font-weight: 900; }
.feature-item h4 { font-size: 1.08rem; font-weight: 850; }

.price-section { background: radial-gradient(circle at 80% 20%, rgba(20,184,166,.08), transparent 44%); }
.price-card { padding: 32px; }
.price-card.featured { color: #fff; background: var(--accent-gradient); }
.price-card.featured .badge { color: #fff; background: rgba(255,255,255,.16); }
.price-card.featured p { color: rgba(255,255,255,.84); }
.price-card strong { display: block; margin: 12px 0 14px; font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; }

.compare-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; padding: clamp(30px, 5vw, 52px); }
.compare-box h2 { margin-top: 8px; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.3; }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.compare-card { padding: 24px; }
.compare-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.compare-card.strong { color: #fff; background: var(--accent-gradient); border-color: transparent; }
.compare-card.strong p { color: rgba(255,255,255,.86); }

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { padding: 0; background: var(--bg-secondary); }
.faq-list summary { cursor: pointer; padding: 22px 24px; list-style: none; font-size: 1.05rem; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; color: var(--accent-primary); }
.faq-list details[open] summary::after { content: '-'; }
.faq-list p { padding: 0 24px 24px; }

.booking { padding: 96px 0; background: linear-gradient(135deg, rgba(13,148,136,.07), rgba(20,184,166,.07)); border-top: 1px solid var(--card-border); }
.booking-card { max-width: 880px; margin: 0 auto; padding: clamp(30px, 5vw, 52px); }
.booking-head { text-align: center; }
.booking-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.55rem); line-height: 1.3; font-weight: 900; }
.booking-head p { margin-top: 10px; color: var(--text-secondary); }
.booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 34px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { color: var(--text-primary); font-weight: 800; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; color: var(--text-primary); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 14px; font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 4px rgba(13,148,136,.12); }

.modal-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.55); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal { max-width: 420px; width: 100%; padding: 34px; text-align: center; background: var(--bg-secondary); border: 1px solid var(--card-border); border-radius: 28px; box-shadow: var(--shadow-lg); transform: translateY(18px); transition: transform .25s ease; }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; color: #fff; background: var(--accent-gradient); border-radius: 50%; font-size: 1.6rem; font-weight: 900; }
.modal h3 { margin-bottom: 8px; font-size: 1.4rem; }
.modal p { margin-bottom: 22px; color: var(--text-secondary); }

footer { padding: 54px 0 0; color: #e2e8f0; background: #0f172a; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.footer-logo { display: inline-block; margin-bottom: 12px; color: #fff; font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 900; }
.footer-info p, .footer-links p { color: #94a3b8; }
.footer-links { text-align: right; }
.sns-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-bottom: 12px; padding: 0 16px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.footer-links .sns-btn + .sns-btn { margin-left: 8px; }
.sns-btn-kakao { color: #3c1e1e; background: #fee500; border-color: #fee500; }
.sns-btn-kakao:hover { background: #ffeb3d; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(254,229,0,.28); }
.copyright { margin-top: 36px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: #64748b; font-size: .9rem; }

@media (max-width: 992px) {
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 24px; background: var(--header-bg); border-bottom: 1px solid var(--card-border); backdrop-filter: blur(18px); }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 14px 0; }
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .hero-grid, .facility-grid, .compare-box, .footer-grid { grid-template-columns: 1fr; }
  .sales-note-points { grid-template-columns: 1fr; }
  .compare-box { text-align: center; }
  .footer-links { text-align: left; }
}
@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .hero { padding: 126px 0 72px; }
  .process-grid, .price-grid, .features-list, .compare-grid, .booking-form { grid-template-columns: 1fr; }
  .intro, .process, .facility, .price-section, .compare-section, .faq-section, .booking { padding: 72px 0; }
}
/* Sample click emphasis */
.sample-feature {
  position: relative;
  min-height: 250px;
  padding-bottom: 74px;
  overflow: hidden;
}

.sample-feature::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 18% 22%, rgba(255,255,255,.35), transparent 32%), linear-gradient(135deg, var(--sample-a), var(--sample-b));
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.28s ease, transform 0.45s ease;
  content: "";
}

.sample-feature > * {
  position: relative;
  z-index: 1;
}

.sample-feature:hover::before {
  opacity: 1;
  transform: scale(1.02);
}

.sample-feature:hover h4,
.sample-feature:hover p {
  color: #fff;
}

.sample-feature:hover .feature-icon {
  color: #0f172a;
  background: #fff;
}

.sample-feature::after {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 11px;
  color: #fff;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  content: "샘플 보기";
}

.sample-cta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: #fff;
  background: var(--accent-gradient);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(13, 148, 136, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sample-feature:hover .sample-cta {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(13, 148, 136, 0.36);
}

.cafe-sample { --sample-a: #0f766e; --sample-b: #f59e0b; }
.beauty-sample { --sample-a: #be185d; --sample-b: #f9a8d4; }
.academy-sample { --sample-a: #1d4ed8; --sample-b: #67e8f9; }
.kids-sample { --sample-a: #7c3aed; --sample-b: #facc15; }

.samples-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  padding: 9px 16px;
  color: var(--badge-text);
  background: var(--badge-bg);
  border-radius: 999px;
  font-weight: 900;
}
.support-section {
  padding: 96px 0;
  background: radial-gradient(circle at 12% 20%, rgba(13, 148, 136, 0.1), transparent 42%), var(--bg-primary);
  border-top: 1px solid var(--card-border);
}

.support-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.support-box h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.28;
  font-weight: 900;
}

.support-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.support-points {
  display: grid;
  gap: 12px;
}

.support-points div {
  padding: 18px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: 18px;
}

.support-points strong,
.support-points span {
  display: block;
}

.support-points strong {
  margin-bottom: 5px;
  font-weight: 900;
}

.support-points span {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

@media (max-width: 992px) {
  .support-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .support-section {
    padding: 72px 0;
  }
}
.direct-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.direct-contact a,
.direct-contact span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--badge-text);
  background: var(--badge-bg);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 850;
}
.support-photo {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  background: var(--bg-secondary);
}

.support-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.support-photo figcaption {
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}
/* Contextual website-preview visuals */
.sample-preview-board {
  aspect-ratio: auto;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.62fr;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 18%, rgba(20, 184, 166, 0.18), transparent 32%),
    linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}

.preview-browser,
.mini-preview {
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
}

.preview-browser {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 24px;
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--card-border);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.45;
}

.preview-hero {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 250px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.72)),
    linear-gradient(135deg, #0f766e, #f59e0b);
}

.preview-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.preview-hero strong {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.preview-hero small {
  font-weight: 850;
}

.preview-lines {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.preview-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--card-border);
}

.preview-lines i:nth-child(2) { width: 74%; }
.preview-lines i:nth-child(3) { width: 48%; }

.preview-stack {
  display: grid;
  gap: 14px;
}

.mini-preview {
  display: grid;
  align-content: center;
  min-height: 128px;
  padding: 22px;
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mini-preview:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.mini-preview span {
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.mini-preview strong {
  margin-top: 6px;
  font-size: 1.4rem;
}

.sample-feature:hover::before {
  opacity: 0.94;
}

.sample-feature:hover .sample-cta {
  background: #ffffff;
  color: #0f172a;
}

@media (max-width: 760px) {
  .sample-preview-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}
.media-proof {
  padding: 96px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--card-border);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.media-card {
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.media-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card div {
  padding: 22px;
}

.media-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--badge-text);
  background: var(--badge-bg);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.82rem;
  font-weight: 900;
}

.media-card strong {
  display: block;
  font-size: 1.13rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .media-proof {
    padding: 72px 0;
  }
}
/* Portfolio sample gallery */
.sample-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 8px 16px;
  color: var(--badge-text);
  background: var(--badge-bg);
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.sample-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.sample-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.sample-track.animate {
  animation: sampleMarquee 46s linear infinite;
}

.sample-marquee:hover .sample-track.animate,
.sample-track.animate:focus-within {
  animation-play-state: paused;
}

@keyframes sampleMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.portfolio-card {
  position: relative;
  display: flex;
  width: min(360px, 82vw);
  flex: 0 0 auto;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.portfolio-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.38) 42%, transparent 62%);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 0.65s ease, opacity 0.25s ease;
  content: "";
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-secondary);
  box-shadow: 0 28px 70px rgba(13, 148, 136, 0.18);
}

.portfolio-card:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.portfolio-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.portfolio-shot::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5));
  content: "";
}

.portfolio-shot img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.portfolio-card:hover .portfolio-shot img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.02);
}

.portfolio-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.portfolio-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.portfolio-type {
  color: var(--accent-primary);
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
}

.portfolio-copy h3 {
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
  line-height: 1.25;
  font-weight: 900;
}

.portfolio-copy p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.portfolio-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.portfolio-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.portfolio-card .sample-cta {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  color: #fff;
  background: var(--accent-gradient);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(13, 148, 136, 0.25);
  transform: translateY(0);
}

.portfolio-card:hover .sample-cta {
  color: #fff;
  background: var(--accent-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(13, 148, 136, 0.34);
}

.portfolio-academy { --sample-ring: #0d9488; }
.portfolio-beauty { --sample-ring: #be185d; }
.portfolio-food { --sample-ring: #92400e; }
.portfolio-kids { --sample-ring: #2563eb; }
.portfolio-fnb { --sample-ring: #e2560f; }
.portfolio-industrial { --sample-ring: #4a545f; }
.portfolio-stay { --sample-ring: #9a744a; }

.portfolio-card:hover .portfolio-tag {
  background: var(--sample-ring);
}

@media (max-width: 760px) {
  .sample-track {
    gap: 18px;
  }

  .sample-marquee {
    margin-top: 26px;
  }

  .portfolio-card {
    width: min(300px, 78vw);
  }

  .portfolio-copy {
    padding: 20px;
  }

  .portfolio-shot {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sample-track.animate {
    animation: none;
  }
  .sample-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
/* Keep deep-linked sections visible even before scroll animation runs */
.id-target:target .reveal,
.id-target:target.reveal {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-primary);
}

.not-found-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
}

.not-found-page p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

/* ===== v2 upgrade: hero mockup stack ===== */
.hero-visual { position: relative; }
.mockup-stack { position: relative; aspect-ratio: 4 / 3.15; }
.browser-mockup { position: absolute; overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--card-border); border-radius: 14px; box-shadow: var(--shadow-lg); will-change: transform; }
.browser-mockup img { display: block; width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef2f7; border-bottom: 1px solid var(--card-border); }
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-r { background: #f87171; } .dot-y { background: #fbbf24; } .dot-g { background: #34d399; }
.browser-url { flex: 1; margin-left: 6px; padding: 3px 12px; background: #fff; border-radius: 999px; color: var(--text-secondary); font-size: .68rem; font-weight: 700; letter-spacing: .2px; white-space: nowrap; overflow: hidden; }
.mockup-main { top: 4%; left: 0; width: 78%; z-index: 2; animation: floatY 7s ease-in-out infinite; }
.mockup-float { width: 46%; z-index: 3; }
.mockup-float-a { right: 0; top: 34%; animation: floatY 8.5s ease-in-out 1.2s infinite; }
.mockup-float-b { left: 10%; bottom: 0; width: 42%; animation: floatY 9.5s ease-in-out .6s infinite; }
.float-chip { position: absolute; z-index: 4; padding: 10px 16px; background: var(--bg-secondary); border: 1px solid var(--card-border); border-radius: 999px; box-shadow: var(--shadow-md); color: var(--text-primary); font-size: .85rem; font-weight: 800; white-space: nowrap; }
.chip-a { top: 0; right: 6%; animation: floatY 6.5s ease-in-out .3s infinite; }
.chip-a::before { content: "✓ "; color: var(--accent-primary); }
.chip-b { bottom: 10%; right: 2%; color: #fff; background: var(--accent-gradient); border-color: transparent; animation: floatY 7.5s ease-in-out 1.8s infinite; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* hero text stagger */
.stagger-word { display: inline-block; opacity: 0; transform: translateY(26px); }
.reveal.active .stagger-word { animation: wordUp .55s cubic-bezier(.22,.9,.3,1) forwards; }
.reveal.active .stagger-word:nth-child(1) { animation-delay: .05s; }
.reveal.active .stagger-word:nth-child(2) { animation-delay: .15s; }
.reveal.active .highlight .stagger-word:nth-child(1) { animation-delay: .3s; }
.reveal.active .highlight .stagger-word:nth-child(2) { animation-delay: .4s; }
.reveal.active .highlight .stagger-word:nth-child(3) { animation-delay: .5s; }
.reveal.active .highlight .stagger-word:nth-child(4) { animation-delay: .6s; }
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }

/* stats bar */
.stats-bar { padding: 38px 0; background: var(--bg-secondary); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-item strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 900; color: var(--accent-primary); letter-spacing: -.5px; }
.stat-label { color: var(--text-secondary); font-size: .95rem; font-weight: 700; }
.delay-3 { transition-delay: .36s; }

/* process icon → svg */
.process-icon svg { width: 30px; height: 30px; }

/* compare table */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: 20px; background: var(--bg-secondary); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--card-border); white-space: nowrap; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table thead th { font-size: .9rem; color: var(--text-secondary); }
.compare-table thead .col-strong { color: var(--accent-primary); font-size: 1rem; }
.compare-table tbody th { color: var(--text-secondary); font-weight: 700; }
.compare-table .col-strong { background: rgba(13, 148, 136, .06); color: var(--text-primary); font-weight: 800; }
.mark-o { color: var(--accent-primary); font-weight: 900; margin-right: 4px; }
.mark-x { color: #cbd5e1; font-weight: 900; margin-right: 4px; }

/* kakao-style chat demo */
.chat-demo-section { padding: clamp(64px, 9vw, 110px) 0; }
.chat-window { max-width: 560px; margin: 0 auto; overflow: hidden; background: #b2c7d9; border-radius: 24px; box-shadow: var(--shadow-lg); }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #a6bdd1; }
.chat-header strong { display: block; font-size: 1rem; color: #1e293b; }
.chat-status { font-size: .78rem; color: #47617a; }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; background: var(--accent-gradient); border-radius: 16px; color: #fff; font-weight: 900; }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 20px; }
.chat-bubble { max-width: 78%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.55; }
.chat-bubble.left { align-self: flex-start; background: #fff; border-top-left-radius: 4px; color: #1e293b; }
.chat-bubble.right { align-self: flex-end; background: #fee500; border-top-right-radius: 4px; color: #1e293b; }
.chat-bubble.typing { display: flex; gap: 5px; align-items: center; min-height: 38px; }
.chat-bubble.typing span { width: 7px; height: 7px; background: #94a3b8; border-radius: 50%; animation: typingDot 1.2s ease-in-out infinite; }
.chat-bubble.typing span:nth-child(2) { animation-delay: .18s; }
.chat-bubble.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-cta { padding: 0 20px 24px; text-align: center; }
.chat-cta .btn { width: 100%; }

@media (max-width: 900px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .mockup-stack { max-width: 480px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .browser-mockup, .float-chip { animation: none !important; }
  .stagger-word { opacity: 1; transform: none; animation: none !important; }
}

/* fix: background-clip:text breaks when child spans carry transforms — clip per word instead */
.hero-text h1 .highlight { background: none; -webkit-text-fill-color: initial; }
.hero-text h1 .highlight .stagger-word { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== v3: hero single-column (mockup stack removed) ===== */
.hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-text p { margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }
.hero { padding: 150px 0 84px; }

/* ===== v3: portfolio carousel with arrows ===== */
.sample-carousel { position: relative; margin-top: 34px; }
.sample-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.sample-viewport::-webkit-scrollbar { display: none; }
.sample-viewport .sample-track { display: flex; gap: 24px; width: max-content; animation: none !important; }
.sample-viewport .portfolio-card { scroll-snap-align: center; }

.carousel-arrow {
  position: absolute; top: 42%; z-index: 5;
  display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-arrow svg { width: 24px; height: 24px; }
.carousel-arrow:hover { color: #fff; background: var(--accent-gradient); border-color: transparent; transform: scale(1.08); }
.carousel-arrow:active { transform: scale(.96); }
.carousel-arrow:focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 3px; }
.carousel-arrow[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

.carousel-hint { margin-top: 6px; color: var(--text-secondary); font-size: .88rem; font-weight: 700; text-align: center; }

@media (max-width: 900px) {
  .carousel-arrow { width: 44px; height: 44px; }
  .carousel-arrow svg { width: 20px; height: 20px; }
  .carousel-prev { left: 2px; }
  .carousel-next { right: 2px; }
}
@media (max-width: 600px) {
  .hero { padding: 118px 0 64px; }
  .carousel-arrow { top: auto; bottom: -6px; }
  .carousel-hint { margin-top: 52px; }
}

/* v3 cleanup: hero mockup stack removed from markup */
.mockup-stack, .browser-mockup, .float-chip, .hero-visual { display: none !important; }

/* ===== booking: KakaoTalk-first CTA =====
   The submit form only ever produced an sms: link, which does nothing on
   desktop. Open chat is the single action that works on every device. */
.booking-actions { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 18px; }

.kakao-cta {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 100%; max-width: 460px;
  padding: 22px 28px;
  color: #191600;
  background: #FEE500;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(254, 229, 0, .32);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.kakao-cta:hover { background: #ffec4d; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(254, 229, 0, .42); }
.kakao-cta:active { transform: translateY(-1px); }
.kakao-cta:focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 4px; }
.kakao-cta-main { font-size: 1.22rem; font-weight: 900; letter-spacing: -.02em; }
.kakao-cta-sub { font-size: .93rem; font-weight: 600; color: rgba(25, 22, 0, .68); }

.booking-alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.booking-alt a {
  min-height: 44px; display: inline-flex; align-items: center;
  color: var(--text-secondary); font-size: .96rem; font-weight: 700;
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.booking-alt a:hover { color: var(--accent-primary); border-color: var(--accent-primary); }

@media (max-width: 600px) {
  .kakao-cta { padding: 20px 18px; }
  .kakao-cta-main { font-size: 1.1rem; }
  .kakao-cta-sub { font-size: .87rem; }
  .booking-alt { flex-direction: column; gap: 2px; }
}
