/* ══════════════════════════════════════════════════════
 *  공개 메인 — 새 디자인 (R7-1, 2026-11-12)
 *  /css/zones/public-home.css — inc/views/public/home-top.php 짝 · 시안 v1 index.html (assets/home.css) 구성
 *  규칙: outline:none 금지 · 카드 왼쪽 색띠 금지 · 섹션은 화면 폭 전체, 안쪽만 .ph-wrap(1240)
 * ══════════════════════════════════════════════════════ */
.phome .page { max-width: none; padding: 0; }
.ph-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ph-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--accent-dk); text-transform: uppercase; }
.ph-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.ph-sec { padding: 96px 0; }
.ph-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.ph-head.center { flex-direction: column; align-items: center; text-align: center; }
.ph-h2 { margin: 12px 0 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; }
.ph-sub { margin: 10px 0 0; color: var(--ink-60); font-size: 15.5px; }
.ph-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--accent-dk); white-space: nowrap; }
.ph-more:focus-visible, .ph-role:focus-visible, .ph-chips a:focus-visible, .ph-pcard:focus-visible, .ph-plcard:focus-visible { outline: 3px solid var(--accent-md, var(--accent)); outline-offset: 3px; border-radius: 12px; }

/* 첫 화면 */
.ph-hero { padding: 48px 0 88px; background: radial-gradient(1200px 520px at 85% 10%, var(--accent-lt), transparent 70%), var(--warm); }
.ph-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ph-title { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.18; font-weight: 600; margin: 18px 0 20px; letter-spacing: -0.045em; }
.ph-title em { font-style: normal; color: var(--accent); }
.ph-lead { margin: 0 0 30px; font-size: 17.5px; line-height: 1.7; color: var(--ink-60); }
.ph-finder { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--paper); border-radius: 22px; padding: 8px; box-shadow: var(--shadow-md); max-width: 560px; }
.ph-ff { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 16px; cursor: pointer; min-width: 0; }
.ph-ff + .ph-ff { border-left: 1px solid var(--ink-10); border-radius: 0 16px 16px 0; }
.ph-ff:focus-within { background: var(--warm); }
.ph-fl { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-60); }
.ph-ff select { border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); padding: 2px 0; min-width: 0; width: 100%; cursor: pointer; }
.ph-ff select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ph-go { grid-column: 1 / -1; margin-top: 6px; height: 52px; border-radius: 15px; font-size: 16px; }
.ph-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 0; margin: 30px 0 0; }
.ph-trust li { display: flex; flex-direction: column; }
.ph-trust strong { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ph-trust span { font-size: 13.5px; color: var(--ink-60); }
.ph-visual { position: relative; height: 580px; }
.ph-visual figure { margin: 0; overflow: hidden; }
.ph-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-v-main { position: absolute; inset: 0 0 0 64px; border-radius: 220px 220px 28px 28px; box-shadow: var(--shadow-lg); }
.ph-v-sub { position: absolute; left: 0; bottom: 44px; width: 186px; height: 224px; border-radius: 20px; border: 6px solid var(--warm); box-shadow: var(--shadow-md); }
.ph-v-card { position: absolute; background: rgba(255, 255, 255, .95); border-radius: 18px; box-shadow: var(--shadow-md); padding: 14px 18px; }
.ph-v-dday { right: -6px; bottom: 120px; text-align: center; }
.ph-v-dday span, .ph-v-dday small { display: block; font-size: 12px; color: var(--ink-60); }
.ph-v-dday strong { display: block; font-size: 30px; line-height: 1.15; color: var(--accent); letter-spacing: -0.03em; }
.ph-v-todo { top: 56px; left: 8px; display: flex; gap: 10px; align-items: center; }
.ph-v-todo svg { width: 28px; height: 28px; color: var(--sage-dk, #3F7A5C); flex: none; }
.ph-v-todo strong { display: block; font-size: 14px; }
.ph-v-todo small { font-size: 12px; color: var(--ink-60); }
@media (prefers-reduced-motion: no-preference) {
  .ph-v-dday { animation: ph-float 6s ease-in-out infinite; }
  .ph-v-todo { animation: ph-float 6s ease-in-out -3s infinite; }
}
@keyframes ph-float { 50% { transform: translateY(-8px); } }

/* 역할 카드 */
.ph-roles { padding: 0 0 8px; margin-top: -36px; position: relative; }
.ph-roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ph-role { background: var(--paper); border-radius: var(--r-lg, 20px); overflow: hidden; box-shadow: var(--card-shadow, var(--shadow-sm)); display: flex; flex-direction: column; color: inherit; transition: transform .2s, box-shadow .2s; }
.ph-role:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ph-role img { height: 190px; width: 100%; object-fit: cover; display: block; }
.ph-role-b { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; align-items: flex-start; }
.ph-role-b h2 { margin: 4px 0 0; font-size: 19px; letter-spacing: -0.03em; }
.ph-role-b p { margin: 0; color: var(--ink-60); font-size: 14.5px; line-height: 1.65; flex: 1; }
.ph-role-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-dk); font-size: 14.5px; margin-top: 4px; }

/* 세 걸음 */
.ph-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ph-step { padding: 32px 30px; border-radius: var(--r-lg, 20px); background: var(--paper); box-shadow: var(--card-shadow, var(--shadow-sm)); }
.ph-step-n { font-size: 40px; line-height: 1; color: var(--accent); }
.ph-step h3 { font-size: 19px; margin: 20px 0 8px; letter-spacing: -0.03em; }
.ph-step p { margin: 0; color: var(--ink-60); font-size: 14.5px; line-height: 1.7; }

/* 웨딩홀·업체 */
.ph-venues { background: var(--paper); }
.ph-venue-banner { position: relative; border-radius: 26px; overflow: hidden; height: 320px; }
.ph-venue-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-venue-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25, 20, 18, .62), rgba(25, 20, 18, 0) 60%); }
.ph-vb-copy { position: absolute; left: 32px; bottom: 26px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.ph-vb-copy strong { font-size: 30px; letter-spacing: -0.03em; }
.ph-vb-copy span { font-size: 14.5px; opacity: .92; }
.ph-pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.ph-pcard { display: block; border-radius: 18px; overflow: hidden; background: var(--warm); color: inherit; }
.ph-pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ph-pc-b { display: flex; flex-direction: column; padding: 12px 14px; }
.ph-pc-b strong { font-size: 15px; overflow-wrap: anywhere; }
.ph-pc-b small { font-size: 12.5px; color: var(--ink-60); }
.ph-chipsets { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.ph-chipsets h3 { margin: 0 0 12px; font-size: 15px; color: var(--ink-70); }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-chips a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: var(--r-full); background: var(--warm); font-size: 14px; font-weight: 600; color: var(--ink-70); }
.ph-chips a b { font-size: 12.5px; font-weight: 700; color: var(--ink-60); font-variant-numeric: tabular-nums; }
.ph-chips a:hover { background: var(--accent-lt); color: var(--accent-dk); }

/* 플래너 (자동 노출) */
.ph-plcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ph-plcard { display: flex; gap: 16px; padding: 20px; border-radius: 20px; background: var(--paper); box-shadow: var(--card-shadow, var(--shadow-sm)); color: inherit; }
.ph-pl-img { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--accent-lt); color: var(--accent-dk); display: grid; place-items: center; }
.ph-pl-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-pl-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ph-pl-b strong { font-size: 16px; }
.ph-pl-b small, .ph-pl-b em { font-size: 13px; color: var(--ink-60); font-style: normal; overflow-wrap: anywhere; }
.ph-pl-r { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--warning-800, #92400E); }

/* 준비 노트 */
.ph-tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ph-tool { padding: 26px 24px; border-radius: 20px; background: var(--paper); box-shadow: var(--card-shadow, var(--shadow-sm)); }
.ph-tool-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-lt); color: var(--accent-dk); }
.ph-tool h3 { margin: 16px 0 6px; font-size: 17px; }
.ph-tool p { margin: 0; color: var(--ink-60); font-size: 14px; line-height: 1.65; }

/* 청첩장 */
.ph-invite { background: var(--accent-lt); overflow: hidden; }
.ph-invite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ph-invite-copy p { margin: 16px 0 26px; color: var(--ink-70); font-size: 16px; line-height: 1.75; max-width: 440px; }
.ph-invite-visual { display: flex; justify-content: center; }
.ph-phone { position: relative; width: 270px; height: 520px; border-radius: 38px; border: 10px solid #fff; box-shadow: var(--shadow-lg); overflow: hidden; background: #fff; }
.ph-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(0deg, rgba(25, 20, 18, .62), rgba(25, 20, 18, 0)); pointer-events: none; }   /* 사진 위 글씨가 잘 읽히게 (2026-11-15 사진 교체) */
.ph-phone-cap { z-index: 1; position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; color: #fff; font-size: 24px; line-height: 1.3; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }

/* 후기 (자동 노출) */
.ph-rvcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ph-rv { margin: 0; padding: 26px; border-radius: 20px; background: var(--paper); box-shadow: var(--card-shadow, var(--shadow-sm)); display: flex; flex-direction: column; gap: 12px; }
.ph-rv-star { color: var(--gold, #A87B4F); letter-spacing: 2px; }
.ph-rv blockquote { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-70); flex: 1; overflow-wrap: anywhere; }
.ph-rv figcaption { font-size: 13px; color: var(--ink-60); }

/* 가입 안내 */
.ph-cta { padding: 0 0 96px; }
.ph-cta-box { position: relative; border-radius: 28px; overflow: hidden; min-height: 400px; display: flex; align-items: center; }
.ph-cta-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ph-cta-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 22, 20, .8), rgba(30, 22, 20, .3)); }
.ph-cta-copy { position: relative; z-index: 1; padding: 56px; color: #fff; max-width: 620px; }
.ph-cta-copy h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.3; margin: 0 0 12px; font-weight: 600; }
.ph-cta-copy p { margin: 0 0 28px; font-size: 16px; opacity: .92; line-height: 1.7; }
.ph-cta-act { display: flex; gap: 10px; flex-wrap: wrap; }
.ph-cta-act .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 1100px) {
  .ph-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .ph-visual { height: 420px; max-width: 560px; }
  .ph-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-plcards, .ph-rvcards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .ph-wrap { padding: 0 16px; }
  .ph-sec { padding: 64px 0; }
  .ph-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .ph-head.center { align-items: center; }
  .ph-hero { padding: 28px 0 64px; }
  .ph-lead { font-size: 15.5px; }
  .ph-finder { grid-template-columns: 1fr; }
  .ph-ff + .ph-ff { border-left: 0; border-top: 1px solid var(--ink-10); border-radius: 0; }
  .ph-trust { gap: 12px 24px; }
  .ph-trust strong { font-size: 21px; }
  .ph-visual { height: 340px; }
  .ph-v-main { inset: 0 0 0 36px; border-radius: 160px 160px 22px 22px; }
  .ph-v-sub { width: 120px; height: 150px; bottom: 24px; }
  .ph-v-dday { right: 0; bottom: 70px; padding: 10px 14px; }
  .ph-v-dday strong { font-size: 22px; }
  .ph-v-todo { top: 20px; left: 0; padding: 10px 12px; }
  .ph-roles { margin-top: -28px; }
  .ph-roles-grid, .ph-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ph-role img { height: 160px; }
  .ph-venue-banner { height: 200px; border-radius: 20px; }
  .ph-vb-copy { left: 18px; bottom: 16px; }
  .ph-vb-copy strong { font-size: 22px; }
  .ph-vb-copy span { font-size: 12.5px; }
  .ph-chipsets { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ph-chips a { height: 38px; padding: 0 13px; font-size: 13.5px; }
  .ph-tools-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-invite-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ph-phone { width: 230px; height: 440px; }
  .ph-cta { padding: 0 0 64px; }
  .ph-cta-box { min-height: 0; border-radius: 22px; }
  .ph-cta-copy { padding: 36px 22px; }
  .ph-cta-act .btn { flex: 1 1 100%; }
}
