/* Orizont Residence
   Paleta vine din fotografii: cerul de iarnă peste vale (cer, nor),
   dealurile cu zăpadă (deal, ceață), lumina de la apus (amurg)
   și pământul câmpurilor (pământ).
   Archivo lat (125%) pentru nume și cifre, ca linia orizontului;
   Newsreader pentru titluri și texte de prezentare. */

@font-face {
  font-family: "Archivo Var"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Var"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader Var"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader Var"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader Var"; font-style: italic; font-display: swap; font-weight: 200 800;
  src: url("fonts/newsreader-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader Var"; font-style: italic; font-display: swap; font-weight: 200 800;
  src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cer: #e3e8ec;
  --nor: #f4f6f7;
  --deal: #26313a;
  --ceata: #55616b;
  --line: #bcc6cd;
  --amurg: #e6a46e;
  --amurg-apasat: #d98f55;
  --banda: #243039;
  --banda-text: #e4e9ed;
  --banda-muted: #a9b5be;
  --pamant: #3b332b;
  --pamant-text: #ede6dc;
  --pamant-muted: #c9bcab;
  --pamant-line: #5a4f44;
  --on-photo: #1e2830;
  --focus: #26313a;

  --sans: "Archivo Var", "Archivo", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader Var", "Newsreader", Georgia, "Times New Roman", serif;
  --step--1: 0.875rem;
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
  --gutter: clamp(1.1rem, 0.5rem + 2.6vw, 3rem);
  --maxw: 77.5rem;
  --pano-h: clamp(20rem, 62svh, 40rem);

  color-scheme: light dark;
  accent-color: var(--amurg);
}

@media (prefers-color-scheme: dark) {
  :root {
    --cer: #161d23;
    --nor: #1f2830;
    --deal: #e4e9ed;
    --ceata: #a7b3bc;
    --line: #34414b;
    --amurg: #e9ac78;
    --amurg-apasat: #f0bd90;
    --banda: #0f151a;
    --pamant: #2a241f;
    --pamant-line: #4a4038;
    --focus: #e9ac78;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--cer); color: var(--deal);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.55;
  font-kerning: normal; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
::selection { background: var(--amurg); color: var(--on-photo); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button { font: inherit; color: inherit; }
svg { flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--deal); color: var(--cer); padding: 0.6rem 1rem; border-radius: 3px; }
.skip:focus { top: 1rem; }

/* Titluri de secțiune și texte de prezentare */
.intro h2, .listings h2, .views h2, .place__title, .contact h2, .pagehead h1 {
  font-family: var(--serif); font-weight: 380; font-size: var(--step-3);
  line-height: 1.05; letter-spacing: -0.012em;
}
.lead { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.4; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 2.875rem; padding: 0.65rem 1.25rem;
  border: 1.5px solid transparent; border-radius: 3px;
  font-weight: 600; font-stretch: 106%; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer; background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
a.btn--primary[href^="tel:"] { font-weight: 700; min-height: 3.1rem; }
a.btn--primary[href^="tel:"] svg { width: 1.35rem; height: 1.35rem; stroke-width: 2; }
.btn--primary { background: var(--amurg); color: var(--on-photo); }
.btn--primary:hover { background: var(--amurg-apasat); }
.btn--primary:active { background: var(--amurg-apasat); box-shadow: inset 0 2px 0 rgb(0 0 0 / 0.14); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn--line:active { background: color-mix(in srgb, currentColor 16%, transparent); }
.btn--wide { width: 100%; }
.linkbtn { border: 0; background: none; padding: 0.25rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Hero: panorama ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.hero__pano {
  grid-area: 1 / 1; height: var(--pano-h);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scrollbar-width: none; background: #c9d2da; cursor: grab;
}
.hero__pano::-webkit-scrollbar { display: none; }
.hero__pano:active { cursor: grabbing; }
.hero__pano img { display: block; height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.hero__pano:focus-visible { outline-offset: -3px; }
.hero__hint {
  grid-area: 1 / 1; align-self: end; justify-self: start;
  margin: 0 0 0.85rem var(--gutter); padding: 0.35rem 0.75rem; border-radius: 2rem;
  background: rgb(22 29 35 / 0.62); color: #fff; font-size: 0.8125rem; font-weight: 500;
  pointer-events: none; transition: opacity 0.4s ease;
}
.hero__hint.is-gone { opacity: 0; }
.hero__copy { display: contents; }
.wordmark {
  grid-area: 1 / 1; align-self: start;
  padding: calc(env(safe-area-inset-top) + 1.1rem) var(--gutter) 0;
  color: var(--on-photo); pointer-events: none; line-height: 0.9;
}
.wordmark__main { display: block; font-size: clamp(3.25rem, 1.2rem + 10.5vw, 9.5rem); font-stretch: 125%; font-weight: 250; letter-spacing: -0.01em; }
.wordmark__rest { display: block; margin-top: 0.4em; font-size: clamp(1rem, 0.7rem + 1.4vw, 1.75rem); font-stretch: 125%; font-weight: 450; letter-spacing: 0.01em; }
.hero__intro { grid-area: 2 / 1; padding: 1.4rem var(--gutter) 0; display: grid; gap: 1.1rem; justify-items: start; }
.hero__intro p { font-size: var(--step-1); line-height: 1.4; max-width: 34ch; }
.topnav { display: none; }

@media (min-width: 64em) {
  .hero__pano { height: auto; overflow: hidden; cursor: auto; }
  .hero__pano img { width: 100%; height: auto; max-height: 90vh; object-fit: cover; object-position: 50% 62%; }
  .hero__hint { display: none; }
  .hero__copy {
    display: grid; grid-area: 1 / 1; align-self: start; justify-self: center;
    grid-template-columns: auto minmax(0, 23rem); justify-content: space-between; align-items: end; gap: 2rem;
    width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter));
    padding: clamp(5rem, 3rem + 3vw, 7rem) var(--gutter) 0; color: var(--on-photo);
  }
  .wordmark { grid-area: auto; padding: 0; }
  .hero__intro { grid-area: auto; padding: 0 0 0.2rem; }
  .hero__intro p { font-size: 1.3125rem; }
  .topnav {
    grid-area: 1 / 1; align-self: start; justify-self: end;
    display: flex; gap: 0.25rem 1.6rem; align-items: center; flex-wrap: wrap;
    padding: 1.5rem var(--gutter) 0; color: var(--on-photo); font-weight: 500;
  }
  .topnav > a:not(.btn) { text-decoration: none; padding: 0.3rem 0; border-bottom: 1.5px solid transparent; }
  .topnav > a:not(.btn):hover { border-bottom-color: currentColor; }
  .topnav__cta { font-variant-numeric: tabular-nums; }
}

/* ---------- Prezentare ---------- */
.intro {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(3rem, 2rem + 5vw, 7rem) var(--gutter) clamp(2rem, 1.5rem + 2vw, 3.5rem);
  display: grid; gap: 1.5rem 5rem; grid-template-columns: minmax(0, 1fr);
}
.intro h2 { max-width: 13ch; }
.intro__body { display: grid; gap: 1rem; max-width: 60ch; }
.intro__body p:not(.lead) { color: var(--ceata); max-width: 60ch; }
.intro__facts {
  margin: 1rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
.intro__facts div { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.2rem; align-content: start; }
.intro__facts dt { font-size: var(--step--1); color: var(--ceata); }
.intro__facts dd { margin: 0; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.intro__facts dd { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.intro__title { font-stretch: 118%; font-weight: 400; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.15; }
.intro__small { color: var(--ceata); }
@media (min-width: 56em) {
  .intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .intro__facts { grid-column: 1 / -1; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .intro__facts div { border-bottom: 0; padding-right: 1.5rem; }
  .intro__facts div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* ---------- Locuințe: carduri ---------- */
.listings {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(2.5rem, 2rem + 3vw, 5rem) var(--gutter) clamp(3rem, 2rem + 4vw, 6rem);
}
.listings__head { display: grid; gap: 0.5rem; max-width: 60ch; }
.listings__count { font-weight: 650; margin-top: 0.4rem; }
.listings__intro { color: var(--ceata); }
.cards {
  display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}
@media (min-width: 46em) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--nor); display: flex; flex-direction: column; scroll-margin-top: 1rem; }
.card__media { position: relative; background: var(--line); }
.card__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; aspect-ratio: 4 / 3;
}
.card__track::-webkit-scrollbar { display: none; }
.card__track:focus-visible { outline-offset: -3px; }
.card__photo { flex: 0 0 100%; padding: 0; border: 0; background: none; scroll-snap-align: start; cursor: zoom-in; }
.card__photo:focus-visible { outline-offset: -4px; }
.card__photo img, .card__track--placeholder img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__badge, .card__counter, .card__soon {
  position: absolute; margin: 0; pointer-events: none;
  font-size: 0.8125rem; font-weight: 600; line-height: 1;
  padding: 0.45rem 0.65rem; border-radius: 2rem;
}
.card__badge { top: 0.75rem; left: 0.75rem; background: var(--nor); color: var(--deal); }
.card__badge--disponibila { background: #f4f6f7; color: #1e2830; }
.card__badge--rezervata, .card__badge--inchiriata, .card__badge--vanduta { background: #1e2830; color: #f4f6f7; }
.card__counter { right: 0.75rem; bottom: 0.75rem; background: rgb(22 29 35 / 0.68); color: #fff; font-variant-numeric: tabular-nums; }
.card__soon { left: 0.75rem; bottom: 0.75rem; background: rgb(22 29 35 / 0.72); color: #fff; }
.card__nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0;
  background: rgb(244 246 247 / 0.9); color: #1e2830; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color 0.15s ease;
}
.card__nav:hover { background: #fff; }
.card__nav svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.2; }
.card__nav--prev { left: 0.6rem; }
.card__nav--next { right: 0.6rem; }
.card__nav[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .card__nav { display: none; } }

.card__body { padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.6rem); display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card h3 { font-size: var(--step-1); font-weight: 650; line-height: 1.2; }
.card__area { white-space: nowrap; font-stretch: 125%; font-weight: 300; font-size: 1.125rem; line-height: 1; }
.card__num { font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.9rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; color: var(--ceata); }
.specs li { display: inline-flex; align-items: center; gap: 0.45rem; }
.specs svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__price { font-size: var(--step-1); border-top: 1px solid var(--line); padding-top: 0.85rem; margin-top: auto; }
.card__actions { display: flex; gap: 0.5rem; margin-top: auto; }
.card__price + .card__actions { margin-top: 0; }
.card__actions .card__call { flex: 1 1 auto; }
.card__actions .card__share { flex: 0 0 auto; }
/* Pe card, butonul principal e „Sună pentru detalii”; trimiterea rămâne doar ca iconiță */
.card__share span, .actionbar__share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card__share, .actionbar__share { width: 3.1rem; padding-inline: 0; }
.card__share svg, .actionbar__share svg { width: 1.4rem; height: 1.4rem; }
.card h3 a, .card h2 a { text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.card h2 { font-size: var(--step-1); font-weight: 650; line-height: 1.2; font-family: var(--sans); }
.more__link { font-weight: 600; justify-self: start; }
.card__price strong { font-weight: 650; }
.card__price span { color: var(--ceata); font-size: var(--step-0); }
.card__pricenote { display: block; margin-top: 0.15rem; font-size: var(--step--1); color: var(--ceata); }
.card--unavailable .card__num, .card--unavailable h3 { color: var(--ceata); }

.more { border-top: 1px solid var(--line); }
.more summary {
  list-style: none; cursor: pointer; padding: 0.85rem 0 0.1rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: ""; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  rotate: 45deg; translate: 0 -0.15rem; transition: rotate 0.2s ease;
}
.more[open] summary::after { rotate: 225deg; translate: 0 0.15rem; }
.more summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.more__body { display: grid; gap: 1rem; padding-top: 0.9rem; }
.more__body p { max-width: 62ch; }
.more h4 { font-size: var(--step-0); font-weight: 650; }
.more__note { font-size: var(--step--1); color: var(--ceata); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--step--1); color: var(--ceata); }
.facts dd { margin: 0.1rem 0 0; font-weight: 600; }
.features { list-style: none; margin: -0.4rem 0 0; padding: 0; columns: 1; column-gap: 1.5rem; }
.features li { padding: 0.4rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
@media (min-width: 30em) { .features { columns: 2; } }

/* ---------- Priveliștea: bandă închisă ---------- */
.views { background: var(--banda); color: var(--banda-text); --focus: var(--amurg); }
.views__inner, .views__head { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; }
.views__head {
  padding: clamp(3rem, 2rem + 4vw, 6.5rem) var(--gutter) 0;
  display: grid; gap: 1rem 5rem; grid-template-columns: minmax(0, 1fr);
}
.views__head .lead { color: var(--banda-muted); max-width: 46ch; }
@media (min-width: 56em) { .views__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.views__grid {
  max-width: calc(90rem + 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 0.6rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem) var(--gutter) clamp(3rem, 2rem + 4vw, 6rem);
}
.views__item { margin: 0; }
.views__item--lead { margin-inline: calc(-1 * var(--gutter)); }
.views__item--lead figcaption { padding-inline: var(--gutter); }
.views__btn { display: block; width: 100%; padding: 0; border: 0; background: #33404a; cursor: zoom-in; }
.views__btn img { display: block; width: 100%; height: auto; }
.views__btn:focus-visible { outline-offset: -3px; }
.views figcaption { margin-top: 0.5rem; font-size: var(--step--1); color: var(--banda-muted); }
@media (min-width: 48em) {
  .views__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .views__item--lead { grid-column: 1 / -1; margin-inline: 0; }
  .views__item--lead figcaption { padding-inline: 0; }
}

/* ---------- Locația ---------- */
.place {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter);
  display: grid; gap: 1.5rem 5rem; grid-template-columns: minmax(0, 1fr);
}
.place address { margin-top: 1.1rem; font-style: normal; font-size: var(--step-1); line-height: 1.45; }
.map { min-height: 18rem; aspect-ratio: 4 / 3; width: 100%; background: var(--nor); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.maplinks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.maplinks .btn { font-weight: 600; }
@media (min-width: 48em) { .place { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

/* ---------- Contact: pământul de sub orizont ---------- */
.ground { background: var(--pamant); color: var(--pamant-text); --focus: var(--amurg); }
.contact {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(3.25rem, 2rem + 5vw, 7rem) var(--gutter) clamp(2.75rem, 2rem + 3vw, 5rem);
  display: grid; gap: 1.1rem; justify-items: start; align-content: start;
  grid-template-columns: minmax(0, 1fr);
}
.contact__img { display: block; width: 100%; height: auto; aspect-ratio: 2.16; object-fit: cover; margin-bottom: 1rem; }
@media (min-width: 56em) {
  .contact { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: 5rem; }
  .contact > :not(.contact__img) { grid-column: 1; }
  .contact__img { grid-column: 2; grid-row: 1 / span 4; margin: 0; align-self: center; aspect-ratio: 3 / 2; }
}
.contact__note { color: var(--pamant-muted); max-width: 44ch; font-size: var(--step-1); line-height: 1.4; }
.contact__missing { color: var(--pamant-muted); }
.callbtn {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: 1rem;
  padding: 1rem 1.6rem 1rem 1.25rem; border-radius: 3px;
  background: var(--amurg); color: #1e2830; text-decoration: none;
  transition: background-color 0.15s ease;
}
.callbtn:hover { background: var(--amurg-apasat); }
.callbtn:active { box-shadow: inset 0 2px 0 rgb(0 0 0 / 0.14); }
.callbtn svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.callbtn__text { display: grid; line-height: 1.1; }
.callbtn__label { font-weight: 600; font-size: var(--step--1); }
.callbtn__num { font-stretch: 118%; font-weight: 450; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); font-variant-numeric: tabular-nums; }
.footer {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid var(--pamant-line);
  display: flex; flex-wrap: wrap; gap: 0.35rem 2rem; align-items: baseline;
  font-size: var(--step--1); color: var(--pamant-muted);
}
.footer__name { color: var(--pamant-text); font-weight: 600; font-stretch: 120%; font-size: var(--step-0); }
.footer__name a { text-decoration: none; }
.footer__id { display: grid; gap: 0.2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; flex: 1 1 24rem; }
.footer__links a, .footer__links .linkbtn { color: var(--pamant-text); font-size: var(--step--1); }
.footer__meta { margin-left: auto; }

/* Bara de apel, pe telefon */
.actionbar {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  display: flex; gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--cer); border-top: 1px solid var(--line); color: var(--deal);
}
.actionbar .btn--primary { flex: 1 1 auto; min-height: 3.25rem; font-size: 1.0625rem; }
.actionbar__share { flex: 0 0 auto; min-height: 3.25rem; }
body:has(.actionbar) .ground { padding-bottom: calc(4.1rem + env(safe-area-inset-bottom)); }
@media (min-width: 64em) {
  .actionbar { display: none; }
  body:has(.actionbar) .ground { padding-bottom: 0; }
}

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #161d23; color: #e4e9ed; }
.lightbox::backdrop { background: #161d23; }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr); }
.lightbox__fig { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding: 3.75rem 0 0; }
.lightbox__fig img { width: 100%; height: 100%; object-fit: contain; min-height: 0; touch-action: pan-y; }
.lightbox figcaption { padding: 0.8rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); font-size: var(--step--1); display: flex; gap: 1rem; justify-content: space-between; }
.lightbox__count { color: #a7b3bc; font-variant-numeric: tabular-nums; }
.lightbox__close {
  position: absolute; top: calc(0.75rem + env(safe-area-inset-top)); right: var(--gutter);
  min-height: 2.75rem; padding: 0.5rem 1rem; border: 1.5px solid #e4e9ed; border-radius: 3px;
  background: transparent; color: #e4e9ed; font-weight: 600; cursor: pointer;
}
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgb(22 29 35 / 0.7); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__nav--prev { left: 0.6rem; }
.lightbox__nav--next { right: 0.6rem; }
.lightbox__nav:hover { background: rgb(22 29 35 / 0.9); }
.lightbox :focus-visible { outline-color: #e9ac78; }

/* Cookie-uri */
.consent {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  background: var(--deal); color: var(--cer); display: grid; gap: 0.75rem; --focus: var(--amurg);
}
.consent p { font-size: var(--step--1); max-width: 70ch; }
.consent__actions { display: flex; gap: 0.5rem; }
@media (min-width: 48em) { .consent { left: auto; right: 1.25rem; bottom: 1.25rem; max-width: 30rem; border-radius: 3px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Antet pentru paginile interioare ---------- */
.bar {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: 1rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.bar__brand { text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.45rem; line-height: 1; }
.bar__main { font-stretch: 125%; font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.bar__rest { font-stretch: 125%; font-weight: 450; font-size: 0.8125rem; }
.bar__nav { display: flex; align-items: center; gap: 0.5rem 1.4rem; font-weight: 500; }
.bar__nav > a:not(.btn) { text-decoration: none; padding: 0.3rem 0; border-bottom: 1.5px solid transparent; }
.bar__nav > a:not(.btn):hover { border-bottom-color: currentColor; }
.bar__cta { font-variant-numeric: tabular-nums; }
@media (max-width: 47.99em) {
  .bar__hide-sm, .bar__cta, .bar__nav .menu__more { display: none !important; }
  .bar__nav { font-size: var(--step--1); }
}

/* ---------- Titlul paginilor interioare și firul de navigare ---------- */
.pagehead {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(1rem, 0.6rem + 2vw, 2.5rem) var(--gutter) 0; display: grid; gap: 0.6rem;
}
.pagehead h1 { margin-top: 0.4rem; }
.pagehead__sub { color: var(--ceata); max-width: 60ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; font-size: var(--step--1); color: var(--ceata); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { color: var(--deal); }
.listings--page { padding-top: clamp(1.25rem, 1rem + 1vw, 2rem); }
.listings--page .cards { margin-top: 0; }
.listings__all { margin-top: 1.5rem; font-weight: 600; }

/* ---------- Pagina unei locuințe ---------- */
.unitpage {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding: 1rem var(--gutter) clamp(2.5rem, 2rem + 3vw, 5rem);
  display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "gallery" "panel" "details";
}
.unitpage__gallery { grid-area: gallery; margin-inline: calc(-1 * var(--gutter)); }
.card__track--big { aspect-ratio: 3 / 2; }
.unitpage__panel { grid-area: panel; display: grid; gap: 0.9rem; align-content: start; }
.unitpage__panel h1 { font-family: var(--serif); font-weight: 380; font-size: var(--step-3); line-height: 1.05; }
.unitpage__sub { color: var(--ceata); margin-top: -0.4rem; }
.unitpage__area { font-stretch: 125%; font-weight: 300; font-size: 1.25rem; line-height: 1; }
.unitpage__area .card__num { font-size: clamp(2.8rem, 2.2rem + 2vw, 3.8rem); }
.unitpage__actions { display: grid; gap: 0.5rem; margin-top: 0.4rem; }
.unitpage__addr { color: var(--ceata); padding-top: 0.75rem; border-top: 1px solid var(--line); }
.unitpage__panel .maplinks { margin-top: 0; }
.unitpage__details { grid-area: details; display: grid; gap: 2rem; max-width: 62ch; }
.unitpage__details h2 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin-bottom: 0.75rem; }
@media (min-width: 64em) {
  .unitpage { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "gallery panel" "details panel"; }
  .unitpage__gallery { margin-inline: 0; }
  .unitpage__panel { position: sticky; top: 1.25rem; align-self: start; }
}
.listings--others { padding-top: 0; }

/* ---------- Trimite (share) ---------- */
.sharebox {
  width: min(26rem, calc(100vw - 2rem)); border: 0; border-radius: 6px; padding: 1.4rem;
  background: var(--nor); color: var(--deal); box-shadow: 0 20px 60px rgb(0 0 0 / 0.3);
}
.sharebox::backdrop { background: rgb(22 29 35 / 0.55); }
.sharebox h2 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); }
.sharebox__name { color: var(--ceata); margin: 0.3rem 0 1rem; }
.sharebox__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.sharebox__status { min-height: 1.5rem; margin: 0.75rem 0; font-weight: 600; }

/* ---------- Paginile legale ---------- */
.prose {
  max-width: calc(44rem + 2 * var(--gutter)); margin-inline: auto;
  padding: 1.5rem var(--gutter) clamp(3rem, 2rem + 4vw, 6rem);
}
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin: 2.2rem 0 0.7rem; }
.prose h3 { font-size: var(--step-1); font-weight: 650; margin: 1.6rem 0 0.6rem; }
.prose p, .prose li { max-width: 66ch; }
.prose p + p { margin-top: 0.8rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.45rem; margin: 0.8rem 0; }
.prose a { font-weight: 500; }
.legal__id { list-style: none; padding: 1rem 1.1rem !important; background: var(--nor); border-left: 4px solid var(--amurg); }
.todo { background: #f7d9b8; color: #4a2a10; padding: 0 0.3rem; border-radius: 2px; font-weight: 600; }
.tablewrap { overflow-x: auto; margin: 0.8rem 0; }
.prose table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: var(--step--1); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 650; background: var(--nor); }
.prose__more { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.prose__more h2 { margin-top: 0; }
.page-legal .pagehead { max-width: calc(44rem + 2 * var(--gutter)); }

/* Iconițe la dotări și repere */
.features--icons li { display: flex; align-items: center; gap: 0.65rem; }
.features--icons svg { width: 1.35rem; height: 1.35rem; flex: none; fill: none; stroke: var(--ceata); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  gap: 0; margin: 0; border-top: 1px solid var(--line);
}
.tiles > div {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.75rem;
  align-items: center; padding: 0.9rem 0.75rem 0.9rem 0; border-bottom: 1px solid var(--line);
}
.tiles svg { grid-row: 1 / span 2; width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--deal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tiles dt { font-size: var(--step--1); color: var(--ceata); }
.tiles dd { margin: 0; font-weight: 650; }
.unitpage__details .features--icons { columns: 1; }
@media (min-width: 30em) { .unitpage__details .features--icons { columns: 2; } }

/* Reperele din prezentare, cu iconițe */
.intro__facts div { grid-template-columns: auto 1fr; column-gap: 0.85rem; }
.intro__facts div > svg { grid-row: 1 / span 2; align-self: start; margin-top: 0.15rem; width: 1.9rem; height: 1.9rem; fill: none; stroke: var(--deal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Priveliștea: fără zăpadă / cu zăpadă */
.views__intro { display: grid; gap: 1.25rem; justify-items: start; }
.seasons { display: inline-flex; padding: 0.25rem; border: 1px solid #4a5865; border-radius: 2rem; gap: 0.25rem; }
.seasons button {
  border: 0; background: transparent; color: var(--banda-text); font-weight: 600; cursor: pointer;
  min-height: 2.6rem; padding: 0.45rem 1.15rem; border-radius: 2rem; transition: background-color 0.15s ease, color 0.15s ease;
}
.seasons button[aria-selected="true"] { background: var(--amurg); color: #1e2830; }
.seasons button:not([aria-selected="true"]):hover { background: rgb(255 255 255 / 0.08); }
.js [data-season-hidden] { display: none; }
.views__grid[data-season-panel].is-entering { animation: detail-in 0.25s ease-out; }

/* Miniaturi sub galeria din pagina locuinței */
.thumbs { display: none; }
@media (min-width: 64em) {
  .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.4rem; margin-top: 0.5rem; }
  .thumbs__btn { padding: 0; border: 2px solid transparent; background: var(--line); cursor: pointer; aspect-ratio: 4 / 3; opacity: 0.72; transition: opacity 0.15s ease, border-color 0.15s ease; }
  .thumbs__btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .thumbs__btn:hover { opacity: 1; }
  .thumbs__btn.is-active { border-color: var(--amurg); opacity: 1; }
}
.intro__facts div > dt, .intro__facts div > dd { grid-column: 2; }
@media (min-width: 56em) {
  /* Pe ecran lat, iconița stă deasupra, ca textul să aibă toată lățimea coloanei */
  .intro__facts div { grid-template-columns: 1fr; }
  .intro__facts div > svg { grid-row: auto; margin: 0 0 0.6rem; }
  .intro__facts div > dt, .intro__facts div > dd { grid-column: 1; }
  .intro__title { font-size: clamp(1.2rem, 0.85rem + 0.7vw, 1.5rem); }
}
/* Dacă rămâne o singură fotografie pe ultimul rând, ocupă tot rândul */
@media (min-width: 48em) {
  /* 1 mare + 3 mici: cele trei stau pe un rând */
  .views__grid:has(> .views__item:nth-child(4):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Altfel, dacă rămâne o singură fotografie pe ultimul rând, ocupă tot rândul */
  .views__grid:not(:has(> .views__item:nth-child(4):last-child)) > .views__item--lead ~ .views__item:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* Iconițele de pe comutatorul de anotimp */
.seasons button { display: inline-flex; align-items: center; gap: 0.45rem; }
.seasons__ic { display: inline-flex; }
.seasons__ic svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.seasons__ic svg { width: 1.3rem; height: 1.3rem; }
.seasons__ic--snow circle { fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .seasons button[aria-selected="true"] .seasons__ic--snow .flake { animation: flake-fall 0.9s ease-out both; }
  .seasons button[aria-selected="true"] .seasons__ic--snow .flake--b { animation-delay: 0.12s; }
  .seasons button[aria-selected="true"] .seasons__ic--snow .flake--c { animation-delay: 0.24s; }
  .seasons button[aria-selected="true"] .seasons__ic:not(.seasons__ic--snow) svg { animation: sun-turn 0.9s ease-out both; }
}
@keyframes flake-fall { from { transform: translateY(-5px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sun-turn { from { transform: rotate(-45deg); } to { transform: none; } }

/* Fotografiile din galerii se văd întregi, centrate, fără zoom.
   Spațiul liber din jur e umplut cu aceeași poză, estompată (o pune site.js după ce se încarcă poza). */
.card__photo { position: relative; overflow: hidden; background: #26313a; }
.card__photo::before {
  content: ""; position: absolute; inset: 0; background: var(--ph, none) center / cover no-repeat;
  filter: blur(22px) saturate(1.05) brightness(0.8); transform: scale(1.2); opacity: 0; transition: opacity 0.3s ease;
}
.card__photo.has-ph::before { opacity: 1; }
.card__photo img { position: relative; object-fit: contain; object-position: 50% 50%; }
.card__track--placeholder img { object-fit: cover; }
@media (min-width: 64em) { .card__track--big { aspect-ratio: 4 / 3; } }

/* Semnătura din subsol */
.footer__meta { display: grid; gap: 0.25rem; justify-items: end; text-align: right; }
.footer__love { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--step--1); opacity: 0.85; }
.footer__heart { display: inline-flex; }
.footer__heart svg { width: 1em; height: 1em; fill: var(--amurg); stroke: none; }
@media (max-width: 47.99em) { .footer__meta { justify-items: start; text-align: left; margin-left: 0; } }

/* Iconița de apel: receptor în cerc, în culorile site-ului */
svg.ic-call { overflow: visible; }
svg.ic-call .ic-call__bg { fill: var(--deal); stroke: none; }
svg.ic-call .ic-call__fg { fill: var(--amurg); stroke: none; }
.btn svg.ic-call, a.btn--primary[href^="tel:"] svg.ic-call { width: 1.6rem; height: 1.6rem; margin-block: -0.2rem; }
.callbtn svg.ic-call { width: 2.75rem; height: 2.75rem; }
.callbtn:hover svg.ic-call .ic-call__fg { fill: var(--amurg-apasat); }
.btn--primary:hover svg.ic-call .ic-call__fg { fill: var(--amurg-apasat); }

/* Logo: semnul (soarele pe linia orizontului) + numele */
.logo-mark { display: block; flex: none; }
.wordmark { display: flex; align-items: flex-start; gap: clamp(0.6rem, 0.2rem + 1.6vw, 1.6rem); }
.wordmark .logo-mark { width: clamp(2.75rem, 0.9rem + 8vw, 7.25rem); height: auto; aspect-ratio: 1; margin-top: clamp(0.35rem, 0.1rem + 0.9vw, 1.1rem); border-radius: 22%; box-shadow: 0 0.4rem 1.6rem rgb(30 40 48 / 0.18); }
.wordmark__text { display: block; }
.bar__brand { align-items: center; gap: 0.7rem; }
.bar__brand .logo-mark { width: 2.5rem; height: 2.5rem; }
.bar__text { display: inline-flex; align-items: baseline; gap: 0.45rem; }
.footer__name a { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer__name .logo-mark { width: 1.75rem; height: 1.75rem; }
@media (max-width: 29.99em) { .bar__brand .logo-mark { width: 2.1rem; height: 2.1rem; } }

/* Pagina de contact */
.contactpage { margin-top: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.page-contact .place { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }

/* ---------- Meniul rămâne mereu la îndemână ---------- */
/* Prima pagină: meniul din fotografie trebuie să primească clicurile (textul de peste poză nu le mai blochează) */
.hero__copy { pointer-events: none; }
.hero__intro { pointer-events: auto; }
.topnav { position: relative; z-index: 3; }

/* Bara de sus: lipită de marginea ecranului pe paginile interioare */
.barwrap { position: sticky; top: 0; z-index: 30; background: rgb(227 232 236 / 0.94); transition: box-shadow 0.2s ease; }
@supports (backdrop-filter: blur(1px)) { .barwrap { background: rgb(227 232 236 / 0.93); backdrop-filter: blur(12px) saturate(1.2); } }
.barwrap.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgb(30 40 48 / 0.08); }
.barwrap .bar { padding-block: 0.75rem; }

/* Pe prima pagină apare de sus după ce treci de meniul din fotografie */
.barwrap--float {
  position: fixed; inset: 0 0 auto 0; transform: translateY(-105%); visibility: hidden;
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgb(30 40 48 / 0.08);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.barwrap--float.is-shown { transform: none; visibility: visible; transition: transform 0.25s ease; }
@media (prefers-reduced-motion: reduce) { .barwrap--float, .barwrap--float.is-shown { transition: none; } }

/* Secțiunile la care duc linkurile nu se mai ascund sub bară */
section[id], .card, [id="contact"], [id="continut"] { scroll-margin-top: 5.5rem; }

/* Pe carduri, fotografia duce la pagina locuinței */
a.card__photo--link { display: block; cursor: pointer; }
.card__placeholder-link { width: 100%; height: 100%; }
.card__placeholder-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  a.card__photo--link img { transition: transform 0.35s ease; }
  a.card__photo--link:hover img { transform: scale(1.02); }
}

/* ---------- Glisare ușoară prin fotografii ---------- */
/* o glisare = o fotografie, fără să sară peste mai multe */
.card__photo { scroll-snap-stop: always; }
.card__track { touch-action: pan-x pan-y; }
.card__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.card__track.is-dragging .card__photo { cursor: grabbing; }
.card__photo img { -webkit-user-drag: none; user-select: none; }
/* pe pagina locuinței, săgețile se văd și pe telefon */
@media (hover: none) { .unitpage__gallery .card__nav { display: grid; width: 2.6rem; height: 2.6rem; background: rgb(244 246 247 / 0.82); } }
/* miniaturile: pe telefon, un rând pe care îl poți glisa */
@media (max-width: 63.99em) {
  .thumbs { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.5rem var(--gutter) 0.15rem; scrollbar-width: none; scroll-snap-type: x proximity; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs__btn { flex: 0 0 4.6rem; padding: 0; border: 2px solid transparent; background: var(--line); aspect-ratio: 4 / 3; opacity: 0.7; scroll-snap-align: center; }
  .thumbs__btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .thumbs__btn.is-active { border-color: var(--amurg); opacity: 1; }
}
.lightbox__fig img { touch-action: pan-y; user-select: none; -webkit-user-drag: none; will-change: transform; }

/* Pagina Contact: un singur text și butonul de apel */
.contact--page { align-content: center; }
.contact--page h2 { font-size: var(--step-3); line-height: 1.05; }
.contact--page .callbtn { margin-top: 0.5rem; }
.callbtn--solo .callbtn__num { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 500; }
.callbtn svg.ic-call { width: 2.75rem; height: 2.75rem; }

/* Numărul arătat după click */
a[data-call].is-revealed [data-call-text] { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* iPhone/iPad (Safari, Brave, Chrome pe iOS): panorama care se derulează e desenată pe un strat separat
   și acoperea logo-ul și textul de deasupra ei. Le ridicăm explicit deasupra. */
.hero__pano { position: relative; z-index: 0; }
.wordmark, .hero__hint { position: relative; z-index: 2; }
.topnav { position: relative; z-index: 3; }
.hero__intro { position: relative; z-index: 1; }

/* Cookie-uri: o bandă mică și discretă, care nu acoperă pagina */
.consent {
  position: fixed; z-index: 25; left: 0.5rem; right: 0.5rem; top: auto;
  bottom: calc(4.55rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 0.5rem 0.75rem; flex-wrap: wrap;
  padding: 0.5rem 0.6rem 0.5rem 0.85rem; border-radius: 0.6rem;
  background: rgb(244 246 247 / 0.96); color: var(--deal);
  border: 1px solid var(--line); box-shadow: 0 4px 18px rgb(30 40 48 / 0.12);
  font-size: 0.8125rem; line-height: 1.35;
}
@supports (backdrop-filter: blur(1px)) { .consent { background: rgb(244 246 247 / 0.86); backdrop-filter: blur(10px); } }
.consent p { flex: 1 1 12rem; margin: 0; font-size: inherit; max-width: none; color: var(--deal); }
.consent a { color: inherit; }
.consent__actions { display: flex; gap: 0.4rem; margin-left: auto; }
.consent__btn {
  min-height: 2.25rem; padding: 0.3rem 0.85rem; border-radius: 0.45rem; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--deal); background: transparent; border: 1px solid #b9c3cb;
}
.consent__btn--ok { background: var(--deal); border-color: var(--deal); color: #fff; }
.consent__btn:hover { border-color: var(--deal); }
@media (min-width: 64em) {
  .consent { left: 1rem; right: auto; bottom: 1rem; max-width: 25rem; }
}

/* Pagina Contact: ce poți afla la telefon */
.contact__points { list-style: none; margin: 0.25rem 0 0.5rem; padding: 0; display: grid; gap: 0.55rem; }
.contact__points li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--step-0); line-height: 1.4; }
.contact__points svg { flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; fill: none; stroke: var(--amurg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Pagina locuinței: harta-imagine ---------- */
.unitmap { display: grid; gap: 0.75rem; }
.unitmap__addr { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; }
.unitmap__addr svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; fill: none; stroke: var(--deal); stroke-width: 1.6; }
.mapcard { position: relative; }
.mapcard__link {
  position: relative; display: block; height: clamp(14rem, 10rem + 14vw, 19rem); overflow: hidden;
  border-radius: 0.75rem; background: #e8e4dc; border: 1px solid var(--line); text-decoration: none; isolation: isolate;
}
.mapcard__tiles { position: absolute; inset: 0; }
.mapcard__tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; filter: saturate(0.85) contrast(0.97); }
.mapcard__pin { position: absolute; left: 50%; top: 50%; width: 2.4rem; height: 3rem; transform: translate(-50%, -100%); filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.3)); z-index: 2; }
.mapcard__pin svg { width: 100%; height: 100%; }
.mapcard__expand {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.18);
}
.mapcard__expand svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--deal); stroke-width: 1.8; stroke-linecap: round; }
.mapcard__btn {
  position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 2; display: inline-flex; gap: 0.5rem; align-items: center;
  padding: 0.6rem 1rem; border-radius: 0.5rem; background: var(--amurg); color: #1e2830; font-weight: 600;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.18);
}
.mapcard__btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.mapcard__link:hover .mapcard__btn { background: var(--amurg-apasat); }
.mapcard__link:focus-visible { outline: 3px solid var(--amurg); outline-offset: 3px; }
.mapcard__credit { position: absolute; right: 0.4rem; bottom: 0.3rem; z-index: 3; margin: 0; padding: 0.05rem 0.35rem; border-radius: 0.25rem; background: rgb(255 255 255 / 0.85); font-size: 0.6875rem; color: #333; }
.mapcard__credit a { color: inherit; }

/* ---------- Pagina locuinței: „Alte locuințe disponibile”, mai mic, după un spațiu ---------- */
.others {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: clamp(4rem, 3rem + 4vw, 7rem) auto 0;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem) var(--gutter) clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--line);
}
.others__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.others__head h2 { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); margin: 0; }
.others__all { font-weight: 600; font-size: var(--step--1); color: var(--deal); }
.others__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13.5rem, 72%); gap: 0.9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; scrollbar-width: thin;
}
@media (min-width: 40em) { .others__grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); overflow: visible; } }
@media (min-width: 64em) { .others__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 62rem; } }
.minicard {
  display: grid; scroll-snap-align: start; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 3px rgb(30 40 48 / 0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.minicard:hover { box-shadow: 0 6px 18px rgb(30 40 48 / 0.12); transform: translateY(-2px); }
.minicard:focus-visible { outline: 3px solid var(--amurg); outline-offset: 2px; }
.minicard__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; }
.minicard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.minicard__status { position: absolute; left: 0.5rem; top: 0.5rem; padding: 0.15rem 0.55rem; border-radius: 1rem; background: rgb(255 255 255 / 0.92); font-size: 0.75rem; font-weight: 600; color: var(--deal); }
.minicard__body { display: grid; gap: 0.35rem; padding: 0.7rem 0.85rem 0.85rem; }
.minicard__name { font-weight: 600; font-size: 1rem; }
.minicard__specs { display: flex; flex-wrap: wrap; gap: 0.25rem 0.85rem; font-size: 0.875rem; color: #4a5865; }
.minicard__specs > span { display: inline-flex; align-items: center; gap: 0.3rem; }
.minicard__specs svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .minicard, .minicard:hover { transition: none; transform: none; } }

/* Blocul de jos pe pagina locuinței: doar titlul și butonul cu numele locuinței */
.callbtn--unit .callbtn__num { font-size: clamp(1.15rem, 1rem + 0.9vw, 1.6rem); }

/* Card „Internet” pe pagina locuinței */
.netcard { display: flex; gap: 0.9rem; align-items: center; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 0.75rem; background: #fff; }
.netcard__icon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--deal); }
.netcard__icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--amurg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.netcard__title { margin: 0; font-weight: 600; }
.netcard__sub { margin: 0.15rem 0 0; font-size: var(--step--1); color: #4a5865; }
