/* =========================================================
   HORA Residence — landing v2
   Brand: Gatwick, brown #6D533D, cream
   ========================================================= */

@font-face { font-family: Gatwick; src: url("assets/fonts/gatwick-ultralight.woff") format("woff"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: Gatwick; src: url("assets/fonts/gatwick-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Gatwick; src: url("assets/fonts/gatwick-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: GatwickNumerals; src: url("assets/fonts/gatwick-ultralight.woff") format("woff"); font-weight: 200; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: GatwickNumerals; src: url("assets/fonts/gatwick-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: GatwickNumerals; src: url("assets/fonts/gatwick-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: Montserrat; src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --brown: #6d533d;
  --brown-deep: #4e3b2b;
  --brown-ink: #6d533d;   /* culoarea principală a textului */
  --ink: #6d533d;
  --dark-bg: #372515;     /* doar fundaluri închise */
  --muted: #8a7a6b;
  --cream: #f4f0ea;
  --sand: #e9e1d6;
  --line: #ddd4c9;
  --white: #fff;

  --font: Gatwick, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --map-font: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --section-anchor-shift: -82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brown); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }

/* ---------- type ---------- */
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow--light { color: rgba(255,255,255,.7); }
.display { font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.035em; color: var(--brown-ink); text-wrap: balance; }
.lead { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -.02em; color: var(--brown-ink); margin-bottom: 28px; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }

.btn .arrow { width: 15px; height: 13px; transition: transform .25s var(--ease), filter .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 11px; }
.btn--block { width: 100%; }
.btn--solid { background: var(--brown); color: #fff; }
.btn--solid .arrow { filter: brightness(0) invert(1); }
.btn--solid:hover { background: var(--brown-deep); }
.btn--outline { border-color: currentColor; color: var(--brown); background: transparent; }
.btn--outline:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.btn--outline:hover .arrow { filter: brightness(0) invert(1); }
.btn--glass { background: rgba(255,255,255,.72); color: var(--brown-ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.6); }
.btn--glass:hover { background: #fff; }
.btn--light { background: #fff; color: var(--brown-ink); }
.btn--light:hover { background: var(--sand); }

.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); padding-bottom: 6px; border: 0; border-bottom: 1px solid currentColor; background: none; }
.link-arrow .arrow { width: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transform: translateY(-100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s, background .35s, height .35s; }
.site-header.is-visible, body.menu-open .site-header { transform: none; visibility: visible; }
.site-header.is-solid { background: rgba(244,240,234,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);  --header-h: 72px; height: 72px; }
.header-inner { height: 100%; width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.brand img { width: clamp(130px, 11vw, 170px); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); margin-left: auto; }
.nav a { white-space: nowrap; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-ink); position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.menu-toggle { display: none; }
@media (min-width: 1281px) {
  .header-inner { gap: 12px; }
  .brand, .nav, .header-actions { flex-shrink: 0; }
  .brand { margin-right: clamp(0px, calc((100vw - 1180px) * .23), 56px); }
  .nav { margin-inline: auto; }
  .header-actions { gap: clamp(24px, calc((100vw - 1180px) * .35), 84px); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); display: grid; grid-template-rows: 1fr; overflow: hidden; isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero-media, .hero-content { will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(244,240,234,.55) 0%, rgba(244,240,234,.12) 34%, rgba(0,0,0,0) 55%, rgba(0,0,0,0) 100%); }
.hero-content { display: flex; flex-direction: column; align-items: center; padding-top: clamp(72px, 12vh, 140px); text-align: center; }
/* logo (SVG) + slogan (text): proportions match the former hero-blok-logo.svg */
.hero-brand { --w: clamp(288px, 31.2vw, 480px); position: relative; width: var(--w); opacity: 0; transform: translateY(14px); animation: rise 1.2s var(--ease) .15s forwards; }
.hero-logo { display: block; width: 100%; height: auto; }
.hero-slogan { margin: calc(var(--w) * .1348) 0 0; font-family: Gatwick, var(--font); font-weight: 400; font-size: calc(var(--w) * .0739); line-height: 1; letter-spacing: 0; color: #6D533D; white-space: nowrap; }
html[lang="ru"] .hero-slogan { margin-top: calc(var(--w) * .09); font-family: Montserrat, var(--font); font-weight: 600; font-size: calc(var(--w) * .06352); line-height: 1.25; white-space: normal; }
.hero-promo { --promo-w: clamp(112px, 8vw, 144px); position: absolute; left: min(calc(100% + clamp(20px, 2.8vw, 48px) + 200px), calc(50vw + var(--w) * .5 - var(--promo-w) * 1.1 - 24px)); top: calc(var(--promo-w) * -.48); width: var(--promo-w); aspect-ratio: 172 / 135; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--promo-w) * .025); padding: calc(var(--promo-w) * .04) calc(var(--promo-w) * .1); isolation: isolate; color: #fff; text-align: center; transition: transform .25s var(--ease); }
.hero-promo::before { content: ""; position: absolute; inset: -10%; z-index: -1; background: url("assets/icons/oval-promo-sticker.svg") center / 100% 100% no-repeat; }
.hero-promo-label { font-family: Montserrat, var(--font); font-size: clamp(7px, .58vw, 9px); font-weight: 600; line-height: 1.2; letter-spacing: .13em; text-transform: uppercase; }
.hero-promo-price { font-family: Gatwick, var(--font); font-size: calc(var(--promo-w) * .26); font-weight: 700; line-height: 1.05; letter-spacing: -.05em; }
.hero-promo-unit { font-size: calc(var(--promo-w) * .14); line-height: 1.1; white-space: nowrap; }
@media (min-width: 961px) { .hero-promo { margin-left: -100px; } }
.hero-promo:hover { transform: translateY(-3px); }
.hero-promo:focus-visible { outline: 3px solid var(--brown); outline-offset: 5px; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- about ---------- */
.about-head { margin: 0 auto clamp(48px, 7vw, 96px); text-align: center; }
.about-head .display { font-size: clamp(29.24px, 3.784vw, 55.04px); line-height: 1.2; text-transform: uppercase; }
.about-location { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 24px); margin-top: clamp(24px, 3.6vw, 64px); color: #aaa28d; font-family: var(--map-font); font-size: clamp(13px, 1.7vw, 26px); font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.about-location svg { flex: none; width: 1.1em; height: 1.1em; }
.about-location span { min-width: 0; text-wrap: balance; }
.about-location:hover span { text-decoration: underline; text-underline-offset: .2em; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.about-copy { max-width: 560px; }
.about-copy > p:not(.lead) { font-size: 16px; color: var(--ink); margin-bottom: 36px; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(64px, 8vw, 110px); }
.stats li { border-top: 1px solid var(--line); padding-top: 20px; }
.stats strong { display: block; font-weight: 400; font-size: clamp(42px, 4.4vw, 68px); line-height: 1; letter-spacing: -.04em; color: var(--brown-ink); }
.stats small { font-size: .42em; letter-spacing: 0; }
.stats li > span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- gallery v4: justified grid (desktop), swipe strip (mobile), fullscreen lightbox ---------- */
.project-gallery { --gallery-gap: clamp(20px, 2.4vw, 40px); --row-h: clamp(200px, 17vw, 290px); width: 100%; padding: var(--section) clamp(24px, 3vw, 48px); background: var(--brown) url("assets/img/darkbirds.webp") center / cover no-repeat; color: #fff; border-radius: 0; overflow: hidden; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 52px); }
.gallery-title { font-weight: 400; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.gallery-fullscreen { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; min-height: 48px; padding: 0 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.gallery-fullscreen:hover, .gallery-fullscreen:focus-visible { background: #fff; color: var(--brown); }
.gallery-total { opacity: .65; letter-spacing: .08em; }

.gallery-grid { display: flex; flex-wrap: wrap; gap: var(--gallery-gap); margin: 0; padding: 0; list-style: none; }
.gallery-grid::after { content: ""; flex: 2 1 0; }  /* the last row grows a little but never stretches to full width */
.gallery-grid.is-filled::after { display: none; }
.gallery-item { flex: var(--r) 1 calc(var(--r) * var(--row-h)); aspect-ratio: var(--r); min-width: 0; max-height: calc(var(--row-h) * 1.3); }
.gallery-thumb { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--radius) * .7); background: rgba(0,0,0,.15); cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.gallery-thumb, .gallery-thumb:focus, .gallery-thumb:focus-visible { outline: none; }
@media (hover: hover) {
  .gallery-thumb:hover img { transform: scale(1.035); }
}
.gallery-foot { display: none; }

@media (max-width: 960px) {
  /* телефон: мозаика на один экран — крупное фото сверху, ниже 2 ряда плиток, на последней «+N» */
  .project-gallery { scroll-margin-top: calc(var(--header-h) * -1); display: flex; flex-direction: column; height: max(100svh, calc(var(--section) * 2 + 400px)); padding: var(--section) 16px; }
  .gallery-head { margin-bottom: 20px; flex-shrink: 0; }
  .gallery-title { font-size: clamp(24px, 7.4vw, 36px); }
  .gallery-grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(140px, 2.2fr) minmax(64px, 1fr) minmax(64px, 1fr); gap: 14px; }
  .gallery-grid::after { display: none; }
  .gallery-item { width: auto; height: auto; aspect-ratio: auto; min-height: 0; max-height: none; position: relative; }
  .gallery-item:first-child { grid-column: 1 / -1; }
  .gallery-item:nth-child(n + 8) { display: none; }
  .gallery-thumb { border-radius: 12px; }
  .gallery-item:first-child .gallery-thumb { border-radius: calc(var(--radius) * .7); }
  .gallery-item[data-more]::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(46,34,25,.62); color: #fff; font-size: 20px; letter-spacing: .04em; pointer-events: none; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--dark-bg); color: #fff; overflow: hidden; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: var(--dark-bg); }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lb { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; height: 100dvh; }
.lb-top { display: flex; align-items: center; gap: 12px; padding: max(14px, env(safe-area-inset-top)) clamp(14px, 2.4vw, 32px) 10px; }
.lb-count { margin-right: auto; font-size: 13px; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.8); }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.12); color: #fff; cursor: pointer; transition: background .25s, border-color .25s, opacity .25s; -webkit-tap-highlight-color: transparent; }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-btn[disabled], .lb-btn.swiper-button-disabled { opacity: .25; pointer-events: none; }
.lb-stage { position: relative; min-height: 0; }
.lb-slider { width: 100%; height: 100%; overflow: hidden; }
.lb-slides { display: flex; height: 100%; }
.lb-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 clamp(0px, 5vw, 96px); overflow: hidden; }
.lb-slide .swiper-zoom-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-slide img { cursor: zoom-in; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.lb-slider:not(.swiper-initialized) .lb-slides { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-slider:not(.swiper-initialized) .lb-slide { scroll-snap-align: center; }
.lb-slider:not(.swiper-initialized) .lb-slide img { cursor: default; }
.lb-prev, .lb-next { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; width: 56px; height: 56px; }
.lb-prev { left: clamp(12px, 2vw, 32px); }
.lb-next { right: clamp(12px, 2vw, 32px); }
.lb-bottom { display: grid; gap: 14px; justify-items: center; padding: 12px clamp(14px, 2.4vw, 32px) max(18px, env(safe-area-inset-bottom)); }
.lb-caption { display: none; }  /* подписи видны только как alt */
.lb-thumbs { display: flex; gap: 8px; max-width: 100%; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: 0 0 auto; width: 76px; height: 52px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: rgba(0,0,0,.15); opacity: .5; cursor: pointer; transition: opacity .25s; outline: none; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button[aria-current="true"] { opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox.is-zoomed .lb-slide img { cursor: zoom-out; }
.lightbox.is-zoomed .lb-prev, .lightbox.is-zoomed .lb-next { opacity: 0; pointer-events: none; }

html.lb-lock, html.lb-lock body { overflow: hidden; }
@media (max-width: 960px), (pointer: coarse) {
  .lb-prev, .lb-next { display: none; }
  .lb-slide { padding: 0; }
  .lb-slide img { border-radius: 0; }
  .lb-thumbs button { width: 56px; height: 40px; border-radius: 6px; }
}
@media (max-height: 560px) { .lb-thumbs { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .lightbox[open] { animation: none; }
  .gallery-thumb img { transition: none; }
}

.pricing-grid > *, .contact-grid > *, .loc-head > *, .about-grid > *, .faq-grid > * { min-width: 0; }

/* ---------- section head ---------- */
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-note { font-size: 16px; max-width: 460px; justify-self: end; color: var(--ink); }

/* ---------- apartments (structura din versiunea inițială) ---------- */
.apartments { overflow: hidden; }
.apartments-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.apartment-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 430px)); gap: clamp(40px, 6vw, 90px); margin: clamp(56px, 7vw, 90px) 0; }
.apartment-benefits > div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 22px; }
.apartment-benefits strong { font-weight: 400; font-size: clamp(48px, 5vw, 78px); line-height: 1; letter-spacing: -.04em; color: var(--brown-ink); }
.apartment-benefits span { font-size: 17px; line-height: 1.3; max-width: 180px; color: var(--brown-ink); }
.apartment-benefits p { grid-column: 1 / -1; max-width: 360px; font-size: 15px; margin-top: 20px; }
.apartment-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-bottom: 12px; }
.apartment-track::-webkit-scrollbar { display: none; }
.apartment-card { flex: 0 0 min(530px, 78vw); scroll-snap-align: start; }
.apartment-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--radius); }
.apartment-card picture { display: block; overflow: hidden; border: 2px solid var(--line); border-radius: var(--radius); }
/* Plan previews use the larger image in a native fullscreen dialog. */
.plan-preview { display: block; border-radius: var(--radius); cursor: zoom-in; }
.plan-preview:focus, .plan-preview:focus-visible { outline: none; }
html.plan-lock { overflow: hidden; }
.plan-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0; padding: max(80px, env(safe-area-inset-top)) clamp(16px, 4vw, 64px) max(32px, env(safe-area-inset-bottom)); background: #F5F1EA; color: var(--brown); overflow: hidden; }
.plan-viewer[open] { display: flex; align-items: center; justify-content: center; }
.plan-viewer::backdrop { background: #F5F1EA; }
.plan-viewer-image { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border: 2px solid var(--line); }
.plan-viewer-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: #F5F1EA; color: var(--brown); }
.plan-viewer-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.plan-viewer-close:hover { background: var(--sand); }
/* ---------- plan viewer: încăperi + suprafețe (hover pe desktop, tap pe mobil) ---------- */
.plan-figure { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.plan-stage { position: relative; outline: none !important; width: min(100%, calc((100vh - 210px) * 1.3393)); width: min(100%, calc((100dvh - 210px) * 1.3393)); aspect-ratio: 1200 / 896; border: 2px solid var(--line); background: #fff; outline: none; cursor: default; -webkit-tap-highlight-color: transparent; }
.plan-stage .plan-viewer-image { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border: 0; }
.plan-info { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.plan-room, .plan-total { position: absolute; display: grid; gap: 4px; padding: 8px 14px 9px; border-radius: 14px; background: rgba(244, 240, 234, .9); box-shadow: 0 8px 24px rgba(55, 37, 21, .16); color: var(--dark-bg); white-space: nowrap; }
.plan-room { left: var(--x); top: var(--y); justify-items: center; text-align: center; transform: translate(-50%, calc(-50% + 8px)); transition: transform .5s var(--ease); }
.plan-name { font-family: var(--map-font); font-weight: 600; font-size: 10px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }
.plan-num { font-family: GatwickNumerals, var(--map-font); font-weight: 400; font-size: 18px; line-height: 1; letter-spacing: -.01em; }
.plan-num small { font-size: .62em; margin-left: .15em; }
.plan-total { left: 50%; bottom: 3.5%; justify-items: center; text-align: center; padding: 0; background: none; box-shadow: none; border-radius: 0; transform: translate(-50%, 8px); transition: transform .5s var(--ease); }
.plan-total .plan-num { font-size: 26px; }
.plan-stage.is-info .plan-info, .plan-stage:focus-visible .plan-info { opacity: 1; }
.plan-stage.is-info .plan-room, .plan-stage:focus-visible .plan-room { transform: translate(-50%, -50%); }
.plan-stage.is-info .plan-total, .plan-stage:focus-visible .plan-total { transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) {
  .plan-stage:hover .plan-info { opacity: 1; }
  .plan-stage:hover .plan-room { transform: translate(-50%, -50%); }
  .plan-stage:hover .plan-total { transform: translate(-50%, 0); }
}
@media (hover: none), (pointer: coarse) {
  .plan-stage { cursor: pointer; }
}
.plan-tap { display: none; width: 30px; height: auto; opacity: .85; transition: opacity .35s var(--ease); }
.plan-figure:has(.plan-stage.is-info) .plan-tap { opacity: .3; }
.plan-controls { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 36px); }
.plan-nav { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: var(--brown); cursor: pointer; transition: background .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.plan-nav:hover, .plan-nav:focus-visible { background: var(--sand); }
.plan-nav svg { width: 16px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.plan-nav--prev svg { transform: scaleX(-1); }
.plan-count { min-width: 52px; font-family: GatwickNumerals, var(--map-font); font-size: 14px; letter-spacing: .08em; color: var(--brown); text-align: center; }
.plan-stage.is-slide-next .plan-viewer-image { animation: plan-in-next .55s var(--ease); }
.plan-stage.is-slide-prev .plan-viewer-image { animation: plan-in-prev .55s var(--ease); }
/* eticheta se mișcă odată cu imaginea, dar fără să-și schimbe opacitatea (altfel apare la fiecare slide) */
.plan-stage.is-slide-next .plan-info { animation: plan-move-next .55s var(--ease); }
.plan-stage.is-slide-prev .plan-info { animation: plan-move-prev .55s var(--ease); }
@keyframes plan-move-next { from { transform: translateX(6%); } to { transform: none; } }
@keyframes plan-move-prev { from { transform: translateX(-6%); } to { transform: none; } }
@keyframes plan-in-next { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes plan-in-prev { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }
.plan-stage { overflow: hidden; }
.plan-caption { display: flex; align-items: center; justify-content: center; gap: 22px; max-width: 100%; color: var(--brown-ink); text-align: left; }
.plan-caption:empty { display: none; }
.plan-dots { display: none; align-items: center; justify-content: center; gap: 8px; }
.plan-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .35s var(--ease), background .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.plan-dots button[aria-current="true"] { width: 22px; background: var(--brown); }
@media (hover: none), (pointer: coarse) {
  .plan-stage { touch-action: pan-y pinch-zoom; will-change: transform; user-select: none; -webkit-user-select: none; }
  .plan-stage .plan-viewer-image { -webkit-user-drag: none; pointer-events: none; }
}
.plan-caption p { margin: 0; }
.plan-caption-area { flex-shrink: 0; font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.plan-caption-text { display: grid; gap: 4px; padding-left: 22px; border-left: 1px solid var(--line); }
.plan-caption-kind { font-size: 15px; color: var(--ink); }
.plan-caption-desc { font-size: 15px; color: var(--muted); }
.plan-caption.is-in { animation: plan-cap-in .5s var(--ease); }
@keyframes plan-cap-in { from { opacity: 0; } to { opacity: 1; } }
/* desktop: planimetria cât mai mare, săgețile pe laterale */
@media (min-width: 761px) {
  .plan-viewer { padding: 16px 96px 18px; }
  .plan-figure { gap: 14px; height: 100%; justify-content: center; }
  .plan-stage { width: min(100%, calc((100vh - 104px) * 1.3393)); width: min(100%, calc((100dvh - 104px) * 1.3393)); }
  .plan-controls { display: contents; }
  .plan-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: #F5F1EA; }
  .plan-nav--prev { left: 24px; }
  .plan-nav:not(.plan-nav--prev) { right: 24px; }
  .plan-caption { width: min(100%, calc((100vh - 104px) * 1.3393)); width: min(100%, calc((100dvh - 104px) * 1.3393)); justify-content: flex-start; }
  .plan-tap { display: none !important; }
}
@media (hover: none), (pointer: coarse) { .plan-tap { display: block; } .plan-count { display: none; } }
@media (max-width: 760px) {
  .plan-viewer[open] { align-items: flex-start; padding-top: max(136px, 17vh); }
  .plan-figure { gap: 20px; }
  .plan-controls { margin-top: 20px; }
  .plan-dots { margin-top: -4px; }
  .plan-caption { flex-direction: column; gap: 8px; text-align: center; }
  .plan-caption-area { font-size: 27px; }
  .plan-caption-text { padding-left: 0; border-left: 0; gap: 4px; }
  .plan-caption-text { display: none; }
  .plan-room, .plan-total { gap: 1.7px; padding: 3.4px 6px 4.3px; border-radius: 7.7px; box-shadow: 0 4px 12px rgba(55, 37, 21, .16); }
  .plan-name { font-size: 6px; letter-spacing: .08em; }
  .plan-num { font-size: 10.3px; }
  .plan-total { bottom: 1.2%; padding: 0; box-shadow: none; border-radius: 0; }
  .plan-total .plan-num { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .plan-info, .plan-room, .plan-total { transition: none; } .plan-stage .plan-viewer-image, .plan-stage .plan-info { animation: none !important; } }
.apartment-card > div { padding: 24px 6px 0; }
.apartment-kind { font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.apartment-card h3 { font-weight: 400; font-size: 32px; letter-spacing: -.03em; color: var(--brown-ink); margin-bottom: 10px; }
.apartment-card h3 + p { max-width: 420px; font-size: 15px; }
.apartment-cta { text-align: center; margin-top: clamp(40px, 5vw, 60px); }
@media (min-width: 961px) {
  .apartment-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; padding-inline: 0; overflow: visible; scroll-snap-type: none; gap: 48px 28px; }
  .apartment-card { min-width: 0; }
  .apartment-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}

/* ---------- launch offer ---------- */
.launch-offer { --offer-accent: #E6661D; background: #f7ddc7 url("assets/img/sky-promo.jpg") center / cover no-repeat; min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); display: grid; align-items: center; padding: clamp(32px, 5vh, 72px) 0; text-align: center; }
.launch-offer-inner { display: flex; flex-direction: column; align-items: center; }
.launch-offer-kicker { margin-bottom: clamp(32px, 3.33vw, 64px); font-size: clamp(17.6px, 2.664vw, 51.2px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.launch-offer-title { width: 100%; margin: 0 0 clamp(32px, 3.33vw, 64px); color: var(--offer-accent); font-size: clamp(24px, 3.664vw, 70.4px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.launch-offer-label { margin-bottom: clamp(12px, 1.25vw, 24px); font-family: var(--map-font); font-size: clamp(9.6px, 1.168vw, 22.4px); font-weight: 600; line-height: 1.25; letter-spacing: .14em; text-transform: uppercase; }
.launch-offer-price { display: flex; align-items: baseline; justify-content: center; gap: clamp(12px, 1.6vw, 32px); color: var(--offer-accent); font-family: Gatwick, var(--font); font-size: clamp(57.6px, 6.664vw, 128px); line-height: 1.05; letter-spacing: -.05em; }
.launch-offer-price > span { white-space: nowrap; }
.launch-offer-price small { font-family: var(--font); font-size: .3em; font-weight: 700; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.launch-offer-cta { min-height: clamp(52px, 3.33vw, 64px); margin-top: clamp(28px, 2.5vw, 48px); padding-inline: clamp(28px, 2.8vw, 54px); font-family: var(--map-font); font-size: clamp(8.8px, .664vw, 12.8px); }
.launch-offer-note { margin-top: clamp(28px, 3.33vw, 64px); font-size: clamp(11.2px, 1.168vw, 22.4px); line-height: 1.5; }
html[lang="ru"] .launch-offer-kicker, html[lang="ru"] .launch-offer-title { font-weight: 600; }

/* ---------- pricing ---------- */
.pricing { --calc-bg: var(--brown); background: var(--calc-bg); color: #fff; position: relative; overflow: hidden; }
.pricing-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }

.calc { --brown: #E6661D; --brown-deep: #c95313; --brown-ink: #f4f0ea; --ink: #f4f0ea; --muted: #c8b9aa; --line: #705b49; --cream: #493523; color-scheme: dark; background: var(--calc-bg); color: var(--ink); border-radius: calc(var(--radius) + 6px); padding: clamp(26px, 3vw, 40px); }
.calc :focus-visible { outline-color: #E6661D; }
.calc .field select { color: var(--ink); background-color: #493523; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23f4f0ea' fill='none' stroke-width='1.3'/%3E%3C/svg%3E"); }
.calc h3 { font-weight: 400; font-size: 24px; color: var(--brown-ink); margin-bottom: 24px; letter-spacing: -.02em; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.calc-fields .field { min-width: 0; margin-bottom: 0; }
@media (min-width: 1181px) { .calc-fields { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.field { display: block; margin-bottom: 20px; }
.field-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field select { display: block; width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 40px 12px 14px; font-size: 14px; color: var(--brown-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236d533d' fill='none' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.range-head output { font-size: 16px; color: var(--brown-ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brown) var(--p), var(--line) var(--p)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--brown); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: #fff; border: 2px solid var(--brown);  }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brown); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr 1.4fr; align-items: center; gap: 14px 20px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; }
.calc-result span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.calc-result strong { font-weight: 400; font-size: 20px; color: var(--brown-ink); }
.calc-monthly { background: var(--cream); border-radius: 14px; padding: 16px 18px; }
.calc-monthly strong { font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -.03em; line-height: 1.1; }
.calc-note { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 16px 0 20px; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-grid li { padding: 36px clamp(16px, 2.5vw, 40px) 40px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 4px 20px; align-content: start; }
.feature-grid li:not(:nth-child(3n+1)) { padding-left: clamp(16px, 2.5vw, 40px); border-left: 1px solid var(--line); }
.feature-grid img { width: 48px; height: 48px; grid-row: span 2; }
.feature-grid h3 { font-weight: 400; font-size: 18px; line-height: 1.3; color: var(--brown-ink); letter-spacing: -.01em; }
.feature-grid p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- location / hartă (flat, full-screen) ---------- */
.location { position: relative; background: #DDDBCA; padding-top: var(--section); padding-bottom: 0; }
.loc-top { --brown-ink: #6D533D; --muted: #6D533D; --line: #6D533D; color: #6D533D; margin-bottom: 0; }
.loc-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 0; }
.loc-address { justify-self: end; text-align: right; }
.address { font-size: 18px; color: var(--brown-ink); margin-bottom: 16px; }
.address { margin-bottom: 0; }

.loc-tags { margin-top: clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 14px 16px; }
.loc-tag { text-align: left; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: transparent; color: var(--brown-ink); border-radius: 999px; min-height: 46px; padding: 14px 18px; font-family: var(--map-font); font-size: 15px; line-height: 1.2; transition: background .2s, border-color .2s, color .2s; }
.loc-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.loc-tag .t-time { color: var(--muted); white-space: nowrap; }
.loc-tag:hover { background: var(--brown); border-color: var(--brown); color: #F2EFE9; }
.loc-tag.is-active { background: var(--brown); border-color: var(--brown); color: #F2EFE9; }
.loc-tag:hover .t-time, .loc-tag.is-active .t-time { color: #F2EFE9; }
.loc-tag.is-active i { background: #F2EFE9; }

.map-shell { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 480px; margin-top: clamp(32px, 4vw, 56px); background: #F2EFE9; isolation: isolate; overflow: hidden; }
/* Reserve map space before lazy loading, so anchors below it cannot move. */
.map-shell.is-loading .map-el, .map-shell.is-unavailable .map-el { visibility: hidden; pointer-events: none; }
.map-status { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--brown); font-size: 14px; }
.map-status a { text-decoration: underline; text-underline-offset: 4px; }
.map-shell.is-ready .map-status { display: none; }
.loc-tag:disabled { cursor: default; }
.map-el { position: absolute; inset: 0; }
.map-el { z-index: 1; background: #F2EFE9; }
.map-el .leaflet-tile-pane { filter: url(#hora-map); }
.map-el .leaflet-control-attribution { background: #F2EFE9; color: var(--muted); font: 10px/1.4 var(--map-font); padding: 3px 8px; }
.map-el .leaflet-control-attribution a { color: var(--brown); }

.map-ctrl { position: absolute; z-index: 5; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 6px; }
.map-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--brown); background: #F2EFE9; color: var(--brown-ink); font-family: var(--map-font); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s; }
.map-ctrl button:hover { background: var(--brown); color: #fff; }
.map-shell:not(.is-ready) .map-ctrl { display: none; }

.hora-pin-dot { position: absolute; inset: 0; border-radius: 50%; background: var(--brown); color: #fff; display: grid; place-items: center; font: 400 18px/1 var(--map-font); border: 3px solid #F2EFE9; }
.hora-pin-label { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); background: var(--brown); color: #fff; font: 11px/1 var(--map-font); letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.poi-pin span { display: block; width: 14px; height: 14px; margin: 2px; border-radius: 50%; background: var(--c); border: 2px solid #F2EFE9; transition: transform .2s; }
.poi-pin:hover span, .poi-pin.is-active span { transform: scale(1.5); }
.ring-label span { position: absolute; transform: translate(-50%, -50%); background: #F2EFE9; color: var(--brown); font: 10px/1 var(--map-font); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.leaflet-tooltip.poi-tip { background: var(--dark-bg); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font: 13px/1.35 var(--map-font);  }
.leaflet-tooltip.poi-tip::before { border-top-color: var(--dark-bg); }
.poi-tip strong { display: block; font-weight: 600; }
.poi-tip span { display: block; font-size: 11px; color: rgba(255,255,255,.7); }
.leaflet-container { font-family: var(--map-font); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 8vw, 140px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 18px; color: var(--brown-ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--brown), var(--brown)) center / 14px 1.3px no-repeat, linear-gradient(var(--brown), var(--brown)) center / 1.3px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 16px 48px 32px 36px; font-size: 15px; line-height: 1.92; max-width: 620px; }

/* ---------- contact ---------- */
.contact { background: var(--brown); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact .display { color: #fff; margin-bottom: 28px; }
.contact-copy > p { color: rgba(255,255,255,.82); max-width: 460px; }

.lead-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3vw, 40px); }
.input { display: grid; gap: 6px; }
.input > span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.input input, .input select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: #fff; padding: 10px 0; font-size: 17px; border-radius: 0; outline: none; transition: border-color .2s; }
.input select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' fill='none' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; font-size: 15px; }
.input select option { color: var(--brown-ink); }
.input input::placeholder { color: rgba(255,255,255,.4); }
.input input:focus, .input select:focus { border-color: #fff; }
.input.is-invalid input { border-color: #f2b8a2; }
.error { display: none; font-style: normal; font-size: 12px; color: #f6c9b8; }
.is-invalid .error, .error.is-shown { display: block; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.8); }
.consent input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 2px solid #fff; border-radius: 4px; background: transparent; cursor: pointer; }
.consent input:checked { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-8' fill='none' stroke='%23372515' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.consent input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 13px; min-height: 1.4em; color: rgba(255,255,255,.8); }
.lead-form button[disabled] { opacity: .6; pointer-events: none; }
.form-success { text-align: left; padding: 20px 0; }
.form-success h3 { font-weight: 400; font-size: 36px; margin-bottom: 14px; }
.form-success p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.form-success .link-arrow { color: #fff; }

/* contact — după macheta aprobată */
.contact-title { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.1; max-width: 13em; margin-bottom: 28px; }
.contact-copy { display: flex; flex-direction: column; }
.contact-copy > p { font-size: 16px; }
.contact-direct { display: grid; gap: 36px; margin-top: 56px; }
.contact-direct-group > span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.contact-phone { display: block; width: max-content; font-size: clamp(32px, 2.9vw, 42px); line-height: 1.25; margin-bottom: 10px; letter-spacing: -.02em; }
.contact-mail { font-size: 19px; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lead-form { display: flex; flex-direction: column; }
.form-body { display: flex; flex-direction: column; gap: 64px; flex: 1; }
.form-bottom { display: grid; gap: 40px; margin-top: auto; padding-top: 40px; }
.form-bottom .form-status:empty { display: none; }
.lead-form .btn--block { min-height: 56px; font-size: 13px; }
@media (min-width: 961px) {
  .contact { scroll-margin-top: calc(var(--header-h) * -1); min-height: 100svh; display: flex; align-items: center; padding-block: var(--section); }
  .contact .container { width: min(var(--container), 100% - var(--gutter) * 2); }
  .contact-grid { align-items: stretch; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 110px); }
  .contact-direct { margin-top: auto; padding-top: 48px; }
  .lead-form { padding: 44px 48px 40px; }
}
@media (max-width: 960px) {
  .form-body { gap: 34px; }
  .form-bottom { gap: 28px; padding-top: 0; }
}

/* ---------- footer ---------- */
.site-footer { --brown: #80634B; background: var(--dark-bg); color: #80634B; padding: var(--section) 0 calc(var(--section) / 2); }
.footer-top { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.footer-logo { width: 170px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h2 { font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); margin-bottom: 18px; }
.footer-cols a, .footer-cols p { display: block; font-size: 17px; line-height: 1.7; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; margin-top: clamp(60px, 8vw, 120px); padding-top: 24px; border-top: 1px solid var(--brown); font-size: 12px; color: var(--brown); }
.footer-bottom nav a { text-decoration: underline; text-underline-offset: 3px; }
.acasa-logo { width: 134px; }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
}

@media (max-width: 960px) {
  :root { --header-h: 68px; --section: max(88px, calc(84px + env(safe-area-inset-bottom))); }
  .site-header.is-solid { height: 64px; --header-h: 64px; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(55,37,21,.25); background: rgba(255,255,255,.75); backdrop-filter: blur(8px); position: relative; z-index: 2; }
  .menu-toggle span { width: 18px; height: 1.4px; background: var(--brown-ink); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.7px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; inset: 0; z-index: 1; margin: 0; background: var(--cream); flex-direction: column; justify-content: center; gap: 6px; padding: 90px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-size: 28px; letter-spacing: -.02em; text-transform: none; padding-block: 8px; }
  .nav a::after { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 28px; width: max-content; font-size: 12px !important; letter-spacing: .14em !important; text-transform: uppercase !important; padding: 16px 26px !important; border-radius: 999px; }
  body.menu-open { overflow: hidden; }
  /* меню на весь экран: у открытой шапки снимаем blur — иначе fixed-меню ограничено высотой шапки */
  body.menu-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { height: 100vh; height: 100dvh; background: var(--dark-bg); overflow-y: auto; overscroll-behavior: contain; }
  .nav a { color: #fff; }
  .nav-cta-mobile { background: var(--cream) !important; color: var(--dark-bg) !important; }
  body.menu-open .brand { position: relative; z-index: 2; }
  body.menu-open .brand img { filter: brightness(0) invert(1); }
  body.menu-open .menu-toggle { background: transparent; border-color: rgba(255,255,255,.4); backdrop-filter: none; }
  body.menu-open .menu-toggle span { background: #fff; }
  body.menu-open .mobile-bar { transform: translateY(150%); }

      .loc-address { justify-self: start; text-align: left; }
  .about-grid, .loc-head, .pricing-grid, .contact-grid, .faq-grid, .section-head { grid-template-columns: 1fr; }
  .section-note { justify-self: start; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid li, .feature-grid li:not(:nth-child(3n+1)) { padding: 28px 16px 30px 0; border-left: 0; }
  .feature-grid li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transform: translateY(150%); transition: transform .4s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-bar-call { display: flex !important; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); color: var(--brown-ink); }
  .mobile-bar-ico { width: 14px; height: 14px; flex-shrink: 0; }
  .mobile-bar-cta { background: var(--brown); color: #fff; }
}

@media (max-width: 640px) {
  .launch-offer-price { font-size: clamp(41.6px, 12vw, 76.8px); }
  .launch-offer-cta .arrow { flex: none; }
  .loc-tags { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); justify-content: start; }
  .loc-tags::-webkit-scrollbar { display: none; }
  .apartment-benefits { grid-template-columns: 1fr; }
  .apartment-card { flex-basis: 85vw; }
  .apartment-card h3 { font-size: 27px; }
  .apartment-track { gap: 15px; }
    body { font-size: 15px; }
  .hero { min-height: max(640px, 100svh); }
  .hero-media img { object-position: 55% center; }
  .hero-brand { --w: min(76.8vw, 336px); padding-top: 104px; }
  .hero-promo { --promo-w: 112px; left: auto; right: -16px; top: 0; }
            .btn { white-space: normal; text-align: center; line-height: 1.4; padding-block: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid li, .feature-grid li:nth-child(2n) { padding: 24px 0; border-left: 0; }
  .calc-fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .calc-result { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-monthly { grid-column: 1 / -1; }
  .footer-cols { grid-template-columns: 1fr; }
  .calc-result strong { font-size: 18px; }
  .calc-monthly strong { font-size: clamp(28px, 7.2vw, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- RU / RO ---------- */
/* Gatwick nu are chirilice — versiunea RU folosește Montserrat (local, cu chirilice). */
html[lang="ru"] { --font: GatwickNumerals, Montserrat, "Helvetica Neue", Arial, sans-serif; --map-font: GatwickNumerals, Montserrat, "Helvetica Neue", Arial, sans-serif; }
html[lang="ru"] .display { letter-spacing: -.03em; }
html[lang="ru"] .eyebrow, html[lang="ru"] .btn, html[lang="ru"] .link-arrow { letter-spacing: .1em; }
@media (min-width: 961px) { html[lang="ru"] .nav a { letter-spacing: .1em; } }
html[lang="ru"] .mobile-bar a { letter-spacing: .1em; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.lang-switch a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 999px; color: var(--brown-ink); opacity: .55; transition: opacity .2s, background .2s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="page"] { opacity: 1; background: rgba(55,37,21,.08); }
.footer-lang { margin-left: 4px; }
@media (max-width: 960px) {
  .header-actions { gap: 12px; }
  body.menu-open .lang-switch { position: relative; z-index: 2; }
  body.menu-open .lang-switch a { color: #fff; }
  body.menu-open .lang-switch a[aria-current="page"] { background: rgba(255,255,255,.14); }
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom nav button, .privacy-settings { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-bottom nav button:hover, .privacy-settings:hover { text-decoration-thickness: 2px; }
.analytics-consent { position: fixed; z-index: 100; inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); width: min(860px, calc(100% - 32px)); margin-inline: auto; display: flex; align-items: center; gap: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); box-shadow: 0 16px 56px rgba(24, 16, 9, .24); color: var(--brown-ink); }
.analytics-consent__copy { flex: 1; min-width: 0; }
.analytics-consent h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.2; font-weight: 400; }
.analytics-consent p { margin: 0; font-size: 13px; line-height: 1.45; }
.analytics-consent p a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent__actions { display: flex; gap: 8px; flex: none; }
.analytics-consent__actions button { min-height: 44px; padding: 9px 16px; border: 1px solid var(--brown); border-radius: 999px; background: transparent; color: var(--brown); font-size: 13px; white-space: nowrap; }
.analytics-consent__actions button:last-child { background: var(--brown); color: #fff; }
.analytics-consent__actions button:hover { background: var(--brown-deep); border-color: var(--brown-deep); color: #fff; }
@media (max-width: 640px) {
  .analytics-consent { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .analytics-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent__actions button { white-space: normal; }
}
@media (min-width: 961px) and (max-width: 1280px) {
  .header-inner { gap: 14px; }
  .nav { gap: clamp(10px, 1.3vw, 16px); }
  .header-actions { gap: 10px; }
  .header-actions .btn--sm { padding: 0 16px; gap: 10px; }
  .lang-switch a { min-width: 30px; padding: 0 4px; }
  .brand { flex-shrink: 0; }
  .brand img { width: 120px; }
  .nav a, html[lang="ru"] .nav a { font-size: 11px; letter-spacing: .04em; }
  .header-actions .btn--sm .arrow { display: none; }
}

/* ---------- calculator v2 (minimalist) ---------- */
.calc3 { --c-bg: #6d533d; --c-ink: #f4f0ea; --c-soft: rgba(244,240,234,.7); --c-line: rgba(244,240,234,.22);
  background: var(--c-bg); color: var(--c-ink);
  display: flex; align-items: center; min-height: calc(100svh - var(--header-h)); padding-block: clamp(32px, 6vh, 72px); }
.calc3 > .container { width: min(1180px, 100% - var(--gutter) * 2); }
.calc3 :focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.calc3 .display { color: var(--c-ink); font-size: clamp(24px, min(2.4vw, 4.6vh), 38px); margin-bottom: clamp(32px, 7vh, 72px); }
.calc3-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }

.calc3-field + .calc3-field { margin-top: clamp(28px, 7vh, 72px); }
.calc3-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.calc3-head label, .calc3-head .calc3-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-soft); }
.calc3-head output { font-size: clamp(17px, min(1.5vw, 2.8vh), 22px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }

.calc3-rooms { margin-right: 10px; font-size: 12px; letter-spacing: 0; color: var(--c-soft); vertical-align: .2em; }
.calc3 input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer; }
.calc3 input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--c-ink) var(--p), var(--c-line) var(--p)); }
.calc3 input[type="range"]::-moz-range-track { height: 2px; background: var(--c-line); }
.calc3 input[type="range"]::-moz-range-progress { height: 2px; background: var(--c-ink); }
.calc3 input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--c-ink); border: 0; transition: transform .2s var(--ease); }
.calc3 input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--c-ink); border: 0; }
.calc3 input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc3 input[type="range"]:focus-visible { outline: none; }
.calc3 input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(244,240,234,.25); }

.calc3-result { padding-left: clamp(0px, 4vw, 64px); border-left: 1px solid var(--c-line); }
.calc3-result dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-soft); }
.calc3-result dd { margin: 0; }
.calc3-result .calc3-monthly { margin: clamp(18px, 3.2vh, 30px) 0 0; font-size: clamp(38px, min(4vw, 7.5vh), 60px); line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.calc3-monthly small { font-size: 14px; letter-spacing: 0; color: var(--c-soft); margin-left: 10px; }
.calc3-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(30px, 5.6vh, 54px); padding-top: clamp(22px, 4vh, 36px); border-top: 1px solid var(--c-line); }
.calc3-total dd { font-size: 16px; white-space: nowrap; }
.calc3-result .btn { margin-top: clamp(32px, 6vh, 58px); min-height: 46px; }
.calc3-note { margin-top: 24px; font-size: 11px; line-height: 1.5; color: var(--c-soft); }
.calc3-note b { font-weight: 700; color: #E6661D; white-space: nowrap; } /* singura pată de oranj: prețul promo */

@media (max-width: 960px) {
  .calc3-grid { grid-template-columns: 1fr; }
  .calc3-grid { gap: 0; }
  .calc3-result { margin-top: clamp(24px, 4vh, 40px); padding: clamp(20px, 3.4vh, 32px) 0 0; border-left: 0; border-top: 1px solid var(--c-line); }
}
@media (max-width: 640px) {
  .calc3 { --header-h: 68px; padding-block: 24px calc(88px + env(safe-area-inset-bottom)); }
  .calc3 input[type="range"] { height: 32px; }
  .calc3 .display { font-size: clamp(22px, 6vw, 26px); }
  .calc3 .display br { display: none; }
  .calc3-result dl { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
  .calc3-field + .calc3-field { margin-top: clamp(18px, 3.6vh, 32px); }
  .calc3-result .calc3-monthly { grid-column: 1; font-size: clamp(34px, min(10vw, 6.5vh), 44px); margin-top: 14px; }
  .calc3-monthly small { font-size: 12px; margin-left: 6px; }
  .calc3-total { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; gap: 14px; margin: 0; padding: 0; border: 0; text-align: right; }
  .calc3-total dd { font-size: 15px; }
  .calc3-total dt { white-space: nowrap; }
  .calc3-note { font-size: 10.5px; }
  .calc3-result .btn { white-space: nowrap; font-size: 11px; letter-spacing: .08em; padding-inline: 18px; gap: 10px; }
}
@media (max-width: 640px) and (max-height: 760px) {
  .calc3 { padding-block: 10px calc(84px + env(safe-area-inset-bottom)); }
  .calc3 .display { margin-bottom: 14px; }
  .calc3 input[type="range"] { height: 30px; }
  .calc3-field + .calc3-field { margin-top: 10px; }
  .calc3-result { margin-top: 16px; padding-top: 16px; }
  .calc3-result .btn { min-height: 44px; margin-top: 20px; }
  .calc3-note { margin-top: 14px; line-height: 1.4; }
}
/* Meniu desktop RO: −15% (12px → 10.2px; 11px → 9.35px la 961–1280px) */
@media (min-width: 961px) { html[lang="ro"] .nav a { font-size: 10.2px; } }
@media (min-width: 961px) and (max-width: 1280px) { html[lang="ro"] .nav a { font-size: 9.35px; } }


/* ---------- bloc contact (text): fonturi −20% ---------- */
.contact-title { font-size: clamp(25.6px, 2.56vw, 38.4px); }
.contact-copy > p { font-size: 12.8px; }
.contact-direct-group > span { font-size: 8.8px; }
.contact-phone { font-size: clamp(25.6px, 2.32vw, 33.6px); }
.contact-mail { font-size: 15.2px; }

/* ---------- butoane unificate: bold, aceeași mărime ca cel mai mare buton (formularul: 13px / 56px) ---------- */
.btn, .btn--sm, .launch-offer-cta, .lead-form .btn--block, .calc3-result .btn, .mobile-bar a, .nav-cta-mobile, .link-arrow {
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}
.btn, .btn--sm, .launch-offer-cta, .lead-form .btn--block, .calc3-result .btn, .mobile-bar a, .nav-cta-mobile { min-height: 56px !important; }
.nav-cta-mobile { align-items: center; padding-block: 0 !important; }
/* Gatwick nu are chirilice → în versiunea RU butoanele folosesc Montserrat SemiBold (cel mai gros disponibil) */
html[lang="ru"] .btn, html[lang="ru"] .mobile-bar a, html[lang="ru"] .nav-cta-mobile, html[lang="ru"] .link-arrow { font-family: var(--map-font) !important; font-weight: 600 !important; }

/* contorul de planimetrii eliminat; butoanele dezactivate la capetele sliderului */
.plan-count { display: none !important; }
.plan-nav:disabled { opacity: .25; cursor: default; pointer-events: none; }

/* ---------- mobil: primul ecran ---------- */
/* logo + slogan: partea de sus a logoului la 25.5% din înălțimea ecranului; stickerul (84.5px) deasupra, în dreapta */
@media (max-width: 640px) {
  .hero-content { justify-content: flex-start; height: auto; min-height: 0; padding-top: 25.5svh; }
  .hero-brand { padding-top: 0; }
  .hero-slogan, html[lang="ru"] .hero-slogan { margin-top: 26px; }
  /* stickerul deasupra logoului, aliniat la dreapta, 18px liber până la logo (ovalul iese cu 10% în afară) */
  .hero-promo { --promo-w: 84.5px; top: calc(var(--promo-w) * -0.8636 - 32px); left: auto; right: calc(var(--promo-w) * .1); }
}

/* ---------- mobil: aceleași spații sus/jos pentru toate blocurile (var(--section) = 88px) ---------- */
@media (max-width: 640px) {
  #oferta { min-height: 0; padding-top: var(--section); padding-bottom: var(--section); }
  #pret { min-height: 0; padding-top: var(--section); padding-bottom: var(--section); }
  /* fără consimțământ harta e ascunsă → blocul își păstrează spațiul de jos */
  #locatie:has(.map-shell[hidden]) { padding-bottom: var(--section); }
}

/* ---------- calculator: eticheta „Rata lunară” mai mare și bold (peste tot) ---------- */
.calc3-result dl > dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--c-ink); }
html[lang="ru"] .calc3-result dl > dt { font-family: var(--map-font); font-weight: 600; }

/* ---------- calculator mobil: aer în jurul blocului „Rata lunară” + spațiu deasupra notei ---------- */
@media (max-width: 640px) {
  .calc3-result dl { margin: 24px 0; }
  .calc3 .display { margin-bottom: max(48px, 7vh); }   /* titlu → prima setare (pe ecrane joase era doar 14px) */
  .calc3-note { margin-top: 36px; }
}

/* ---------- mobil: formularul cât tot ecranul — câmpurile sus, acordul + butonul jos ---------- */
@media (max-width: 640px) {
  .lead-form { min-height: calc((100svh - 40px) * .76); }   /* −24% față de înălțimea ecranului */
  .form-body { flex: 1; }
  .form-bottom { margin-top: auto; padding-top: 34px; }
  .form-success { margin-block: auto; }
}

/* Formularul se aliniază cu începutul conținutului din celelalte secțiuni. */
.lead-form { scroll-margin-top: calc(var(--section) + var(--section-anchor-shift)); }
/* Fade only: a translated anchor would finish 24px above its initial position. */
.lead-form.reveal { transform: none; }

/* blocul promo „Preț special de lansare”: prețul 1350 € bold (desktop + mobil) */
.launch-offer-price > span { font-weight: 700; }

/* blocul promo: butonul — contur și text portocalii (accentul ofertei) */
.launch-offer-cta.btn--solid { background: transparent; color: var(--offer-accent); border: 1.5px solid var(--offer-accent); }
.launch-offer-cta.btn--solid .arrow { filter: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2400%) hue-rotate(352deg) brightness(96%) contrast(90%); }
.launch-offer-cta.btn--solid:hover, .launch-offer-cta.btn--solid:focus-visible { background: var(--offer-accent); border-color: var(--offer-accent); color: #fff; }
.launch-offer-cta.btn--solid:hover .arrow, .launch-offer-cta.btn--solid:focus-visible .arrow { filter: brightness(0) invert(1); }

/* mobil: planimetria în modul deschis — de la margine la margine */
@media (max-width: 760px) {
  .plan-stage { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); border-left: 0; border-right: 0; }
}

/* carusel planimetrii: carduri cu 14% mai înguste, ca să se vadă că urmează următorul */
@media (max-width: 960px) { .apartment-card { flex-basis: min(456px, 67vw); } }
@media (max-width: 640px) { .apartment-card { flex-basis: 73vw; } }

/* bloc contact: fără telefoane/e-mail (sunt în subsol); textul introductiv +14%, interlinie 124% */
.contact-copy > p { font-size: 14.6px; line-height: 1.24; }
@media (max-width: 640px) { .contact-copy > p { font-size: 16.6px; } }   /* mobil: descrierea +14% */

/* ---------- interlinie unificată: texte 144%, titluri 124% ---------- */
/* texte (paragrafe, liste, note, descrieri) */
body, p, li, dd, .lead, .about-location, .apartment-benefits span, .apartment-card h3 + p, .apartment-kind,
.launch-offer-note, .calc-note, .feature-grid p, .consent, .footer-cols a, .footer-cols p,
.analytics-consent p, .calc3-note, .contact-copy > p, .faq details p, .plan-caption-kind, .plan-caption-desc { line-height: 1.44; }
/* titluri */
h1, h2, h3, h4, .display, .about-head .display, .gallery-title, .launch-offer-title, .launch-offer-kicker,
.contact-title, .feature-grid h3, .analytics-consent h2, .apartment-card h3, .faq summary, .calc3 .display { line-height: 1.24; }

/* ancorele din meniu: secțiunea se oprește cu 144px mai sus (fără golul mare de sub antet) */
#apartamente, #pret, #constructie, #locatie { scroll-margin-top: var(--section-anchor-shift); }   /* desktop: titlul ajunge la ~160px de sus */
/* pe mobil spațiul de sus e mai mic → același rezultat vizual (~28px sub antet) */
@media (max-width: 640px) { :root { --section-anchor-shift: -64px; } }

/* primul ecran: sloganul mai gros (Gatwick Bold; în RU — Montserrat SemiBold, cel mai gros disponibil) */
/* grosime intermediară: Gatwick nu are Medium → Regular + contur fin */
.hero-slogan { font-weight: 400; -webkit-text-stroke: .35px currentColor; }
html[lang="ru"] .hero-slogan { font-weight: 400; -webkit-text-stroke: .4px currentColor; }

/* desktop: același spațiu sus/jos în toate blocurile (var(--section)), fără blocuri forțate la înălțimea ecranului */
@media (min-width: 641px) {
  #oferta, #pret, .contact { min-height: 0; padding-top: var(--section); padding-bottom: var(--section); }
}

/* Desktop: launch offer button on two lines. */
.launch-offer-cta-break { display: none; }
@media (min-width: 961px) {
  .launch-offer-cta-break { display: block; }
  .launch-offer-cta-text { text-align: center; line-height: 1.4; }
}

/* Titluri bold în versiunea rusă. */
html[lang="ru"] :is(h1, h2, h3, h4, h5, h6, .display, .launch-offer-kicker) { font-weight: 700; }

/* Mobile call alternative outside the form, within the contact section. */
.form-call-mobile { display: none; }
@media (max-width: 640px) {
  .form-call-mobile { display: grid; gap: 16px; padding-inline: calc(clamp(24px, 3vw, 40px) + 1px); text-align: center; }
  .form-call-label { color: #fff; font-size: 14px; }
  .contact .form-call-button { min-height: 56px; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 18px !important; letter-spacing: .02em !important; padding-inline: 16px; white-space: nowrap; }
  .form-call-button img { display: block; flex: none; filter: brightness(0) invert(1); }
  .contact .form-call-button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); }
}

/* More breathing room for the form consent text. */
.lead-form .consent { font-size: 11.44px; line-height: 1.8; }
