/* =========================================================================
   Realest.Consulea — stratul v4 („platformă")
   Se încarcă DUPĂ v3.css. Nu rescrie nimic din v3 — adaugă componentele
   noi (instrumente, captare, Dubai, calculatoare) și rafinează detaliile.
   ========================================================================= */

/* ---------- Rafinări globale ---------- */

/* Bara de sus devine „sticlă" când te-ai desprins de începutul paginii */
.bar.stuck {
  background: rgba(14, 14, 17, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(230, 197, 95, .12);
}

/* Intrarea portretului din hero — o singură mișcare, lentă */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo { animation: v4-hero-in 1.6s var(--ease) both; }
  @keyframes v4-hero-in {
    from { opacity: 0; transform: scale(1.045); }
    to   { opacity: 1; transform: scale(1); }
  }
}

/* Cardurile de triaj și galeria — viață la hover */
@media (hover: hover) {
  .card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }
  .gal figure { overflow: hidden; }
  .gal img { transition: transform .8s var(--ease); }
  .gal figure:hover img { transform: scale(1.05); }
}

/* Titlu cu degradeu auriu — folosit cu măsură */
.grad {
  background: linear-gradient(98deg, var(--gold-3) 0%, var(--gold-2) 38%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Notă „de completat" (vizibilă doar cât site-ul e în lucru) ---------- */
.note-todo {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1.5px dashed var(--gold);
  background: rgba(201, 162, 39, .07);
  padding: 14px 18px; margin-top: 26px;
  font-size: var(--t-small); line-height: 1.5; color: inherit;
}
.note-todo b { color: var(--gold-2); letter-spacing: .06em; }
.band--light .note-todo b, .band--cream .note-todo b { color: #8F7112; }

/* ---------- Banda AURIE de captare (lista off-market) ---------- */
.band--gold { background: var(--gold); color: var(--ink); }
.band--gold .eyebrow { color: var(--ink); opacity: .75; }
.band--gold .h2 { color: var(--ink); }
.band--gold .lead { color: rgba(14,14,17,.78); }

.capture { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.capture__form { display: flex; flex-wrap: wrap; gap: 12px; }
.capture__form input[type="email"] {
  flex: 1 1 260px; min-width: 0;
  font: inherit; font-size: var(--t-body);
  padding: 16px 20px; border-radius: var(--pill);
  border: 2px solid rgba(14,14,17,.25); background: #fff; color: var(--ink);
  outline: none; transition: border-color .25s var(--ease);
}
.capture__form input[type="email"]:focus { border-color: var(--ink); }
.capture__form .btn--dark { border-color: var(--ink); }
.capture__small { margin-top: 14px; font-size: var(--t-small); color: rgba(14,14,17,.65); }
.capture__ok {
  display: none; padding: 18px 22px; border: 2px solid var(--ink);
  border-radius: 16px; font-weight: 600; font-size: var(--t-body);
}
.capture.sent .capture__form, .capture.sent .capture__small { display: none; }
.capture.sent .capture__ok { display: block; }
/* honeypot */
.hp { position: absolute; left: -6000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Grila de instrumente ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 8px; }
.tcard {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border: 1px solid var(--line-l);
  padding: 28px 26px 24px; color: var(--ol); text-decoration: none;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.band--ink2 .tcard, .band--ink .tcard { background: var(--ink-2); border-color: var(--line-d); color: var(--od); }
.tcard:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 20px 50px -25px rgba(0,0,0,.35); }
.tcard__i {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(201,162,39,.12); color: var(--gold);
}
.tcard__i svg { width: 24px; height: 24px; }
.tcard .h3 { font-size: var(--t-h3); }
.tcard p { font-size: var(--t-small); line-height: 1.5; color: var(--ol-mid); margin: 0; }
.band--ink2 .tcard p, .band--ink .tcard p { color: var(--od-mid); }
.tcard__go {
  margin-top: auto; padding-top: 14px; font-weight: 600; font-size: var(--t-small);
  color: var(--gold); display: inline-flex; align-items: center; gap: 8px;
}
.tcard__go svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.tcard:hover .tcard__go svg { transform: translateX(5px); }
.tcard--soon { opacity: .62; pointer-events: none; }
.tcard--soon .tag-soon {
  position: absolute; top: 18px; right: 18px;
  font-size: var(--t-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); border-radius: var(--pill); padding: 4px 12px;
}

/* ---------- Secțiunea / pagina Dubai ---------- */
.dxb { position: relative; overflow: hidden; }
.dxb::before {
  content: "DUBAI";
  position: absolute; right: -1.5vw; top: 50%; transform: translateY(-50%);
  font-weight: 700; font-size: clamp(120px, 22vw, 340px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(230, 197, 95, .13);
  pointer-events: none; user-select: none; line-height: 1;
}
.dxb .wrap { position: relative; z-index: 1; }
.dxb__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dxb__chip {
  border: 1px solid var(--line-d); border-radius: var(--pill);
  padding: 10px 20px; font-size: var(--t-small); font-weight: 600; color: var(--od);
  background: rgba(21,21,26,.6);
}
.dxb__chip b { color: var(--gold-2); }

/* ---------- Calculatoare ---------- */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.calc__form { display: grid; gap: 22px; }
.cfield { display: grid; gap: 8px; }
.cfield label { font-weight: 600; font-size: var(--t-small); color: var(--ol); }
.cfield .hint { font-size: var(--t-micro); color: var(--ol-mid); line-height: 1.45; font-weight: 400; }
.cfield__in { position: relative; display: flex; align-items: center; }
.cfield input[type="number"], .cfield select {
  width: 100%; font: inherit; font-size: var(--t-body); font-weight: 600;
  padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line-l); background: var(--paper); color: var(--ol);
  outline: none; transition: border-color .2s var(--ease);
  -moz-appearance: textfield; appearance: textfield;
}
.cfield input::-webkit-outer-spin-button, .cfield input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cfield input:focus, .cfield select:focus { border-color: var(--gold); }
.cfield__u {
  position: absolute; right: 16px; font-size: var(--t-small); font-weight: 600;
  color: var(--ol-mid); pointer-events: none;
}
.calc__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.calc__res { position: sticky; top: calc(var(--bar) + 24px); background: var(--ink); color: var(--od); border-radius: 20px; padding: 30px 30px 26px; }
.calc__res .eyebrow { color: var(--gold-2); }
.calc__big { margin-top: 14px; }
.calc__big .num { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; color: var(--gold-2); line-height: 1; }
.calc__big .lbl { display: block; margin-top: 8px; font-size: var(--t-small); color: var(--od-mid); }
.calc__rows { margin-top: 22px; border-top: 1px solid var(--line-d); }
.calc__rows div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line-d); font-size: var(--t-small); }
.calc__rows div span:first-child { color: var(--od-mid); }
.calc__rows div span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__note { margin-top: 16px; font-size: var(--t-micro); line-height: 1.5; color: var(--od-dim); }

/* mini-formularul „trimite-mi calculul" din panoul de rezultate */
.calc__send { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-d); }
.calc__send p { font-size: var(--t-small); color: var(--od-mid); margin: 0 0 12px; }
.calc__send .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.calc__send input {
  width: 100%; font: inherit; font-size: var(--t-small);
  padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-d); background: var(--ink-2); color: var(--od);
  outline: none;
}
.calc__send input:focus { border-color: var(--gold); }
.calc__send .btn { width: 100%; justify-content: center; }
.calc__send .ok { display: none; font-weight: 600; color: var(--gold-2); font-size: var(--t-body); }
.calc__send.sent form { display: none; }
.calc__send.sent .ok { display: block; }

/* legături între calculatoare */
.calc__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.calc__links a {
  font-size: var(--t-small); font-weight: 600; color: var(--ol);
  border: 1px solid var(--line-l); border-radius: var(--pill); padding: 9px 18px;
  text-decoration: none; transition: border-color .25s var(--ease), color .25s var(--ease);
}
.calc__links a:hover { border-color: var(--gold); color: #8F7112; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc__res { position: static; }
  .capture { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .calc__two { grid-template-columns: 1fr; }
  .calc__send .row { grid-template-columns: 1fr; }
  .dxb::before { font-size: 34vw; top: auto; bottom: -4vw; transform: none; }
  .calc__res { padding: 24px 20px 22px; border-radius: 16px; }
}
