/* ========================================================================
   Rebeca Tocaci — Consultant imobiliar cu suflet
   Essentials tier · micro.netweb
   Premium cream + gold. Editorial, warm, restrained. Static by design.
   ===================================================================== */

:root {
  --paper:      #fffdf8;
  --cream:      #f7f0e2;
  --cream-2:    #efe4cf;
  --ink:        #241f18;
  --ink-soft:   #6d5f4c;
  --gold:       #b3893b;
  --gold-lt:    #d8b968;
  --gold-dk:    #8a681f;
  --burgundy:   #6d1220;
  --burgundy-dk:#4c0b16;
  --line:       #e7dabf;
  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 18px 44px -22px rgba(70, 48, 12, .38);
  --shadow-sm:  0 8px 22px -14px rgba(70, 48, 12, .32);
  --ff-disp:    "Playfair Display", Georgia, serif;
  --ff-body:    "Jost", system-ui, sans-serif;
  --wrap:       1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
/* <picture> must not become a layout box, or the object-fit rules below
   lose the sizing they inherit from .frame / .prop-media / .story-figure */
picture { display: contents; }

/* Keyboard focus. Never remove these without replacing them. */
:focus-visible {
  outline: 2px solid var(--gold-dk);
  outline-offset: 3px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1.3rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: .9rem;
  letter-spacing: .04em;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }
a { color: inherit; text-decoration: none; }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--ff-disp); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }

.eyebrow {
  font-size: .74rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-dk); font-weight: 500; margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block;
}
.sec-head { max-width: 62ch; margin: 0 auto 3rem; text-align: center; }
.sec-head .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: 1rem; }
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-body); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  padding: .92rem 1.7rem; border-radius: 50px; cursor: pointer;
  border: 1px solid var(--gold); background: var(--gold); color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow: 0 10px 24px -14px rgba(179, 137, 59, .9);
}
.btn:hover { transform: translateY(-2px); background: var(--gold-dk); border-color: var(--gold-dk); box-shadow: 0 16px 30px -14px rgba(138, 104, 31, .9); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--wa { background: #1faf54; border-color: #1faf54; box-shadow: 0 10px 24px -14px rgba(31,175,84,.9); }
.btn--wa:hover { background: #178a42; border-color: #178a42; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; color: var(--burgundy); }
.btn--outline-gold { background: transparent; color: var(--gold-lt); border-color: rgba(216,185,104,.6); box-shadow: none; }
.btn--outline-gold:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---- Header ----------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 240, 226, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.nav-side { display: flex; align-items: center; gap: 1.7rem; }
.nav-side.nav-right { justify-content: flex-end; }
.nav-side a { font-weight: 400; font-size: .95rem; letter-spacing: .01em; color: var(--ink); position: relative; }
.nav-side a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--gold); transition: width .25s; }
.nav-side a:hover::after { width: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand .name { font-family: var(--ff-disp); font-size: 1.28rem; font-weight: 600; line-height: 1.05; }

/* header wordmark, centered */
.nav .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex-direction: column; gap: 0; text-align: center; }
.nav .brand .name { font-size: 1.55rem; }
.nav .brand .role { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dk); margin-top: .42rem; white-space: nowrap; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 50px; overflow: hidden; background: var(--paper); }
.lang button {
  border: 0; background: transparent; font-family: var(--ff-body); font-weight: 500;
  font-size: .78rem; padding: .4rem .72rem; cursor: pointer; color: var(--ink-soft); letter-spacing: .04em;
}
.lang button.active { background: var(--gold); color: #fff; }
.burger { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--ink); line-height: 1; margin-left: auto; }

.mobile-menu { display: none; flex-direction: column; gap: 1.3rem; padding: .4rem 0 1.6rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.06rem; color: var(--ink); }
.mobile-menu .lang { align-self: flex-start; margin-top: .3rem; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.6rem, 6vw, 5.2rem) 0 clamp(2.6rem, 5vw, 4rem);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(216,185,104,.20), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(109,18,32,.06), transparent 55%),
    linear-gradient(180deg, var(--paper), var(--cream));
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--gold-dk); }
.hero .quote {
  font-family: var(--ff-disp); font-style: italic; font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  color: var(--ink); line-height: 1.45; max-width: 40ch; margin-bottom: 2rem;
  padding-left: 1.4rem; border-left: 2px solid var(--gold);
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-figure { position: relative; }
.hero-figure .frame {
  position: relative; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--cream-2), var(--gold-lt));
  box-shadow: var(--shadow); border: 1px solid var(--line);
  aspect-ratio: 4/5;
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-figure .frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 8px rgba(255,253,248,.35), inset 0 0 0 9px rgba(179,137,59,.4);
  pointer-events: none;
}
.hero-figure .plate {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  background: var(--paper); border: 1px solid var(--line); border-radius: 50px;
  padding: .6rem 1.3rem; box-shadow: var(--shadow-sm); white-space: nowrap;
  display: flex; align-items: center; gap: .8rem;
}
.hero-figure .plate .pname { font-family: var(--ff-disp); font-weight: 600; font-size: 1.02rem; }
.hero-figure .plate .pphone { color: var(--gold-dk); font-weight: 500; font-size: .95rem; letter-spacing: .03em; }
.hero-figure .plate .sep { width: 1px; height: 18px; background: var(--line); }

/* ---- Trust badges ----------------------------------------------------- */
.badges { background: var(--ink); color: var(--cream); }
.badges .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.badge { background: var(--ink); padding: 1.6rem 1.4rem; display: flex; align-items: center; gap: .95rem; }
.badge svg { width: 26px; height: 26px; color: var(--gold-lt); flex: none; }
.badge b { display: block; font-family: var(--ff-disp); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.badge span { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #b9aa8f; margin-top: .15rem; }

/* ---- Sections --------------------------------------------------------- */
section { padding: clamp(3.6rem, 7vw, 6rem) 0; }

/* ---- Properties ------------------------------------------------------- */
.properties { background: var(--cream); }
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.prop-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-lt); }
.prop-media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--cream-2); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prop-card:hover .prop-media img { transform: scale(1.05); }
.prop-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  padding: .38rem .8rem; border-radius: 50px; color: #fff; background: var(--gold);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
}
.prop-badge.rent { background: var(--burgundy); }
.prop-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prop-loc { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: .5rem; display: flex; align-items: center; gap: .4rem; }
.prop-loc svg { width: 14px; height: 14px; }
.prop-card h3 { font-size: 1.32rem; margin-bottom: .7rem; }
.prop-price { font-family: var(--ff-disp); font-weight: 600; font-size: 1.42rem; color: var(--burgundy); margin: 0 0 1.1rem; }
.prop-price small { font-family: var(--ff-body); font-weight: 400; font-size: .82rem; color: var(--ink-soft); }
.prop-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.chip { font-size: .8rem; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line); border-radius: 50px; padding: .3rem .8rem; }
.prop-link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500; font-size: .92rem; color: var(--gold-dk);
  border-bottom: 1px solid var(--gold-lt); padding-bottom: 3px; transition: gap .2s, color .2s;
}
.prop-link:hover { gap: .85rem; color: var(--burgundy); }
.prop-note { text-align: center; margin-top: 2.6rem; color: var(--ink-soft); font-size: .95rem; }

/* ---- Story ------------------------------------------------------------ */
.story { background: var(--cream-2); }
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-figure { position: relative; }
.story-figure img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); width: 100%; }
.story-figure .accent {
  position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
.story-body .eyebrow { margin-bottom: 1.1rem; }
.story-body h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 1.4rem; }
.story-body p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.story-body p:first-of-type { color: var(--ink); font-size: 1.12rem; }
.mission {
  margin-top: 2.4rem; background: linear-gradient(150deg, var(--burgundy), var(--burgundy-dk));
  color: #f4e9d9; border-radius: var(--radius); padding: 2rem 2.1rem; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.mission::before {
  content: "\201C"; position: absolute; top: -1.4rem; right: 1rem; font-family: var(--ff-disp);
  font-size: 8rem; color: rgba(216,185,104,.22); line-height: 1;
}
.story-body .mission .eyebrow { color: var(--gold-lt); }
.mission .eyebrow::before { background: var(--gold-lt); }
.story-body .mission h3 { color: #fff; font-size: 1.5rem; margin-bottom: .8rem; position: relative; }
.story-body .mission p { color: #f0e2ce; position: relative; }

/* ---- Testimonials ----------------------------------------------------- */
.testimonials { background: var(--cream); }
.tst-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.tst-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
  flex: 0 1 calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3);
}
.tst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: .12em; font-size: 1.02rem; margin-bottom: 1rem; }
.tst-card p { color: var(--ink); font-size: 1rem; line-height: 1.65; margin-bottom: 1.4rem; flex: 1; }
.tst-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.tst-foot .who { font-family: var(--ff-disp); font-weight: 600; font-size: 1.02rem; }
.tst-foot .when { font-size: .82rem; color: var(--ink-soft); letter-spacing: .03em; white-space: nowrap; }

/* ---- Contact ---------------------------------------------------------- */
.contact { background: linear-gradient(160deg, var(--burgundy), var(--burgundy-dk)); color: #f4e9d9; }
.contact .sec-head { text-align: left; margin: 0 0 2.4rem; }
.contact .sec-head h2 { color: #fff; }
.contact .eyebrow { color: var(--gold-lt); }
.contact .eyebrow::before { background: var(--gold-lt); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-lead { font-size: 1.14rem; color: #e7d6bf; max-width: 46ch; margin-bottom: 2rem; }
.contact-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.contact-meta { display: grid; gap: 1rem; }
.contact-meta .row { display: flex; align-items: center; gap: .9rem; color: #ecdcc6; }
.contact-meta .row svg { width: 20px; height: 20px; color: var(--gold-lt); flex: none; }
.contact-card {
  background: rgba(255,253,248,.06); border: 1px solid rgba(216,185,104,.3);
  border-radius: var(--radius); padding: 2rem; backdrop-filter: blur(4px);
}
.contact-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 1.4rem; }
.socials { display: grid; gap: .8rem; }
.social {
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem;
  border: 1px solid rgba(216,185,104,.25); border-radius: 50px; color: #f4e9d9;
  transition: background .2s, border-color .2s, transform .2s;
}
.social:hover { background: rgba(216,185,104,.14); border-color: var(--gold-lt); transform: translateX(4px); }
.social svg { width: 20px; height: 20px; color: var(--gold-lt); flex: none; }
.social b { font-family: var(--ff-body); font-weight: 500; }
.social span { color: #cbb99c; font-size: .85rem; margin-left: auto; }

/* ---- Footer ----------------------------------------------------------- */
.site-foot { background: var(--ink); color: var(--cream); padding: 3rem 0 2rem; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.foot-grid .brand .name { color: var(--cream); }
.foot-brand p { color: #b9aa8f; font-size: .92rem; margin-top: .8rem; max-width: 34ch; }
.foot-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; list-style: none; }
.foot-nav a { color: #d8cbb3; font-size: .95rem; }
.foot-nav a:hover { color: var(--gold-lt); }
.foot-bottom { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: #b9aa8f; }
.foot-bottom a { color: var(--gold-lt); font-weight: 500; }

/* Essentials tier: intentionally static — no scroll animation. */

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; margin-inline: auto; }
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-card { flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
  .badges .wrap { grid-template-columns: repeat(2, 1fr); }
  .story-figure { max-width: 400px; margin-inline: auto; }
  .story-figure .accent { inset: 12px -12px -12px 12px; }
  .nav-side { display: none; }
  .burger { display: block; }
  .nav { min-height: 62px; }
  .nav .brand { position: static; transform: none; flex-direction: column; align-items: flex-start; text-align: left; }
  .nav .brand .role { margin-top: .28rem; }
}
@media (max-width: 600px) {
  .prop-grid, .badges .wrap { grid-template-columns: 1fr; }
  .tst-card { flex-basis: 100%; max-width: 100%; }
  .hero-figure .plate { flex-direction: column; gap: .1rem; padding: .55rem 1.1rem; }
  .hero-figure .plate .sep { display: none; }
  .contact .sec-head, .sec-head { text-align: left; }
  .foot-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Legal pages (confidentialitate.html) and the 404 share the site shell */
.legal { padding-block: clamp(3rem, 8vw, 6rem); background: var(--paper); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--ff-disp); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 2.4rem; }
.legal h2 { font-family: var(--ff-disp); font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: .5rem 0 0 1.1rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--gold-dk); text-decoration: underline; text-underline-offset: 3px; }
.legal .todo {
  background: var(--cream); border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin: 1rem 0;
}
.foot-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .8rem; font-size: .85rem; }
.foot-legal a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover { color: var(--gold-lt); }
.foot-id { color: var(--ink-soft); font-size: .8rem; margin-top: 1rem; line-height: 1.6; opacity: .85; }

/* Centred single-message page (404) */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 3rem 1.2rem; }
.notfound h1 { font-family: var(--ff-disp); font-size: clamp(3.5rem, 12vw, 7rem); color: var(--gold); line-height: 1; }
.notfound p { color: var(--ink-soft); margin: .8rem 0 1.8rem; }
