/* Content sections for /paslaugos/langu-ir-duru-montavimas/ (v12 redesign).
   Header, hero and footer stay the site's own. Brand: yellow #FFCC32 and black, Erbaum headings, Degular text.
   Every section has its own form: fact strip, two-row process sheet, interactive joint cross-sections,
   product cards with photo features, a black table, a spec list, a yellow band, an order timeline and a split FAQ.
   The one bold element is the cross-section viewer; everything around it stays quiet. */

.lsn {
  --y: #FFCC32; --k: #000; --ink: #1A1A1A; --muted: #5C6166; --paper: #F2F3F4; --line: #D9DCDF;
  color: var(--ink); font-family: DegularVariable, Arial, sans-serif;
}
.lsn *, .lsn *::before, .lsn *::after { box-sizing: border-box; }
.lsn p { margin: 0; }
.lsn img { display: block; max-width: 100%; }
.lsn figure { margin: 0; }
.lsn ol, .lsn ul, .lsn dl, .lsn dd { margin: 0; padding: 0; list-style: none; }

/* global.css forces DegularTextBold on every a and li with !important; restore the text face inside the sections. */
.lsn li, .lsn dd, .lsn p a, .lsn li a, .lsn dd a, .lsn td a { font-family: DegularVariable, Arial, sans-serif !important; font-weight: 400 !important; }
.lsn p a, .lsn li a, .lsn dd a, .lsn td a { font-weight: 600 !important; color: var(--k); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lsn a:focus-visible, .lsn button:focus-visible, .lsn [role="button"]:focus-visible { outline: 3px solid var(--k); outline-offset: 3px; }
.lsn-sec--black a:focus-visible { outline-color: var(--y); }

.lsn-wrap { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.lsn-sec { padding: 112px 0; background: #fff; scroll-margin-top: 80px; }
.lsn-sec--paper { background: var(--paper); }
.lsn-sec--black { background: var(--k); color: rgba(255, 255, 255, .78); }
.lsn-sec--yellow { background: var(--y); }

.lsn-h2 { margin: 0; max-width: 18ch; color: var(--k); font-family: ErbaumRegular, sans-serif !important; font-weight: 400; font-size: 48px; line-height: 52px; letter-spacing: 0; }
.lsn-h2--wide { max-width: 24ch; }
.lsn-sec--black .lsn-h2 { color: #fff; }
.lsn-h3 { margin: 0 0 12px; color: var(--k); font-family: ErbaumRegular, sans-serif !important; font-weight: 400; font-size: 26px; line-height: 32px; }
.lsn-h3 a { color: inherit; text-decoration: none; font-family: inherit !important; font-weight: 400 !important; }
.lsn-h3 a:hover { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lsn-lead { max-width: 62ch; font-size: 19px; line-height: 1.6; }
.lsn-head { display: grid; gap: 20px; margin-bottom: 56px; }

/* 1. Fact strip */
.lsn-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.lsn-facts__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lsn-facts p { display: grid; gap: 4px; padding: 32px 24px 32px 0; }
.lsn-facts p + p { padding-left: 32px; border-left: 1px solid var(--line); }
.lsn-facts strong { color: var(--k); font-family: ErbaumRegular, sans-serif; font-weight: 400; font-size: 32px; line-height: 1.1; }
.lsn-facts span { color: var(--muted); font-size: 16px; line-height: 1.4; }

/* 2. Process sheet: one row per product, head on the left, steps in a 2 x 2 grid */
.lsn-flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; scroll-margin-top: 80px; }
.lsn-flow + .lsn-flow { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.lsn-flow__head { display: grid; gap: 20px; align-content: start; }
.lsn-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.lsn-steps li { padding-top: 20px; border-top: 2px solid var(--k); }
.lsn-step__n { display: block; margin-bottom: 12px; color: var(--k); font-family: ErbaumRegular, sans-serif; font-size: 22px; line-height: 1; }
.lsn-steps p { font-size: 17px; line-height: 1.6; }
.lsn-note { margin-top: 40px !important; padding: 20px 24px; border-left: 4px solid var(--y); background: var(--paper); font-size: 17px; line-height: 1.6; }

/* 3. Cross-section viewer */
.lsn-methods { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 48px; align-items: start; }
.lsn-tabs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.lsn-tab {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline; width: 100%; padding: 22px 16px 22px 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--muted);
  font-family: ErbaumRegular, sans-serif !important; font-weight: 400 !important; font-size: 20px; line-height: 1.3; transition: color .15s ease;
}
.lsn-tab__n { font-size: 16px; }
.lsn-tab:hover { color: var(--k); }
.lsn-tab[aria-selected="true"] { color: var(--k); box-shadow: inset 4px 0 0 var(--y); padding-left: 16px; grid-template-columns: 32px 1fr; }
.lsn-panel { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 28px; }
.lsn-panel[hidden] { display: none; }
.lsn-dwgbox { padding: 24px; border-radius: 16px; background: #fff; }
.lsn-dwg { display: block; width: 100%; height: auto; font-family: DegularVariable, Arial, sans-serif; }
.lsn-panel__txt { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 64ch; }
.lsn-panel__txt p { font-size: 17px; line-height: 1.6; }
.lsn-fit { margin-top: 14px !important; color: var(--k); font-weight: 600; }

.d-wall { stroke: #000; stroke-width: 1.5; }
.d-hatch { stroke: #B9BEC3; stroke-width: 1.2; }
.d-wl { fill: #000; font-size: 15px; font-weight: 600; }
.d-ins { stroke: #000; stroke-width: 1.2; }
.d-insdot { fill: #9AA1A7; }
.d-foam { fill: #FFCC32; fill-opacity: .65; stroke: #000; stroke-width: 1; }
.d-frame { fill: #fff; stroke: #000; stroke-width: 2; }
.d-cham { fill: none; stroke: #000; stroke-width: 1; }
.d-glass { fill: #DCEAF2; stroke: #6F8796; stroke-width: 1; }
.d-screw { stroke: #000; stroke-width: 3; stroke-linecap: round; }
.d-screw--s { stroke-width: 2.5; }
.d-head { fill: #000; }
.d-plate { fill: none; stroke: #000; stroke-width: 4; stroke-linejoin: round; }
.d-seal { stroke: #000; stroke-width: 5; }
.d-tape { fill: none; stroke-width: 5; stroke-linejoin: round; }
.d-tape--vap { stroke: #000; }
.d-tape--wind { stroke: #C79A00; }
.d-tape--rain { stroke: #5C6166; stroke-dasharray: 8 4; }
.d-dot { fill: #000; }
.d-lead { fill: none; stroke: #000; stroke-width: 1; }
.d-txt { fill: #000; font-size: 15px; }
.d-side { fill: #5C6166; font-size: 14px; }
.d-num { display: none; }
.d-num circle { fill: #FFCC32; stroke: #000; stroke-width: 2; }
.d-num text { fill: #000; font-size: 22px; font-weight: 700; text-anchor: middle; }
.lsn-legend { display: none; }

/* 4. Doors: product cards, then two photo features */
.lsn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lsn .lsn-dcard { min-width: 0; border: 1px solid var(--line); }
.lsn .lsn-dcard > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.lsn .lsn-dcard > a > div + div { display: flex; flex-direction: column; flex: 1; }
.lsn .lsn-dcard .window-products-slider-price { margin-top: auto; padding-top: 16px; }
.lsn .lsv-card-title { margin: 0; color: var(--k); font-family: ErbaumRegular, sans-serif !important; font-weight: 400; font-size: 24px; line-height: 32px; }
.lsn .lsv-card-spec { margin-top: 8px !important; color: var(--ink); font-family: DegularVariable, Arial, sans-serif !important; font-weight: 400 !important; font-size: 16px; line-height: 1.5; }
.lsn-feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; margin-top: 96px; }
.lsn-feature--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.lsn-feature--rev .lsn-feature__img { order: 2; }
.lsn-feature__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--paper); }
.lsn-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lsn-feature__img:hover img { transform: scale(1.03); }
.lsn-feature__txt p { font-size: 17px; line-height: 1.65; }

/* 5. Mistakes: black table */
.lsn-table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.55; }
.lsn-table thead th { padding: 0 32px 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .5); text-align: left; color: rgba(255, 255, 255, .55); font-family: DegularVariable, Arial, sans-serif; font-weight: 400; font-size: 15px; }
.lsn-table tbody th, .lsn-table td { padding: 28px 32px 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); text-align: left; vertical-align: top; }
.lsn-table tbody th { width: 26%; color: #fff; font-family: ErbaumRegular, sans-serif; font-weight: 400; font-size: 21px; line-height: 1.35; }
.lsn-table td { width: 37%; }
.lsn-table td:last-child { color: #fff; }
.lsn-table td:last-child::before { content: ""; display: block; width: 24px; height: 3px; margin: 0 0 12px; background: var(--y); }

/* 6. Extra works: spec list */
.lsn-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.lsn-split__aside { display: grid; gap: 20px; position: sticky; top: 32px; }
.lsn-spec { border-top: 2px solid var(--k); }
.lsn-spec__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.lsn-spec dt { color: var(--k); font-family: ErbaumRegular, sans-serif; font-size: 20px; line-height: 1.35; }
.lsn-spec dd { font-size: 17px; line-height: 1.6; }

/* 7. Objects: yellow band */
.lsn-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.lsn-cols3 article { padding-top: 24px; border-top: 2px solid var(--k); }
.lsn-cols3 p { color: var(--k); font-size: 17px; line-height: 1.6; }

/* 8. Order: timeline, then checklist and the dark action panel */
.lsn-order { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: o; }
.lsn-order li { position: relative; padding-top: 72px; }
.lsn-order li::before { content: ""; position: absolute; left: 0; right: -32px; top: 23px; height: 2px; background: var(--line); }
.lsn-order li:last-child::before { right: 0; }
.lsn-order__n {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--k); color: #fff; font-family: ErbaumRegular, sans-serif; font-size: 20px; z-index: 1;
}
.lsn-order p { font-size: 17px; line-height: 1.6; }
.lsn-orderbox { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; margin-top: 80px; align-items: stretch; }
.lsn-orderbox > div:first-child { padding: 40px; border-radius: 16px; background: var(--paper); }
.lsn-list { margin-top: 8px; display: grid; gap: 10px; }
.lsn-list li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.5; }
.lsn-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--k); }
.lsn-cta { display: grid; align-content: start; gap: 16px; padding: 40px; border-radius: 16px; background: var(--k); color: rgba(255, 255, 255, .78); }
.lsn-cta p { font-size: 17px; line-height: 1.6; }
.lsn-cta .lsn-cta__price { color: #fff; font-family: ErbaumRegular, sans-serif; font-size: 26px; line-height: 1.25; }
.lsn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.lsn-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px; border-radius: 16px;
  font-family: DegularText-Bold, Arial, sans-serif !important; font-weight: 700 !important; font-size: 18px; text-decoration: none !important;
}
.lsn-btn--yellow { background: var(--y); color: var(--k) !important; }
.lsn-btn--black { background: var(--k); color: #fff !important; }
.lsn-btn--black:hover { background: #222; }
.lsn-feature__txt .lsn-btn { margin-top: 28px; }
.lsn-btn--line { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff !important; }
.lsn-btn--line:hover { border-color: #fff; }

/* 9. FAQ: site accordion markup in a split layout (open/close logic in landing.js) */
.lsn .fil-head { cursor: pointer; gap: 16px; }
.lsn .lsv-faq-q { margin: 0; color: var(--k); font-family: DegularText-Bold, Arial, sans-serif; font-size: 18px; line-height: 1.4; }
.lsn .faq-toggle { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--y); }
.lsn .faq-toggle::before, .lsn .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: #000; transform: translate(-50%, -50%); }
.lsn .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.lsn .fil-head.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.lsn .fil-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.lsn .fil-body p { padding-top: 12px; font-size: 16px; line-height: 1.6; }

/* Mobile action bar */
.lsi-mbar { display: none; }

/* The hero's decorative yellow frame overflows the viewport on the live template. */
body.ls-installation-landing main#primary { overflow-x: clip; }

@media (max-width: 1199px) {
  .lsn-wrap { padding: 0 40px; }
  .lsn-flow, .lsn-split, .lsn-feature, .lsn-feature--rev { grid-template-columns: 1fr; gap: 40px; }
  .lsn-feature--rev .lsn-feature__img { order: 0; }
  .lsn-split__aside { position: static; }
  .lsn-methods { grid-template-columns: 1fr; }
  .lsn-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 8px; margin-bottom: 24px; }
  .lsn-tab, .lsn-tab[aria-selected="true"] { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 17px; box-shadow: none; background: #fff; }
  .lsn-tab[aria-selected="true"] { border-color: var(--k); background: var(--y); }
  .lsn-panel { grid-column: 1; grid-row: auto; }
  .lsn-cards { grid-template-columns: 1fr 1fr; }
  .lsn-order { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .lsn-order li:nth-child(2)::before { right: 0; }
  .lsn-orderbox { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lsn-wrap { padding: 0 16px; }
  .lsn-sec { padding: 72px 0; }
  .lsn-h2 { font-size: 32px; line-height: 36px; }
  .lsn-h3 { font-size: 22px; line-height: 28px; }
  .lsn-lead { font-size: 17px; }
  .lsn-head { margin-bottom: 40px; }
  .lsn-facts__in { grid-template-columns: 1fr 1fr; }
  .lsn-facts p { padding: 20px 12px 20px 0; }
  .lsn-facts p + p { padding-left: 0; border-left: 0; }
  .lsn-facts p:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .lsn-facts p:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .lsn-facts strong { font-size: 24px; }
  .lsn-facts span { font-size: 14px; }
  .lsn-flow + .lsn-flow { margin-top: 64px; padding-top: 64px; }
  .lsn-steps { grid-template-columns: 1fr; gap: 28px; }
  .lsn-tabs { grid-template-columns: 1fr 1fr; }
  .lsn-tab, .lsn-tab[aria-selected="true"] { grid-template-columns: 1fr; gap: 4px; padding: 12px; font-size: 15px; }
  .lsn-dwgbox { padding: 8px 8px 20px; }
  .d-txt, .d-lead, .d-dot, .d-wl { display: none; }
  .d-num { display: inline; }
  .lsn-legend { display: grid; gap: 6px; margin: 12px 8px 0; counter-reset: lg; }
  .lsn-legend li { counter-increment: lg; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; }
  .lsn-legend li::before { content: counter(lg); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #000; background: var(--y); font-family: DegularText-Bold, Arial, sans-serif; font-size: 13px; }
  .lsn-cards { grid-template-columns: 1fr; }
  .lsn-feature { margin-top: 56px; gap: 24px; }
  .lsn-table thead { display: none; }
  .lsn-table, .lsn-table tbody, .lsn-table tr, .lsn-table tbody th, .lsn-table td { display: block; width: 100%; }
  .lsn-table tr { padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .lsn-table tbody th, .lsn-table td { padding: 0; border: 0; }
  .lsn-table td { margin-top: 14px; }
  .lsn-table td:first-of-type::before { content: "Kas nutinka"; display: block; margin-bottom: 4px; color: rgba(255, 255, 255, .55); font-size: 14px; }
  .lsn-spec__row { grid-template-columns: 1fr; gap: 10px; }
  .lsn-cols3 { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .lsn-order { grid-template-columns: 1fr; row-gap: 0; }
  .lsn-order li { padding: 4px 0 32px 68px; }
  .lsn-order li::before { left: 23px; right: auto; top: 48px; bottom: 0; width: 2px; height: auto; }
  .lsn-order li:last-child::before { display: none; }
  .lsn-orderbox { margin-top: 40px; gap: 16px; }
  .lsn-orderbox > div:first-child, .lsn-cta { padding: 28px 20px; }
  .lsn-btn { width: 100%; }
  .lsi-mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #D9DCDF;
  }
  .lsi-mbar a { display: grid; place-items: center; min-height: 48px; border-radius: 12px; font-family: DegularText-Bold, Arial, sans-serif !important; font-size: 16px; text-decoration: none; }
  .lsi-mbar a:first-child { background: #000; color: #fff; }
  .lsi-mbar a:last-child { background: #FFCC32; color: #000; }
  body.ls-installation-mobile-bar { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .lsn-feature__img img, .lsn .fil-body, .lsn .faq-toggle::after, .lsn-tab { transition: none; }
}
