/* Outfit (OFL, Google Fonts) — alternativa gratuita la Nexa, aleasa 02.11; font variabil 200–700, gazduit local */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 200 700; font-display: swap; src: url("fonts/outfit-latin-ext.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: "Outfit"; font-style: normal; font-weight: 200 700; font-display: swap; src: url("fonts/outfit-latin.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; }
/* ALTO Home — redesign V1 „Cinematic / scrollytelling”. Telefon întâi (390×844), apoi desktop (1440×900). */

/* ---------- Fonturi locale ---------- */
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-normal-300.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-normal-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-normal-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/cormorant-italic-300.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-italic-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/montserrat-normal-300.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/montserrat-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-normal-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-normal-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/montserrat-normal-700.woff2") format("woff2"); }

:root {
  --black: #08090B; /* acelasi negru ca turul 360 (feedback Andrei, 02.11) */
  --ink: #141414;
  --ink-2: #1B1A18;
  --gold: #BFA46A;
  --gold-l: #D4BA87;
  --gold-d: #9E8750;
  --off: #F5F2ED;
  --muted: rgba(245, 242, 237, .72);
  --line: rgba(191, 164, 106, .22);
  --serif: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr-h: 68px;
  --dock-h: 64px;
  --sab: env(safe-area-inset-bottom, 0px);
  --sat: env(safe-area-inset-top, 0px);
  --pad: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) {
  :root { --hdr-h: 88px; --dock-h: 0px; --pad: 48px; }
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--black); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--black); color: var(--off);
  font: 400 16px/1.65 var(--sans);
  overflow-x: clip;
  padding-bottom: calc(var(--dock-h) + var(--sab));
  -webkit-font-smoothing: antialiased;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
svg[fill="none"] { fill: none; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--gold); color: var(--black); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: calc(12px + var(--sat)); }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }

.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.display { font: 300 clamp(2.4rem, 8.5vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.01em; }
.display em, .hero__title em, .phero__title em { font-style: italic; color: var(--gold-l); }
.sec-head { display: grid; gap: 12px; margin-bottom: 32px; }
.sec-sub { color: var(--muted); font-size: 15px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold-l); font-weight: 500; font-size: 15px; border-bottom: 1px solid transparent; }
.link:hover { border-color: currentColor; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; min-width: 0; overflow: hidden; text-overflow: ellipsis; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 2px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-l); }
.btn--ghost { border: 1px solid rgba(245, 242, 237, .45); color: var(--off); background: rgba(13, 13, 13, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 12px; }
.btn:active { transform: scale(.98); }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-l); transition: background-color .3s, opacity .3s; }
.round:hover { background: rgba(191, 164, 106, .12); }
.round:disabled { opacity: .3; cursor: default; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: calc(var(--hdr-h) + var(--sat)); padding: var(--sat) var(--pad) 0;
  display: flex; align-items: center; justify-content: space-between;
  transition: transform .45s var(--ease), background-color .4s;
  background: linear-gradient(rgba(13, 13, 13, .55), rgba(13, 13, 13, 0));
}
.hdr.is-solid { background: rgba(13, 13, 13, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__logo { display: block; width: 56px; background: #000; }
.hdr__logo img { width: 100%; height: auto; }
@media (min-width: 900px) { .hdr__logo { width: 72px; } }
.hdr__right { display: flex; align-items: center; gap: 8px; }
.hdr__call { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--off); }
.hdr__call svg { color: var(--gold); }
@media (min-width: 900px) { .hdr__call { display: inline-flex; } }
.burger { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; min-width: 48px; padding: 0 6px 0 12px; justify-content: center; }
.burger__lines { display: grid; gap: 7px; width: 28px; }
.burger__lines span { display: block; height: 1.5px; background: var(--off); }
.burger__lines span:last-child { width: 18px; justify-self: end; background: var(--gold); }
.burger__label { font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; display: none; }
@media (min-width: 600px) { .burger__label { display: inline; } }

/* ---------- Meniu pe tot ecranul ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: flex; flex-direction: column;
  padding: var(--sat) var(--pad) calc(24px + var(--sab));
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu.is-open { animation: menuIn .45s var(--ease) both; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.menu__top { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__close { width: 52px; height: 52px; font: 300 40px/1 var(--serif); color: var(--gold-l); display: grid; place-items: center; }
.menu__nav { flex: 1; display: flex; align-items: center; padding: 24px 0; }
.menu__nav ol { counter-reset: m; display: grid; gap: 4px; width: 100%; }
.menu__nav li { counter-increment: m; }
.menu__nav a, .menu__nav button {
  display: flex; align-items: baseline; gap: 16px; width: 100%; text-align: left;
  font: 300 clamp(2.4rem, 10vw, 5rem)/1.15 var(--serif); padding: 4px 0;
  transition: color .3s, transform .4s var(--ease);
}
.menu__nav a::before, .menu__nav button::before { content: "0" counter(m); font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--gold); transform: translateY(-1.2em); }
.menu__nav a:hover, .menu__nav button:hover, .menu__nav [aria-current] { color: var(--gold-l); }
.menu.is-open .menu__nav li { animation: menuItem .6s var(--ease) both; }
.menu.is-open .menu__nav li:nth-child(2) { animation-delay: .05s; }
.menu.is-open .menu__nav li:nth-child(3) { animation-delay: .1s; }
.menu.is-open .menu__nav li:nth-child(4) { animation-delay: .15s; }
.menu.is-open .menu__nav li:nth-child(5) { animation-delay: .2s; }
@keyframes menuItem { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
.menu__foot { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 16px; flex: none; }
.menu__foot a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--muted); font-size: 15px; }
.menu__foot svg { color: var(--gold); }

/* ---------- Hero video ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, .45) 0%, rgba(13, 13, 13, 0) 22%),
    linear-gradient(0deg, rgba(13, 13, 13, .95) 0%, rgba(13, 13, 13, .7) 20%, rgba(13, 13, 13, 0) 48%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad) calc(var(--dock-h) + var(--sab) + 28px);
  display: grid; gap: 12px; max-width: 760px;
}
.hero__title { font: 300 clamp(2.6rem, 11vw, 6rem)/1 var(--serif); letter-spacing: -.01em; }
.hero__line { color: var(--muted); font-size: 15px; }
.hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.hero__actions .btn { padding: 0 12px; font-size: 11.5px; letter-spacing: .1em; }
@media (min-width: 600px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero__actions .btn { padding: 0 26px; font-size: 13px; letter-spacing: .14em; }
}
@media (min-width: 900px) {
  .hero__content { padding: 0 var(--pad) 72px; gap: 16px; }
  .hero__line { font-size: 17px; }
}
.hero__cue { display: none; position: absolute; right: var(--pad); bottom: 72px; width: 44px; height: 72px; }
.hero__cue span { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(245, 242, 237, .35); overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 900px) { .hero__cue { display: block; } }

/* Ieșirea conținutului din hero la scroll (CSS scroll-driven, cu degradare fără efect) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero__content { animation: heroOut linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    @keyframes heroOut { to { opacity: 0; transform: translate3d(0, -12vh, 0); } }
  }
}

/* ---------- Poveste (sticky + crossfade + parallax) ---------- */
.story { position: relative; background: var(--black); }
.story__media { position: sticky; top: 0; height: 50vh; height: 50svh; overflow: hidden; z-index: 2; background: var(--ink); }
.story__parallax { position: absolute; inset: -8% 0; will-change: transform; }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.story__img.is-active { opacity: 1; transform: scale(1); }
.story__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(13, 13, 13, .85), rgba(13, 13, 13, 0)); pointer-events: none; }
.story__hud { position: absolute; left: var(--pad); right: var(--pad); bottom: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.story__label { font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); }
.story__dots { display: flex; gap: 8px; }
.story__dots li { width: 22px; height: 2px; background: rgba(245, 242, 237, .3); transition: background-color .4s, width .4s var(--ease); }
.story__dots li.is-active { background: var(--gold); width: 38px; }
.story__steps { position: relative; z-index: 1; }
.story__intro { padding: 48px var(--pad) 8px; display: grid; gap: 10px; }
.story__step { position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: center; padding: 32px var(--pad); overflow: hidden; }
.story__ghost {
  position: absolute; right: -0.06em; top: 50%; margin-top: -.55em;
  font: 300 clamp(9rem, 48vw, 22rem)/1 var(--serif); color: rgba(191, 164, 106, .07);
  pointer-events: none; user-select: none; will-change: transform;
}
.story__card { position: relative; display: grid; gap: 14px; max-width: 30rem; }
.story__fact { font: 300 clamp(2.2rem, 9vw, 3.8rem)/1.02 var(--serif); color: var(--off); }
.story__card p:last-child { color: var(--muted); font-size: 15px; }
.story__step:last-child { min-height: 70vh; min-height: 70svh; }
@media (min-width: 900px) {
  .story { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .story__media { height: 100vh; height: 100svh; }
  .story__hud { bottom: 40px; left: 48px; right: 48px; }
  .story__intro { padding: 22vh 48px 0; }
  .story__step { min-height: 100vh; min-height: 100svh; padding: 0 64px 0 56px; }
  .story__card p:last-child { font-size: 17px; }
  .story__ghost { font-size: clamp(14rem, 22vw, 24rem); }
}

/* ---------- Cifre ---------- */
.stats { position: relative; overflow: hidden; padding: 88px 0; isolation: isolate; }
.stats__bg { position: absolute; inset: -25% 0; z-index: -1; will-change: transform; }
.stats__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4); }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--black), rgba(13, 13, 13, .55) 40%, rgba(13, 13, 13, .55) 60%, var(--black)); }
.stats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.stats__list li { display: grid; gap: 6px; justify-items: center; }
.stats__n { font: 300 clamp(3rem, 15vw, 8rem)/1 var(--serif); color: var(--gold-l); font-variant-numeric: tabular-nums; }
.stats__l { font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 12ch; }
@media (min-width: 900px) { .stats { padding: 160px 0; } .stats__l { font-size: 13px; max-width: none; } }

/* ---------- Carusel apartamente ---------- */
.apts { padding: 88px 0 72px; background: var(--black); }
.apts .sec-head { grid-template-columns: 1fr auto; align-items: end; }
.apts .sec-head .eyebrow, .apts .sec-head .display { grid-column: 1; }
.car-nav { grid-column: 2; grid-row: 1 / span 2; display: none; gap: 10px; }
@media (min-width: 900px) { .car-nav { display: flex; } .apts { padding: 140px 0 100px; } }
.car { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car::-webkit-scrollbar { display: none; }
.car__track { display: flex; gap: 14px; padding: 4px var(--pad) 8px; width: max-content; }
@media (min-width: 1320px) { .car__track { padding-inline: calc((100vw - 1320px) / 2 + var(--pad)); } .car { scroll-padding-inline: calc((100vw - 1320px) / 2 + var(--pad)); } }
.apt { width: min(84vw, 420px); scroll-snap-align: start; background: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; }
.apt__plan { display: block; background: #ECE6DC; aspect-ratio: 4 / 3; overflow: hidden; }
.apt__plan img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.apt:hover .apt__plan img { transform: scale(1.04); }
.apt__body { padding: 22px 20px 20px; display: grid; gap: 6px; flex: 1; }
.apt__name { font: 400 2rem/1.1 var(--serif); }
.apt__meta { color: var(--muted); font-size: 15px; }
.apt__meta strong { color: var(--off); font-weight: 600; }
.apt__price { font-size: 15px; color: var(--muted); }
.apt__price strong { font: 500 1.6rem/1 var(--serif); color: var(--gold-l); margin-inline: 2px; }
.apt__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; align-self: end; }
.apt__actions .btn { padding: 0 10px; font-size: 12px; letter-spacing: .1em; }
.car__progress { position: relative; height: 2px; margin-top: 24px; padding: 0; width: calc(100% - 2 * var(--pad)); max-width: calc(1320px - 2 * var(--pad)); overflow: hidden; }
.car__progress::before { content: ""; position: absolute; inset: 0; background: rgba(245, 242, 237, .14); }
.car__progress span { position: absolute; left: 0; top: 0; height: 2px; width: 20%; background: var(--gold); transform-origin: 0 0; transition: transform .2s linear; }

/* ---------- Locație ---------- */
.loc { padding: 72px 0 88px; background: linear-gradient(var(--black), var(--ink)); }
.places { display: flex; gap: 28px; align-items: flex-end; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px var(--pad) 20px; scrollbar-width: thin; scrollbar-color: var(--gold-d) transparent; overscroll-behavior-x: contain; }
.places li { flex: none; scroll-snap-align: start; }
.places img { height: 112px; width: auto; max-width: none; opacity: .92; }
@media (min-width: 900px) { .loc { padding: 140px 0; } .places { justify-content: safe center; flex-wrap: wrap; gap: 36px 44px; overflow: visible; } .places img { height: 124px; } }
.loc__map { margin-top: 32px; display: grid; gap: 8px; }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2) radial-gradient(circle at 50% 45%, rgba(191, 164, 106, .16), transparent 60%); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 900px) { .map { aspect-ratio: 21 / 9; } .map--tall { aspect-ratio: 4 / 3; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.map__btn { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--gold-l); font-size: 15px; font-weight: 500; }
.map__btn svg { width: 36px; height: 36px; }

/* ---------- Parteneri (marquee) ---------- */
.partners { padding: 56px 0; border-block: 1px solid var(--line); background: var(--black); overflow: hidden; }
.partners .eyebrow { margin-bottom: 28px; }
.marquee { display: flex; width: max-content; }
.marquee__row { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .62; }
@keyframes marquee { to { transform: translate3d(-100%, 0, 0); } }
@media (min-width: 900px) { .marquee__row img { height: 42px; } }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: 104px 0; }
.cta__bg { position: absolute; inset: -25% 0; z-index: -2; will-change: transform; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 13, .92), rgba(13, 13, 13, .7) 45%, rgba(13, 13, 13, .92)); }
.cta__inner { display: grid; gap: 28px; }
.cta__line { color: var(--muted); margin-top: 12px; }
@media (min-width: 900px) { .cta { padding: 180px 0; } .cta__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.field em { font-style: normal; color: var(--muted); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 2px;
  background: rgba(13, 13, 13, .6); color: var(--off); border: 1px solid rgba(245, 242, 237, .28);
  font: 400 16px/1.4 var(--sans); transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: #D98C6A; }
.form__send { width: 100%; }
.form__status { min-height: 1.5em; font-size: 15px; color: var(--gold-l); }
@media (min-width: 600px) { .form:not(.form--full) { grid-template-columns: 1fr 1fr; } .form:not(.form--full) .form__send, .form:not(.form--full) .form__status { grid-column: 1 / -1; } }
@media (min-width: 900px) { .form--full { grid-template-columns: 1fr 1fr; } .form--full .field--wide, .form--full .form__send, .form--full .form__status { grid-column: 1 / -1; } .form--full .form__send { width: auto; justify-self: start; } }

/* ---------- Subsol ---------- */
.foot { background: #080808; padding: 64px 0 28px; border-top: 1px solid var(--line); font-size: 15px; }
.foot__grid { display: grid; gap: 32px; }
.foot__grid p { color: var(--muted); }
.foot__grid a { display: inline-block; padding: 4px 0; }
.foot__grid p a:hover { color: var(--gold-l); }
.foot__brand { display: grid; gap: 16px; }
.foot__h { font: 500 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(245, 242, 237, .08); color: rgba(245, 242, 237, .5); font-size: 13px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* ---------- Bara de jos (telefon) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  height: calc(var(--dock-h) + var(--sab)); padding-bottom: var(--sab);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch;
  background: rgba(13, 13, 13, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.dock > a, .dock > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 44px; font: 500 10.5px/1 var(--sans); letter-spacing: .04em; color: var(--muted); }
.dock svg { width: 22px; height: 22px; color: var(--gold-l); }
.dock__call { position: relative; color: var(--gold-l) !important; font-weight: 700 !important; letter-spacing: .14em !important; justify-content: flex-end !important; padding-bottom: 9px; }
.dock__ring { position: absolute; top: -22px; left: 50%; margin-left: -29px; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .55), 0 0 0 4px var(--black); }
.dock__ring svg { color: var(--black); width: 24px; height: 24px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Modal tur 360 ---------- */
.tour { position: fixed; inset: 0; z-index: 400; background: var(--black); display: flex; flex-direction: column; padding-bottom: var(--sab); }
.tour[hidden] { display: none; }
.tour__bar { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(8px + var(--sat)) 10px 8px 16px; min-height: 60px; border-bottom: 1px solid var(--line); }
.tour__title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 400 1.35rem/1 var(--serif); }
.tour__title span { color: var(--gold-l); }
.tour__close { width: 48px; height: 48px; font: 300 38px/1 var(--serif); color: var(--off); display: grid; place-items: center; }
.tour__frame { flex: 1; width: 100%; border: 0; background: #000; }

/* ---------- Pagini interioare: hero scurt ---------- */
.phero { position: relative; height: 62vh; height: 62svh; min-height: 420px; overflow: hidden; display: flex; align-items: flex-end; }
.phero--short { height: 48vh; height: 48svh; min-height: 360px; }
.phero__bg { position: absolute; inset: 0; will-change: transform; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black) 2%, rgba(13, 13, 13, .55) 45%, rgba(13, 13, 13, .5)); }
.phero__content { position: relative; z-index: 1; padding-bottom: 36px; display: grid; gap: 10px; }
.phero__title { font: 300 clamp(3rem, 13vw, 7rem)/1 var(--serif); }

/* ---------- Apartamente: file lipicioase ---------- */
.tabs { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 13, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .45s var(--ease); }
body.hdr-on .tabs { top: calc(var(--hdr-h) + var(--sat)); }
.tabs__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--pad); max-width: 1320px; margin-inline: auto; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { display: flex; align-items: center; min-height: 44px; padding: 0 16px; white-space: nowrap; font: 500 13px/1 var(--sans); letter-spacing: .08em; color: var(--muted); border-radius: 22px; border: 1px solid transparent; transition: color .3s, border-color .3s, background-color .3s; }
.tab:hover { color: var(--off); }
.tab.is-active { color: var(--black); background: var(--gold); }

.type { padding: 64px 0 56px; border-bottom: 1px solid rgba(245, 242, 237, .06); scroll-margin-top: 70px; }
.type__grid { display: grid; gap: 24px; }
.type__head { display: grid; gap: 8px; }
.type__price { color: var(--muted); }
.type__price strong { font: 500 1.9rem/1 var(--serif); color: var(--gold-l); }
.viewer { display: grid; gap: 12px; }
.viewer__switch { display: inline-flex; justify-self: start; border: 1px solid var(--line); border-radius: 24px; padding: 3px; }
.viewer__switch button { min-height: 44px; padding: 0 18px; border-radius: 21px; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: background-color .3s, color .3s; }
.viewer__switch button.is-on { background: var(--off); color: var(--black); }
.viewer__stage { position: relative; aspect-ratio: 4 / 3; background: #ECE6DC; overflow: hidden; margin-inline: calc(var(--pad) * -1); }
.viewer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s var(--ease); }
.viewer__img.is-on { opacity: 1; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 12px 0; border-bottom: 1px solid rgba(245, 242, 237, .1); text-align: left; }
.spec th { font-weight: 400; color: var(--muted); }
.spec td { text-align: right; font-weight: 600; }
.type__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.type__actions .btn { padding: 0 10px; font-size: 12px; letter-spacing: .1em; }
@media (min-width: 900px) {
  .type { padding: 110px 0 80px; scroll-margin-top: calc(var(--hdr-h) + 70px); }
  .type__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 64px; row-gap: 32px; align-items: start; }
  .type__head { grid-column: 1 / -1; }
  .viewer__stage { margin-inline: 0; }
  .type__side { position: sticky; top: calc(var(--hdr-h) + 90px); padding-top: 60px; }
}
.gal { margin-top: 32px; }
.gal__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__item { flex: none; width: 88vw; max-width: 760px; scroll-snap-align: start; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; }
.gal__count { margin-top: 12px; font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
@media (min-width: 900px) { .gal__item { width: 46vw; } }
@media (min-width: 1320px) { .gal__track { padding-inline: calc((100vw - 1320px) / 2 + var(--pad)); scroll-padding-inline: calc((100vw - 1320px) / 2 + var(--pad)); } }

.facs { padding: 88px 0; background: var(--ink); }
.facs__list { display: grid; gap: 0; }
.facs__list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(245, 242, 237, .08); }
.facs__list strong { font: 400 1.5rem/1.2 var(--serif); }
.facs__list span { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .facs { padding: 140px 0; } .facs__list { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.band { padding: 72px 0; }
.band__inner { display: grid; gap: 24px; }
.band__actions { display: grid; gap: 10px; }
@media (min-width: 600px) { .band__actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 900px) { .band { padding: 120px 0; } .band__inner { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Contact ---------- */
.quick { display: grid; gap: 12px; padding-top: 40px; padding-bottom: 24px; }
.quick__tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 20px; background: var(--ink); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.quick__tile:hover { border-color: var(--gold); background: var(--ink-2); }
.quick__ico { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; }
.quick__ico svg { width: 26px; height: 26px; }
.quick__k { font: 500 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.quick__v { font: 400 clamp(1.9rem, 8.5vw, 2.8rem)/1.1 var(--serif); overflow-wrap: anywhere; }
.quick__tile--small .quick__v { font-size: clamp(1.25rem, 5.6vw, 1.8rem); }
@media (min-width: 900px) { .quick { grid-template-columns: 1fr 1fr 1fr; padding-top: 64px; } }
.cform { padding-top: 56px; padding-bottom: 56px; display: grid; gap: 28px; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.cform header { display: grid; gap: 10px; }
@media (min-width: 900px) { .cform { grid-template-columns: 1fr 1.4fr; gap: 64px; padding-block: 110px; } }
.addr { padding-top: 24px; padding-bottom: 88px; display: grid; gap: 24px; }
.addr__text { display: grid; gap: 10px; }
.addr__map { display: grid; gap: 8px; }
@media (min-width: 900px) { .addr { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; padding-bottom: 140px; } }

/* ---------- Apariții la scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__row { animation: none !important; }
  .marquee { width: auto; overflow-x: auto; }
  .marquee__row[aria-hidden="true"] { display: none; }
  .marquee__row { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-inline: var(--pad); }
  .hero__cue span::after { display: none; }
}

/* Site-ul e deja intunecat: browserele (Samsung Internet, Chrome cu dark mode fortat) nu-l mai recoloreaza. */
:root { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; } }

/* Contrast text hero peste imagini luminoase (feedback Andrei, 02.11) */
.hero__shade {
  background:
    linear-gradient(180deg, rgba(13, 13, 13, .55) 0%, rgba(13, 13, 13, 0) 24%),
    linear-gradient(0deg, rgba(13, 13, 13, .97) 0%, rgba(13, 13, 13, .85) 26%, rgba(13, 13, 13, .45) 50%, rgba(13, 13, 13, 0) 68%);
}
.hero__content { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }

/* ===== Simplificare (feedback Andrei, 02.11): fara imagine lipicioasa, fara carusele, antet fix ===== */
.hdr.is-hidden { transform: none; }
.hero__content { animation: none !important; }
.feat { padding: 64px 0 24px; background: var(--black); }
.feat__intro { padding: 0 var(--pad) 28px; display: grid; gap: 10px; }
.feat__grid { display: grid; gap: 18px; padding: 0 var(--pad); }
.feat__item { display: grid; gap: 14px; }
.feat__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--ink-2, #161616); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat__txt { display: grid; gap: 6px; }
.feat__txt .story__fact { font-size: clamp(1.7rem, 7vw, 2.3rem); }
.feat__txt p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .feat__grid { grid-template-columns: repeat(4, 1fr); } .feat { padding-top: 96px; } }
/* apartamente: carduri unul sub altul (pe desktop pe coloane) */
.car { overflow: visible; scroll-snap-type: none; }
.car__track { flex-direction: column; width: auto; padding-inline: var(--pad); gap: 18px; }
.car__track > * { width: auto !important; max-width: none !important; flex: none; }
.car-nav, .car__progress { display: none !important; }
@media (min-width: 900px) { .car__track { display: grid; grid-template-columns: repeat(3, 1fr); } }
/* repere la locatie: grila care incape toata */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; overflow: visible; padding-inline: var(--pad); align-items: end; }
.places li { display: flex; align-items: flex-end; justify-content: center; }
.places img { height: 92px; width: auto; max-width: 100%; object-fit: contain; display: block; }
@media (min-width: 900px) { .places { grid-template-columns: repeat(7, 1fr); } }
/* parteneri: logo-uri pe placi albe, toate vizibile */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 var(--pad); list-style: none; }
.brands li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(191, 164, 106, .18); border-radius: 6px; aspect-ratio: 5 / 3; display: flex; align-items: center; justify-content: center; padding: 12px; }
.brands img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; }
@media (min-width: 900px) { .brands { grid-template-columns: repeat(7, 1fr); max-width: 1200px; margin: 0 auto; } }

/* Outfit nu are italic: accentele aurii raman drepte; titluri usor stranse */
.display em, .hero__title em, .phero__title em, h1 em, h2 em, h3 em { font-style: normal; }
h1, h2, h3, .display, .hero__title, .phero__title, .story__fact { letter-spacing: -0.02em; }

/* Samsung Internet (mod intunecat) recoloreaza background-color, dar nu si background-image:
   auriul plin e pus ca gradient, ca sa ramana auriu (feedback Andrei, 02.11). */
.btn--gold, .dock__ring, .tab.is-active, .quick__ico { background-color: transparent; background-image: linear-gradient(var(--gold), var(--gold)); }

/* Samsung Internet (clasa .sam-dark): testat pe Samsung 30.0 in mod intunecat, 02.11 —
   textul auriu simplu ramane auriu; textul desenat ca gradient se intuneca, deci NU il folosim la text.
   Fundalurile pline aurii (culoare sau gradient) se intuneca; o imagine reala ramane aurie (vezi mai jos). */
/* Samsung dark mode intuneca si fundalurile-gradient: pe .sam-dark auriul plin vine dintr-o imagine reala (logos/gold.png),
   iar textul butonului e desenat ca gradient negru pe litere (cum merge deja la textele aurii). */
.sam-dark .btn--gold, .sam-dark .tab.is-active {
  background: none !important;
  background-image: linear-gradient(#0D0D0D, #0D0D0D), url("logos/gold.png") !important;
  background-size: auto, cover !important;
  -webkit-background-clip: text, border-box !important; background-clip: text, border-box !important;
  -webkit-text-fill-color: transparent; color: transparent; text-shadow: none;
}
.sam-dark .btn--gold svg, .sam-dark .tab.is-active svg { color: #0D0D0D; }
.sam-dark .dock__ring, .sam-dark .quick__ico { background: url("logos/gold.png") center / cover no-repeat !important; }

/* Pagina apartamente: filele cu tipurile raman vizibile la scroll, lipite sub antetul fix (cerut de Thomas, 02.11) */
.tabs, body.hdr-on .tabs { top: calc(var(--hdr-h) + var(--sat)); z-index: 90; }

/* Texte SEO pastrate de pe site-ul actual (cerut de Thomas, 02.11): compacte, cu detalii la cerere */
.seo { padding: 64px var(--pad) 72px; display: grid; gap: 14px; max-width: 920px; }
.seo__lead { color: var(--muted); font-size: 15px; line-height: 1.7; }
.seo__more { border-top: 1px solid var(--line); padding: 14px 0 2px; }
.seo__more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 500; color: var(--off); list-style: none; }
.seo__more summary::-webkit-details-marker { display: none; }
.seo__more summary::after { content: "+"; margin-left: auto; color: var(--gold-l); font-size: 22px; }
.seo__more[open] summary::after { content: "−"; }
.seo__more p, .seo__list { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 6px 0 12px; }
.seo__list { padding-left: 18px; display: grid; gap: 4px; }
.type__desc { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 10px 0 4px; }

/* Samsung (dark mode) deschide la culoare fundalurile din background-color; turul ramane negru.
   Pe .sam-dark fundalul paginii vine dintr-o imagine (logos/black.png), iar sectiunile simple sunt transparente. */
.sam-dark html, .sam-dark body, html.sam-dark { background: #08090B url("logos/black.png") repeat !important; }
.sam-dark main > section:not(.hero):not(.stats):not(.cta):not(.phero) { background: transparent !important; }

/* Acord GDPR si bara de cookie-uri (functionalitati preluate de pe site) */
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.field--check .check__t { font: 400 14px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.field--check a { color: var(--gold-l); text-decoration: underline; }
/* bara de cookie-uri: aspectul de pe site-ul actual (css/style.css), asezata deasupra barei de jos pe telefon */
.cookie-bar { position: fixed; bottom: calc(var(--dock-h) + var(--sab)); left: 0; right: 0; background: rgba(8, 9, 11, .97); border-top: 1px solid rgba(191, 164, 106, .2);
  padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; z-index: 120; transform: translateY(140%); transition: transform .4s ease; }
.cookie-bar.show { transform: translateY(0); }
.cookie-text { font-size: .8rem; color: #888; margin: 0; }
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn { padding: 9px 20px; min-height: 40px; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: .3s; }
.cookie-btn-accept { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.cookie-btn-decline { background: transparent; color: #888; border: 1px solid rgba(255, 255, 255, .1); }
.sam-dark .cookie-btn-accept { background: url("logos/gold.png") center / cover; }
@media (min-width: 600px) { .cookie-bar { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Apartamente: galeria fiecarui tip ca grila de miniaturi in latimea paginii, cu poza mare la atingere (feedback Thomas, 02.11) */
.type { scroll-margin-top: calc(var(--hdr-h) + var(--sat) + 64px); }
.gal { max-width: 1320px; margin: 28px auto 0; padding: 0 var(--pad); }
.gal__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; scroll-snap-type: none; padding: 0; }
.gal__item { width: auto; max-width: none; aspect-ratio: 4 / 3; border-radius: 3px; cursor: zoom-in; }
.gal__item img { transition: transform .4s var(--ease); }
.gal__item:hover img { transform: scale(1.04); }
.gal__count, .gal [data-gal-prev], .gal [data-gal-next], .gal .round { display: none !important; }
@media (min-width: 700px) { .gal__track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gal__track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
.alb { position: fixed; inset: 0; z-index: 400; background: rgba(8, 9, 11, .97); display: none; align-items: center; justify-content: center; }
.alb.open { display: flex; }
.alb img { max-width: 100vw; max-height: 86vh; object-fit: contain; }
.alb__x { position: absolute; top: calc(10px + var(--sat)); right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(8, 9, 11, .7); color: var(--off); font-size: 26px; }
.alb__nav { position: absolute; bottom: calc(18px + var(--sab)); left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; color: var(--muted); font: 500 13px/1 var(--sans); letter-spacing: .15em; }
.alb__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(8, 9, 11, .7); color: var(--off); font-size: 22px; }

/* Contact: valorile din casute pe un singur rand (e-mailul nu se mai rupe la cratima) — Thomas, 02.11 */
.quick__v, .quick__tile--small .quick__v { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; font-size: clamp(1.15rem, 5.2vw, 1.6rem); }
@media (min-width: 900px) { .quick__v, .quick__tile--small .quick__v { font-size: clamp(1.1rem, 1.55vw, 1.6rem); } }

/* Antreprenor general TGC Group — ca pe alto-home.ro, vizibil (feedback Thomas, 02.11) */
.tgc { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.tgc__in { display: grid; gap: 28px; }
.tgc__logo { display: flex; align-items: center; justify-content: center; padding: 28px; border: 1px solid rgba(191, 164, 106, .25); border-radius: 6px; background: rgba(255, 255, 255, .03); }
.tgc__logo img { width: 100%; max-width: 280px; height: auto; }
.tgc__info { display: grid; gap: 12px; }
.tgc__desc { color: var(--muted); font-size: 15px; line-height: 1.7; }
.tgc__h { margin-top: 8px; font: 500 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.tgc__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tgc__list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--off); font-size: 15px; font-weight: 500; }
@media (min-width: 900px) {
  .tgc__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: center; }
  .tgc__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tgc .display { font-size: clamp(2rem, 4.2vw, 3.2rem); }

/* WhatsApp plutitor: doar pe desktop (pe telefon e in bara de jos) */
.wa-float { display: none; }
@media (min-width: 900px) {
  .wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 110; display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .wa-float__bubble { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .25s; }
  .wa-float__bubble svg { width: 30px; height: 30px; }
  .wa-float:hover .wa-float__bubble { transform: scale(1.06); }
  .wa-float__label { background: rgba(8, 9, 11, .92); border: 1px solid var(--line); color: var(--off); font: 500 13px/1 var(--sans); padding: 11px 14px; border-radius: 22px; opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; }
  .wa-float:hover .wa-float__label { opacity: 1; transform: none; }
  body:has(.cookie-bar.show) .wa-float { bottom: 96px; }
  .sam-dark .wa-float__bubble { background: url("logos/wa-green.png") center / cover; }
  html.is-locked .wa-float { display: none; }
}

/* De ce Alto Home + specificatii complete — dupa modelul site-ului actual (Thomas, 02.11) */
.why { padding: 72px 0 64px; border-top: 1px solid var(--line); }
.why__head { display: grid; gap: 12px; max-width: 820px; margin-bottom: 32px; }
.why__lead { color: var(--muted); font-size: 15px; line-height: 1.7; }
.why__grid { display: grid; gap: 12px; }
.why__card { padding: 24px 22px; border: 1px solid rgba(191, 164, 106, .18); border-radius: 6px; background: rgba(255, 255, 255, .02); display: grid; gap: 10px; align-content: start; }
.why__ico { width: 36px; height: 36px; color: var(--gold); stroke: currentColor; }
.why__t { font: 500 1.15rem/1.3 var(--sans); color: var(--off); margin: 4px 0 0; }
.why__card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.why__card strong { color: var(--off); font-weight: 500; }
.specs { margin-top: 56px; padding: 32px 24px; border: 1px solid rgba(191, 164, 106, .18); border-radius: 6px; background: rgba(255, 255, 255, .02); }
.specs__t { font: 300 clamp(1.6rem, 6vw, 2.4rem)/1.15 var(--serif); margin: 8px 0 22px; }
.specs__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px 32px; }
.specs__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--off); font-size: 15px; line-height: 1.5; }
.spec__ck { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 1px; }
@media (min-width: 700px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .specs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .specs { padding: 44px 48px; } }

/* Calitati cu poze (Thomas, 02.11): 4 pe rand pe telefon, 6 pe desktop; poza mare la atingere */
.q { padding: 56px 0 32px; background: var(--black); }
.q__intro { display: grid; gap: 10px; margin-bottom: 22px; }
.q__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.q__item { display: grid; gap: 6px; align-content: start; aspect-ratio: auto !important; background: none !important; overflow: visible !important; }
.q__item img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 4px; display: block; }
.q__cap { font: 500 10.5px/1.25 var(--sans); color: var(--off); letter-spacing: 0; hyphens: auto; }
@media (min-width: 700px) { .q__cap { font-size: 12.5px; } .q__grid { gap: 16px 12px; } }
@media (min-width: 900px) { .q { padding: 88px 0 48px; } .q__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 16px; } .q__item img { aspect-ratio: 4 / 3; } .q__cap { font-size: 14px; } }

/* Textul calitatii pe poza: bara neagra jos, text auriu — in miniatura si in poza mare (Thomas, 02.11) */
.q__item { position: relative; display: block; border-radius: 4px; overflow: hidden !important; }
.q__item img { border-radius: 0; }
.q__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 6px 7px; background: rgba(8, 9, 11, .88); color: var(--gold-l); font: 600 9.5px/1.2 var(--sans); text-align: center; }
@media (min-width: 700px) { .q__cap { font-size: 12px; padding: 8px 10px; } }
@media (min-width: 900px) { .q__cap { font-size: 13.5px; padding: 10px 12px; } }
.alb__fig { position: relative; margin: 0; display: inline-block; max-width: 100vw; }
.alb__fig img { display: block; }
.alb__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: rgba(8, 9, 11, .88); color: var(--gold-l); font: 600 15px/1.3 var(--sans); text-align: center; }
@media (min-width: 900px) { .alb__cap { font-size: 18px; padding: 14px 20px; } }
/* calitati: pe telefon miniaturi verticale (bara de text ocupa mai putin), pe desktop pe toata latimea ecranului, 4 mari pe rand */
.q__item img { aspect-ratio: 3 / 4; }
.q__cap { font-size: 9px; padding: 5px 4px 6px; }
@media (min-width: 700px) { .q__item img { aspect-ratio: 4 / 3; } .q__cap { font-size: 12px; padding: 8px 10px; } }
@media (min-width: 900px) {
  .q .wrap[data-gal] { max-width: none; padding-inline: 16px; }
  .q__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .q__item img { aspect-ratio: 4 / 3; }
  .q__cap { font-size: 16px; padding: 12px 14px; }
}

/* Desktop: toate sectiunile la aceeasi latime ca grila de poze — toata latimea ecranului (Thomas, 02.11) */
@media (min-width: 900px) {
  :root { --pad: 24px; }
  .wrap, .tabs__list, .gal, .brands { max-width: none; }
  .q .wrap[data-gal] { padding-inline: var(--pad); }
  .brands { grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; }
  .places { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* ===== Carduri rotunjite + latime de continut standard (Thomas, 02.11) =====
   Best practice: continut centrat de max ~1200px (pe ecrane 1366–1440px ≈ 83–88% din latime), nu pe toata latimea.
   Pozele devin carduri: colturi 14px, chenar fin auriu, umbra discreta; bara de text ramane pe poza. */
:root { --radius: 14px; --cw: 1200px; }
@media (min-width: 900px) {
  .wrap, .tabs__list, .gal, .brands { max-width: calc(var(--cw) + 2 * var(--pad)); margin-inline: auto; }
  .q .wrap[data-gal] { max-width: calc(var(--cw) + 2 * var(--pad)); padding-inline: var(--pad); }
  .brands { padding-inline: var(--pad); }
}
.q__item, .gal__item, .apt, .why__card, .tgc__logo, .tgc__list li, .brands li, .viewer__stage, .map, .spec, .quick__tile, .cform form, .feat__img {
  border-radius: var(--radius) !important; overflow: hidden;
}
.q__item, .gal__item { border: 1px solid rgba(191, 164, 106, .22); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.q__item:hover, .gal__item:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .55); }
.apt { box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.btn, .cookie-btn { border-radius: 10px; }
.alb__fig { border-radius: var(--radius); overflow: hidden; }
.gtile { border-radius: var(--radius) !important; overflow: hidden; border: 1px solid rgba(191, 164, 106, .22); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.btn, .cookie-btn { border-radius: 8px; }
@media (min-width: 900px) { .car { max-width: calc(var(--cw) + 2 * var(--pad)); margin-inline: auto; } .places { max-width: calc(var(--cw) + 2 * var(--pad)); margin-inline: auto; } }

/* Banda de text: niciodata pe doua randuri cand e loc (desktop/tableta: un rand); pe telefon (4 pe rand) banda are aceeasi inaltime la toate */
.q__cap { display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 699px) { .q__cap { white-space: normal; height: 3.1em; padding: 0 3px; font-size: 9.5px; line-height: 1.2; } }
@media (min-width: 700px) { .q__cap { height: 2.8em; } }
@media (min-width: 900px) { .q__cap { height: auto; min-height: 46px; font-size: 15px; } }
.q__lead { color: var(--off); font-size: 16px; line-height: 1.7; max-width: 820px; }
.q__sub { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 820px; }
@media (min-width: 900px) { .q__lead { font-size: 17px; } }

/* ancore pastrate de pe alto-home.ro (#despre, #caracteristici, #parteneri, #solicita-oferta...), ca linkurile vechi sa functioneze */
.anchor { display: block; position: relative; top: calc(-1 * (var(--hdr-h) + 12px)); visibility: hidden; height: 0; }

/* texte SEO recuperate de pe site-ul vechi (Thomas, 03.11) */
.phero__sub { color: var(--off); font-size: 16px; line-height: 1.6; max-width: 640px; margin-top: 10px; }
.phero__prices { color: var(--gold-l); font: 500 14px/1.5 var(--sans); margin-top: 6px; }
.phero__prices span { color: var(--muted); font-weight: 400; }
.addr__prog { color: var(--off); font-size: 15px; margin-top: 6px; }
.addr__prog strong { color: var(--gold-l); font-weight: 500; }
.sec-head .sec-sub { max-width: 720px; }

/* 18 caracteristici (pozele lui Andrei, 03.11): 3 pe rand peste tot = 6 randuri complete; miniaturi patrate */
.q__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.q__item img { aspect-ratio: 1 / 1 !important; }
@media (max-width: 699px) { .q__grid { gap: 8px; } .q__cap { font-size: 10.5px; height: 2.9em; } }
@media (min-width: 900px) { .q__grid { gap: 18px; } .q__item img { aspect-ratio: 4 / 3 !important; } .q__cap { font-size: 16px; } }

/* caracteristici cu mai multe poze: badge „N foto”; pozele extra se vad doar in galerie */
.q__more { display: none !important; }
.q__n { position: absolute; top: 8px; right: 8px; padding: 4px 9px; border-radius: 12px; background: rgba(8, 9, 11, .82); color: var(--gold-l); font: 600 11px/1 var(--sans); border: 1px solid rgba(191, 164, 106, .35); }
@media (max-width: 699px) { .q__n { top: 5px; right: 5px; padding: 3px 6px; font-size: 9px; } }
