/* Vilnius branch page sections (v2).
   Product cards, sliders, prices and FAQ use the site's own markup and classes
   (window-products-slider*, ls-starting-price*, custom_faq accordion). This file only adds what the site's CSS lacks:
   section rhythm matching the site (max 1440px, 16/80px gutters), photo tiles from completed projects,
   the process block, the calculator list and the mobile action bar. */

.lsv, .lsv-intro { --y: #FFCC32; --k: #000; --ink: #151515; --muted: #626262; --soft: #F7F7F7; --line: #E5E5E5; color: var(--ink); }
.lsv *, .lsv-intro * { box-sizing: border-box; }
.lsv p { margin: 0; }
.lsv a:focus-visible, .lsv button:focus-visible, .lsv [role="button"]:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }

/* global.css forces DegularTextBold on every a and li with !important; keep body links in the text face. */
.lsv p a, .lsv li a, .lsv-intro a { font-family: DegularVariable, Arial, sans-serif !important; font-weight: 600 !important; color: var(--k); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Section rhythm taken from the site's product sections */
.lsv-sec { padding: 40px 0; background: #fff; scroll-margin-top: 80px; }
.lsv-sec--grey { background: var(--soft); }
.lsv-wrap { max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .lsv-sec { padding: 72px 0; } .lsv-wrap { padding: 0 80px; } }

.lsv-h2 { margin: 0 0 16px; color: var(--k); font-family: ErbaumRegular, sans-serif !important; font-weight: 400; font-size: 28px; line-height: 32px; }
.lsv-h2--center { text-align: center; margin-bottom: 32px; }
.lsv-h3 { margin: 0; color: var(--k); font-family: ErbaumRegular, sans-serif !important; font-weight: 400; font-size: 22px; line-height: 28px; }
.lsv-h3 a { color: var(--k); text-decoration: none; font-family: ErbaumRegular, sans-serif !important; font-weight: 400 !important; }
.lsv-h3 a:hover { text-decoration: underline; }
@media (min-width: 768px) { .lsv-h2 { font-size: 40px; line-height: 48px; } .lsv-h3 { font-size: 28px; line-height: 36px; } }

.lsv-intro2 { margin-bottom: 32px; }
.lsv-intro2 p, .lsv-row__lead, .lsv-process p, .lsv-price p { font-family: DegularVariable, Arial, sans-serif; font-size: 18px; line-height: 1.55; }
.lsv-row { margin-top: 56px; display: flex; flex-direction: column; gap: 24px; }
.lsv-row__lead { margin-top: -8px !important; }
.lsv-small { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Product cards (site component) */
.lsv .window-products-slider { padding-bottom: 4px; }
.lsv .window-products-slider-card > a { height: 100%; transition: box-shadow .2s ease; }
.lsv .window-products-slider-card:hover { box-shadow: 0 10px 28px -18px rgba(0, 0, 0, .45); }
.lsv-card-title { margin: 0; color: var(--k); font-family: ErbaumRegular, sans-serif !important; font-weight: 400; font-size: 20px; line-height: 28px; }
@media (min-width: 768px) { .lsv-card-title { font-size: 24px; line-height: 32px; } }
.lsv-card-spec { margin-top: 6px !important; color: var(--muted); font-family: DegularVariable, Arial, sans-serif; font-size: 15px; line-height: 1.45; }
.lsv .window-products-slider-btn:disabled { opacity: .35; cursor: default; }

/* Category tiles with photos from completed projects */
.lsv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lsv-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #ddd; text-decoration: none !important; }
.lsv-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lsv-tile:hover img { transform: scale(1.03); }
.lsv-tile span {
  position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 12px; background: #fff; color: var(--k);
  font-family: ErbaumRegular, sans-serif !important; font-size: 18px; line-height: 1.2;
}
.lsv-tiles--doors { align-items: start; }
.lsv-tilebox { display: flex; flex-direction: column; gap: 16px; }
.lsv-tilebox p { color: var(--ink); font-size: 16px; line-height: 1.5; font-family: DegularVariable, Arial, sans-serif; }

/* Process with a real installation photo */
.lsv-process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.lsv-process__photo { margin: 0; position: sticky; top: 24px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; }
.lsv-process__photo img { width: 100%; height: 100%; object-fit: cover; }
.lsv-steps { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: s; }
.lsv-steps li { counter-increment: s; position: relative; padding: 24px 0 24px 64px; border-top: 1px solid var(--line); }
.lsv-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 24px; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--y); color: var(--k); font-family: DegularText-Bold, Arial, sans-serif; font-size: 17px;
}
.lsv-steps h3 { margin: 0 0 8px; color: var(--k); font-family: ErbaumRegular, sans-serif !important; font-weight: 400; font-size: 22px; line-height: 28px; }

/* Price and calculators */
.lsv-price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.lsv-price p + p { margin-top: 12px; }
.lsv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lsv-btn, .lsv-intro .lsv-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;
}
.lsv-btn--yellow { background: var(--y); color: var(--k) !important; }
.lsv-btn--black { background: var(--k); color: #fff !important; }
.lsv-calc { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; }
.lsv-calc li + li { border-top: 1px solid var(--line); }
.lsv-calc a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; color: var(--k);
  text-decoration: none !important; font-family: ErbaumRegular, sans-serif !important; font-weight: 400 !important; font-size: 19px;
}
.lsv-calc a::after { content: "›"; font-family: DegularText-Bold, Arial, sans-serif; font-size: 26px; line-height: 1; }
.lsv-calc a:hover { background: #fffbea; }

/* FAQ (site accordion markup; the open/close logic lives in vilnius.js) */
.lsv .fil-head { cursor: pointer; gap: 16px; }
.lsv-faq-q { margin: 0; color: var(--k); font-family: DegularText-Bold, Arial, sans-serif; font-size: 16px; line-height: 1.4; }
@media (min-width: 768px) { .lsv-faq-q { font-size: 18px; } }
.lsv .faq-toggle { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--y); }
.lsv .faq-toggle::before, .lsv .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: #000; transform: translate(-50%, -50%); }
.lsv .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.lsv .fil-head.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.lsv .fil-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.lsv .fil-body p { padding-top: 12px; font-size: 16px; line-height: 1.55; font-family: DegularVariable, Arial, sans-serif; }

/* Hero intro that replaces the old SEO paragraph */
.lsv-intro { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.lsv-intro p { margin: 0; font-family: DegularVariable, Arial, sans-serif; font-size: 18px; line-height: 1.55; color: #151515; }
.lsv-intro .lsv-intro__meta { font-size: 16px; color: #626262; }
.lsv-intro .lsv-actions { margin-top: 12px; }

/* Mobile action bar */
.lsv-mbar { display: none; }

@media (max-width: 1023px) {
  .lsv-tiles { grid-template-columns: 1fr 1fr; }
  .lsv-process, .lsv-price { grid-template-columns: 1fr; gap: 32px; }
  .lsv-process__photo { position: static; aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .lsv-tiles { grid-template-columns: 1fr; gap: 16px; }
  .lsv-tile { aspect-ratio: 4 / 3; }
  .lsv-steps li { padding-left: 56px; }
  .lsv-btn { width: 100%; }
  .lsv-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 var(--line);
  }
  .lsv-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; }
  .lsv-mbar a:first-child { background: #000; color: #fff; }
  .lsv-mbar a:last-child { background: var(--y); color: #000; }
  body.ls-city-mobile-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .lsv-tile img, .lsv .fil-body, .lsv .faq-toggle::after { transition: none; } }

.lsv { letter-spacing: 0; font-family: DegularVariable, Arial, sans-serif; }
.lsv-hero { padding-top: 32px; padding-bottom: 64px; }
.lsv-back { display: inline-block; color: #000; margin-bottom: 24px; }
.lsv-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; }
.lsv-hero h1 { font-family: ErbaumRegular, sans-serif; font-size: 40px; font-weight: 400; line-height: 1.2; margin: 0 0 24px; overflow-wrap: anywhere; }
.lsv-hero-copy { min-width: 0; }
.lsv-contacts { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 18px; }
.lsv-contacts a { font-family: DegularVariable, Arial, sans-serif !important; font-weight: 400 !important; color: #000; overflow-wrap: anywhere; }
.lsv-contacts li { font-family: DegularVariable,Arial,sans-serif !important; font-weight: 400 !important; }
.lsv-intro { margin-top: 24px; }
.lsv-map { border-radius: 16px; overflow: hidden; min-height: 520px; background: #f7f7f7; }
.lsv-map iframe { display: block; width: 100%; height: 100%; min-height: 650px; border: 0; }
.lsv .lsv-intro2 p + p, .lsv .lsv-faq-answer p + p { margin-top: 12px; }
.lsv-row { position: relative; scroll-margin-top: 100px; }
.lsv-row__lead:empty, .lsv-small:empty { display: none; }
.lsv .lsv-h3 { max-width: calc(100% - 116px); min-height: 48px; display: flex; align-items: center; overflow-wrap: anywhere; }
.lsv-slider-tools { display: flex; gap: 8px; position: absolute; right: 0; top: 0; }
.lsv .window-products-slider-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ddd; border-radius: 50%; background: #fff; color: #000; font: 32px/1 Arial,sans-serif; cursor: pointer; }
.lsv .window-products-slider { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; width: 100%; min-width: 0; padding: 0 0 12px; }
.lsv .window-products-slider-card { flex: 0 0 calc((100% - 48px)/3); min-width: 0; overflow: hidden; background: #f7f7f7; border-radius: 16px; scroll-snap-align: start; }
.lsv-sec--grey .window-products-slider-card { background: #fff; }
.lsv .window-products-slider-card > a { display: flex; flex-direction: column; text-decoration: none; color: #000; }
.lsv-product-image { height: 260px; background: #fff; padding: 16px; display: flex; align-items: center; justify-content: center; }
.lsv-product-image img { width: 100%; height: 100%; object-fit: contain; }
.lsv-product-copy { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lsv .lsv-card-title { overflow-wrap: anywhere; }
.lsv .lsv-card-spec { margin-bottom: 12px; }
.lsv .ls-starting-price { margin-top: auto; }
.lsv .ls-starting-price__amount { font-family: DegularVariable,Arial,sans-serif; font-size: 18px; color: #000; }
.lsv .ls-starting-price__amount strong { font-size: 24px; font-family: DegularText-Bold,Arial,sans-serif; }
.lsv-faq { max-width: 850px; margin: 0 auto; display: grid; gap: 16px; }
.lsv-faq details { border: 1px solid #eee; border-radius: 12px; background: #fff; padding: 16px; }
.lsv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.lsv-faq summary::-webkit-details-marker { display: none; }
.lsv-faq summary:focus-visible { outline: 3px solid #ffcc32; outline-offset: 6px; }
.lsv-faq details[open] .faq-toggle::after { transform: translate(-50%,-50%) rotate(0); }
.lsv-faq-answer { padding-top: 14px; font-size: 16px; line-height: 1.55; }
.lsv-steps li { list-style: none; }
.lsv-steps li::marker { content: ''; }
.lsv-tile span { max-width: calc(100% - 32px); overflow-wrap: anywhere; }
.lsv-mbar a { text-align: center; padding: 6px 8px; }
body.ls-city-landing #CybotCookiebotDialog { z-index: 2147483646; }
@media (max-width: 1100px) { .lsv .window-products-slider-card { flex-basis: calc((100% - 24px)/2); } }
@media (max-width: 767px) {
  .lsv-hero { padding-top: 24px; padding-bottom: 32px; }
  .lsv-hero-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .lsv-hero h1 { font-size: 28px; line-height: 1.2; }
  .lsv-map { min-height: 320px; }
  .lsv-map iframe { height: 320px; min-height: 320px; }
  .lsv .window-products-slider-card { flex-basis: 86%; }
  .lsv-product-image { height: 220px; }
  .lsv .lsv-h3 { font-size: 20px; line-height: 28px; }
  .lsv-contacts { font-size: 17px; }
}
@media (max-width: 359px) {
  body.ls-city-landing .mobile-contact-cta { font-size: 14px !important; padding-left: 10px !important; padding-right: 10px !important; }
  body.ls-city-landing footer img.rounded-full { width: 56px; height: 56px; }
}
