/* Document photos: shared site palette, typography and aligned examples. */
.document-photo-service{--doc-accent:var(--accent);--doc-ink:var(--ink);--doc-surface:var(--premium-card,#fffdf8);max-width:1280px;margin:auto;color:var(--ink);font-family:var(--site-font,Arial,Helvetica,sans-serif)}
.document-photo-service h2{font-size:clamp(24px,2.4vw,31px);font-weight:700!important;line-height:1.15;margin:0 0 10px;letter-spacing:-.025em;color:var(--ink)}
.document-photo-service svg{width:27px;height:27px;display:block;flex-shrink:0}
.document-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:42px;align-items:center;margin:28px 0 44px}
.document-hero-photo{grid-column:2;grid-row:1;min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--soft)}
.document-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:1.32;object-fit:contain}
.document-hero-copy{grid-column:1;grid-row:1;min-width:0}
.document-hero-copy>.eyebrow{margin:0 0 16px;color:var(--accent)}
.document-hero h1{font-size:clamp(36px,4.6vw,62px);line-height:1.06;font-weight:700!important;letter-spacing:-.04em;margin:0 0 20px;color:var(--ink)}
.document-hero h1>span{color:var(--accent)}
.document-subtitle{font-size:21px;font-weight:500;line-height:1.4!important;margin:0 0 14px;color:var(--ink)}
.document-hero-copy>p:not(.eyebrow):not(.document-subtitle):not(.document-hero-price){font-size:16px;line-height:1.65!important;margin:0 0 20px;color:var(--muted)}
.document-hero-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:24px 0 12px}
#main .document-photo-service .document-hero-actions>.button,#main .document-photo-service .document-main-order{background:var(--accent);color:var(--paper);border-radius:6px;min-height:48px;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;line-height:1.4}
.document-hero-actions .text-link{min-height:44px;display:inline-flex;align-items:center}
.document-hero-price{font-size:14px;line-height:1.5!important;margin:0;color:var(--muted)}
.document-hero-price strong{color:var(--ink)}
.document-hero-benefits{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;list-style:none;margin:24px 0 0;padding:20px 0 0;border-top:1px solid var(--line);align-items:start}
.document-hero-benefits li{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:minmax(2.6em,auto) auto;column-gap:10px;align-items:start;margin:0;padding:0}
.document-hero-benefits li>span{display:grid;place-items:center;grid-column:1;grid-row:1/3;width:36px;height:36px;background:var(--soft);border-radius:8px;color:var(--accent);margin:0}
.document-hero-benefits svg{width:23px;height:23px}
.document-hero-benefits strong{grid-column:2;grid-row:1;font-size:14px;line-height:1.3;align-self:start}
.document-hero-benefits small{grid-column:2;grid-row:2;font-size:13px;line-height:1.4;color:var(--muted);margin:2px 0 0}
.document-section-lead{font-size:15px;line-height:1.55!important;color:var(--muted);margin:0 0 16px}
.document-types{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:24px;align-items:start;margin:36px 0 40px}
.document-types-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.document-type-card{display:flex;flex-direction:column;align-items:stretch;text-align:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--doc-surface);padding:6px 6px 10px;text-decoration:none;color:var(--ink);min-width:0;transition:background-color .2s,border-color .2s}
.document-type-card:hover{background:var(--soft);border-color:var(--accent)}
.document-type-card img{display:block;flex-shrink:0;width:100%;height:auto;aspect-ratio:41/48;object-fit:contain;object-position:center;border-radius:4px;background:var(--doc-surface)}
.document-type-card h3{display:flex;align-items:flex-start;justify-content:center;min-height:3.6em;font-size:13px;line-height:1.2;font-weight:650!important;margin:10px 0 6px}
.document-type-card>span{font-size:12px;line-height:1.3;color:var(--muted);min-height:2.6em}
.document-also{padding:18px;background:var(--soft);border:1px solid var(--line);border-radius:8px;box-sizing:border-box}
.document-also h3{font-size:16px;line-height:1.35;margin:0 0 14px;color:var(--ink);font-weight:650!important}
.document-also ul{list-style:none;padding:0;margin:0}
.document-also li{position:relative;padding-left:20px;font-size:14px;line-height:1.45;margin:0 0 10px}
.document-also li:last-child{margin-bottom:0}
.document-also li::before{content:'✓';position:absolute;left:0;top:0;color:var(--accent)}
.document-main-grid{display:grid;grid-template-columns:minmax(280px,.88fr) minmax(0,1.6fr);gap:32px;margin:40px 0;align-items:start}
.document-prices{background:var(--doc-surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:10px;overflow:hidden;align-self:start}
.document-prices>header{padding:22px 20px 16px;border-bottom:1px solid var(--line)}
.document-prices>header h2{font-size:29px;margin:0 0 5px;color:var(--ink)}
.document-prices>header p{margin:0;font-size:15px;line-height:1.4!important;color:var(--muted)}
.document-prices>div{padding:4px 16px}
.document-price-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.document-price-row>span:first-child{display:grid;place-items:center;color:var(--accent);width:28px;height:28px}
.document-price-row svg{width:23px;height:23px}
.document-price-row>span:nth-child(2){font-size:14px;line-height:1.45}
.document-price-row strong{white-space:nowrap;color:var(--accent);font-size:18px}
.document-price-row a{color:inherit;text-decoration:none;display:inline-flex;min-height:40px;align-items:center;border-radius:4px}
.document-price-row a:hover{background:var(--soft)}
.document-addon-note{font-size:12px;line-height:1.5!important;color:var(--muted);margin:12px 0}
#main .document-photo-service .document-main-order{display:flex;margin:12px 18px 20px}
.document-clothing{min-width:0}
.document-clothing-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start;margin:20px 0}
.document-clothing figure,.document-example-grid figure{margin:0;min-width:0;text-align:center}
.document-clothing .document-preview img,.document-example-grid .document-preview img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#f4f4f6}
.document-before{position:relative;padding:0}
.document-before::after{content:'→';position:absolute;top:35%;right:-19px;width:24px;text-align:center;z-index:1;color:var(--accent);font-size:23px;line-height:1;background:var(--paper)}
.document-clothing figcaption{font-size:12px;line-height:1.3;min-height:2.6em;box-sizing:border-box;margin-top:8px;color:var(--muted)}
.document-before figcaption{background:var(--soft);color:var(--ink);width:46px;min-height:0;padding:3px 5px;border-radius:4px;margin:8px auto 0}
.document-preview{display:block;width:100%;border:1px solid var(--line)!important;border-radius:6px;overflow:hidden;background:var(--doc-surface)}
.document-preview img{display:block;width:100%;height:auto;object-fit:contain}
.document-preview>span{width:24px!important;height:24px!important;font-size:17px!important;right:3px;bottom:3px}
.document-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:40px 0}
.document-details-grid>section{min-width:0}
.document-details-grid h2{font-size:25px;min-height:2.3em}
.document-details-grid .document-section-lead{min-height:3.1em}
.document-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.document-example-grid figcaption{font-size:13px;line-height:1.3;min-height:2.6em;margin-top:8px;color:var(--muted)}
.document-example-grid figcaption strong{font-weight:500}
.document-example-grid figcaption span{display:block;margin-top:3px}
.document-result .document-preview img{aspect-ratio:1.7;object-fit:contain}
.document-why{padding:28px 0;margin:40px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.document-why h2{font-size:29px;margin:0 0 24px}
.document-why ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;list-style:none;padding:0;margin:0;align-items:start}
.document-why li{display:grid;grid-template-rows:44px auto;gap:12px;align-items:start;margin:0;padding:0}
.document-why li>span{display:grid;place-items:center;width:44px;height:44px;background:var(--soft);color:var(--accent);border-radius:9px}
.document-why h3{font-size:15px;line-height:1.3;min-height:2.6em;font-weight:650!important;margin:0 0 8px}
.document-why p{font-size:13px;line-height:1.5!important;color:var(--muted);margin:0}
.document-calculator,.document-help details{border:1px solid var(--line);border-radius:8px;background:var(--doc-surface);margin:12px 0}
.document-calculator summary,.document-help summary{padding:16px 18px;min-height:48px;box-sizing:border-box;cursor:pointer;font-weight:650}
.document-calculator .calculator-panel{margin:0 18px 18px}
.document-help{margin-top:36px}
.document-help>h2{margin-bottom:18px}
.document-help details p{padding:0 18px 18px;margin:0;font-size:16px;line-height:1.6!important}
.document-address{font-size:15px;line-height:1.5;margin:24px 0 0;color:var(--muted)}
.document-photo-service a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){
 .document-hero{gap:28px}.document-hero h1{font-size:46px}.document-subtitle{font-size:19px}
 .document-types{grid-template-columns:1fr;gap:16px}.document-also h3{margin-bottom:12px}.document-also ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 16px}.document-also li{margin:0}
 .document-main-grid{grid-template-columns:minmax(270px,.9fr) minmax(0,1.5fr);gap:24px}.document-clothing-row{gap:12px}.document-clothing figcaption{font-size:11px}
 .document-price-row{gap:7px}.document-price-row strong{font-size:17px}.document-price-row>span:nth-child(2){font-size:13px}
 .document-details-grid{gap:20px}.document-details-grid h2{font-size:23px}.document-why ul{gap:18px}
}
@media(max-width:800px){
 .document-hero{grid-template-columns:1fr;margin-top:20px;gap:24px}.document-hero-copy{grid-column:1;grid-row:1}.document-hero-photo{grid-column:1;grid-row:2;max-width:640px;width:100%;margin:auto}.document-hero-photo img{max-height:360px}
 .document-hero h1{font-size:clamp(36px,6vw,48px)}.document-hero-benefits{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.document-hero-benefits li{grid-template-columns:1fr;grid-template-rows:36px minmax(2.6em,auto) auto;gap:8px}.document-hero-benefits li>span{grid-column:1;grid-row:1}.document-hero-benefits strong{grid-column:1;grid-row:2}.document-hero-benefits small{grid-column:1;grid-row:3;margin:0}
 .document-main-grid{grid-template-columns:1fr;gap:30px}.document-prices{max-width:100%;width:100%}.document-price-row>span:nth-child(2){font-size:16px}.document-price-row strong{font-size:19px}
 .document-types-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.document-details-grid{grid-template-columns:1fr;gap:30px}.document-details-grid h2{min-height:0}.document-details-grid .document-section-lead{min-height:0}.document-example-grid{max-width:580px}.document-result .document-preview{max-width:580px}.document-result .document-preview img{max-height:260px}
 .document-why ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
}
@media(max-width:550px){
 .document-hero h1{font-size:42px}.document-subtitle{font-size:20px}.document-hero-actions{gap:12px 18px}.document-hero-actions>.button{width:100%;box-sizing:border-box}.document-hero-benefits{grid-template-columns:1fr 1fr;gap:18px 16px}.document-hero-benefits li{grid-template-columns:36px minmax(0,1fr);grid-template-rows:minmax(2.6em,auto) auto;column-gap:10px;row-gap:0}.document-hero-benefits li>span{grid-column:1;grid-row:1/3}.document-hero-benefits strong{grid-column:2;grid-row:1}.document-hero-benefits small{grid-column:2;grid-row:2;margin-top:3px}.document-hero-photo img{max-height:280px}
 .document-types{margin:28px 0}.document-types-grid{gap:8px}.document-type-card{padding:4px 4px 8px}.document-type-card h3{font-size:12px}.document-type-card>span{font-size:11px}.document-also ul{grid-template-columns:1fr 1fr;gap:10px 12px}.document-also li{font-size:13px}
 .document-clothing-row{gap:10px}.document-before::after{right:-15px;width:20px;font-size:20px}.document-clothing figcaption{font-size:11px}
 .document-main-grid{margin:28px 0}.document-details-grid{margin:30px 0}.document-why{margin:30px 0}.document-why ul{grid-template-columns:1fr 1fr}.document-why h3{font-size:15px}.document-help{margin-top:30px}
}
@media(max-width:350px){.document-hero h1{font-size:36px}.document-hero-benefits strong{font-size:13px}.document-hero-benefits small{font-size:12px}.document-types-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.document-clothing-row{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:16px}.document-before{grid-row:span 2;align-self:start}.document-price-row>span:nth-child(2){font-size:14px}}
@media(prefers-reduced-motion:reduce){.document-type-card{transition:none}}
.document-why li{text-align:center;justify-items:center}.document-why li>span{justify-self:center}.document-why li>div{width:100%}
