/* BlogasArtioma hub — offer pages (/paslaugos/*): STRUCTURE ONLY.
   Layout, spacing, sizes, breakpoints. No colours, fonts, borders or shadows: those come from a theme file loaded after
   this one (css/theme-product.css now; later css/theme-food.css, css/theme-event.css). A theme = a token swap + look.
   This page does NOT load css/style.css (that is the hub's own comic look).
   Breakpoints: phone < 700px · tablet 700–1099px · desktop ≥ 1100px (jump list: 5-in-a-row from 900px).

   Offer pattern (copy it for the other service pages):
     <section id="anchor" class="offer">
       [<div class="offer__media"><img …></div>  or  <div class="offer__media offer__media--type" aria-hidden="true">…</div>]
       <div class="offer__body"> span.tag · h2 · ul.offer__list · p.offer__price · div.offer__cta (a.obtn…) · [p.offer__note] </div>
     </section>
   Media is 5/12 of the card on desktop and alternates sides (left on odd, right on even). Numbers (01, 02…) are CSS counters. */

:root{--gut:clamp(16px,4vw,58px);--bar:64px;--gap:clamp(24px,3vw,40px);--space:clamp(48px,6vw,88px);--pad:clamp(20px,3vw,36px)}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0}
summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
.sr-only:focus{position:fixed;left:12px;top:12px;width:auto;height:auto;margin:0;clip:auto;z-index:100;padding:12px 16px}
.sr-only:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ico{width:20px;height:20px;flex:none}

/* in-page anchors must clear the sticky bar */
.offer,.offer__note,.how,.faq,#kontaktai{scroll-margin-top:calc(var(--bar) + 24px)}

/* ---------- Page frame ---------- */
.wrap{max-width:1440px;margin:0 auto;padding:clamp(16px,3vw,40px) var(--gut) var(--space);display:flex;flex-direction:column;gap:var(--gap)}
.how,.faq,.contact{margin-top:calc(var(--space) - var(--gap))}

/* ---------- Header bar (sticky) ---------- */
.obar{position:sticky;top:0;z-index:50}
.obar__in{max-width:1440px;margin:0 auto;height:var(--bar);padding:0 var(--gut);display:flex;align-items:center;justify-content:space-between;gap:12px}
.obar__brand{min-height:44px;min-width:0;display:flex;align-items:center}
.obar__call{flex:none;min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0}
.obar__call span{display:none}
@media (min-width:700px){.obar__call{padding:0 22px}.obar__call span{display:inline}}

/* ---------- Buttons ---------- */
.obtn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 28px;text-align:center}
.obtn--site{flex-direction:column;gap:2px;align-self:stretch;min-height:44px}

/* ---------- Hero ---------- */
.ohero{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding-top:clamp(0px,1.5vw,16px)}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px}
.crumbs a{min-height:44px;display:inline-flex;align-items:center}
.ohero h1{max-width:18ch}
.ohero__lead{max-width:62ch}
.ohero__where{max-width:62ch;padding-top:12px}
.ohero__cta{width:100%;max-width:440px;display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:8px}
@media (min-width:700px){.ohero__cta{width:auto;max-width:none;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:16px}}

/* ---------- Jump list: phone 2 equal columns (5th spans) · 700–899px 3 + 2 · ≥900px one row of 5 ---------- */
.jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:10px}
.jump a{min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:10px 8px;text-align:center;text-decoration:none}
.jump a:last-child{grid-column:1 / -1}
@media (min-width:700px){.jump{grid-template-columns:repeat(3,minmax(0,1fr))}.jump a:last-child{grid-column:auto}}
@media (min-width:900px){.jump{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ---------- Offers ---------- */
.offers{display:flex;flex-direction:column;gap:var(--gap);counter-reset:offer}
.offer{display:flex;flex-direction:column;overflow:hidden;counter-increment:offer}
.offer__media{position:relative;display:flex;justify-content:center;aspect-ratio:4/3;max-height:380px}
.offer__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.offer__media--contain{width:100%;max-width:800px;margin-inline:auto} /* white-background product shot: never wider than its 800px source */
.offer__media--contain img{inset:16px;width:calc(100% - 32px);height:calc(100% - 32px);object-fit:contain}
.offer__media--type{flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px 16px;text-align:center;aspect-ratio:auto;max-height:none;min-height:160px}
.offer__body{padding:var(--pad);display:flex;flex-direction:column;gap:14px}
.offer .tag{align-self:flex-start}
.offer__list{list-style:none;display:flex;flex-direction:column;gap:8px}
.offer__list li{position:relative;padding-left:22px}
.offer__list li::before{content:"▪";position:absolute;left:0;top:-1px}
.offer__price{align-self:flex-start}
.offer__cta{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.offer__note{padding-top:12px;margin-top:4px}
@media (min-width:700px){
  .offer__cta{flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:14px}
}
@media (min-width:900px){
  /* every card: media 5/12, text 7/12 (media alternates sides: left on odd, right on even) */
  .offer{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:stretch}
  .offer__media{aspect-ratio:auto;max-height:none;min-height:380px;align-items:center}
  .offer__media--contain{max-width:none;margin-inline:0}
  .offer:nth-child(even){grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
  .offer:nth-child(even) .offer__media{order:2}
  .offer__body{justify-content:center}
}

/* ---------- How it works ---------- */
.how{display:flex;flex-direction:column;gap:24px}
.steps{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.steps li{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;row-gap:4px;align-items:start}
.steps__n{grid-row:1 / span 2}
.steps h3{min-height:44px;display:flex;align-items:center}
@media (min-width:700px){
  /* subgrid: the three headings (and texts) share rows, so they line up even when one wraps */
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto auto;column-gap:32px;row-gap:10px}
  .steps li{grid-row:span 3;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);row-gap:10px}
  .steps__n{grid-row:auto}
  .steps h3{min-height:0;align-items:flex-start}
}

/* ---------- FAQ ---------- */
.faq{display:flex;flex-direction:column;gap:8px;counter-reset:qa}
.faq__head{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px}
.faq__list{display:flex;flex-direction:column}
.qa{counter-increment:qa}
.qa summary{min-height:56px;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.qa h3{display:flex;align-items:baseline;gap:14px}
.qa h3::before{content:counter(qa,decimal-leading-zero);flex:none}
.plus{flex:none;width:28px;height:28px;display:flex;align-items:center;justify-content:center}
.qa p{padding:0 0 20px 38px;max-width:68ch}

/* ---------- Contact (same markup as the hub's block) ---------- */
.contact{padding:var(--pad);display:flex;flex-direction:column;gap:20px}
.contact__intro{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.contact__side{display:flex;flex-direction:column;gap:12px}
.cta{position:relative;display:flex;gap:8px;align-items:stretch}
.cta__mail{flex:1;min-width:0;min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;white-space:nowrap;
  font-size:clamp(13px,calc((100vw - 190px) / 12.6),20px)}
@media (max-width:359px){.cta__mail .ico{display:none}}
.cta__copy{flex:none;width:52px;min-height:52px;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.cta__status{position:absolute;right:0;bottom:calc(100% + 8px);z-index:2;padding:4px 10px;white-space:nowrap;pointer-events:none}
.cta__status:empty{display:none}
.cta-row{display:flex;gap:8px}
.contact .btn{min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 8px}
.cta-row__phone{flex:1;min-width:0;gap:8px;white-space:nowrap}
.cta-row__phone .ico{width:18px;height:18px}
.cta-row__sq{flex:none;width:48px;padding:0}
.cta-row__sq .ico{width:22px;height:22px}
@media (max-width:339px){.cta-row__phone .ico{display:none}}
@media (min-width:1100px){
  .contact{flex-direction:row;align-items:center;gap:56px}
  .contact__intro{flex:1;min-width:0}
  .contact__side{flex:none;width:540px}
}

/* ---------- Footer ---------- */
.ofoot{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:calc(var(--space) / 2 - var(--gap));padding-top:28px;text-align:center}
.ofoot__links{display:flex;flex-wrap:wrap;justify-content:center;column-gap:24px}
.ofoot__links a{min-height:44px;display:flex;align-items:center}
.ofoot p{max-width:46ch}
@media (min-width:700px){.ofoot p{max-width:none}}
