/* Mėnulio kiemai — stiliai pagal design-source/*.dc.html */

:root {
  --mk-forest: #17291e;
  --mk-forest-2: #2a4433;
  --mk-forest-deep: #101c14;
  --mk-cream: #f4efe6;
  --mk-paper: #f6f1e7;
  --mk-field: #fbf8f2;
  --mk-sand: #ebe3d4;
  --mk-ink: #2a2622;
  --mk-body: #4a433b;
  --mk-soft: #5a5047;
  --mk-muted: #8a7a66;
  --mk-mist: #c9c2b4;
  --mk-line: #d8ccb8;
  --mk-field-line: #cdbfa8;
  --mk-amber: #e9c58f;
  --mk-amber-2: #f3d6a8;
  --mk-wood: #a8743f;
  --mk-wood-2: #7d5228;
  --mk-free: #5f8f5a;
  --mk-reserved: #c98b3a;
  --mk-sold: #8c4a3b;
  --mk-serif: "Cormorant", Georgia, serif;
  --mk-sans: "Jost", system-ui, sans-serif;
  --mk-gutter: clamp(20px, 5vw, 64px);
  --mk-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Bazė ir Impreza neutralizavimas ---------- */

html:has(body.mk-canvas) { scroll-behavior: smooth; }
body.mk-canvas {
  background: var(--mk-cream);
  color: var(--mk-ink);
  font-family: var(--mk-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Impreza formų kintamieji — kad jos input stiliai nesimaišytų su mūsiškiais. */
  --inputs-font-family: var(--mk-sans);
  --inputs-font-size: 15px;
  --inputs-height: auto;
  --inputs-padding: 14px 16px;
  --inputs-border-radius: 4px;
  --inputs-border-width: 1px;
  --inputs-background: var(--mk-field);
  --inputs-focus-background: #fff;
  --inputs-border-color: var(--mk-field-line);
  --inputs-focus-border-color: var(--mk-wood);
  --inputs-text-color: var(--mk-ink);
  --inputs-focus-text-color: var(--mk-ink);
  --inputs-box-shadow: none;
  --inputs-focus-box-shadow: 0 0 0 3px rgba(168, 116, 63, .15);
  /* Impreza antraščių kintamieji — jos inline h1–h6 taisyklės įkeliamos po mk.css. */
  --h1-font-family: var(--mk-serif); --h2-font-family: var(--mk-serif); --h3-font-family: var(--mk-serif);
  --h4-font-family: var(--mk-serif); --h5-font-family: var(--mk-serif); --h6-font-family: var(--mk-serif);
  --h1-font-weight: 400; --h2-font-weight: 400; --h3-font-weight: 400; --h4-font-weight: 400;
  --h1-letter-spacing: normal; --h2-letter-spacing: normal; --h3-letter-spacing: normal; --h4-letter-spacing: normal;
  --h1-text-transform: none; --h2-text-transform: none; --h3-text-transform: none; --h4-text-transform: none;
  --color-content-text: var(--mk-ink);
  --color-content-bg: var(--mk-cream);
  --color-content-bg-alt: var(--mk-sand);
  --color-content-border: var(--mk-line);
  --color-content-heading: currentColor;
  --color-content-link: var(--mk-wood);
  --color-content-link-hover: var(--mk-wood-2);
}
body.mk-canvas *, body.mk-canvas *::before, body.mk-canvas *::after { box-sizing: border-box; }
/* Impreza antraštė, poraštė ir "į viršų" mygtukas — šis projektas turi savo. */
body.mk-canvas .l-header,
body.mk-canvas .l-footer,
body.mk-canvas .w-toplink { display: none !important; }
body.mk-canvas .l-main,
body.mk-canvas .l-section,
body.mk-canvas .l-section-h { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.mk-canvas .l-canvas,
body.mk-canvas .l-main,
body.mk-canvas .l-section { background: var(--mk-cream); color: var(--mk-ink); }
/* Impreza animate-on-scroll išjungtas, kad nesidubliuotų su mk-motion. */
body.mk-canvas .w-animate { opacity: 1 !important; transform: none !important; animation: none !important; }

:where(body.mk-canvas) :is(h1, h2, h3, h4) {
  font-family: var(--mk-serif);
  font-weight: 400;
  letter-spacing: normal;
  color: inherit;
  padding: 0;
  margin: 0;
}
:where(body.mk-canvas) p { margin: 0; }
:where(body.mk-canvas) a { color: var(--mk-wood); text-decoration: none; transition: color .3s var(--mk-ease), background-color .35s var(--mk-ease), border-color .35s var(--mk-ease); }
:where(body.mk-canvas) a:hover { color: var(--mk-wood-2); }
:where(body.mk-canvas) :is(button, input, select, textarea) { font-family: inherit; }
body.mk-canvas :focus-visible { outline: 2px solid var(--mk-amber); outline-offset: 2px; }
body.mk-canvas section[id], body.mk-canvas [id="uzklausa"] { scroll-margin-top: 72px; }
html.mk-lock { overflow: hidden; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Bendri blokai ---------- */

.mk-container { width: 100%; max-width: 1440px; margin: 0 auto; }
.mk-stack { display: flex; flex-direction: column; gap: 24px; }
.mk-stack--lg { gap: 28px; }
.mk-kicker { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--mk-wood); line-height: 1.5; }
.mk-kicker--amber { color: var(--mk-amber); }
.mk-h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; text-wrap: balance; }
.mk-h2--sm { font-size: clamp(32px, 3.6vw, 50px); }
.mk-h2--xs { font-size: clamp(30px, 3.2vw, 44px); }
.mk-h2--cta { font-size: clamp(38px, 4.6vw, 66px); }
.mk-lead, .mk-lead p { font-size: 18px; line-height: 1.7; color: var(--mk-body); text-wrap: pretty; }
.mk-lead p + p { margin-top: 16px; }
.mk-lead--light, .mk-lead--light p { color: var(--mk-mist); }
.mk-note { font-size: 13px; color: var(--mk-muted); }
.mk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.mk-head--row { gap: 20px; }
.mk-head__text { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.mk-head__lead { font-size: 17px; line-height: 1.6; color: var(--mk-mist); }
.mk-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-actions--center { justify-content: center; gap: 12px; }

.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; line-height: 1.2; letter-spacing: .06em; font-weight: 400;
  text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--mk-ease), color .35s var(--mk-ease), border-color .35s var(--mk-ease), transform .35s var(--mk-ease);
}
.mk-btn:active { transform: scale(.98); }
:where(body.mk-canvas) .mk-btn--forest { background: var(--mk-forest); color: var(--mk-cream); }
:where(body.mk-canvas) .mk-btn--forest:hover { background: var(--mk-forest-2); color: var(--mk-cream); }
:where(body.mk-canvas) .mk-btn--outline { border-color: var(--mk-forest); color: var(--mk-forest); background: transparent; }
:where(body.mk-canvas) .mk-btn--outline:hover { background: var(--mk-sand); color: var(--mk-forest); }
:where(body.mk-canvas) .mk-btn--amber { background: var(--mk-amber); color: #1c2a20; padding: 15px 28px; font-size: 15px; }
:where(body.mk-canvas) .mk-btn--amber:hover { background: var(--mk-amber-2); color: #1c2a20; }
:where(body.mk-canvas) .mk-btn--ghost-light { border-color: rgba(244, 239, 230, .6); color: var(--mk-cream); padding: 15px 28px; font-size: 15px; }
:where(body.mk-canvas) .mk-btn--ghost-light:hover { background: rgba(244, 239, 230, .1); color: var(--mk-cream); }

.mk-badge { display: inline-block; color: #fff; border-radius: 999px; padding: 5px 10px; font-size: 11px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.mk-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.mk-dot.is-free, .mk-badge.is-free { background: var(--mk-free); }
.mk-dot.is-reserved, .mk-badge.is-reserved { background: var(--mk-reserved); }
.mk-dot.is-sold, .mk-badge.is-sold { background: var(--mk-sold); }

/* ---------- Antraštė ---------- */

.mk-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px var(--mk-gutter);
}
body.admin-bar .mk-header { top: 32px; }
:where(body.mk-canvas) .mk-header__brand { display: flex; align-items: center; gap: 14px; color: var(--mk-paper); }
:where(body.mk-canvas) .mk-header__brand:hover { color: var(--mk-paper); }
.mk-header__brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.mk-header__brand span { font-family: var(--mk-serif); font-size: 22px; line-height: 1; letter-spacing: .18em; font-weight: 500; text-transform: uppercase; }
.mk-header__nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); flex-wrap: wrap; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
:where(body.mk-canvas) .mk-header__link { color: var(--mk-paper); position: relative; padding: 4px 0; }
.mk-header__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--mk-ease); }
:where(body.mk-canvas) .mk-header__link:hover, :where(body.mk-canvas) .mk-header__link.is-current { color: var(--mk-amber); }
.mk-header__link:hover::after { transform: scaleX(1); }
:where(body.mk-canvas) .mk-header__cta { color: #1c2a20; background: var(--mk-amber); padding: 12px 22px; border-radius: 999px; }
:where(body.mk-canvas) .mk-header__cta:hover { color: #1c2a20; background: var(--mk-amber-2); }
.mk-header__toggle { display: none; width: 44px; height: 44px; border: 0; padding: 0; background: transparent; position: relative; cursor: pointer; }
.mk-header__toggle i, .mk-header__toggle::before, .mk-header__toggle::after { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--mk-paper); transition: transform .4s var(--mk-ease), opacity .3s; }
.mk-header__toggle::before { top: 15px; }
.mk-header__toggle i { top: 21px; }
.mk-header__toggle::after { top: 27px; }
.mk-header__toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.mk-header__toggle.is-open i { opacity: 0; }
.mk-header__toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.mk-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--mk-paper); overflow: hidden; background: var(--mk-forest); }
.mk-hero--house { min-height: 88vh; }
.mk-hero--vieta { min-height: 78vh; }
.mk-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.mk-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,22,.55) 0%, rgba(18,30,22,0) 30%, rgba(18,30,22,0) 50%, rgba(18,30,22,.85) 100%); }
.mk-hero--house .mk-hero__shade { background: linear-gradient(180deg, rgba(18,30,22,.6) 0%, rgba(18,30,22,0) 32%, rgba(18,30,22,.1) 55%, rgba(18,30,22,.88) 100%); }
.mk-hero--vieta .mk-hero__shade { background: linear-gradient(180deg, rgba(18,30,22,.6) 0%, rgba(18,30,22,0) 35%, rgba(18,30,22,.88) 100%); }
.mk-hero__content {
  position: relative; margin-top: auto;
  padding: 0 var(--mk-gutter) clamp(40px, 7vh, 80px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end;
}
.mk-hero__content--split { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; padding-bottom: clamp(40px, 7vh, 72px); }
.mk-hero__content--split .mk-stack { gap: 18px; }
.mk-hero__lead { max-width: 820px; }
.mk-hero__kicker { margin-bottom: 20px; }
.mk-hero__title { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; text-wrap: balance; }
.mk-hero__title--xl { font-size: clamp(56px, 8vw, 120px); line-height: .92; }
.mk-hero__title--vieta { font-size: clamp(48px, 6.6vw, 100px); line-height: .96; }
.mk-stats { display: flex; gap: clamp(20px, 3vw, 48px); justify-content: flex-end; flex-wrap: wrap; }
.mk-stat { display: flex; flex-direction: column; gap: 4px; }
.mk-stat__num { font-family: var(--mk-serif); font-size: 56px; line-height: 1; }
.mk-stat__num--sm { font-size: 48px; }
.mk-stat__num--amber { color: var(--mk-amber); }
.mk-stat__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.mk-hero--vieta .mk-stat__label { font-size: 12px; }
.mk-crumbs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--mk-amber); }
:where(body.mk-canvas) .mk-crumbs a { color: var(--mk-amber); }
:where(body.mk-canvas) .mk-crumbs a:hover { color: var(--mk-amber-2); }
.mk-crumbs span[aria-hidden] { opacity: .5; }
.mk-hero__price { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.mk-hero__price .mk-badge { font-size: 12px; letter-spacing: .12em; padding: 7px 14px; }
.mk-hero__amount { font-family: var(--mk-serif); font-size: clamp(36px, 4vw, 56px); line-height: 1; }

/* ---------- Apie ---------- */

.mk-about {
  max-width: 1440px; margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) var(--mk-gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
}
.mk-about__text { display: flex; flex-direction: column; gap: 28px; }
.mk-about__text p { font-size: 18px; line-height: 1.7; color: var(--mk-body); text-wrap: pretty; }
.mk-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-collage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.mk-collage img:first-child { grid-column: 1 / 3; aspect-ratio: 16 / 9; }

/* ---------- Privalumai ---------- */

.mk-benefits { background: var(--mk-sand); padding: clamp(56px, 7vw, 96px) var(--mk-gutter); }
.mk-benefits__grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.mk-benefit { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #b9a98f; padding-top: 24px; }
.mk-benefit__title { font-size: 28px; line-height: 1.15; }
.mk-benefit__text { font-size: 16px; line-height: 1.6; color: var(--mk-soft); }

/* ---------- Kvartalo planas ---------- */

.mk-planwrap { background: var(--mk-forest); color: var(--mk-cream); padding: clamp(72px, 9vw, 120px) var(--mk-gutter); }
.mk-plan { display: flex; flex-direction: column; gap: 36px; }
.mk-filters { display: flex; gap: 8px; flex-wrap: wrap; }
body.mk-canvas .mk-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; line-height: 1.2; letter-spacing: .04em; font-weight: 400;
  border: 1px solid rgba(244, 239, 230, .4); background: transparent; color: var(--mk-cream); cursor: pointer;
  transition: background-color .35s var(--mk-ease), color .35s var(--mk-ease), border-color .35s var(--mk-ease);
}
body.mk-canvas .mk-filter:hover { border-color: var(--mk-cream); }
body.mk-canvas .mk-filter.is-active { background: var(--mk-cream); color: var(--mk-forest); border-color: var(--mk-cream); }
.mk-filter i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
body.mk-canvas .mk-filters--light .mk-filter { padding: 10px 16px; border-color: var(--mk-field-line); color: var(--mk-ink); }
body.mk-canvas .mk-filters--light .mk-filter:hover { background: var(--mk-sand); }
body.mk-canvas .mk-filters--light .mk-filter.is-active { background: var(--mk-forest); color: var(--mk-cream); border-color: var(--mk-forest); }

.mk-plan__layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.mk-plan__scroll { flex: 999 1 640px; min-width: 0; overflow-x: auto; border-radius: 6px; }
.mk-plan.is-below .mk-plan__scroll { flex-basis: 100%; }
.mk-plan__stage { position: relative; min-width: 640px; aspect-ratio: 1729 / 910; }
.mk-plan__stage > img, .mk-plan__stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mk-plot {
  fill-opacity: .38; stroke: rgba(255, 248, 232, .7); stroke-width: 1.5; stroke-linejoin: round; cursor: pointer; outline: none;
  transition: fill-opacity .45s var(--mk-ease), stroke-width .3s, fill .45s, stroke .3s;
}
.mk-plot.is-free { fill: var(--mk-free); }
.mk-plot.is-reserved { fill: var(--mk-reserved); }
.mk-plot.is-sold { fill: var(--mk-sold); }
.mk-plot.is-dim { fill: #1a1a1a; fill-opacity: .45; }
.mk-plot.is-hover, .mk-plot.is-active, .mk-plot:focus-visible { fill-opacity: .7; stroke: #fff8e8; stroke-width: 3; }
.mk-plot-label {
  position: absolute; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap;
  background: rgba(23, 41, 30, .85); color: var(--mk-cream); font-size: 12px; font-weight: 500; line-height: 1.4;
  padding: 3px 9px; border-radius: 999px; transition: opacity .4s var(--mk-ease);
}
.mk-plot-label.is-dim { opacity: .35; }
.mk-tooltip {
  position: absolute; z-index: 5; pointer-events: none; min-width: 190px;
  transform: translate(-50%, calc(-100% - 14px)); opacity: 0;
  background: var(--mk-cream); color: var(--mk-ink); padding: 14px 16px; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 6px;
  transition: opacity .25s var(--mk-ease), left .25s var(--mk-ease), top .25s var(--mk-ease);
}
.mk-tooltip.is-below { transform: translate(-50%, 40px); }
.mk-tooltip.is-on { opacity: 1; }
.mk-tooltip__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mk-tooltip__id { font-family: var(--mk-serif); font-size: 24px; font-weight: 600; line-height: 1.1; }
.mk-tooltip .mk-badge { padding: 4px 8px; }
.mk-tooltip__meta { font-size: 14px; color: var(--mk-soft); }
.mk-tooltip__price { font-size: 16px; font-weight: 500; }

.mk-panel { flex: 1 1 320px; background: var(--mk-cream); color: var(--mk-ink); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.mk-panel > * { transition: opacity .14s ease; }
.mk-panel.is-swapping > * { opacity: 0; }
.mk-panel__empty, .mk-panel__card { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.mk-panel__empty[hidden] { display: none; }
.mk-panel__title { font-family: var(--mk-serif); font-size: 32px; line-height: 1.1; }
.mk-legend { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.mk-legend__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-legend__row > span:first-child { display: flex; align-items: center; gap: 10px; }
.mk-legend__row i { width: 14px; height: 14px; border-radius: 3px; }
.mk-legend__count { color: var(--mk-muted); }
.mk-panel__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; display: block; }
.mk-panel__empty .mk-panel__img { margin-top: auto; }
.mk-panel__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mk-panel__addr { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mk-muted); }
.mk-panel__name { font-family: var(--mk-serif); font-size: 52px; line-height: 1; }
.mk-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.mk-panel__fact { display: flex; flex-direction: column; gap: 2px; }
.mk-panel__fact span { font-size: 12px; color: var(--mk-muted); text-transform: uppercase; letter-spacing: .1em; }
.mk-panel__fact strong { font-size: 20px; font-weight: 400; }
.mk-panel__price { border-top: 1px solid var(--mk-line); padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mk-panel__price span { font-size: 13px; color: var(--mk-muted); }
.mk-panel__price strong { font-family: var(--mk-serif); font-size: 34px; font-weight: 600; line-height: 1; }
.mk-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-panel__actions .mk-btn { flex: 1 1 auto; padding: 14px 16px; white-space: nowrap; font-size: 13px; }

/* ---------- Kainų lentelė ---------- */

.mk-tablewrap { padding: clamp(64px, 8vw, 110px) var(--mk-gutter); }
.mk-tablewrap .mk-container { display: flex; flex-direction: column; gap: 28px; }
.mk-table-count { font-size: 14px; color: var(--mk-muted); }
.mk-table-scroll { overflow-x: auto; }
body.mk-canvas .mk-table { width: 100%; min-width: 760px; border-collapse: collapse; border: 0; background: transparent; font-size: 16px; }
body.mk-canvas .mk-table th {
  text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-muted);
  padding: 14px 10px; border: 0; border-bottom: 1px solid var(--mk-ink); background: transparent;
}
body.mk-canvas .mk-table td { padding: 18px 10px; border: 0; border-bottom: 1px solid var(--mk-line); background: transparent; vertical-align: middle; }
body.mk-canvas .mk-table :is(th, td):first-child { padding-left: 20px; }
body.mk-canvas .mk-table :is(th, td):last-child { padding-right: 20px; text-align: right; }
.mk-table tbody tr { cursor: pointer; transition: background-color .3s var(--mk-ease), color .3s; }
.mk-table tbody tr:hover, .mk-table tbody tr.is-active { background: var(--mk-sand); }
.mk-table tr.is-sold { color: #9a8f80; }
.mk-table__nr { font-family: var(--mk-serif); font-size: 24px; font-weight: 600; line-height: 1; }
.mk-table__price { font-weight: 500; }
.mk-status { display: inline-flex; align-items: center; gap: 8px; }
:where(body.mk-canvas) .mk-table__link a { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-wood); white-space: nowrap; }

/* ---------- Finansavimas ---------- */

.mk-finance { background: var(--mk-sand); padding: clamp(72px, 9vw, 120px) var(--mk-gutter); }
.mk-finance .mk-container { display: flex; flex-direction: column; gap: 48px; }
.mk-finance__layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.mk-banks { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
:where(body.mk-canvas) .mk-bank {
  background: var(--mk-cream); border-radius: 6px; padding: 26px 24px; display: flex; flex-direction: column; gap: 22px; color: var(--mk-ink);
  transition: transform .5s var(--mk-ease), box-shadow .5s var(--mk-ease);
}
:where(body.mk-canvas) .mk-bank:hover { color: var(--mk-ink); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42, 38, 34, .12); }
.mk-bank__name { font-family: var(--mk-serif); font-size: 30px; font-weight: 600; letter-spacing: .02em; line-height: 1.1; }
.mk-bank__logo { max-height: 40px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; }
.mk-bank__note { font-size: 14px; line-height: 1.5; color: #6a5f53; }
.mk-bank__cta { margin-top: auto; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-wood); }
.mk-calc { flex: 1 1 380px; margin: 0; background: var(--mk-forest); color: var(--mk-cream); border-radius: 6px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.mk-calc__title { font-family: var(--mk-serif); font-size: 32px; line-height: 1.1; }
.mk-calc__row { display: flex; flex-direction: column; gap: 8px; margin: 0; cursor: pointer; }
.mk-calc__label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--mk-mist); }
.mk-calc__label output { color: var(--mk-cream); }
body.mk-canvas .mk-calc input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; min-height: 0; margin: 0; padding: 0;
  background: transparent; border: 0; box-shadow: none; cursor: pointer; --p: 50%;
}
.mk-calc input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--mk-amber) var(--p), rgba(244, 239, 230, .22) var(--p)); }
.mk-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: var(--mk-amber); border: 0; box-shadow: 0 0 0 5px rgba(233, 197, 143, .16); transition: transform .3s var(--mk-ease), box-shadow .3s; }
.mk-calc input[type="range"]:hover::-webkit-slider-thumb, .mk-calc input[type="range"]:focus-visible::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(233, 197, 143, .2); }
.mk-calc input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(244, 239, 230, .22); }
.mk-calc input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--mk-amber); }
.mk-calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--mk-amber); border: 0; box-shadow: 0 0 0 5px rgba(233, 197, 143, .16); }
.mk-calc__result { border-top: 1px solid rgba(244, 239, 230, .2); padding-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mk-calc__result span { font-size: 14px; color: var(--mk-mist); }
.mk-calc__result strong { font-family: var(--mk-serif); font-size: 48px; font-weight: 400; line-height: 1; color: var(--mk-amber); }
.mk-calc__note { font-size: 12px; line-height: 1.5; color: #9c9585; }

/* ---------- Galerija ---------- */

.mk-gallerywrap { padding: clamp(72px, 9vw, 120px) var(--mk-gutter); }
.mk-gallerywrap .mk-container { display: flex; flex-direction: column; gap: 28px; }
.mk-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
body.mk-canvas .mk-gallery__item { display: block; padding: 0; margin: 0; border: 0; background: none; border-radius: 4px; overflow: hidden; cursor: zoom-in; grid-column: span 2; }
.mk-gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1.2s var(--mk-ease); }
.mk-gallery__item:hover img { transform: scale(1.04); }
body.mk-canvas .mk-gallery__item:nth-child(6n+1) { grid-column: span 6; }
.mk-gallery__item:nth-child(6n+1) img { aspect-ratio: 3 / 1; }
body.mk-canvas .mk-gallery__item:nth-child(6n+2), body.mk-canvas .mk-gallery__item:nth-child(6n+3) { grid-column: span 3; }
.mk-gallery__item:nth-child(6n+2) img, .mk-gallery__item:nth-child(6n+3) img { aspect-ratio: 16 / 9; }

/* ---------- Vieta (pagrindiniame) ---------- */

.mk-place { background: var(--mk-sand); padding: clamp(72px, 9vw, 120px) var(--mk-gutter); }
.mk-place__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mk-meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--mk-soft); }
.mk-meta__label { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--mk-muted); }
.mk-place .mk-btn { padding: 13px 22px; }
:where(body.mk-canvas) .mk-place .mk-btn--outline { border-color: var(--mk-ink); color: var(--mk-ink); }
:where(body.mk-canvas) .mk-place .mk-btn--outline:hover { background: var(--mk-ink); color: var(--mk-cream); }
.mk-map-embed { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 6px; filter: sepia(.25) saturate(.85); display: block; }

/* ---------- Kontaktai ir užklausa ---------- */

.mk-contact { position: relative; color: var(--mk-cream); padding: clamp(72px, 9vw, 130px) var(--mk-gutter); overflow: hidden; background: var(--mk-forest); }
.mk-contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.mk-contact__shade { position: absolute; inset: 0; background: rgba(18, 30, 22, .82); }
.mk-house .mk-contact__shade { background: rgba(18, 30, 22, .84); }
.mk-contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mk-contact__list { display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.mk-contact__item { display: flex; flex-direction: column; gap: 2px; }
.mk-contact__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-mist); }
:where(body.mk-canvas) .mk-contact__item a { color: var(--mk-cream); }
:where(body.mk-canvas) .mk-contact__item a:hover { color: var(--mk-amber); }
:where(body.mk-canvas) .mk-contact__item .mk-contact__phone { font-family: var(--mk-serif); font-size: 26px; line-height: 1.3; }

.mk-manager { display: flex; align-items: center; gap: 18px; border-top: 1px solid rgba(244, 239, 230, .2); padding-top: 24px; }
.mk-manager img, .mk-manager__ph { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; }
.mk-manager__ph { display: grid; place-items: center; background: rgba(244, 239, 230, .1); color: var(--mk-amber); font-family: var(--mk-serif); font-size: 32px; }
.mk-manager__info { display: flex; flex-direction: column; gap: 4px; }
.mk-manager__name { font-family: var(--mk-serif); font-size: 24px; line-height: 1.2; }
.mk-manager__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-mist); }
:where(body.mk-canvas) .mk-manager__phone { color: var(--mk-amber); font-size: 17px; }
:where(body.mk-canvas) .mk-manager__phone:hover { color: var(--mk-amber-2); }
:where(body.mk-canvas) .mk-manager__email { color: var(--mk-cream); font-size: 15px; }
:where(body.mk-canvas) .mk-manager__email:hover { color: var(--mk-amber); }

.mk-formcard { background: var(--mk-cream); color: var(--mk-ink); border-radius: 6px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }
.mk-formcard__title { font-family: var(--mk-serif); font-size: 30px; line-height: 1.15; }
.mk-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.mk-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.mk-field { display: block; margin: 0; }
body.mk-canvas .mk-form .mk-field :is(input, select, textarea) {
  display: block; width: 100%; min-width: 0; height: auto; min-height: 0; margin: 0;
  padding: 14px 16px; border: 1px solid var(--mk-field-line); border-radius: 4px;
  background-color: var(--mk-field); color: var(--mk-ink);
  font-family: var(--mk-sans); font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: normal;
  box-shadow: none; outline: none;
  transition: border-color .3s var(--mk-ease), box-shadow .3s var(--mk-ease), background-color .3s var(--mk-ease);
}
body.mk-canvas .mk-form .mk-field :is(input, select, textarea)::placeholder { color: var(--mk-muted); opacity: 1; }
body.mk-canvas .mk-form .mk-field :is(input, select, textarea):hover { border-color: #b9a98f; }
body.mk-canvas .mk-form .mk-field :is(input, select, textarea):focus { border-color: var(--mk-wood); background-color: #fff; box-shadow: 0 0 0 3px rgba(168, 116, 63, .15); }
body.mk-canvas .mk-form .mk-field textarea { resize: vertical; min-height: 120px; }
body.mk-canvas .mk-form .mk-field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a8743f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px;
}
.mk-topics { display: flex; gap: 8px; flex-wrap: wrap; border: 0; margin: 0; padding: 0; min-width: 0; }
.mk-topic { position: relative; margin: 0; cursor: pointer; }
.mk-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mk-topic span { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; line-height: 1.2; border: 1px solid var(--mk-field-line); color: var(--mk-ink); transition: background-color .3s var(--mk-ease), color .3s var(--mk-ease), border-color .3s var(--mk-ease); }
.mk-topic:hover span { background: var(--mk-sand); }
.mk-topic input:checked + span { background: var(--mk-forest); border-color: var(--mk-forest); color: var(--mk-cream); }
.mk-topic input:focus-visible + span { outline: 2px solid var(--mk-amber); outline-offset: 2px; }
.mk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #6a5f53; cursor: pointer; margin: 2px 0 4px; }
body.mk-canvas .mk-check input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; padding: 0;
  border: 1px solid var(--mk-field-line); border-radius: 3px; background: var(--mk-field) center / 12px 12px no-repeat; box-shadow: none; cursor: pointer;
  transition: background-color .25s var(--mk-ease), border-color .25s var(--mk-ease);
}
body.mk-canvas .mk-check input[type="checkbox"]::before { content: none; }
body.mk-canvas .mk-check input[type="checkbox"]:checked {
  background-color: var(--mk-forest); border-color: var(--mk-forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%23f4efe6' stroke-width='1.6'/%3E%3C/svg%3E");
}
:where(body.mk-canvas) .mk-check a { color: var(--mk-wood); text-decoration: underline; text-underline-offset: 2px; }
body.mk-canvas .mk-form button.mk-form__submit.mk-btn {
  width: 100%; padding: 16px; border: 0; border-radius: 999px; background: var(--mk-forest); color: var(--mk-cream);
  font-size: 15px; font-weight: 400; letter-spacing: .06em; text-transform: none; line-height: 1.2; box-shadow: none;
}
body.mk-canvas .mk-form button.mk-form__submit.mk-btn:hover,
body.mk-canvas .mk-form button.mk-form__submit.mk-btn:focus-visible { background: var(--mk-forest-2); color: var(--mk-cream); }
.mk-form__thanks { display: flex; flex-direction: column; gap: 8px; animation: mkfade .6s var(--mk-ease) both; }
.mk-form__thanks-title { font-family: var(--mk-serif); font-size: 34px; line-height: 1.1; }
.mk-form__thanks p { font-size: 16px; line-height: 1.6; color: var(--mk-soft); }
.mk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Poraštė ---------- */

.mk-footer { background: var(--mk-forest-deep); color: #9c9585; padding: 32px var(--mk-gutter); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; letter-spacing: .06em; }
.mk-footer__brand { font-family: var(--mk-serif); letter-spacing: .18em; color: var(--mk-amber); font-size: 16px; text-transform: uppercase; }

/* ---------- Namo puslapis ---------- */

.mk-specs { background: var(--mk-forest); color: var(--mk-cream); padding: 0 var(--mk-gutter); }
.mk-specs__grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.mk-spec { padding: 32px 20px 32px 0; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(244, 239, 230, .12); }
.mk-spec + .mk-spec { padding-left: 20px; }
.mk-spec:last-child { border-right: 0; }
.mk-spec__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mk-mist); }
.mk-spec__value { font-family: var(--mk-serif); font-size: 36px; line-height: 1; }
.mk-house__about { padding: clamp(72px, 9vw, 130px) var(--mk-gutter); }
.mk-flexsplit { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: center; }
.mk-flexsplit--reverse { flex-wrap: wrap-reverse; }
.mk-flexsplit__text { flex: 1 1 380px; }
.mk-flexsplit__media { flex: 1.3 1 480px; min-width: 0; }
.mk-miniplan { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mk-miniplan__stage { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 1729 / 910; }
.mk-miniplan__stage > img, .mk-miniplan__stage > svg, .mk-miniplan__dim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mk-miniplan__dim { background: rgba(16, 28, 20, .35); }
.mk-miniplan polygon { fill: var(--mk-amber); fill-opacity: .55; stroke: #fff8e8; stroke-width: 3; animation: mkglow 2.8s ease-in-out infinite; }
.mk-miniplan__label { position: absolute; transform: translate(-50%, -50%); background: var(--mk-forest); color: var(--mk-cream); font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.mk-miniplan figcaption { font-size: 13px; color: var(--mk-muted); }

.mk-plans { background: var(--mk-sand); padding: clamp(72px, 9vw, 120px) var(--mk-gutter); }
.mk-plans__inner { display: flex; flex-direction: column; gap: 36px; }
.mk-plans__inner .mk-stack { gap: 16px; }
.mk-segment { display: flex; gap: 8px; background: var(--mk-cream); padding: 5px; border-radius: 999px; }
body.mk-canvas .mk-segment button { border: 0; cursor: pointer; padding: 11px 22px; border-radius: 999px; font-size: 14px; line-height: 1.2; letter-spacing: .04em; font-weight: 400; background: transparent; color: var(--mk-ink); transition: background-color .35s var(--mk-ease), color .35s var(--mk-ease); }
body.mk-canvas .mk-segment button.is-active { background: var(--mk-forest); color: var(--mk-cream); }
.mk-plans__layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.mk-plans__view { flex: 2 1 520px; min-height: 420px; background: var(--mk-cream); border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mk-plans__view img { max-width: 100%; max-height: 640px; object-fit: contain; animation: mkfade .5s var(--mk-ease) both; }
.mk-plans__view [hidden] { display: none !important; } /* .mk-plans__empty display:flex would otherwise override [hidden] */
.mk-plans__empty { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--mk-muted); font-size: 14px; letter-spacing: .04em; text-align: center; animation: mkfade .5s var(--mk-ease) both; }
.mk-plans__empty svg { width: 56px; height: 56px; color: var(--mk-wood); opacity: .7; }
.mk-rooms { flex: 1 1 300px; background: var(--mk-cream); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.mk-rooms__title { font-family: var(--mk-serif); font-size: 28px; margin-bottom: 12px; }
.mk-rooms__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #ddd1bd; font-size: 15px; }
.mk-rooms__row em { font-style: normal; color: var(--mk-wood); display: inline-block; min-width: 18px; margin-right: 12px; }
.mk-rooms__total { display: flex; justify-content: space-between; padding-top: 16px; font-size: 16px; font-weight: 500; }

.mk-others { padding: clamp(56px, 7vw, 96px) var(--mk-gutter); }
.mk-chips { display: flex; gap: 10px; flex-wrap: wrap; }
:where(body.mk-canvas) .mk-chip {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; min-width: 120px;
  border: 1px solid var(--mk-field-line); border-radius: 6px; color: var(--mk-ink);
  transition: background-color .3s var(--mk-ease), transform .4s var(--mk-ease);
}
:where(body.mk-canvas) .mk-chip:hover { background: var(--mk-sand); transform: translateY(-3px); color: var(--mk-ink); }
.mk-chip__id { font-family: var(--mk-serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.mk-chip__price { font-size: 13px; color: var(--mk-muted); }

/* ---------- Vietos puslapis ---------- */

.mk-locwrap { padding: clamp(56px, 7vw, 96px) var(--mk-gutter); }
.mk-loc { display: flex; flex-direction: column; gap: 28px; }
.mk-loc .mk-head__text { gap: 16px; max-width: 620px; }
.mk-loc__layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.mk-loc__list { flex: 1 1 320px; max-height: 600px; overflow: auto; list-style: none; margin: 0; padding: 0; background: var(--mk-field); border-radius: 6px; border: 1px solid #e2d7c4; }
.mk-loc__list li { display: flex; gap: 14px; align-items: center; padding: 16px 20px; margin: 0; border-bottom: 1px solid #ece3d3; cursor: pointer; transition: background-color .3s var(--mk-ease); }
.mk-loc__list li:hover, .mk-loc__list li.is-active { background: #f1e9db; }
.mk-loc__list li > i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mk-loc__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mk-loc__body strong { font-size: 16px; font-weight: 400; }
.mk-loc__body span { font-size: 13px; color: var(--mk-muted); }
.mk-loc__dist { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; white-space: nowrap; }
.mk-loc__dist small { font-size: 12px; color: var(--mk-muted); }
.mk-loc__mapbox { flex: 2 1 520px; min-height: 600px; border-radius: 6px; overflow: hidden; position: relative; background: #e6dccb; }
.mk-loc__map { position: absolute; inset: 0; }
.mk-loc__map .leaflet-tile-pane { filter: sepia(.25) saturate(.55) brightness(1.04); }
.mk-loc__map .leaflet-popup-content-wrapper { border-radius: 6px; font-family: var(--mk-sans); }
.mk-pin { position: relative; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.mk-pin span { background: var(--mk-forest); color: var(--mk-paper); font-family: var(--mk-serif); font-size: 15px; letter-spacing: .16em; padding: 8px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px rgba(16, 28, 20, .25); }
.mk-pin i { width: 2px; height: 14px; background: var(--mk-forest); }
.mk-pin b { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--mk-amber); border: 2px solid var(--mk-forest); }
.mk-pin b::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--mk-amber); animation: mkpulse 2.2s ease-out infinite; }

.mk-feature { padding: clamp(72px, 9vw, 130px) var(--mk-gutter); }
.mk-feature--dark { background: var(--mk-forest); color: var(--mk-cream); }
.mk-feature__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; display: block; }

.mk-faqwrap { background: var(--mk-sand); padding: clamp(72px, 9vw, 120px) var(--mk-gutter); }
.mk-faq { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.mk-faq__list { display: flex; flex-direction: column; }
.mk-faq__item { border-top: 1px solid #b9a98f; }
body.mk-canvas .mk-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: transparent; border: 0; padding: 24px 0; margin: 0; cursor: pointer; text-align: left;
  font-family: var(--mk-serif); font-size: 26px; line-height: 1.2; font-weight: 400; color: var(--mk-ink);
}
.mk-faq__q i { font-family: var(--mk-sans); font-style: normal; font-size: 22px; line-height: 1; flex: none; transition: transform .4s var(--mk-ease); }
.mk-faq__item.is-open .mk-faq__q i { transform: rotate(45deg); }
.mk-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--mk-ease); }
.mk-faq__item.is-open .mk-faq__a { grid-template-rows: 1fr; }
.mk-faq__a > div { overflow: hidden; }
.mk-faq__a p { margin: 0 0 24px; font-size: 17px; line-height: 1.7; color: var(--mk-body); max-width: 760px; }

.mk-cta { position: relative; color: var(--mk-cream); padding: clamp(80px, 10vw, 140px) var(--mk-gutter); overflow: hidden; text-align: center; background: var(--mk-forest); }
.mk-cta__shade { position: absolute; inset: 0; background: rgba(18, 30, 22, .78); }
.mk-cta__inner { position: relative; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* ---------- Lightbox ---------- */

.mk-lightbox { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: rgba(16, 28, 20, .94); opacity: 0; transition: opacity .35s var(--mk-ease); }
.mk-lightbox[hidden] { display: none; }
.mk-lightbox.is-open { opacity: 1; }
.mk-lightbox img { max-width: min(1200px, 88vw); max-height: 86vh; border-radius: 4px; opacity: 0; transform: scale(.98); transition: opacity .45s var(--mk-ease), transform .6s var(--mk-ease); }
.mk-lightbox img.is-on { opacity: 1; transform: none; }
body .mk-lightbox__btn { position: absolute; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(244, 239, 230, .08); color: var(--mk-cream); font-size: 30px; line-height: 1; cursor: pointer; transition: background-color .3s var(--mk-ease); }
body .mk-lightbox__btn:hover { background: rgba(244, 239, 230, .18); }
.mk-lightbox__close { top: 20px; right: 20px; }
.mk-lightbox__prev, .mk-lightbox__next { top: 50%; transform: translateY(-50%); }
.mk-lightbox__prev { left: 20px; }
.mk-lightbox__next { right: 20px; }

/* ---------- Admin poligonų redaktorius ---------- */

.mk-editor { position: relative; max-width: 960px; }
.mk-editor svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-editor .is-other { fill: #17291e; fill-opacity: .15; }
.mk-editor .is-current { fill: #e9c58f; fill-opacity: .55; stroke: #17291e; }
.mk-editor circle { fill: #17291e; }

@keyframes mkpulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes mkfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mkglow { 0%, 100% { fill-opacity: .5; } 50% { fill-opacity: .75; } }

/* ---------- Adaptyvumas ---------- */

@media (max-width: 1024px) {
  .mk-hero__content { grid-template-columns: 1fr; }
  .mk-stats { justify-content: flex-start; }
  .mk-about, .mk-place__grid, .mk-contact__grid { grid-template-columns: 1fr; }
  .mk-hero__price { align-items: flex-start; }
}
@media (max-width: 900px) {
  .mk-header { flex-wrap: nowrap; }
  .mk-header__toggle { display: block; }
  .mk-header__nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 20px var(--mk-gutter) 28px; background: rgba(23, 41, 30, .97);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--mk-ease), transform .35s var(--mk-ease), visibility 0s .35s;
  }
  .mk-header__nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mk-header:has(.mk-header__nav.is-open) { background: rgba(23, 41, 30, .97); }
}
@media (max-width: 768px) {
  .mk-header { padding-top: 18px; padding-bottom: 18px; }
  .mk-header__brand span { font-size: 18px; letter-spacing: .14em; }
  .mk-header__brand img { width: 38px; height: 38px; }
  .mk-stat__num { font-size: 44px; }
  .mk-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.mk-canvas .mk-gallery__item, body.mk-canvas .mk-gallery__item:nth-child(6n+2), body.mk-canvas .mk-gallery__item:nth-child(6n+3) { grid-column: span 1; }
  body.mk-canvas .mk-gallery__item:nth-child(6n+1) { grid-column: span 2; }
  .mk-gallery__item img, .mk-gallery__item:nth-child(6n+2) img, .mk-gallery__item:nth-child(6n+3) img { aspect-ratio: 4 / 3; }
  .mk-gallery__item:nth-child(6n+1) img { aspect-ratio: 16 / 9; }
  .mk-form__row { grid-template-columns: 1fr; }
  .mk-panel { padding: 22px; }
  .mk-panel__name { font-size: 42px; }
  .mk-spec { padding: 22px 16px 22px 0; border-bottom: 1px solid rgba(244, 239, 230, .12); }
  .mk-spec + .mk-spec { padding-left: 16px; }
  .mk-spec__value { font-size: 28px; }
  .mk-loc__mapbox { min-height: 420px; }
  .mk-loc__list { max-height: 360px; }
  body.mk-canvas .mk-faq__q { font-size: 22px; }
  .mk-lightbox__prev, .mk-lightbox__next { top: auto; bottom: 20px; transform: none; }
}
@media (max-width: 390px) {
  .mk-header__brand span { font-size: 16px; }
  .mk-panel__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.mk-canvas) { scroll-behavior: auto; }
  body.mk-canvas *, body.mk-canvas *::before, body.mk-canvas *::after { animation: none !important; transition: none !important; }
}
