:root {
  --cream: #f3eee8;
  --paper: #fff;
  --ink: #25211e;
  --ink-2: #4b4744;
  --mute: #7a6a5a;
  --rule: #ded6cc;
  --rule-2: #b3a896;
  --accent: #7a6a5a;
  --accent-2: #b3a896;
  --accent-soft: #d6cdc2;
  --sage: #25211e;
  --danger: #c01818;
  --container: 1280px;
  --gutter: 28px;
  --r: 14px;
  --serif: "Montserrat", system-ui, sans-serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mobile-call-bar { display: none; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(243,238,232,.94); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); }
.hdr.scrolled { border-bottom-color: var(--rule); }
.hdr-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 120px; }
.brand-logo { width: 160px; max-height: 42px; object-fit: contain; object-position: left center; }
.brand-logo-light { filter: brightness(0) invert(1); }
.brand-mark { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--cream); background: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.nav { display: flex; gap: 30px; align-items: center; font-family: var(--serif); font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.nav a:hover, .section-link:hover { color: var(--accent-2); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--rule-2); border-radius: 10px; background: transparent; }
.nav-toggle span { display: block; width: 16px; height: 2px; margin: 4px auto; background: var(--ink); }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 0 var(--gutter) 18px; }
.mobile-nav a { padding: 10px 0; border-top: 1px solid var(--rule); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-accent { background: var(--accent); color: var(--paper); }
.btn-ghost, .btn-ghost-light { border-color: var(--rule-2); background: transparent; }
.btn-ghost-light { color: var(--paper); border-color: rgba(255,255,255,.35); }
.btn-sm { padding: 10px 16px; }
.display { font-family: var(--serif); font-size: clamp(2.8rem, 5.4vw, 5.1rem); font-weight: 300; line-height: 1.04; letter-spacing: 0; margin: 0; text-transform: none; }
.display-sm { font-size: clamp(2.3rem, 4.5vw, 4rem); }
.h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; line-height: 1.1; margin: 0; }
.kicker { display: inline-flex; gap: 10px; align-items: center; color: var(--accent); text-transform: uppercase; font-family: var(--serif); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.lede, .hero-lede { color: var(--mute); font-size: 17px; max-width: 58ch; }
.hero { min-height: 690px; position: relative; display: flex; align-items: end; color: var(--paper); isolation: isolate; overflow: hidden; background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(37,33,30,.88), rgba(66,78,122,.34)); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { padding-top: 120px; padding-bottom: 92px; display: flex; flex-direction: column; gap: 22px; }
.hero .display, .hero .hero-lede { color: var(--paper); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.object-search { position: relative; z-index: 5; margin-top: -62px; padding-bottom: 34px; }
.archive-search { margin-top: -34px; padding-bottom: 0; }
.search-wrap { display: flex; flex-direction: column; gap: 16px; }
.search-card { background: rgba(255,255,255,.96); border: 1px solid var(--rule); border-radius: 18px; box-shadow: 0 28px 70px -42px rgba(28,31,35,.45); padding: 14px; backdrop-filter: blur(10px); }
.search-grid { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(120px, .8fr)) auto; gap: 10px; align-items: stretch; }
.field { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
.field-label { margin-bottom: 3px; color: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; padding: 0; min-height: 25px; }
.field select { appearance: none; cursor: pointer; }
.search-btn { min-height: 72px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 800; }
.search-ico { font-size: 21px; line-height: 1; }
.chips { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--mute); }
.chips-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 999px; background: rgba(255,255,255,.58); color: var(--ink-2); font-size: 13px; }
.chip:hover { border-color: var(--accent); color: var(--accent-2); }
.section { padding: clamp(72px, 8vw, 110px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head-centered { align-items: center; text-align: center; flex-direction: column; }
.intro { background: var(--paper); }
.intro-grid, .contact-grid, .detail-layout { display: grid; grid-template-columns: 1fr 420px; gap: clamp(32px, 5vw, 72px); align-items: center; }
.intro-grid img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--r); }
.intro-grid > div { max-width: 680px; }
.intro-grid .display { max-width: 12ch; margin-bottom: 18px; }
.intro-grid .rich { max-width: 62ch; font-size: 18px; line-height: 1.75; }
.rich p { margin: 0 0 14px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.listing, .info-card, .simple-card, .form-card, .price-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px -32px rgba(37,33,30,.42); }
.listing-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #eee6d8; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.listing:hover .listing-media img { transform: scale(1.04); }
.tag { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: var(--accent); color: var(--paper); font-family: var(--serif); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.listing-media .tag { position: absolute; top: 14px; left: 14px; }
.listing-media .tag + .tag { left: auto; right: 14px; }
.tag-reserved { background: var(--danger); color: #fff; }
.reserved-text { color: var(--danger); text-transform: uppercase; letter-spacing: .08em; }
.listing-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.listing-loc { margin: 0; color: var(--mute); font-size: 13px; }
.listing-title { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.listing-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--mute); font-size: 13px; }
.listing-specs li { padding-right: 8px; border-right: 1px solid var(--rule-2); }
.listing-specs li:last-child { border-right: 0; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--rule); }
.listing-price-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.listing-price, .price-big { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--accent); }
.sqm-price { color: var(--mute); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.sqm-price-big { margin-top: -8px; color: var(--ink-2); font-size: 15px; }
.listing-actions { display: flex; align-items: center; gap: 8px; }
.listing-call { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--paper); font-size: 13px; font-weight: 700; }
.listing-cta { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--cream); }
.cards-section { background: var(--cream); }
.process { background: var(--paper); }
.process-head { display: grid; grid-template-columns: minmax(220px, .85fr) 1fr minmax(260px, .75fr); gap: 28px; align-items: end; margin-bottom: 34px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: var(--r); background: var(--cream); overflow: hidden; }
.step { min-height: 250px; padding: 28px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 15px; }
.step:last-child { border-right: 0; }
.step-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--paper); color: var(--accent-2); font-family: var(--serif); font-size: 18px; }
.step-title { margin: auto 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.15; font-weight: 500; }
.step-desc { margin: 0; color: var(--mute); font-size: 14px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { padding: 28px; }
.info-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; }
.info-card p { margin: 0; color: var(--mute); }
.contact { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); isolation: isolate; }
.contact-has-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--contact-bg); background-size: cover; background-position: center; transform: scale(1.02); }
.contact-has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(37,33,30,.88), rgba(37,33,30,.58)); }
.contact .lede { color: rgba(255,255,255,.78); }
.form-card { padding: 28px; color: var(--ink); }
.wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.cf7-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf7-grid p { display: contents; }
.cf7-grid .wpcf7-form-control-wrap:first-child { grid-column: 1 / -1; }
.cf7-grid label:first-child { grid-column: 1 / -1; }
.wpcf7 label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: .02em; }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 input, .wpcf7 textarea, .filter-bar select { width: 100%; min-height: 52px; border: 1px solid var(--rule-2); border-radius: 8px; padding: 14px 15px; font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); outline: 0; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #8c847c; opacity: 1; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(66,78,122,.16); }
.wpcf7 textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.cf7-full { width: 100%; }
.cf7-acceptance { flex-direction: row !important; align-items: flex-start; gap: 10px !important; color: var(--mute) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0 !important; line-height: 1.45; }
.cf7-acceptance .wpcf7-form-control-wrap { width: auto; }
.cf7-acceptance input { width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.wpcf7-submit { min-height: 54px; background: var(--accent) !important; color: var(--paper) !important; border-color: var(--accent) !important; border-radius: 8px !important; cursor: pointer; font-weight: 900 !important; }
.wpcf7-submit:hover { background: var(--ink) !important; border-color: var(--ink) !important; }
.archive-hero { padding: 72px 0 42px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.filter-bar { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)) auto auto; gap: 12px; align-items: end; margin-bottom: 32px; }
.filter-bar label span { display: block; color: var(--mute); font-size: 12px; margin-bottom: 5px; }
.detail-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: clamp(320px, 34vw, 430px) 106px; gap: 8px; margin-top: 18px; }
.detail-gallery figure { min-width: 0; min-height: 0; margin: 0; overflow: hidden; border-radius: 8px; background: var(--paper); }
.detail-gallery figure:first-child { grid-column: 1 / 7; }
.detail-gallery figure:nth-child(2) { grid-column: 7 / 13; }
.detail-gallery figure:nth-child(n+3) { grid-column: span 3; }
.detail-gallery-count-5 figure:nth-child(n+3) { grid-column: span 4; }
.detail-gallery-count-4 figure:nth-child(n+3) { grid-column: span 6; }
.detail-gallery-count-3 figure:nth-child(3) { grid-column: 1 / -1; }
.detail-gallery-count-2 { grid-template-rows: clamp(320px, 34vw, 430px); }
.detail-gallery-count-1 { grid-template-rows: clamp(360px, 42vw, 540px); }
.detail-gallery figure:only-child { grid-column: 1 / -1; grid-row: 1 / 3; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(37,33,30,.62); color: var(--paper); font-size: 26px; font-weight: 900; }
.gallery-more-mobile { display: none; }
.detail-breadcrumbs { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; color: var(--mute); font-size: 13px; }
.breadcrumb-trail { min-width: 0; display: flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap; }
.breadcrumb-trail a, .breadcrumb-trail span { color: var(--mute); overflow: hidden; text-overflow: ellipsis; }
.breadcrumb-trail a:hover { color: var(--accent); }
.breadcrumb-sep { flex: 0 0 auto; opacity: .55; }
.detail-breadcrumbs > span { flex: 0 0 auto; font-weight: 800; color: var(--ink-2); }
.detail-layout { align-items: start; padding-top: 22px; padding-bottom: 88px; }
.detail-main { display: flex; flex-direction: column; gap: 42px; }
.detail-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.title-block { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); box-shadow: 0 16px 40px -32px rgba(37,33,30,.42); }
.title-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.listing-h1 { margin: 0; font-family: var(--sans); font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 900; line-height: 1.18; }
.title-meta { color: var(--mute); margin: 0; }
.summary-specs { display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--ink-2); }
.summary-spec { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.summary-spec img, .summary-spec-fallback { width: 22px; height: 22px; flex: 0 0 auto; }
.summary-spec img, .feature-group h3 img, .tech-row span img { filter: grayscale(1) brightness(0); }
.summary-spec-fallback { border: 1px solid var(--rule-2); border-radius: 4px; background: var(--cream); }
.mobile-title-price { display: none; }
body.single-skelbimas .title-block .mobile-title-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--danger); font-family: var(--serif); font-weight: 900; font-size: 32px; line-height: 1.05; }
body.single-skelbimas .title-block .mobile-title-price small { color: var(--mute); font-family: var(--sans); font-size: 16px; font-weight: 800; }
body.single-skelbimas .title-tags { display: none; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); background: var(--paper); border-radius: var(--r); overflow: hidden; }
.spec { padding: 20px; border-right: 1px solid var(--rule); }
.spec:last-child { border-right: 0; }
.spec-val { display: block; font-family: var(--serif); font-size: 26px; }
.spec-key { display: block; color: var(--mute); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.block { display: flex; flex-direction: column; gap: 16px; }
.block-body { color: var(--mute); max-width: 70ch; }
.description-section .block-body { max-width: none; padding: 22px 24px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); box-shadow: 0 16px 40px -32px rgba(37,33,30,.42); }
.description-section .block-body p:last-child { margin-bottom: 0; }
.feature-groups { display: flex; flex-direction: column; gap: 18px; }
.feature-group { padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.feature-group:last-child { padding-bottom: 0; border-bottom: 0; }
.feature-group h3 { margin: 0 0 10px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.feature-group h3 img { width: 24px; height: 24px; object-fit: contain; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink-2); }
.tech { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.tech-row { display: grid; grid-template-columns: minmax(190px, .75fr) 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.tech-row:last-child { border-bottom: 0; }
.tech-row span { display: inline-flex; align-items: center; gap: 9px; color: var(--mute); }
.tech-row span img { width: 23px; height: 23px; object-fit: contain; }
.tech-row strong { color: var(--ink); font-weight: 800; }
.price-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.call-btn, .contact-toggle { width: 100%; }
.map-card, .broker-card, .loan-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; box-shadow: 0 16px 40px -32px rgba(37,33,30,.42); }
.map-card iframe { display: block; width: 100%; height: 360px; border: 0; filter: saturate(.9); }
.video-card { position: relative; overflow: hidden; border-radius: 8px; background: #000; aspect-ratio: 16/9; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card p { margin: 0; padding: 14px 18px; color: var(--mute); font-size: 14px; }
.broker-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px; }
.broker-photo, .broker-avatar { width: 78px; height: 78px; border-radius: 999px; object-fit: cover; }
.broker-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--paper); font-family: var(--serif); font-size: 23px; font-weight: 700; }
.broker-body h2 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.broker-body p { margin: 4px 0 12px; color: var(--mute); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.broker-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.broker-actions a, .broker-link { color: var(--accent); font-weight: 800; }
.broker-socials { width: 100%; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.broker-social { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); transition: transform .18s ease, border-color .18s ease; }
.broker-social:hover { border-color: var(--accent-soft); transform: translateY(-1px); }
.broker-social img { width: 22px; height: 22px; object-fit: contain; }
.broker-link { white-space: nowrap; }
.detail-side .broker-card { grid-template-columns: auto 1fr; }
.detail-side .broker-body h2 { font-size: 21px; }
.detail-side .broker-actions { flex-direction: column; gap: 4px; }
.loan-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.loan-card h2, .listing-contact-card h2 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.loan-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.loan-row:last-of-type { border-bottom: 0; }
.loan-row span { color: var(--mute); font-size: 14px; }
.loan-row strong { color: var(--accent); font-family: var(--serif); font-size: 24px; line-height: 1; white-space: nowrap; }
.loan-card p { margin: 0; color: var(--mute); font-size: 13px; }
.loan-card .loan-note { padding-top: 2px; font-size: 11px; line-height: 1.45; }
.listing-contact-card[hidden] { display: none; }
.listing-contact-card { border-color: var(--accent-soft); padding: 24px; }
.listing-contact-card > p { margin: 0 0 16px; color: var(--mute); font-size: 14px; }
.listing-contact-card .wpcf7 input, .listing-contact-card .wpcf7 textarea { background: #f8f9ff; border-color: var(--rule); }
.listing-contact-card .wpcf7-submit { width: 100%; padding: 14px 18px !important; }
.similar-section { background: var(--paper); border-top: 1px solid var(--rule); }
.gallery-lightbox { position: fixed; inset: 0; z-index: 999; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; gap: 16px; padding: 28px; background: rgba(37,33,30,.94); }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.gallery-lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; }
.gallery-lightbox figcaption { color: rgba(255,255,255,.78); font-weight: 800; }
.lightbox-close, .lightbox-prev, .lightbox-next { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: var(--paper); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; font-size: 28px; }
.lightbox-prev, .lightbox-next { width: 54px; height: 54px; font-size: 42px; justify-self: center; }
.mobile-broker-call { display: none; }
@media (min-width: 981px) {
  .detail-side .price-card { padding: 20px; }
  .detail-side .price-card .price-big,
  .detail-side .price-card .sqm-price-big { display: none; }
}
.testimonials { background: var(--cream); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test { margin: 0; display: flex; min-height: 300px; flex-direction: column; gap: 22px; padding: 30px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); box-shadow: 0 16px 42px -34px rgba(28,31,35,.45); }
.test-stars { display: flex; gap: 5px; color: var(--accent); letter-spacing: .02em; }
.test blockquote { margin: 0; color: var(--ink-2); font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.test figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.test-avatar { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 13px; }
.test figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.test figcaption em { color: var(--mute); font-style: normal; font-size: 13px; }
.contact-grid .form-card { box-shadow: none; }
.wpcf7-form p { margin: 0; }
.wpcf7-not-valid-tip { margin-top: 5px; color: var(--danger); font-size: 12px; }
.wpcf7-response-output { margin: 8px 0 0 !important; padding: 12px 14px !important; border-radius: 10px; color: var(--ink); background: var(--cream); }
.ftr { padding: 58px 0 24px; background: var(--ink); color: var(--paper); }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.ftr a { display: block; color: rgba(255,255,255,.82); margin: 7px 0; }
.ftr h3 { margin: 0 0 12px; font-family: var(--serif); }
.ftr-about { max-width: 34ch; color: rgba(255,255,255,.72); }
.ftr-bot { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.55); font-size: 13px; }
.ftr-solution { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: rgba(255,255,255,.62); }
.ftr .ftr-solution a { margin: 0; display: inline-flex; align-items: center; opacity: .88; transition: opacity .18s ease; }
.ftr .ftr-solution a:hover { opacity: 1; }
.ftr-solution img { display: block; width: auto; max-width: 128px; height: 24px; object-fit: contain; }
.nav-links { margin-top: 36px; display: flex; justify-content: center; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; margin: 0 4px; padding: 0 13px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink-2); font-weight: 800; line-height: 1; box-shadow: 0 14px 34px -30px rgba(37,33,30,.45); }
.nav-links .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.nav-links a.page-numbers:hover { border-color: var(--accent-soft); color: var(--accent); transform: translateY(-1px); }
.nav-links .prev, .nav-links .next { min-width: 52px; font-size: 20px; }
.nav-links .dots { border-color: transparent; background: transparent; box-shadow: none; color: var(--mute); }
@media (max-width: 980px) {
  .mobile-call-bar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; background: var(--accent); color: var(--paper); font-weight: 800; letter-spacing: .02em; }
  .hdr { top: 44px; }
  .nav, .hdr .btn-sm { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav:not([hidden]) { display: flex; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .field-text, .search-btn { grid-column: 1 / -1; }
  .process-head { grid-template-columns: 1fr; align-items: start; }
  .steps, .test-grid { grid-template-columns: 1fr 1fr; }
  .listing-grid, .cards-grid, .features, .ftr-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid, .contact-grid, .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .broker-card { grid-template-columns: auto 1fr; }
  .broker-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  body.single-skelbimas { padding-bottom: 126px; }
  .container { padding: 0 18px; }
  .hero { min-height: auto; align-items: end; }
  .hero-inner { min-height: 620px; padding-top: 128px; padding-bottom: 132px; }
  .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
  .hero-actions .btn { width: 100%; min-height: 48px; }
  .object-search { margin-top: 0; padding-top: 18px; }
  .hero + .object-search { margin-top: -92px; padding-top: 0; }
  .hero + .object-search .search-wrap { padding-top: 92px; }
  .archive-search { margin-top: 0; padding-top: 18px; }
  .intro-grid .display { max-width: 100%; font-size: clamp(2rem, 11vw, 3rem); line-height: 1.08; }
  .intro-grid .rich { max-width: 100%; font-size: 16px; line-height: 1.72; }
  .search-grid, .steps, .test-grid { grid-template-columns: 1fr; }
  .step { min-height: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: 0; }
  .listing-foot { align-items: stretch; flex-direction: column; gap: 12px; }
  .listing-actions { width: 100%; }
  .listing-call { flex: 1; }
  .listing-grid, .cards-grid, .features, .specs, .ftr-grid, .cf7-grid, .filter-bar { grid-template-columns: 1fr; }
  .ftr-bot { align-items: flex-start; flex-direction: column; }
  .form-card { padding: 22px 18px; }
  .wpcf7-form { gap: 16px; }
  .cf7-grid { gap: 16px; }
  .wpcf7 textarea { min-height: 150px; }
  .detail-gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; gap: 8px; margin-top: 0; padding: 0 0 10px; background: #f2f3f7; }
  .detail-breadcrumbs { display: none; }
  .detail-gallery figure,
  .detail-gallery figure:nth-child(2),
  .detail-gallery figure:nth-child(n+3) { grid-column: auto; }
  .detail-gallery figure { border-radius: 0; }
  .detail-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .detail-gallery figure:nth-child(n+6) { display: none; }
  .detail-gallery figure:first-child img { aspect-ratio: 1 / .82; min-height: 430px; }
  .detail-gallery figure:not(:first-child) { border-radius: 8px; }
  .detail-gallery figure:not(:first-child) img { aspect-ratio: 1.12 / .78; }
  .gallery-more { inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 0; background: rgba(37,33,30,.58); font-size: 26px; }
  .gallery-more-desktop { display: none; }
  .gallery-more-mobile { display: flex; }
  .detail-layout { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; padding-bottom: 58px; background: #f2f3f7; }
  .detail-main, .detail-side { display: contents; }
  .title-block, .price-card, .loan-card, .block, .listing-contact-card { width: 100%; min-width: 0; }
  .title-block { margin: 0; padding: 22px 18px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); box-shadow: 0 16px 38px -34px rgba(37,33,30,.45); }
  .title-block { order: 1; }
  .price-card { order: 2; margin: 0; padding: 24px 18px; border-radius: 8px; }
  .loan-card { order: 3; margin: 0; padding: 20px 18px; border-radius: 8px; gap: 8px; }
  .tech-section { order: 4; }
  .features-section { order: 5; }
  .video-section { order: 6; }
  .description-section { order: 7; }
  .map-section { order: 8; }
  .detail-side .broker-card { order: 9; display: none; }
  .listing-contact-card { order: 10; }
  .similar-section { background: #f2f3f7; }
  .title-tags { display: none; }
  .summary-specs { order: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .summary-spec { min-width: 0; display: flex; justify-content: center; padding: 10px 8px; border: 1px solid var(--rule); border-radius: 8px; background: #f8f9ff; font-size: 13px; text-align: center; }
  .summary-spec img, .summary-spec-fallback { width: 20px; height: 20px; }
  .mobile-title-price { order: 4; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--danger); font-family: var(--serif); font-weight: 800; font-size: 38px; line-height: 1; }
  .mobile-title-price small { color: var(--mute); font-family: var(--sans); font-size: 18px; font-weight: 700; }
  .price-card { display: none; }
  .price-card .price-big { color: var(--danger); font-size: 40px; line-height: 1; }
  .price-card .sqm-price-big { margin-top: -4px; color: var(--mute); font-size: 18px; }
  .price-card .call-btn, .price-card .contact-toggle { display: none; }
  .loan-card h2 { display: none; }
  .loan-row { grid-template-columns: minmax(0, 1fr) auto; padding: 6px 0; border-bottom: 0; }
  .loan-row span { color: var(--ink); font-size: 17px; }
  .loan-row strong { color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 500; }
  .loan-card .loan-note { margin-top: 6px; color: var(--mute); font-size: 10px; line-height: 1.35; }
  .block { margin: 0; padding: 20px 18px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
  .block .h2 { font-size: 26px; }
  .block-body { max-width: none; }
  .feature-groups, .features, .tech, .map-card { width: 100%; min-width: 0; }
  .tech-row { grid-template-columns: 1fr; gap: 5px; padding: 13px 16px; }
  .tech-row span { font-size: 13px; }
  .section-head { align-items: start; flex-direction: column; }
  .map-card iframe { height: 300px; }
  .broker-card { grid-template-columns: 1fr; align-items: start; }
  .broker-link { grid-column: auto; }
  .gallery-lightbox { display: flex; align-items: center; justify-content: center; padding: 0; background: #050505; }
  .gallery-lightbox figure { position: relative; width: 100%; height: 100vh; height: 100dvh; justify-content: center; padding: 74px 0 68px; box-sizing: border-box; }
  .gallery-lightbox img { width: 100vw; max-width: 100vw; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 0; }
  .gallery-lightbox figcaption { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); color: rgba(255,255,255,.88); font-size: 21px; letter-spacing: .02em; }
  .lightbox-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 3; width: 54px; height: 54px; background: rgba(0,0,0,.34); border-color: rgba(255,255,255,.66); font-size: 38px; }
  .lightbox-prev, .lightbox-next { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; background: rgba(0,0,0,.34); border-color: rgba(255,255,255,.36); font-size: 38px; transform: translateY(-50%); }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .mobile-broker-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; flex-direction: column; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--rule); box-shadow: 0 -18px 42px -30px rgba(37,33,30,.55); backdrop-filter: blur(14px); }
  .mobile-broker-head { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
  .mobile-broker-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 18px; line-height: 1.12; font-weight: 900; }
  .mobile-broker-actions { display: grid; grid-template-columns: 44px 44px minmax(0, 1fr); gap: 9px; align-items: stretch; }
  .mobile-broker-photo, .mobile-broker-avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
  .mobile-broker-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--paper); font-weight: 800; }
  .mobile-broker-social { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
  .mobile-broker-social img { width: 24px; height: 24px; object-fit: contain; }
  .mobile-broker-phone { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 900; box-shadow: 0 12px 28px -22px rgba(122,106,90,.75); }
  .nav-links { margin-top: 28px; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .page-numbers { min-width: 40px; height: 40px; margin: 0 3px; flex: 0 0 auto; }
}
