/* ============================================
   SAGE Clinic (세이지의원) Landing Page
   Soft, feminine, image-driven design
   Mobile-first, Korean-optimized
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Web Fonts --- */
@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'NanumSquare';
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquare/NanumSquareR.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'NanumSquare';
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquare/NanumSquareB.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'NanumSquare';
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquare/NanumSquareEB.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}

:root {
  --pink-50: #fff5f7;
  --pink-100: #ffe0e6;
  --pink-200: #ffb8c6;
  --pink-300: #ff94aa;
  --pink-400: #f2728e;
  --pink-500: #e8567a;
  --pink-600: #d43d62;
  --coral-main: #ff8a7a;
  --gradient-btn: linear-gradient(135deg, #f2728e 0%, #ff8a7a 100%);
  --gradient-hero: linear-gradient(180deg, #fff0f3 0%, #ffe0e6 100%);
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-700: #555555;
  --gray-800: #333333;
  --gray-900: #1a1a2e;
  --success: #00c853;
  --error: #ff1744;
  --shadow-sm: 0 2px 8px rgba(232, 86, 122, 0.08);
  --shadow-md: 0 4px 20px rgba(232, 86, 122, 0.12);
  --shadow-lg: 0 8px 32px rgba(232, 86, 122, 0.16);
  --shadow-btn: 0 6px 24px rgba(242, 114, 142, 0.4);
  --radius: 12px;
  --radius-lg: 16px;
  --font-display: 'GmarketSans', 'Pretendard Variable', sans-serif;
  --font-accent: 'NanumSquare', 'Pretendard Variable', sans-serif;
  --font-premium: 'Gowun Batang', 'Noto Serif KR', Georgia, serif;
  --font-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  word-break: keep-all;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* --- Clinic Header (sticky) --- */
.clinic-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pink-100);
  padding: 10px 0;
}

.clinic-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clinic-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clinic-logo img {
  height: 36px;
  width: auto;
}

.clinic-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.clinic-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clinic-phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pink-500);
  padding: 6px 10px;
  border: 1.5px solid var(--pink-200);
  border-radius: 50px;
  transition: all 0.2s;
}

.clinic-phone:hover {
  background: var(--pink-50);
  border-color: var(--pink-400);
}

.clinic-phone svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.clinic-kakao {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #3B1E1E;
  background: #FEE500;
  padding: 6px 10px;
  border: 1.5px solid #FEE500;
  border-radius: 50px;
  transition: all 0.2s;
}

.clinic-kakao:hover {
  background: #F5DC00;
  border-color: #F5DC00;
}

.clinic-kakao svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-btn);
  color: var(--white);
  font-size: 1.2rem;
  padding: 18px 48px;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(242, 114, 142, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-pulse {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(242, 114, 142, 0.4); }
  50% { box-shadow: 0 6px 36px rgba(242, 114, 142, 0.65); }
}

/* --- Hero --- */
.hero {
  position: relative;
  background: url('../assets/images/mv01.jpg') center / cover no-repeat;
  text-align: center;
  padding: 20px 0 64px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 240, 243, 0.88) 0%,
    rgba(255, 224, 230, 0.75) 50%,
    rgba(255, 210, 220, 0.85) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pink-500);
  background: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid var(--pink-200);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: var(--pink-500);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 2;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: center;
}

.hero-subtitle strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray-900);
  background-image: linear-gradient(0deg, rgba(255,138,122,0.25) 0%, rgba(255,138,122,0.25) 40%, transparent 40%);
  padding: 0 2px;
}

.dot-emphasis {
  position: relative;
}

.dot-emphasis::before {
  content: '·';
  position: absolute;
  top: -0.55em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1em;
  font-weight: 900;
  color: var(--coral-main);
  line-height: 1;
}

/* --- Hero Form --- */
.hero-form-wrapper {
  width: 100%;
  text-align: left;
}

/* --- Service Image --- */
.service-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.service-img.full-bleed {
  border-radius: 0;
}

/* --- Service Showcase --- */
.service-showcase {
  padding: 0;
}

.service-group {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--pink-100);
}

.service-group:last-child {
  border-bottom: none;
}

.service-group:nth-child(even) {
  background: var(--pink-50);
}

.service-group-label {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  color: var(--pink-400);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.service-group-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

/* --- Feature Boxes (3 white cards per section) --- */
.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-box {
  background: var(--white);
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(232, 86, 122, 0.1), 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-box-title {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.4;
}

.feature-box-sub {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-top: 4px;
}

.service-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-images.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-images.dual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: left center;
  border-radius: var(--radius);
}

.service-images.single img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --- Lead Form --- */
.form-section {
  padding: 64px 0;
  background: var(--gradient-hero);
}

.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--pink-100);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 1.55rem;
  color: var(--gray-700);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gray-800);
}

.form-group input {
  width: 100%;
  padding: 16px 18px;
  font-size: 1.05rem;
  font-family: inherit;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.btn-group-interest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-interest {
  position: relative;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1.5px solid var(--pink-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(232, 86, 122, 0.06);
}

.btn-interest:hover {
  border-color: var(--pink-300);
  color: var(--pink-500);
  background: var(--pink-50);
  box-shadow: 0 4px 14px rgba(232, 86, 122, 0.13);
  transform: translateY(-1px);
}

.btn-interest:active {
  transform: translateY(0);
}

.btn-interest.active {
  border-color: transparent;
  background: var(--gradient-btn);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(242, 114, 142, 0.35);
  transform: translateY(-1px);
}

.form-group input:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(242, 114, 142, 0.12);
}

.form-group input:focus::placeholder {
  color: transparent;
}

.form-group input.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.08);
}

.error-msg {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 18px;
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 1.3rem;
  margin-top: 8px;
  position: relative;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
}

.btn-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success {
  text-align: center;
  padding: 36px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--success);
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.form-success p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
}

.form-error {
  text-align: center;
  padding: 14px;
  background: #ffebee;
  border-radius: var(--radius);
  margin-top: 14px;
}

.form-error p {
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 700;
}

/* --- Checkbox group --- */
.form-group-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pink-500);
  cursor: pointer;
  flex-shrink: 0;
}

.form-group-checkbox label {
  display: inline;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  margin-bottom: 0;
}

.privacy-link {
  color: var(--pink-500);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-link:hover {
  color: var(--pink-600);
}

.form-group-checkbox .error-msg {
  width: 100%;
}

/* --- Privacy Popup --- */
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.privacy-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.privacy-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.privacy-popup-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
}

.privacy-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.privacy-close:hover {
  color: var(--gray-900);
}

.privacy-popup-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.privacy-popup-body p {
  margin-bottom: 16px;
}

.privacy-popup-body p:last-child {
  margin-bottom: 0;
}

.privacy-confirm {
  margin: 16px 24px 24px;
  padding: 14px;
  font-size: 1rem;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 16px;
}

.hidden {
  display: none !important;
}

/* --- Blocked Page --- */
.blocked-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 40px 20px;
  background: var(--gray-50);
}

.blocked-page h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-700);
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.footer-clinic-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.footer-info {
  margin-bottom: 2px;
}

.footer-privacy {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.footer-copyright {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* --- Floating CTA Button --- */
.floating-cta-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 100;
  background: var(--gradient-btn);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(242, 114, 142, 0.5);
  animation: pulse 2.5s infinite;
  transition: transform 0.2s;
}

.floating-cta-btn:hover {
  transform: translateY(-2px);
}

.floating-cta-btn.visible {
  display: block;
}

/* --- Before & After --- */
.ba-section {
  padding: 56px 0 48px;
  background: var(--gray-50);
}

.ba-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ba-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ba-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ba-label {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
  text-align: center;
  padding: 10px 8px;
}

/* --- Price Inline (inside hero) --- */
.price-inline {
  width: 100%;
  text-align: center;
  padding: 28px 20px 20px;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
}

.price-inline .price-headline {
  color: rgba(255, 255, 255, 0.8);
}

.price-inline .price-headline strong {
  color: #ff94aa;
}

.price-inline .price-headline-big {
  color: var(--white);
}

.price-inline .price-row {
  color: rgba(255, 255, 255, 0.7);
}

.price-inline .price-note {
  color: rgba(255, 255, 255, 0.45);
}

.price-headline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.price-headline strong {
  font-weight: 700;
  color: var(--pink-500);
}

.price-headline-big {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 20px;
}

.price-highlight {
  background: var(--gradient-btn);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 6px;
}

.price-row {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.price-arrows {
  color: var(--gray-400);
  font-size: 0.9rem;
  letter-spacing: -2px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--pink-500) 0%, #6a5acd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-unit {
  font-size: 2rem;
}

.price-note {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: 4px;
}

.trust-divider {
  color: var(--pink-200);
}

/* --- Section Subtitle --- */
.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* --- Problem Section --- */
.problem-section {
  padding: 56px 0 48px;
  background: var(--white);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.problem-item {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.problem-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
}

.problem-num {
  font-family: var(--font-premium);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink-500);
  line-height: 1;
  flex-shrink: 0;
}

.problem-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, var(--pink-300), var(--pink-100));
  margin: 8px 0 4px;
  border-radius: 2px;
}

.problem-content {
  flex: 1;
  padding-bottom: 28px;
}

.problem-item:last-child .problem-content {
  padding-bottom: 0;
}

.problem-card-title {
  font-family: var(--font-premium);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.5;
}

.problem-highlight {
  color: var(--pink-600);
  position: relative;
}

.problem-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 8px;
  background: rgba(242, 114, 142, 0.18);
  border-radius: 2px;
  z-index: -1;
}

.problem-card-desc {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.problem-closing {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  padding: 22px 20px;
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
}

.problem-closing strong {
  color: var(--white);
  font-family: var(--font-display);
}

/* --- Diagnosis Section --- */
.diagnosis-section {
  padding: 56px 0 48px;
  background: var(--pink-50);
}

.diagnosis-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.diagnosis-step {
  background: var(--white);
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.diagnosis-step-num {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--pink-400);
  margin-bottom: 8px;
}

.diagnosis-step-title {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.diagnosis-step-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.diagnosis-callout {
  background: var(--gray-900);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.diagnosis-callout p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
}

.diagnosis-callout strong {
  color: var(--coral-main);
  font-weight: 700;
}

/* --- Testimonial Section --- */
.testimonial-section {
  padding: 56px 0 48px;
  background: var(--white);
}

/* --- Carousel --- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -16px;
  padding: 0 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--pink-100);
}

/* --- Headline (premium font) --- */
.testimonial-headline {
  font-family: var(--font-premium);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  text-align: center;
}

/* --- Before / After structure --- */
.testimonial-body {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.85;
}

.t-before,
.t-after {
  position: relative;
  margin-bottom: 14px;
  padding: 14px 16px 14px 16px;
  border-radius: 10px;
}

.t-before {
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
}

.t-after {
  background: linear-gradient(135deg, rgba(242, 114, 142, 0.06), rgba(255, 138, 122, 0.06));
  border: 1px solid var(--pink-100);
  margin-bottom: 0;
}

.t-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.t-before .t-label {
  background: var(--gray-800);
  color: var(--white);
}

.t-before .t-label::before {
  content: "\2716";
  font-size: 0.6rem;
}

.t-after .t-label {
  background: linear-gradient(135deg, var(--pink-500), var(--coral-main));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(242, 114, 142, 0.35);
}

.t-after .t-label::before {
  content: "\2714";
  font-size: 0.6rem;
}

/* --- Keyword highlights --- */
/* Numbers / measurements — strongest: marker highlight */
mark.num {
  background: linear-gradient(180deg, transparent 45%, rgba(242, 114, 142, 0.3) 45%, rgba(242, 114, 142, 0.3) 85%, transparent 85%);
  color: var(--pink-600);
  font-weight: 800;
  padding: 0 2px;
}

.testimonial-headline mark.num {
  color: var(--pink-600);
  font-weight: 700;
}

/* Failed treatments — subtle red-ish muted */
.kw-fail {
  color: var(--gray-800);
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 23, 68, 0.35);
  text-decoration-thickness: 2px;
}

/* Clinic name — brand pink bold */
.kw-clinic {
  color: var(--pink-500);
  font-weight: 800;
}

/* Emotional impact — warm accent */
.kw-emotion {
  color: var(--gray-900);
  font-weight: 700;
}

/* --- Carousel buttons --- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow-md);
  font-size: 1.4rem;
  color: var(--pink-500);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--pink-500);
  color: var(--white);
}

.carousel-btn-prev {
  left: 4px;
}

.carousel-btn-next {
  right: 4px;
}

/* --- Carousel dots --- */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--pink-200);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--pink-500);
  transform: scale(1.3);
}

/* --- Target Audience Section --- */
.target-section {
  padding: 56px 0 48px;
  background: var(--pink-50);
}

.target-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.target-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.target-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-btn);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50%;
}

.target-item p {
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.6;
}

.target-item strong {
  color: var(--gray-900);
  font-weight: 700;
}

/* --- BA Expand --- */
.ba-hidden {
  display: none;
}

.ba-hidden.ba-visible {
  display: block;
}

.ba-expand-btn {
  display: block;
  margin: 20px auto 0;
  padding: 12px 28px;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pink-500);
  background: var(--white);
  border: 1.5px solid var(--pink-200);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}

.ba-expand-btn:hover {
  background: var(--pink-50);
  border-color: var(--pink-400);
}

.ba-expand-btn.expanded {
  display: none;
}

/* --- Treatment Features Section --- */
.treatment-section {
  padding: 56px 0 48px;
  background: var(--gray-50);
}

.treatment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.treatment-card {
  background: var(--white);
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.treatment-card-title {
  font-family: var(--font-accent);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
  line-height: 1.4;
}

.treatment-card-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* --- Post-Care Section --- */
.postcare-section {
  padding: 56px 0 48px;
  background: var(--white);
  border-top: 1px solid var(--pink-100);
}

.postcare-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.postcare-card {
  background: var(--pink-50);
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.postcare-card-title {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.postcare-card-desc {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.postcare-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.postcare-dont {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--error);
  background: rgba(255, 23, 68, 0.06);
  padding: 8px 14px;
  border-radius: 8px;
}

.postcare-do {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(0, 200, 83, 0.06);
  padding: 8px 14px;
  border-radius: 8px;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 56px 0 48px;
  background: var(--gray-50);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  font-family: var(--font-accent);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-900);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
}

.faq-arrow {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--pink-400);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* --- Promo Banner --- */
.promo-banner {
  padding: 40px 0;
  background: var(--white);
}

.promo-inner {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, #fff0f3 0%, #ffe0e6 50%, #fff5f7 100%);
  border: 2px solid var(--pink-200);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.promo-inner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(242, 114, 142, 0.08);
  border-radius: 50%;
}

.promo-inner::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 90px;
  height: 90px;
  background: rgba(255, 138, 122, 0.08);
  border-radius: 50%;
}

.promo-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--coral-main));
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(242, 114, 142, 0.35);
}

.promo-title {
  font-family: var(--font-premium);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.5;
}

.promo-reward {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.7;
}

.promo-bogo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--coral-main));
  padding: 2px 14px;
  border-radius: 8px;
  margin-left: 4px;
  box-shadow: 0 2px 8px rgba(242, 114, 142, 0.3);
}

/* --- Final CTA Section --- */
.final-cta {
  padding: 64px 0;
  background: var(--gradient-hero);
  text-align: center;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.final-cta-subtitle {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 28px;
}

.final-cta-btn {
  font-size: 1.15rem;
  padding: 18px 48px;
}

/* --- Footer Disclaimer --- */
.footer-disclaimer {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Desktop --- */
@media (min-width: 768px) {
  .container {
    max-width: 640px;
  }

  body {
    font-size: 18px;
  }

  .clinic-logo-text {
    font-size: 1.3rem;
  }

  .clinic-phone {
    font-size: 0.9rem;
    padding: 8px 16px;
    gap: 6px;
  }

  .clinic-phone svg {
    width: 16px;
    height: 16px;
  }

  .clinic-kakao {
    font-size: 0.9rem;
    padding: 8px 16px;
    gap: 6px;
  }

  .hero {
    padding: 80px 0 72px;
    min-height: 520px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .btn-primary {
    font-size: 1.25rem;
    padding: 20px 56px;
  }

  .service-group {
    padding: 64px 0 56px;
  }

  .service-group-title {
    font-size: 2.2rem;
  }

  .service-group-label {
    font-size: 1rem;
  }

  .service-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .feature-box {
    padding: 20px 12px;
    flex-direction: column;
  }

  .feature-box-title {
    font-size: 1.2rem;
  }

  .service-images.dual {
    gap: 16px;
  }

  .service-images.dual img {
    height: 300px;
  }

  .service-images.single img {
    height: 300px;
  }

  .form-wrapper {
    padding: 48px 40px;
  }

  .form-title {
    font-size: 1.8rem;
  }

  .ba-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .trust-bar {
    font-size: 0.82rem;
    gap: 8px;
  }

  .problem-list {
    flex-direction: row;
    gap: 32px;
  }

  .problem-item {
    flex-direction: column;
    flex: 1;
    gap: 0;
  }

  .problem-num-col {
    flex-direction: row;
    width: auto;
    gap: 8px;
    margin-bottom: 12px;
  }

  .problem-line {
    height: 2px;
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, var(--pink-300), var(--pink-100));
  }

  .problem-content {
    padding-bottom: 0;
  }

  .diagnosis-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .treatment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .postcare-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .final-cta-title {
    font-size: 2.4rem;
  }

  .price-headline {
    font-size: 1.5rem;
  }

  .price-headline-big {
    font-size: 2.8rem;
  }

  .price-amount {
    font-size: 6rem;
  }
}
