/* ============================================================
   penoplasty.css — 음경성형술 페이지 전용
   ============================================================ */

:root {
  --primary:        #1a4a7e;
  --primary-dark:   #102f54;
  --primary-light:  #edf4fb;
  --accent:         #2e6aaa;
  --accent-light:   #cce0f5;
  --border:         #b8d4ee;
  --bg-light:       #f4f8fd;
  --bg-section:     #f7f7f7;
  --shadow:         0 8px 32px rgba(26,74,126,0.10);
  --shadow-lg:      0 20px 56px rgba(26,74,126,0.14);
}

.hero-section { background: linear-gradient(135deg, #0a1e3a 0%, #1a4a7e 55%, #2e6aaa 100%); }
.hero-overlay { background: linear-gradient(105deg, rgba(10,30,58,0.92) 0%, rgba(26,74,126,0.70) 42%, rgba(26,74,126,0.18) 75%, transparent 100%); }
.cta-section  { background: linear-gradient(135deg, #0a1e3a 0%, #1a4a7e 100%); }

/* ── 수술 히어로 공통 ── */
.op-hero {
  position: relative; width: 100%; min-height: 460px;
  border-radius: var(--radius); overflow: hidden; margin-bottom: 40px;
  background: linear-gradient(135deg, #0a1e3a 0%, #1a4a7e 55%, #2e6aaa 100%);
  box-shadow: 0 24px 64px rgba(26,74,126,0.20);
}
.op-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: 0; transition: opacity 0.35s; }
.op-hero-img.loaded { opacity: 1; }
.op-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,30,58,0.92) 0%, rgba(26,74,126,0.65) 44%, rgba(26,74,126,0.15) 72%, transparent 100%);
}
.op-hero-content { position: relative; z-index: 2; padding: 56px 64px; max-width: 640px; color: #fff; }
.op-kicker { font-weight: 700; letter-spacing: 4px; color: rgba(255,255,255,0.55); text-transform: uppercase; margin-bottom: 14px; }
.op-hero-content h3 { font-size: clamp(24px,3.2vw,38px); font-weight: 900; line-height: 1.22; margin-bottom: 18px; }
.op-hero-content h3 em { font-style: normal; color: #a8d4ff; }
.op-hero-content p { opacity: 0.88; line-height: 1.85; margin-bottom: 28px; }
.op-points { display: flex; flex-wrap: wrap; gap: 10px; }
.op-point { border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.9); font-weight: 600; padding: 8px 18px; border-radius: 2px; }
.op-callouts { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.op-callout { background: rgba(255,255,255,0.96); border-radius: var(--radius); padding: 16px 22px; min-width: 190px; box-shadow: 0 6px 20px rgba(0,0,0,0.16); }
.op-callout strong { display: block; color: var(--primary-dark); margin-bottom: 4px; }
.op-callout span   { color: var(--text-muted); }

/* 바세린 before-after 이미지 */
.before-after { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 32px 0; }
.ba-item { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.ba-item-img { width: 100%; aspect-ratio: 3/4; background: var(--bg-section); position: relative; display: flex; align-items: center; justify-content: center; }
.ba-item-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.ba-item-img img[src]:not([src=""]) { display: block; }
.ba-label { text-align: center; padding: 10px; font-weight: 700; background: var(--primary); color: #fff; }
.ba-label.before { background: var(--bg-section); color: var(--text-muted); }

/* 필요한 경우 체크 */
.need-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.need-check-item { display: flex; gap: 12px; align-items: center; background: var(--primary-light); border-radius: var(--radius); padding: 16px 18px; }
.need-check-icon { color: var(--primary); font-weight: 700; flex-shrink: 0; }
.need-check-item span { font-weight: 600; color: var(--text-dark); line-height: 1.5; }

/* 음경갈퀴수술 before-after */
.ba-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 28px 0; }
.ba-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-box-img { width: 100%; aspect-ratio: 4/3; background: var(--bg-section); position: relative; display: flex; align-items: center; justify-content: center; }
.ba-box-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.ba-box-img img[src]:not([src=""]) { display: block; }
.ba-box-label { text-align: center; padding: 12px; font-weight: 700; }
.ba-box.before .ba-box-label { background: var(--bg-section); color: var(--text-muted); }
.ba-box.after  .ba-box-label { background: var(--primary); color: #fff; }

/* 섹션 구분 */
.surgery-divider { border: none; border-top: 2px solid var(--border); margin: 80px 0 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) { .op-callouts { display: none; } }
@media (max-width: 900px) { .before-after { grid-template-columns: 1fr 1fr 1fr; } .op-hero-content { padding: 40px 32px; } }
@media (max-width: 768px) { .before-after { grid-template-columns: 1fr; } .ba-layout { grid-template-columns: 1fr; } .need-list { grid-template-columns: 1fr; } }

/* ── 클리닉 차별화 카드 ── */
.diff-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.diff-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow); border-top: 3px solid var(--accent);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.diff-card-icon-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.diff-card h4 { font-weight: 800; color: var(--text-dark); line-height: 1.35; }
.diff-card p  { color: var(--text-muted); line-height: 1.75; margin: 0; }

/* ── 장점 체크리스트 ── */
.merit-list { display: flex; flex-direction: column; gap: 12px; }
.merit-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 20px 22px;
  border-left: 4px solid var(--accent); box-shadow: var(--shadow);
  transition: border-color 0.2s, background 0.2s;
}
.merit-item:hover { border-left-color: var(--primary); background: var(--primary-light); }
.merit-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.merit-item > div { display: flex; flex-direction: column; gap: 5px; }
.merit-item strong { font-weight: 700; color: var(--text-dark); line-height: 1.4; }
.merit-item span   { color: var(--text-muted); line-height: 1.65; }

/* ── 수술 히어로 공통 ── */
.op-hero {
  position: relative; width: 100%; min-height: 460px;
  border-radius: var(--radius); overflow: hidden; margin-bottom: 40px;
  background: linear-gradient(135deg, #0a1e3a 0%, #1a4a7e 55%, #2e6aaa 100%);
  box-shadow: 0 24px 64px rgba(26,74,126,0.20);
}
.op-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: 0; transition: opacity 0.35s; }
.op-hero-img.loaded { opacity: 1; }
.op-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,30,58,0.92) 0%, rgba(26,74,126,0.65) 44%, rgba(26,74,126,0.15) 72%, transparent 100%);
}
.op-hero-content { position: relative; z-index: 2; padding: 56px 64px; max-width: 640px; color: #fff; }
.op-kicker { font-weight: 700; letter-spacing: 4px; color: rgba(255,255,255,0.55); text-transform: uppercase; margin-bottom: 14px; }
.op-hero-content h3 { font-size: clamp(24px,3.2vw,38px); font-weight: 900; line-height: 1.22; margin-bottom: 18px; }
.op-hero-content h3 em { font-style: normal; color: #a8d4ff; }
.op-hero-content p { opacity: 0.88; line-height: 1.85; margin-bottom: 28px; }
.op-points { display: flex; flex-wrap: wrap; gap: 10px; }
.op-point { border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.9); font-weight: 600; padding: 8px 18px; border-radius: 2px; }
.op-callouts { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.op-callout { background: rgba(255,255,255,0.96); border-radius: var(--radius); padding: 16px 22px; min-width: 190px; box-shadow: 0 6px 20px rgba(0,0,0,0.16); }
.op-callout strong { display: block; color: var(--primary-dark); margin-bottom: 4px; }
.op-callout span   { color: var(--text-muted); }

@media (max-width: 1100px) { .diff-grid { grid-template-columns: repeat(2,1fr); } .op-callouts { display: none; } }
@media (max-width: 768px)  { .diff-grid { grid-template-columns: 1fr; } }



  .vaseline-method-num {
    width: 100%; height: 48px;
    writing-mode: horizontal-tb; letter-spacing: 2px;
  }
  .vaseline-method-body { padding: 22px 20px; }
}

/* ════════════════════════════════
   바세린제거술 3가지 수술 방법
════════════════════════════════ */
.vaseline-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.vaseline-method-card {
  border-radius: var(--radius);
  overflow: hidden;
padding:15px 0;
}

/* 네이비 헤더 — 제목+조건+사진 */
.vaseline-method-head {
  display: grid;
  grid-template-columns: 4fr 6fr;
  align-items: stretch;
  background: linear-gradient(135deg, #0a1e3a 0%, #1a4a7e 60%, #2e6aaa 100%);
  min-height: 200px;
  position: relative;
  overflow: hidden;

}
.vaseline-method-head::after {
  content: '';
  position: absolute; right: -40px; bottom: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  border: 32px solid rgba(255,255,255,0.05);
}

/* 헤더 좌측 텍스트 */
.vaseline-method-head-left {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  position: relative; z-index: 1;
}

.vaseline-method-badge {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.55);
}

.vaseline-method-head-left h4 {
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
}

.vaseline-method-condition {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border-left: 3px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  padding: 10px 16px;
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  line-height: 1.65;
}

/* 헤더 우측 사진 */
.vaseline-method-head-img {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.vaseline-method-head-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: none;
}
.vaseline-method-head-img img[src]:not([src=""]) { display: block; }

/* 본문 */
.vaseline-method-body {
  background: var(--bg-section);
  padding: 18px 36px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.vaseline-method-body::before {
  content: '📋';
  font-size: 16px;
  flex-shrink: 0;
}
.vaseline-method-body p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  font-style: italic;
}

/* 반응형 */
@media (max-width: 1100px) {
  .vaseline-method-head { grid-template-columns: 4fr 6fr; }
}
@media (max-width: 768px) {
  .vaseline-method-head { grid-template-columns: 1fr; }
  .vaseline-method-head-img { min-height: 180px; }
  .vaseline-method-head-left { padding: 24px 22px; }
  .vaseline-method-body { padding: 20px 22px; }
}
