/* Page enhancements: SVG feature sections, cards, view transitions.
   Linked only from upgraded service pages (never from index.html). */
@media(prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}
::view-transition-old(root){animation:pe-fade-out .22s ease both}
::view-transition-new(root){animation:pe-fade-in .32s ease both}
@keyframes pe-fade-out{to{opacity:0}}
@keyframes pe-fade-in{from{opacity:0}}

.pe{--pe-a:#1f8f7a;--pe-b:#0f3f3a;--pe-soft:#e4f5f0;--pe-ink:#101b34}
.pe-seo{--pe-a:#2a7de1;--pe-b:#12365e;--pe-soft:#e3effd}
.pe-film{--pe-a:#6b5ce7;--pe-b:#262a52;--pe-soft:#ebe8fd}

.feature,.process{width:min(1180px,92%);margin:0 auto;padding:clamp(36px,6vw,72px) 0;border-top:1px solid #dce0e7}
.feature,.process{scroll-margin-top:150px}
.feature-head{max-width:70ch}
.feature-head p{color:var(--mute)}
.feature-svg{margin:28px 0 0;padding:clamp(10px,2.5vw,28px);background:var(--pe-soft);border-radius:20px}
.feature-svg svg{display:block;width:100%;height:auto}
.feature-svg figcaption{margin-top:10px;font-size:.85rem;color:var(--mute)}

.pe-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:28px 0 0;padding:0;list-style:none}
.pe-cards li{padding:22px;border:1px solid #d9e1e6;border-radius:16px;background:#fff;transition:transform .25s ease,border-color .25s ease}
.pe-cards li:hover{transform:translateY(-4px);border-color:var(--pe-a)}
.pe-cards svg{width:44px;height:44px;margin-bottom:10px}
.pe-cards h3{margin:0 0 6px;font-size:1.25rem}
.pe-cards p{margin:0;color:var(--mute);font-size:.98rem;line-height:1.55}

/* SVG parts */
.s-ink{fill:var(--pe-ink)}.s-a{fill:var(--pe-a)}.s-b{fill:var(--pe-b)}.s-w{fill:#fff}.s-soft{fill:#fff;stroke:var(--pe-a);stroke-width:2}
.s-line{fill:none;stroke:var(--pe-a);stroke-width:3;stroke-linecap:round;stroke-dasharray:6 8}
.s-t{font:700 16px 'Hanken Grotesk',system-ui,sans-serif;fill:var(--pe-ink)}
.s-ts{font:600 13px 'Hanken Grotesk',system-ui,sans-serif;fill:#44534e}
.s-tw{font:800 15px 'Hanken Grotesk',system-ui,sans-serif;fill:#fff}
@media(prefers-reduced-motion:no-preference){
 .s-line{animation:pe-dash 1.6s linear infinite}
 .s-pulse{transform-box:fill-box;transform-origin:center;animation:pe-pulse 3s ease-in-out infinite}
 body.motion-paused .s-line,body.motion-paused .s-pulse{animation-play-state:paused}
}
@keyframes pe-dash{to{stroke-dashoffset:-28}}
@keyframes pe-pulse{50%{transform:scale(1.07)}}
.pe-warm{--pe-a:#b8461a;--pe-b:#5a2412;--pe-soft:#fdeee6}
.pe-rose{--pe-a:#b02f68;--pe-b:#4f1431;--pe-soft:#fbe8f0}
.s-tws{font:600 12px 'Hanken Grotesk',system-ui,sans-serif;fill:#fff;opacity:.92}
.feature.faq{padding-block:clamp(30px,5vw,56px)}
.feature-photo{margin:22px 0 0}
.feature-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:20px}
.feature-photo figcaption{margin-top:8px;font-size:.8rem;color:var(--mute)}
.feature-photo+.pe-cards{margin-top:22px}
/* service guide */
.sg .sg-covers{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.sg .sg-covers li{display:flex;gap:12px;align-items:center;padding:16px 18px}
.sg .sg-covers svg{width:30px;height:30px;margin:0;flex:none}
.sg .sg-covers h3{margin:0;font-size:1.02rem;line-height:1.3}
.sg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.sg-box,.sg-start,.sg-faq{padding:22px;border:1px solid rgba(127,137,150,.35);border-radius:16px;background:rgba(127,137,150,.07);color:inherit}
.sg-box h3,.sg-start h3,.sg-faq h3{margin:0 0 10px;font-size:1.15rem;color:inherit}
.sg-box ul{margin:0;padding-left:1.1em}.sg-box li{margin:.4em 0;line-height:1.5}
.sg-extra{background:rgba(127,137,150,.15)}
.sg-start{margin-top:14px}
.sg-start ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;counter-reset:sg}
.sg-start li{counter-increment:sg;position:relative;padding-top:44px}
.sg-start li::before{content:counter(sg);position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;background:var(--pe-a,#0b57d0)}
.sg-start li::after{content:"";position:absolute;left:42px;right:0;top:17px;height:2px;background:rgba(127,137,150,.4)}
.sg-start li:last-child::after{display:none}
.sg-start b{display:block;margin-bottom:4px}.sg-start span{font-size:.94rem;line-height:1.45;opacity:.82}
.sg-faq{margin-top:14px}
.sg-faq details{border-top:1px solid rgba(127,137,150,.3);padding:10px 0}.sg-faq details:first-of-type{border-top:0}
.sg-faq summary{cursor:pointer;font-weight:600}.sg-faq p{margin:.6em 0 0;opacity:.85;line-height:1.6;color:inherit}.sg-faq summary{color:inherit}.sg-box li,.sg-start b{color:inherit}
.sg-note{margin:16px 0 0;font-size:.92rem;opacity:.8}
@media(max-width:860px){.sg-grid{grid-template-columns:1fr}.sg-start ol{grid-template-columns:1fr}.sg-start li{padding:0 0 0 46px;min-height:36px}.sg-start li::after{display:none}}
.sg-grid.sg-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sg-price{margin:18px 0 0;padding:16px 20px;border-radius:16px;border:1px dashed rgba(127,137,150,.55);line-height:1.6}
.sg-price a{font-weight:700}
.faq.sg-faq-end{max-width:900px;margin-left:auto;margin-right:auto}
@media(max-width:860px){.sg-grid.sg-grid3{grid-template-columns:1fr}}

/* phone: themed menus wrap instead of overflowing */
@media(max-width:640px){body[class*="pe-"] .sc-nav{flex:1 1 100%!important;order:3!important;flex-wrap:wrap!important;justify-content:center!important;letter-spacing:0!important;gap:2px 6px!important;font-size:13px!important}body[class*="pe-"] .sc-nav>a,body[class*="pe-"] .sc-menu summary{padding:6px 8px!important}}
