/* 옛 PHP 6쪽(소개·정책) 장면형 첫 구간(확장 4, 2026-10-26): 쪽 제목 구간에 화면 전체 폭 imagegen 장면 + 딥그린 그라데이션, 글자는 왼쪽 여백 위(글자 상자 없음).
   그림은 header.php가 쪽별로 body의 --scene-d(데스크톱)·--scene-m(휴대폰)에 넣고 preload한다. */
.php-scene .location-section, .php-scene .pricing-section, .php-scene .principles-section, .php-scene .reviews-section,
.php-scene .standard-section { padding-top: 0 !important; overflow: visible !important; }
.php-scene .location-header, .php-scene .pricing-header, .php-scene .principles-header, .php-scene .reviews-header,
.php-scene .standard-header {
  position: relative; isolation: isolate; text-align: left !important; margin: 0 0 56px !important; padding: 96px 0 104px !important;
  min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; opacity: 1 !important; transform: none !important; }
.php-scene .location-header::before, .php-scene .pricing-header::before, .php-scene .principles-header::before, .php-scene .reviews-header::before,
.php-scene .standard-header::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: linear-gradient(90deg, rgba(6,37,27,.86) 0%, rgba(6,37,27,.66) 32%, rgba(6,37,27,.22) 54%, rgba(6,37,27,0) 70%), var(--scene-d) right center / cover no-repeat, #06251B; }
.php-scene .location-header > *, .php-scene .pricing-header > *, .php-scene .principles-header > *, .php-scene .reviews-header > *,
.php-scene .standard-header > * { max-width: 640px; text-align: left !important; margin-left: 0 !important; }
.php-scene .location-header h2, .php-scene .pricing-header h2, .php-scene .principles-header h2, .php-scene .reviews-header h2, .php-scene .standard-header h2,
.php-scene .location-header h2 *, .php-scene .pricing-header h2 *, .php-scene .principles-header h2 *, .php-scene .reviews-header h2 *, .php-scene .standard-header h2 * { color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }
.php-scene [class*="-header"] .text-green, .php-scene [class*="-header"] .text-gradient-green, .php-scene [class*="-header"] .text-green-bold { color: #C9E66E !important; -webkit-text-fill-color: #C9E66E !important; }
.php-scene .location-header p, .php-scene .pricing-header p, .php-scene .principles-header p, .php-scene .reviews-header p,
.php-scene .standard-header p { color: #E6EDE8 !important; font-size: 17px !important; line-height: 1.7; }
.php-scene .principles-badge, .php-scene .reviews-badge { background: transparent !important; color: #C9E66E !important; border: 1.5px solid #C9E66E !important; }
.php-scene .scene-note-php { position: absolute; right: 0; bottom: 14px; margin: 0 !important; font-size: 12px !important; color: rgba(255,255,255,.7) !important; }
@media (max-width: 820px) {
  .php-scene .location-header, .php-scene .pricing-header, .php-scene .principles-header, .php-scene .reviews-header,
  .php-scene .standard-header { padding: calc(100vw - 40px) 0 40px !important; min-height: 0; margin-bottom: 40px !important; }
  .php-scene .location-header::before, .php-scene .pricing-header::before, .php-scene .principles-header::before, .php-scene .reviews-header::before,
  .php-scene .standard-header::before {
    background: linear-gradient(0deg, #06251B 0%, #06251B calc(100% - 100vw), rgba(6,37,27,0) calc(100% - 100vw + 34vw)), var(--scene-m) center top / 100vw 100vw no-repeat, #06251B; }
  .php-scene .scene-note-php { top: 10px; bottom: auto; right: 0; font-size: 11px !important; }
}

/* 옛 홈(index.php): 맨 위 히어로에 장면 */
.php-scene .hero-merged { position: relative; isolation: isolate; color: #fff; background: linear-gradient(90deg, rgba(6,37,27,.88) 0%, rgba(6,37,27,.74) 42%, rgba(6,37,27,.25) 64%, rgba(6,37,27,0) 78%), var(--scene-d) right center / cover no-repeat, #06251B !important; }
.php-scene .hero-merged .hero-bg-gradient { display: none !important; }
.php-scene .hero-merged .problem-flow { text-align: left !important; align-items: flex-start !important; max-width: 640px; margin: 0 !important; padding-block: 72px 88px; }
.php-scene .hero-merged .problem-flow > * { text-align: left !important; margin-left: 0 !important; justify-content: flex-start !important; opacity: 1 !important; transform: none !important; }
.php-scene .hero-merged .hero-tag { background: transparent !important; color: #C9E66E !important; border: 1.5px solid #C9E66E !important; }
.php-scene .hero-merged .hero-quote, .php-scene .hero-merged .hero-subtitle { color: #E6EDE8 !important; font-size: 17px !important; }
.php-scene .hero-merged .hero-quote strong { color: #fff !important; }
.php-scene .hero-merged h1, .php-scene .hero-merged h1 * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.php-scene .hero-merged .hero-title-highlight, .php-scene .hero-merged .hero-title-highlight * { color: #C9E66E !important; -webkit-text-fill-color: #C9E66E !important; }
.php-scene .hero-merged .hero-subtitle-highlight { color: #fff !important; }
.php-scene .hero-merged .trust-badge { background: rgba(255,255,255,.08) !important; color: #fff !important; border-color: rgba(255,255,255,.3) !important; }
@media (max-width: 820px) {
  .php-scene .hero-merged { background: linear-gradient(0deg, #06251B 0%, #06251B calc(100% - 100vw), rgba(6,37,27,0) calc(100% - 100vw + 34vw)), var(--scene-m) center top / 100vw 100vw no-repeat, #06251B !important; }
  .php-scene .hero-merged .problem-flow { padding-top: calc(100vw - 30px); padding-bottom: 40px; }
}
/* 옛 PHP 쪽 읽는 문단 모든 폭 17px 이상 */
.php-scene .pain-point-desc, .php-scene .diy-card-desc, .php-scene .problem-desc, .php-scene .scope-note, .php-scene .sms-text, .php-scene .pricing-notice-text, .php-scene .principles-card-desc, .php-scene .standard-card-desc, .php-scene .cta-desc, .php-scene .pricing-sub-desc, .php-scene .reviews-desc { font-size: 17px !important; line-height: 1.7; }
/* 교차 검수(10-26): 쪽 제목을 h1로 바꿈 → 제목 색 규칙에 h1 포함 */
.php-scene [class*="-header"] h1, .php-scene [class*="-header"] h1 * { color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }
.php-scene [class*="-header"] h1 .text-green, .php-scene [class*="-header"] h1 .text-gradient-green, .php-scene [class*="-header"] h1 .text-green-bold { color: #C9E66E !important; -webkit-text-fill-color: #C9E66E !important; }
/* 바닥글 전화 버튼 번호 줄: 연두 바탕에 연한 글자 → 진녹 */
.php-scene .riho-footer__call .tel-n, .php-scene .riho-footer a[href^="tel:"] small { color: #0B3B2C !important; opacity: 1 !important; }
/* 표 아래 안내문 17px, 버튼 화살표 간격 */
.php-scene .pricing-footer-white, .php-scene .pricing-footer-white p { font-size: 17px !important; line-height: 1.7; }
.php-scene .fa-arrow-right.ml-2 { margin-left: .5em; }
/* 태블릿(601~820): 정사각 장면 → 위쪽 62.5vw 띠만(그림 가운데 부분), 제목이 첫 화면 안으로 */
@media (min-width: 601px) and (max-width: 820px) {
  .php-scene .location-header, .php-scene .pricing-header, .php-scene .principles-header, .php-scene .reviews-header,
  .php-scene .standard-header { padding-top: calc(62.5vw - 30px) !important; }
  .php-scene .location-header::before, .php-scene .pricing-header::before, .php-scene .principles-header::before, .php-scene .reviews-header::before,
  .php-scene .standard-header::before {
    background: linear-gradient(0deg, #06251B 0%, #06251B calc(100% - 62.5vw), rgba(6,37,27,0) calc(100% - 62.5vw + 22vw)), var(--scene-m) center -18.75vw / 100vw 100vw no-repeat, #06251B; }
  .php-scene .hero-merged { background: linear-gradient(0deg, #06251B 0%, #06251B calc(100% - 62.5vw), rgba(6,37,27,0) calc(100% - 62.5vw + 22vw)), var(--scene-m) center -18.75vw / 100vw 100vw no-repeat, #06251B !important; }
  .php-scene .hero-merged .problem-flow { padding-top: calc(62.5vw - 20px); }
}
.php-scene { word-break: keep-all; overflow-wrap: break-word; }

/* 폭 통일(10-26): 본문 시작·끝선을 머리·바닥글과 같은 칸(1440 120~1320, 1920 360~1560)으로 — .container 안쪽 여백 제거 */
@media (min-width: 1240px) {
  .php-scene .container, .php-scene .reviews-container { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (min-width: 821px) and (max-width: 1239px) {
  .php-scene .container, .php-scene .reviews-container { padding-left: 20px !important; padding-right: 20px !important; }
}
