/* REVISION LT – P1 tikros nuotraukos (2026-10-29). Atskiras failas: rollback = pašalinti <link> į p1.css ir <picture> blokus. */
.p0-badge a{color:#5a4300;font-weight:700}
picture{display:contents}
/* Paslaugų puslapių nuotrauka (vietoje iliustracijos) */
.ph-visual img{-webkit-mask-image:none!important;mask-image:none!important;border-radius:var(--corner) 12px 12px 12px;box-shadow:0 18px 40px rgba(17,91,135,.14);object-fit:cover}
@media (max-width:900px){.ph-visual img{object-position:50% 50%;border-radius:28px 10px 10px 10px}}
@media (max-width:640px){.ph-visual img{height:200px!important}}
/* Pirmojo ekrano sprendimas 1: nuotrauka po pirmuoju ekranu */
.ph-band{padding:0 0 72px;background:#fff}
.ph-band-fig{margin:0;border-radius:var(--corner) 14px 14px 14px;overflow:hidden;box-shadow:0 20px 48px rgba(17,91,135,.14)}
.ph-band-fig img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}
@media (max-width:640px){.ph-band{padding:0 0 32px}.ph-band-fig{border-radius:28px 10px 10px 10px}.ph-band-fig img{aspect-ratio:3/2}}
/* Pirmojo ekrano sprendimas 2: nuotrauka dešinėje, dvi kryptys ant nuotraukos */
.ph-hero2 .hero-grid{grid-template-columns:1.1fr .9fr;gap:48px}
.ph-side{position:relative;align-self:stretch;min-height:560px;border-radius:var(--corner) 16px 16px 16px;overflow:hidden;box-shadow:0 24px 56px rgba(17,91,135,.18)}
.ph-side-fig{position:absolute;inset:0;margin:0}
.ph-side-fig img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.ph-side .p0-dirs{position:absolute;left:20px;right:20px;bottom:20px;max-width:none;justify-self:auto;gap:12px}
.ph-side .p0-dir{background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(11,58,87,.28)}
@media (max-width:1000px){
 .ph-hero2 .hero-grid{grid-template-columns:1fr;gap:24px}
 .ph-side{min-height:0;overflow:visible;border-radius:0;box-shadow:none}
 .ph-side-fig{position:static;border-radius:28px 12px 12px 12px;overflow:hidden;margin-bottom:16px}
 .ph-side-fig img{height:280px}
 .ph-side .p0-dirs{position:static}
 .ph-side .p0-dir{background:#fff;box-shadow:0 8px 24px rgba(17,91,135,.08)}
}
@media (max-width:640px){.ph-side-fig img{height:190px}.ph-side-fig{margin-bottom:10px}}
/* B: nedidelės nuotraukos paslaugų kortelėse */
.ph-card .ph-thumb{display:block;margin:-20px -20px 14px;border-radius:11px 11px 0 0;overflow:hidden;aspect-ratio:16/9;background:var(--tint)}
.ph-thumb img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:640px){
 .p0-cards .ph-card a{grid-template-columns:36px 1fr 84px}
 .ph-card .ph-thumb{grid-column:3;grid-row:1/4;margin:0;width:84px;height:84px;aspect-ratio:auto;border-radius:8px;align-self:center}
 .ph-card a>h4,.ph-card a>p{grid-column:2}
}
/* Demo blokas: viena tikra nuotrauka */
.ph-demo-photo{margin:22px 0 6px;max-width:420px}
.ph-demo-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.ph-demo-photo figcaption{font-size:.9375rem;color:#cfe0ee;margin-top:8px}
@media (max-width:640px){.ph-demo-photo{margin:16px 0 4px}}
/* B: inventorizacijos nuotraukų seka */
.ph-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ph-steps figure{margin:0;height:100%;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 6px 18px rgba(17,91,135,.06)}
.ph-steps img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.ph-steps .ph-shot img{object-fit:contain;background:#fff;padding:10px;box-sizing:border-box}
.ph-steps figcaption{padding:12px 14px 14px}
.ph-steps b{display:block;color:var(--brand);font-size:1.125rem;font-weight:600}
.ph-steps span{display:block;font-size:1rem;color:var(--ink-2);line-height:1.4}
@media (max-width:1000px){.ph-steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.ph-steps{gap:10px}.ph-steps figcaption{padding:10px 12px 12px}.ph-steps b{font-size:1rem}.ph-steps span{font-size:.9375rem}}
/* B: nuotrauka turinio stulpelyje */
.ph-inline{margin:22px 0 0}
.ph-inline img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:12px}
.ph-inline figcaption{font-size:.9375rem;color:var(--muted);margin-top:8px}
.section-dark .ph-inline figcaption{color:#cfe0ee}
/* Telefone (≤640): dvi kryptys lieka pirmame ekrane, nuotrauka – po jomis */
@media (max-width:640px){.ph-side{display:flex;flex-direction:column}.ph-side-fig{order:2;margin:12px 0 0}}
/* B galutinis: 3 žingsnių seka ir aukšta etiketės nuotrauka */
.ph-steps.n3{grid-template-columns:repeat(3,1fr)}
@media (max-width:640px){.ph-steps.n3{grid-template-columns:1fr}}
.ph-inline-tall{max-width:300px}
.ph-inline-tall img{aspect-ratio:1/1}
/* t76u: „Ateityje – Ką planuojame“ (paslaugos.html). Nuotrauką keisti: assets/img/foto/ateityje-*.avif|webp */
.ph-future{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.ph-future-card{position:relative;background:var(--tint);border:1px solid #DFE8EF;border-left:4px solid var(--brand);border-radius:20px;padding:32px 36px;box-shadow:0 8px 24px rgba(17,91,135,.06)}
.ph-future-card h2{color:var(--brand);margin:2px 0 10px}
.ph-future-card>p{margin:0 0 18px;color:var(--ink-2);max-width:34em}
.ph-future-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ph-future-list li{display:flex;align-items:center;gap:14px;color:var(--ink);font-size:1.0625rem}
.ph-ico{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#fff;border:1px solid #DFE8EF;color:var(--brand)}
.ph-ico svg{width:22px;height:22px}
.ph-future-fig{position:relative;margin:0;min-height:300px;border-radius:20px;overflow:hidden;box-shadow:0 8px 24px rgba(17,91,135,.08)}
.ph-future-fig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 50%}
@media (max-width:900px){
 .ph-future{grid-template-columns:1fr;gap:16px}
 .ph-future-card{padding:24px 22px}
 .ph-future-fig{min-height:0;aspect-ratio:2/1}
}
.ph-future-sec{padding-bottom:28px}
.ph-future-sec+section{padding-top:0}
/* B galutinis: kryptys dešinėje telpa nuotraukos rėmelyje (be apkarpymo) */
.ph-side .p0-dirs{width:auto}
/* B galutinis, telefonas: abi kryptys pirmame ekrane (kompaktiškesnė antraštė) */
@media (max-width:640px){
 .ph-hero2 .tagline{letter-spacing:.1em;font-size:.8125rem}
 .ph-hero2 h1{font-size:clamp(1.625rem,7.3vw,2rem);line-height:1.12}
 .ph-hero2 .cta-row{margin:14px 0 8px}
 .ph-hero2 .hero-grid{gap:16px}
 .ph-hero2 .p0-dir{padding:10px 16px 8px}
 .ph-hero2 .p0-dir em{min-height:24px}
}
@media (max-width:640px){
 .p0-hero.ph-hero2{padding-top:14px!important}
 .ph-hero2 .hero-grid{gap:12px}
 .ph-side .p0-dirs{gap:8px}
 .ph-hero2 .p0-dir b{margin-bottom:2px}
 .ph-hero2 .p0-dir span{line-height:1.38}
 .ph-hero2 .p0-dir em{margin-top:2px}
 .ph-hero2 .lead,.ph-hero2 .hero-copy>p{margin-bottom:0}
}
