/* AXA CASE — Petru Rareș Residence
   Continuitate cu La Quinta. Aceeași paletă, aceeași tipografie. */

/* ───── Tokens ───── */
:root {
  --cream:        #f5efe4;
  --cream-warm:   #ebe2d0;
  --cream-deep:   #d9cdb0;
  --cream-paper:  #faf6ed;

  --ink:          #1a1612;
  --ink-soft:     #4a423a;
  --ink-mute:     #8a7d6a;

  --gold:         #b89968;
  --gold-deep:    #8a6f3f;
  --gold-light:   #d4b88a;

  --line:         rgba(138,111,63,0.18);
  --line-strong:  rgba(138,111,63,0.32);
  --shadow:       0 30px 80px rgba(26,22,18,0.18);
  --shadow-soft:  0 12px 40px rgba(26,22,18,0.10);

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxe:    cubic-bezier(0.65, 0, 0.35, 1);

  --container:    1320px;
  --gutter:       clamp(20px, 4vw, 56px);
}

/* ───── Reset ───── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ───── Type ───── */
.serif { font-family: 'Fraunces', serif; font-weight: 300; letter-spacing: -0.025em; }
.italic { font-family: 'Fraunces', serif; font-weight: 300; font-style: italic; color: var(--gold-deep); }
.italic-light { font-family: 'Fraunces', serif; font-weight: 300; font-style: italic; color: var(--gold-light); }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow-light { color: var(--cream-deep); }

h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 300; letter-spacing: -0.025em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

p { margin: 0; }

/* ───── Container ───── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }

.section-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 32px;
  display: block;
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
  transition: all 0.6s var(--ease);
  cursor: pointer;
  border: 1px solid var(--ink);
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--cream); border: 1px solid var(--cream-deep); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn-arrow::after {
  content: '→';
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  letter-spacing: 0;
  transition: transform 0.6s var(--ease);
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ───── Header ───── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.6s var(--ease), background-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 16px var(--gutter);
  background: rgba(245, 239, 228, 0.62);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  border-bottom: 1px solid rgba(28, 28, 28, 0.05);
  box-shadow: 0 1px 24px rgba(28, 28, 28, 0.03);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.brand-mark-img {
  border: 0;
  width: 36px;
  height: 32px;
}
.brand-mark-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.brand-name em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}
.scrolled .brand-name em { color: var(--gold-deep); }
.site-footer .brand-name em,
.contact .brand-name em { color: var(--gold-light); }
.brand-mark {
  color: var(--ink);
}
.scrolled .brand-mark { color: var(--ink); }
.brand-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.nav { display: flex; gap: 36px; align-items: center; }
.nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease);
}
.nav a:hover { color: var(--gold-deep); }
.nav .btn-mini {
  padding: 10px 22px;
  border: 1px solid var(--ink);
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
}
.nav .btn-mini:hover { background: var(--ink); color: var(--cream); }
@media (max-width: 900px) {
  .nav .nav-link { display: none; }
}

/* ───── Hero ───── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  background: var(--cream);
  padding: 120px var(--gutter) 60px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.78);
}
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,18,0.35) 0%, rgba(26,22,18,0.1) 30%, rgba(26,22,18,0.0) 50%, rgba(26,22,18,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  color: var(--cream);
}
.hero-eyebrow {
  color: var(--cream-deep);
  margin-bottom: 32px;
}
.hero h1 {
  color: var(--cream);
  max-width: 16ch;
  font-size: clamp(3rem, 7vw, 6.4rem);
  margin-bottom: 32px;
}
.hero h1 .italic-light {
  display: inline;
}
.hero-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--cream-deep);
  max-width: 42ch;
  margin-bottom: 56px;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(245,239,228,0.25);
  padding-top: 32px;
}
@media (max-width: 720px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.hero-meta-item .eyebrow { color: var(--cream-deep); margin-bottom: 8px; }
.hero-meta-item .val {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--cream-deep);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-scroll::before {
  content: '';
  width: 1px;
  height: 64px;
  background: var(--cream-deep);
  opacity: 0.6;
}

/* ───── Manifesto ───── */
.manifesto {
  background: var(--cream);
  padding: clamp(120px, 16vw, 200px) 0;
  position: relative;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 900px) { .manifesto-grid { grid-template-columns: 1fr; } }
.manifesto h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  text-wrap: pretty;
}
.manifesto-body p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 56ch;
}
.manifesto-body p:last-child { margin-bottom: 0; }
.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: var(--gold-deep);
  line-height: 1.35;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 24ch;
}

/* ───── Locație ───── */
.locatie {
  background: var(--cream-warm);
  padding: clamp(100px, 14vw, 160px) 0;
}
.locatie-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .locatie-grid { grid-template-columns: 1fr; } }
.locatie h2 { margin-bottom: 24px; }
.locatie p { color: var(--ink-soft); max-width: 36ch; margin-bottom: 32px; }
.poi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.poi-list li {
  background: var(--cream-warm);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: baseline;
}
.poi-time {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
}
.poi-name {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.poi-mode {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.locatie-map {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--cream-paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

/* ───── Siteplan ───── */
.siteplan {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(100px, 14vw, 160px) 0;
}
.siteplan .section-num { color: var(--gold-light); }
.siteplan h2 { color: var(--cream); margin-bottom: 24px; max-width: 18ch; }
.siteplan h2 .italic { color: var(--gold-light); }
.siteplan-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 900px) { .siteplan-intro { grid-template-columns: 1fr; } }
.siteplan-intro p { color: var(--cream-deep); max-width: 52ch; }

.siteplan-stage {
  position: relative;
  border: 1px solid rgba(245,239,228,0.12);
  background: linear-gradient(180deg, #1f1a14 0%, #14110d 100%);
  padding: 48px;
  border-radius: 2px;
}
@media (max-width: 720px) { .siteplan-stage { padding: 24px; } }
.siteplan-svg {
  width: 100%;
  height: auto;
  display: block;
}
.siteplan-svg .lot { cursor: pointer; transition: all 0.5s var(--ease); }
.siteplan-svg .lot-fill {
  transition: fill 0.5s var(--ease), opacity 0.5s var(--ease);
}
.siteplan-svg .lot.disponibil .lot-fill { fill: var(--gold); opacity: 0.18; }
.siteplan-svg .lot.disponibil .lot-stroke { stroke: var(--gold-light); }
.siteplan-svg .lot.vandut .lot-fill { fill: var(--ink-mute); opacity: 0.12; }
.siteplan-svg .lot.vandut .lot-stroke { stroke: var(--ink-mute); stroke-dasharray: 2 4; }
.siteplan-svg .lot:hover .lot-fill { opacity: 0.36; }
.siteplan-svg .lot.active .lot-fill { fill: var(--gold-light); opacity: 0.55; }
.siteplan-svg .lot.active .lot-stroke { stroke: var(--cream); }
.siteplan-svg .lot-num {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 28px;
  fill: var(--cream);
  pointer-events: none;
  letter-spacing: -0.02em;
}
.siteplan-svg .lot.vandut .lot-num { fill: var(--ink-mute); }

.siteplan-legend {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-deep);
}
.siteplan-legend .swatch {
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 10px;
  vertical-align: middle;
  border: 1px solid;
}
.siteplan-legend .sw-disp { background: var(--gold); border-color: var(--gold-light); }
.siteplan-legend .sw-vand { background: transparent; border-color: var(--ink-mute); }

.siteplan-summary {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(245,239,228,0.1);
  border: 1px solid rgba(245,239,228,0.1);
}
@media (max-width: 720px) { .siteplan-summary { grid-template-columns: repeat(2, 1fr); } }
.siteplan-summary > div {
  background: var(--ink);
  padding: 28px;
}
.siteplan-summary .eyebrow { color: var(--gold-light); margin-bottom: 12px; }
.siteplan-summary .val {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 2rem;
  color: var(--cream);
  letter-spacing: -0.02em;
}

/* Lot panel — slides in next to siteplan */
.lot-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(560px, 96vw);
  height: 100vh;
  background: var(--cream-paper);
  border-left: 1px solid var(--line);
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.7s var(--ease-luxe);
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.lot-panel.open { transform: translateX(0); }
.lot-panel-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  z-index: 2;
  background: var(--cream-paper);
}
.lot-panel-close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.lot-panel-inner { padding: 64px clamp(28px, 5vw, 56px) 80px; }
.lot-panel .eyebrow { margin-bottom: 16px; }
.lot-panel h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 4px;
}
.lot-panel .lot-status {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1rem;
  margin-bottom: 32px;
  display: block;
}
.lot-panel .lot-status.vandut { color: var(--ink-mute); }
.lot-panel-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.lot-panel-stats > div {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.lot-panel-stats > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.lot-panel-stats > div:nth-child(even) { padding-left: 16px; }
.lot-panel-stats .eyebrow { font-size: 0.62rem; margin-bottom: 6px; }
.lot-panel-stats .val { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 400; }

.lot-panel-rooms {
  margin: 24px 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.lot-panel-rooms-title {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.room-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.room-row .name { color: var(--ink-soft); }
.room-row .area { font-family: 'Fraunces', serif; font-weight: 400; }

.lot-panel-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
}
.lot-panel-overlay {
  position: fixed; inset: 0;
  background: rgba(26,22,18,0.4);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.lot-panel-overlay.open { opacity: 1; pointer-events: auto; }

/* ───── Tipologii ───── */
.tipologii {
  background: var(--cream);
  padding: clamp(100px, 14vw, 160px) 0;
}
.tipologii h2 { margin-bottom: 24px; max-width: 16ch; }
.tipologii-intro p { color: var(--ink-soft); max-width: 52ch; margin-bottom: 64px; }
.tipologii-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 900px) { .tipologii-grid { grid-template-columns: 1fr; } }
.tipo-card {
  background: var(--cream-paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  transition: all 0.6s var(--ease);
}
.tipo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tipo-card .tipo-num {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 2.4rem;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.tipo-card h3 { font-size: 1.6rem; margin-bottom: 8px; }
.tipo-card .tipo-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1rem;
  margin-bottom: 24px;
}
.tipo-card .tipo-img {
  aspect-ratio: 16/10;
  background: var(--cream-warm);
  margin-bottom: 24px;
  overflow: hidden;
}
.tipo-card .tipo-img img { width: 100%; height: 100%; object-fit: cover; }
.tipo-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.tipo-stats .eyebrow { font-size: 0.62rem; margin-bottom: 4px; }
.tipo-stats .val { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.1rem; }
.tipo-card .which {
  margin-top: 24px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ───── Specs / Echipamente ───── */
.specs {
  background: var(--cream-paper);
  padding: clamp(100px, 14vw, 160px) 0;
  position: relative;
}
.specs h2 { margin-bottom: 56px; max-width: 16ch; }
.specs h2 .italic { color: var(--gold-deep); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .specs-grid { grid-template-columns: 1fr; } }
.spec-cell {
  background: var(--cream-paper);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.spec-cell .spec-num {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.spec-cell h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.spec-cell p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.spec-cell .spec-brand {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ───── Galerie ───── */
.galerie {
  background: var(--cream);
  padding: clamp(100px, 14vw, 160px) 0;
}
.galerie-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.galerie-head h2 { margin: 0; flex: 1 1 420px; }
.gal-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(28,28,28,0.12);
  padding-bottom: 0;
}
.gal-tab {
  background: transparent;
  border: 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 14px 20px 16px;
  cursor: pointer;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  transition: color .3s ease;
}
.gal-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-luxe);
}
.gal-tab:hover { color: var(--ink); }
.gal-tab.active { color: var(--ink); }
.gal-tab.active::after { transform: scaleX(1); }
.gal-tab-count {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid currentColor;
  border-radius: 10px;
  padding: 2px 7px;
  opacity: 0.55;
}

.galerie-grids {
  position: relative;
}
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.galerie-grid.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  animation: galFade .5s var(--ease-luxe);
}
.galerie-grid.is-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
@keyframes galFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.gal-cell {
  overflow: hidden;
  background: var(--cream-warm);
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.gal-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-luxe);
}
.gal-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,28,28,0) 60%, rgba(28,28,28,0.35) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 1;
}
.gal-cell:hover::before { opacity: 1; }
.gal-cell:hover img { transform: scale(1.04); }
.gal-zoom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s var(--ease-luxe);
  z-index: 2;
}
.gal-cell:hover .gal-zoom { opacity: 1; transform: translateY(0); }

.gal-1 { grid-column: span 7; aspect-ratio: 16/10; }
.gal-2 { grid-column: span 5; aspect-ratio: 4/5; }
.gal-3 { grid-column: span 4; aspect-ratio: 4/5; }
.gal-4 { grid-column: span 4; aspect-ratio: 4/5; }
.gal-5 { grid-column: span 4; aspect-ratio: 4/5; }
.gal-6 { grid-column: span 5; aspect-ratio: 4/3; }
.gal-7 { grid-column: span 7; aspect-ratio: 16/9; }

.galerie-foot {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-1, .gal-2, .gal-3, .gal-4, .gal-5, .gal-6, .gal-7 {
    grid-column: span 1; aspect-ratio: 4/5;
  }
  .gal-1, .gal-7 { grid-column: span 2; aspect-ratio: 16/10; }
  .gal-tab { padding: 12px 12px 14px; font-size: 12px; }
  .gal-tab-count { display: none; }
}

/* ───── Lightbox ───── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.94);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lbFade .35s ease;
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-figure {
  margin: 0;
  max-width: min(1280px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lb-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  gap: 24px;
}
.lb-count {
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}
.lb-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease;
}
.lb-close:hover { background: rgba(255,255,255,0.1); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 56px;
  height: 56px;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}
.lb-nav:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.35); }
.lb-prev { left: 28px; }
.lb-next { right: 28px; }
@media (max-width: 720px) {
  .lightbox { padding: 16px; }
  .lb-nav { width: 44px; height: 44px; font-size: 22px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 8px; right: 8px; }
}

/* ───── Despre AXA ───── */
.despre {
  background: var(--cream-deep);
  padding: clamp(100px, 14vw, 160px) 0;
}
.despre-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .despre-grid { grid-template-columns: 1fr; } }
.despre h2 { margin-bottom: 24px; }
.despre p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 52ch;
}
.proiect-list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.proiect-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  grid-template-areas:
    "year name status"
    "year loc  status";
  column-gap: 32px;
  row-gap: 4px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
}
.proiect-row .py {
  grid-area: year;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold-deep);
  align-self: start;
  padding-top: 4px;
}
.proiect-row .pn {
  grid-area: name;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
}
.proiect-row .pl {
  grid-area: loc;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.proiect-row .ps {
  grid-area: status;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  align-self: center;
}
.proiect-row.current .ps { color: var(--ink); }
.proiect-row.current { background: rgba(184,153,104,0.08); padding-left: 18px; padding-right: 18px; margin: 0 -18px; }

@media (max-width: 720px) {
  .proiect-row {
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "year name"
      "year loc"
      "year status";
    column-gap: 18px;
  }
  .proiect-row .ps { align-self: start; white-space: normal; }
  .proiect-row.current { margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
}

/* ───── Contact ───── */
.contact {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(100px, 14vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.contact .section-num { color: var(--gold-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 { color: var(--cream); margin-bottom: 24px; max-width: 14ch; }
.contact h2 .italic { color: var(--gold-light); }
.contact-body p { color: var(--cream-deep); max-width: 42ch; margin-bottom: 32px; }
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(245,239,228,0.18);
}
.contact-info .eyebrow { color: var(--gold-light); margin-bottom: 8px; }
.contact-info .val {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.contact-info a:hover { color: var(--gold-light); }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(184,153,104,0.45);
  background: rgba(184,153,104,0.06);
  text-decoration: none;
  transition: all 0.3s var(--ease-luxe);
}
.map-link:hover {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.map-link svg { flex-shrink: 0; }

.contact-form {
  background: rgba(245,239,228,0.04);
  border: 1px solid rgba(245,239,228,0.16);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form .form-row { margin-bottom: 22px; }
.contact-form label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-deep);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245,239,228,0.32);
  padding: 10px 0;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color 0.4s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-bottom-color: var(--gold-light);
}
.contact-form textarea { resize: vertical; min-height: 80px; font-size: 1rem; }
.contact-form .btn { margin-top: 12px; background: var(--gold); color: var(--ink); border-color: var(--gold); }
.contact-form .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ───── Footer ───── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(245,239,228,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr 3fr;
  gap: 32px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid a {
  color: var(--cream-deep);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-grid a:hover { color: var(--cream); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }

.anpc-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(245,239,228,0.1);
  border-bottom: 1px solid rgba(245,239,228,0.1);
  margin-bottom: 24px;
}
.anpc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(245,239,228,0.2);
  background: rgba(245,239,228,0.04);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-deep);
  transition: all 0.4s var(--ease);
}
.anpc-logo:hover { background: rgba(245,239,228,0.08); color: var(--cream); }
.anpc-logo svg { display: block; }

.legal-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.legal-row a { color: var(--ink-mute); }
.legal-row a:hover { color: var(--cream-deep); }

/* ───── Cookie Banner ───── */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  padding: 28px;
  z-index: 200;
  border: 1px solid rgba(245,239,228,0.16);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.6s var(--ease-luxe), opacity 0.5s var(--ease);
}
.cookie-banner.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-banner p { font-size: 0.85rem; color: var(--cream-deep); max-width: 50ch; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn {
  padding: 12px 20px;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
}
.cookie-actions .btn.primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cookie-actions .btn.primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.cookie-actions .btn.ghost { background: transparent; color: var(--cream); border-color: rgba(245,239,228,0.4); }
.cookie-actions .btn.ghost:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 700px) {
  .cookie-banner { grid-template-columns: 1fr; }
}

/* ───── Reveal animation ───── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s var(--ease-luxe), transform 1.2s var(--ease-luxe);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ───── Cursor ───── */
.cursor-trail {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, opacity 0.4s var(--ease);
  mix-blend-mode: difference;
  opacity: 0.5;
}
@media (hover: none) { .cursor-trail { display: none; } }
