/* Responsive layer (25.11.2026): sections-a. Only rules inside @media (max-width:1899px). The approved look at 1920+ must not change. */
/* Fixer B: #apie (.sx-g1), #kas-yra-pth + #taikymas (.sx-g2), #sprendimai (.sx-g3). CSS only, no JS edits. */

/* =========================================================================================
   A · laptops 1200-1899: everything scales with the width from the 1920 reference (COMMON scale)
   ========================================================================================= */
@media (min-width:1200px) and (max-width:1899px){
  html.sx-page :is(.sx-g1 .sx-g1__title,.sx-g2 .sx-g2-h2,.sx-g3 .sx-g3__h2){ font-size:clamp(27px,2.19vw,42px) }
  html.sx-page :is(.sx-g1 .sx-g1__eyebrow,.sx-g2 .sx-g2-eyebrow,.sx-g3 .sx-g3__eyebrow){ font-size:clamp(11px,.625vw,12px) }
  html.sx-page :is(.sx-g1 .sx-g1__lead,.sx-g2 .sx-g2-lead,.sx-g3 .sx-g3__lead){ font-size:clamp(14px,.833vw,16px) }

  /* g1 · Apie mus */
  html.sx-page .sx-g1{ padding:clamp(56px,4.17vw,80px) 0 }
  html.sx-page .sx-g1 .sx-g1__rail{ margin-top:clamp(32px,2.9vw,56px) }
  html.sx-page .sx-g1 .sx-g1__num{ font-size:clamp(28px,2.083vw,40px) }
  html.sx-page .sx-g1 .sx-g1__story{ margin-top:clamp(36px,3.33vw,64px) }
  html.sx-page .sx-g1 .sx-g1__frame{ min-height:clamp(300px,18.75vw,360px) }
  html.sx-page .sx-g1 .sx-g1__p{ font-size:clamp(14px,.807vw,15.5px) }
  html.sx-page .sx-g1 .sx-g1__p--first{ font-size:clamp(14.5px,.885vw,17px) }
  html.sx-page .sx-g1 .sx-g1__facts{ margin-top:clamp(24px,1.875vw,36px); padding-top:clamp(18px,1.35vw,26px) }
  html.sx-page .sx-g1 .sx-g1__fnum{ font-size:clamp(22px,1.5625vw,30px); height:clamp(26px,1.77vw,34px) }
  html.sx-page .sx-g1 .sx-g1__fnum--name{ font-size:clamp(18px,1.25vw,24px) }
  html.sx-page .sx-g1 .sx-g1__quote{ margin-top:clamp(36px,3.33vw,64px); font-size:clamp(18px,1.25vw,24px) }

  /* g2 · Kas yra PtH */
  html.sx-page .sx-g2.sx-g2-pth{ padding:clamp(56px,5.42vw,104px) 0 clamp(48px,4.58vw,88px) }
  html.sx-page .sx-g2 .sx-g2-chain{ margin-top:clamp(36px,3.33vw,64px) }
  html.sx-page .sx-g2 .sx-g2-stop .sx-g2-h3{ font-size:clamp(18px,.99vw,19px) }
  html.sx-page .sx-g2 .sx-g2-p{ font-size:clamp(14px,.755vw,14.5px) }

  /* g2 · Taikymas: the fade into the mist keeps its 1920 relation to the card bottoms */
  html.sx-page .sx-g2.sx-g2-apps{ --apb:clamp(56px,5.2vw,124px); padding:clamp(36px,3.33vw,64px) 0 var(--apb);
    background:linear-gradient(180deg,#154681 0%,#1f5391 26%,#44719f 58%,#8ba6c9 calc(100% - var(--apb) - 52px),#bccbe0 calc(100% - var(--apb) * .48),#d6dfeb 100%) }
  html.sx-page .sx-g2 .sx-g2-cards{ margin-top:clamp(24px,2.5vw,48px) }
  html.sx-page .sx-g2 .sx-g2-body .sx-g2-h3{ font-size:clamp(18px,1.04vw,20px) }

  /* g3 · Sprendimai */
  html.sx-page .sx-g3 .sx-g3__top{ padding:clamp(56px,5.83vw,112px) 0 clamp(32px,3.125vw,60px) }
  html.sx-page .sx-g3 .sx-g3__mid{ padding-bottom:clamp(52px,5.4vw,104px) }
  html.sx-page .sx-g3 .sx-g3__acc{ padding-bottom:max(48px,6.5vw - 56px) }
  html.sx-page .sx-g3 :is(.sx-g3__head,.sx-g3__acc-head){ gap:clamp(40px,3.33vw,64px) }
  html.sx-page .sx-g3 .sx-g3__h3{ font-size:clamp(22px,1.875vw,36px) }
  html.sx-page .sx-g3 .sx-g3__p{ font-size:clamp(14px,.807vw,15.5px) }
  html.sx-page .sx-g3 .sx-g3__boiler{ grid-template-columns:minmax(0,.44fr) minmax(0,.56fr); min-height:clamp(420px,29vw,560px) }
  html.sx-page .sx-g3 .sx-g3__body{ padding:clamp(36px,2.92vw,56px) clamp(36px,3.125vw,60px) clamp(36px,2.8vw,54px) clamp(36px,2.92vw,56px) }
  html.sx-page .sx-g3 .sx-g3__range{ margin-top:clamp(24px,1.77vw,34px) }
  html.sx-page .sx-g3 .sx-g3__range-v{ font-size:clamp(24px,1.98vw,38px) }
  html.sx-page .sx-g3 .sx-g3__feat{ margin-top:clamp(22px,1.67vw,32px) }
  html.sx-page .sx-g3 :is(.sx-g3__feat li,.sx-g3__txt p,.sx-g3__note){ font-size:clamp(14px,.755vw,14.5px) }
  html.sx-page .sx-g3 .sx-g3__cmp{ margin-top:clamp(32px,2.7vw,52px) }
  html.sx-page .sx-g3 .sx-g3__case h4{ font-size:clamp(18px,.99vw,19px) }
}

/* =========================================================================================
   B · tablets and small laptops 768-1199
   ========================================================================================= */
@media (min-width:768px) and (max-width:1199px){
  html.sx-page :is(.sx-g1 .sx-g1__title,.sx-g2 .sx-g2-h2,.sx-g3 .sx-g3__h2){ font-size:27px }
  html.sx-page :is(.sx-g1 .sx-g1__eyebrow,.sx-g2 .sx-g2-eyebrow,.sx-g3 .sx-g3__eyebrow){ font-size:11.5px }
  html.sx-page :is(.sx-g1 .sx-g1__lead,.sx-g2 .sx-g2-lead,.sx-g3 .sx-g3__lead){ font-size:15px; line-height:1.65 }

  /* g1 */
  html.sx-page .sx-g1{ padding:48px 0 56px }
  html.sx-page .sx-g1 .sx-g1__rail{ margin-top:36px }
  html.sx-page .sx-g1 .sx-g1__num{ font-size:30px }
  html.sx-page .sx-g1 .sx-g1__story{ margin-top:40px }
  html.sx-page .sx-g1 .sx-g1__frame{ min-height:320px }
  html.sx-page .sx-g1 .sx-g1__cap img{ width:60px }
  html.sx-page .sx-g1 .sx-g1__p{ font-size:14.5px; line-height:1.7 }
  html.sx-page .sx-g1 .sx-g1__p--first{ font-size:15.5px }
  html.sx-page .sx-g1 .sx-g1__facts{ margin-top:32px; padding-top:22px }
  html.sx-page .sx-g1 .sx-g1__fnum{ font-size:24px; height:28px }
  html.sx-page .sx-g1 .sx-g1__fnum--name{ font-size:19px }
  html.sx-page .sx-g1 .sx-g1__quote{ margin-top:40px; font-size:18px }

  /* g2 · PtH: the round pictures grow, the text shrinks */
  html.sx-page .sx-g2{ --sx-g2-node:120px; --sx-g2-big:156px }
  html.sx-page .sx-g2.sx-g2-pth{ padding:56px 0 52px }
  html.sx-page .sx-g2 .sx-g2-chain{ margin-top:40px }
  html.sx-page .sx-g2 .sx-g2-h3{ font-size:18px }
  html.sx-page .sx-g2 .sx-g2-stop .sx-g2-p{ font-size:14px; line-height:1.65 }
  /* g2 · Taikymas */
  html.sx-page .sx-g2.sx-g2-apps{ --apb:56px; padding:48px 0 var(--apb) }
  html.sx-page .sx-g2 .sx-g2-cards{ margin-top:32px }
  html.sx-page .sx-g2 .sx-g2-body .sx-g2-h3{ font-size:18px }
  html.sx-page .sx-g2 .sx-g2-body .sx-g2-p{ font-size:14px }

  /* g3 */
  html.sx-page .sx-g3 .sx-g3__top{ padding:56px 0 36px }
  html.sx-page .sx-g3 .sx-g3__mid{ padding-bottom:56px }
  html.sx-page .sx-g3 .sx-g3__acc{ padding-bottom:48px }
  html.sx-page .sx-g3 .sx-g3__h3{ font-size:24px }
  html.sx-page .sx-g3 .sx-g3__p{ font-size:14.5px }
  html.sx-page .sx-g3 .sx-g3__boiler{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:0 }
  html.sx-page .sx-g3 .sx-g3__photo{ min-height:380px }
  /* softer join between photo and text panel (no hard vertical seam) */
  html.sx-page .sx-g3 .sx-g3__photo::after{ background:linear-gradient(90deg,rgba(16,58,120,0) 62%,rgba(16,58,120,.5) 88%,rgba(16,58,120,.85) 100%),linear-gradient(180deg,rgba(16,50,100,.28) 0%,rgba(16,50,100,0) 26%,rgba(8,30,66,0) 68%,rgba(8,30,66,.6) 100%) }
  html.sx-page .sx-g3 .sx-g3__body{ padding:36px 32px 36px 32px }
  html.sx-page .sx-g3 .sx-g3__range{ margin-top:24px }
  html.sx-page .sx-g3 .sx-g3__range-v{ font-size:26px }
  html.sx-page .sx-g3 .sx-g3__feat{ margin-top:22px; grid-template-columns:1fr }
  html.sx-page .sx-g3 .sx-g3__feat li{ padding:10px 0 10px 20px }
  html.sx-page .sx-g3 .sx-g3__feat li::before{ top:17px }
  html.sx-page .sx-g3 :is(.sx-g3__feat li,.sx-g3__txt p,.sx-g3__note){ font-size:14px }
  html.sx-page .sx-g3 .sx-g3__cmp{ margin-top:32px; gap:20px }
  html.sx-page .sx-g3 .sx-g3__case h4{ font-size:18px }
  html.sx-page .sx-g3 .sx-g3__note{ margin-top:20px }
}
@media (min-width:1024px) and (max-width:1199px){
  html.sx-page .sx-g3 :is(.sx-g3__head,.sx-g3__acc-head){ grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:40px }
}
@media (min-width:768px) and (max-width:1023px){
  /* heading rows: stack instead of squeezing the intro into a 245 px column */
  html.sx-page .sx-g3 :is(.sx-g3__head,.sx-g3__acc-head){ grid-template-columns:1fr; gap:16px; align-items:start }
  html.sx-page .sx-g3 :is(.sx-g3__lead,.sx-g3__acc-head .sx-g3__p){ max-width:640px }
}
@media (min-width:768px) and (max-width:899px){
  /* Apie mus: the FIL-SG photo gets 5 of 12 columns (about 42 %) */
  html.sx-page .sx-g1 .sx-g1__photo{ grid-column:1 / span 5 }
  html.sx-page .sx-g1 .sx-g1__text{ grid-column:6 / -1 }
  html.sx-page .sx-g1 .sx-g1__cap{ font-size:12px }
}
/* boiler card 600-1023: photo on top at full width, text and list side by side under it, so the card fits one screen */
@media (min-width:600px) and (max-width:1023px){
  html.sx-page .sx-g3 .sx-g3__boiler{ grid-template-columns:minmax(0,1fr); min-height:0 }
  html.sx-page .sx-g3 .sx-g3__photo{ min-height:0; aspect-ratio:16 / 9 }
  html.sx-page .sx-g3 .sx-g3__photo>img{ object-position:24% 42% }
  html.sx-page .sx-g3 .sx-g3__photo::after{ background:linear-gradient(180deg,rgba(16,50,100,.2) 0%,rgba(16,50,100,0) 40%,rgba(16,58,120,.75) 100%) }
  html.sx-page .sx-g3 .sx-g3__body{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:32px; align-content:start; padding:28px 28px 30px }
  html.sx-page .sx-g3 .sx-g3__body > *{ grid-column:1 }
  html.sx-page .sx-g3 .sx-g3__body > .sx-g3__eyebrow{ justify-self:start }
  html.sx-page .sx-g3 .sx-g3__body > .sx-g3__feat{ grid-column:2; grid-row:1 / span 4; margin-top:0; align-self:center; grid-template-columns:1fr }
  html.sx-page .sx-g3 .sx-g3__feat li{ padding:10px 0 10px 20px }
  html.sx-page .sx-g3 .sx-g3__feat li::before{ top:17px }
}

/* stacked application cards (600-899): picture larger, title beside the text so the whole card width is used */
@media (min-width:600px) and (max-width:899px){
  html.sx-page .sx-g2.sx-g2-apps{ --sx-g2-fig:clamp(280px,46vw,380px) }
  html.sx-page .sx-g2 .sx-g2-body{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr); column-gap:28px; align-items:start; padding:0 26px 26px }
  html.sx-page .sx-g2 .sx-g2-body .sx-g2-p{ margin-top:0; max-width:none }
  html.sx-page .sx-g2 .sx-g2-body .sx-g2-h3::before{ margin-bottom:12px }
}

/* stacked layouts (899 and narrower): the light mist starts at the last card's bottom, not behind the cards */
@media (max-width:899px){
  html.sx-page .sx-g2.sx-g2-apps{ background:linear-gradient(180deg,#154681 0%,#1b4d8b 45%,#2a5b96 calc(100% - var(--apb) - 140px),#44719f calc(100% - var(--apb) - 24px),#8ba6c9 calc(100% - var(--apb) * .5),#bccbe0 calc(100% - var(--apb) * .18),#d6dfeb 100%) }
  html.sx-page .sx-g3 .sx-g3__cmp{ grid-template-columns:1fr }
}

/* =========================================================================================
   C · phones and unfolded phones (767 and narrower)
   ========================================================================================= */
@media (max-width:767px){
  html.sx-page :is(.sx-g1 .sx-g1__title,.sx-g2 .sx-g2-h2,.sx-g3 .sx-g3__h2){ font-size:24px; line-height:1.18 }
  html.sx-page :is(.sx-g1 .sx-g1__eyebrow,.sx-g2 .sx-g2-eyebrow,.sx-g3 .sx-g3__eyebrow){ font-size:11.5px; letter-spacing:.2em; gap:12px }
  html.sx-page :is(.sx-g1 .sx-g1__eyebrow,.sx-g2 .sx-g2-eyebrow,.sx-g3 .sx-g3__eyebrow)::before{ width:26px }
  html.sx-page :is(.sx-g1 .sx-g1__title,.sx-g2 .sx-g2-h2,.sx-g3 .sx-g3__h2){ margin-top:14px }
  html.sx-page :is(.sx-g1 .sx-g1__lead,.sx-g2 .sx-g2-lead,.sx-g3 .sx-g3__lead){ font-size:15.5px; line-height:1.55 }

  /* g1 */
  html.sx-page .sx-g1{ --sx-pad:20px; padding:36px 0 44px }
  html.sx-page .sx-g1 .sx-g1__lead{ margin-top:16px }
  html.sx-page .sx-g1 .sx-g1__num{ font-size:30px }
  html.sx-page .sx-g1 .sx-g1__lbl{ font-size:14px; line-height:1.55 }
  html.sx-page .sx-g1 .sx-g1__p{ font-size:15px; line-height:1.5 }
  html.sx-page .sx-g1 .sx-g1__p + .sx-g1__p{ margin-top:10px }
  html.sx-page .sx-g1 .sx-g1__p--first{ font-size:15.5px }
  html.sx-page .sx-g1 .sx-g1__fnum{ font-size:24px; height:auto }
  html.sx-page .sx-g1 .sx-g1__fnum--name{ font-size:19px }
  html.sx-page .sx-g1 .sx-g1__flbl{ font-size:14px; line-height:1.5; margin-top:6px }
  html.sx-page .sx-g1 .sx-g1__quote{ margin-top:28px }
  html.sx-page .sx-g1 .sx-g1__quote{ font-size:16px; line-height:1.5; padding-left:20px }

  /* g2 */
  html.sx-page .sx-g2{ --sx-pad:20px }
  html.sx-page .sx-g2.sx-g2-pth{ padding:44px 0 }
  html.sx-page .sx-g2 .sx-g2-head{ gap:16px }
  html.sx-page .sx-g2 .sx-g2-chain{ margin-top:32px }
  html.sx-page .sx-g2 .sx-g2-h3{ font-size:17.5px }
  html.sx-page .sx-g2 .sx-g2-p{ font-size:15px; line-height:1.55 }
  html.sx-page .sx-g2.sx-g2-apps{ --apb:56px; padding:40px 0 var(--apb) }
  html.sx-page .sx-g2 .sx-g2-cards{ margin-top:24px; gap:16px }
  html.sx-page .sx-g2 .sx-g2-body .sx-g2-h3{ font-size:18px }
  html.sx-page .sx-g2 .sx-g2-body .sx-g2-p{ font-size:15px; line-height:1.55 }

  /* g3 */
  html.sx-page .sx-g3 .sx-g3__wrap{ padding:0 20px }
  html.sx-page .sx-g3 .sx-g3__top{ padding:40px 0 24px }
  html.sx-page .sx-g3 .sx-g3__mid{ padding-bottom:44px }
  html.sx-page .sx-g3 .sx-g3__acc{ padding-bottom:48px }
  html.sx-page .sx-g3 :is(.sx-g3__head,.sx-g3__acc-head){ grid-template-columns:1fr; gap:14px; align-items:start }
  html.sx-page .sx-g3 .sx-g3__h3{ font-size:22px; margin-top:14px }
  html.sx-page .sx-g3 .sx-g3__p{ font-size:15px; line-height:1.55 }
  html.sx-page .sx-g3 .sx-g3__range-v{ font-size:24px }
  html.sx-page .sx-g3 .sx-g3__feat li{ font-size:14.5px }
  html.sx-page .sx-g3 .sx-g3__cmp{ margin-top:24px; gap:16px }
  html.sx-page .sx-g3 .sx-g3__case h4{ font-size:17.5px }
  html.sx-page .sx-g3 .sx-g3__txt p{ font-size:15px; line-height:1.55 }
  html.sx-page .sx-g3 .sx-g3__note{ font-size:14.5px }
}

/* g1 on phones: the picture comes right after the heading (CSS order only, the DOM is unchanged) */
@media (max-width:720px){
  html.sx-page .sx-g1 .sx-g1__wrap{ display:grid; grid-template-columns:minmax(0,1fr); column-gap:24px }
  html.sx-page .sx-g1 .sx-g1__story{ display:contents }
  html.sx-page .sx-g1 .sx-g1__head{ grid-row:1; grid-column:1 / -1 }
  html.sx-page .sx-g1 .sx-g1__photo{ grid-row:2; grid-column:1 / -1; display:flex; flex-direction:column; align-items:stretch; margin:28px 0 0 }
  html.sx-page .sx-g1 .sx-g1__rail{ grid-row:3; grid-column:1 / -1; margin-top:36px }
  html.sx-page .sx-g1 .sx-g1__text{ grid-row:4; grid-column:1 / -1; margin-top:28px }
  html.sx-page .sx-g1 .sx-g1__facts{ grid-row:5; grid-column:1 / -1; margin-top:20px }
  html.sx-page .sx-g1 .sx-g1__quote{ grid-row:6; grid-column:1 / -1; margin-top:28px }
  html.sx-page .sx-g1 .sx-g1__frame{ aspect-ratio:1 / 1; border-radius:16px }
  html.sx-page .sx-g1 .sx-g1__frame img{ object-position:50% 56% }
  html.sx-page .sx-g1 .sx-g1__cap{ margin-top:12px; flex-direction:row; align-items:center; gap:14px; font-size:12.5px; padding-bottom:0 }
  html.sx-page .sx-g1 .sx-g1__cap img{ width:72px }
  html.sx-page .sx-g1 .sx-g1__fact{ padding:16px 0 }
}
/* unfolded phones 600-720: photo beside the three facts on the current, the three partner facts in one row */
@media (min-width:600px) and (max-width:720px){
  html.sx-page .sx-g1 .sx-g1__wrap{ grid-template-columns:minmax(0,5fr) minmax(0,7fr) }
  html.sx-page .sx-g1 .sx-g1__photo{ grid-column:1; margin-top:32px }
  html.sx-page .sx-g1 .sx-g1__rail{ grid-row:2; grid-column:2; margin-top:32px; align-self:center }
  html.sx-page .sx-g1 .sx-g1__frame{ aspect-ratio:4 / 5 }
  html.sx-page .sx-g1 .sx-g1__cap{ flex-direction:column; align-items:flex-start; gap:8px }
  html.sx-page .sx-g1 .sx-g1__facts{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:28px; row-gap:18px; padding-top:20px; border-top:1px solid var(--g1-hair) }
  html.sx-page .sx-g1 .sx-g1__fact:first-child{ grid-column:1 / -1 }
  html.sx-page .sx-g1 .sx-g1__fact{ padding:0; border:0 }
  html.sx-page .sx-g1 .sx-g1__flbl{ max-width:none }
}
/* unfolded phones 600-767: rounder pictures in the PtH chain */
@media (min-width:600px) and (max-width:767px){
  html.sx-page .sx-g2{ --sx-g2-node:80px; --sx-g2-big:104px }
  html.sx-page .sx-g3 .sx-g3__photo{ aspect-ratio:16 / 10 }
}
/* phones up to 599: boiler photo taller so the cabinets are not cut */
@media (max-width:599px){
  html.sx-page .sx-g2.sx-g2-apps{ --sx-g2-fig:clamp(220px,64vw,300px) }
  html.sx-page .sx-g3 .sx-g3__photo{ aspect-ratio:4 / 3 }
  html.sx-page .sx-g3 .sx-g3__photo>img{ object-position:24% 40% }
}
/* narrow phones: no orphan "HEAT" in the eyebrow, side padding 18 */
@media (max-width:400px){
  html.sx-page :is(.sx-g1 .sx-g1__eyebrow,.sx-g2 .sx-g2-eyebrow,.sx-g3 .sx-g3__eyebrow){ letter-spacing:.15em; white-space:nowrap }
}
@media (max-width:360px){
  html.sx-page :is(.sx-g1 .sx-g1__eyebrow,.sx-g2 .sx-g2-eyebrow,.sx-g3 .sx-g3__eyebrow){ font-size:11px; letter-spacing:.12em; gap:10px }
  html.sx-page :is(.sx-g1 .sx-g1__eyebrow,.sx-g2 .sx-g2-eyebrow,.sx-g3 .sx-g3__eyebrow)::before{ width:22px }
  html.sx-page :is(.sx-g1,.sx-g2){ --sx-pad:18px }
  html.sx-page .sx-g3 .sx-g3__wrap{ padding:0 18px }
}

/* round 2: 721-767 facts like 600-720 (one wide + two), no 1 px seam between PtH and Taikymas */
@media (min-width:721px) and (max-width:767px){
  html.sx-page .sx-g1 .sx-g1__facts{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:28px; row-gap:18px }
  html.sx-page .sx-g1 .sx-g1__fact:first-child{ grid-column:1 / -1 }
  html.sx-page .sx-g1 .sx-g1__flbl{ max-width:none }
}
@media (max-width:1899px){
  html.sx-page .sx-g2.sx-g2-apps{ margin-top:-1px }
}
