/* ============================================
   VTZ RESIDENCE — Design tokens
   Palette: stone, terracotta, ink, paper
   Type: Fraunces (display) + Archivo (body/UI)
   Concept: architectural blueprint grid
============================================ */

:root {
  --paper:     #F1EEE7;
  --stone:     #DDD6C8;
  --ink:       #2B2B2B;
  --ink-soft:  #4A453E;
  --terracotta:#C0552F;
  --green:     #5C6E4D;
  --green-soft:#E4E8DC;
  --line:      #C9C1B2;
  --white:     #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Archivo', sans-serif;

  --container: 1240px;
  --gap: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.muted { color: var(--ink-soft); }

/* ============================================
   LAYOUT HELPERS
============================================ */

section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 32px;
}

/* ============================================
   NATURA — curte verde
============================================ */

.eyebrow-green { color: var(--green); }

.natura-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.natura-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}
.natura-text h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 24px;
}
.natura-text p { margin-bottom: 16px; }

.locatie-info h2,
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 24px;
}

/* ============================================
   MOOD — banda foto de amurg (full-bleed)
============================================ */

.mood {
  max-width: none;
  padding: 0;
  position: relative;
}
.mood img {
  width: 100%;
  height: 68vh;
  min-height: 400px;
  object-fit: cover;
}
.mood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 43, 43, 0.55) 0%, rgba(43, 43, 43, 0) 55%);
  display: flex;
  align-items: flex-end;
  padding: 56px 32px;
}
.mood-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--paper);
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 500;
  max-width: 680px;
}

.section-head {
  margin-bottom: 64px;
}

/* ============================================
   BUTTONS
============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.btn-block {
  width: 100%;
}

/* ============================================
   HEADER / NAV
============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 238, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
}

.logo-mark {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}
.logo-mark path {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo-mark .mark-outer { stroke-width: 2.2; }
.logo-mark .mark-inner { stroke-width: 1.4; stroke: var(--terracotta); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-shadow: -0.6px 0 0 currentColor;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-shadow: -0.4px 0 0 currentColor;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: var(--terracotta);
  margin-top: 6px;
}

.logo-divider {
  width: 1px;
  height: 50px;
  background: var(--line);
  flex-shrink: 0;
}

.logo .logo-mark { transition: transform 0.25s ease; }
.logo:hover .logo-mark { transform: translateY(-3px); }


/* ============================================
   BUTON — inapoi sus
============================================ */

.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  transition: background 0.2s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top svg path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.to-top:hover { background: var(--ink); }
.to-top:hover svg path { stroke: var(--paper); }

@media (max-width: 900px) {
  .to-top { right: 18px; bottom: 18px; width: 46px; height: 46px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.nav-cta):hover:after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ============================================
   HERO
============================================ */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-coord {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
  border-left: 2px solid var(--terracotta);
  padding-left: 10px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hero-accent {
  font-style: italic;
  color: var(--green);
  font-weight: 500;
}

.hero-sub {
  margin: 28px 0 36px;
  max-width: 440px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--stone);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--line) 39px, var(--line) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--line) 39px, var(--line) 40px);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--stone);
  border: 1px solid var(--line);
}

.ph-dim {
  font-size: 0.75rem;
  opacity: 0.6;
}

.hero-label {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-top: 20px;
}
.hero-label span:first-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--terracotta);
}
.hero-label p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============================================
   PROIECT
============================================ */

.proiect {
  background: var(--green-soft);
  max-width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  padding-left: 0;
  padding-right: 0;
}

.proiect > * {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.proiect-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.proiect-text p {
  margin-bottom: 20px;
  max-width: 540px;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  align-content: start;
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stats strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
}
.stats span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proiect-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.feature-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--green);
  margin-bottom: 12px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ============================================
   GALERIE
============================================ */

.gallery-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 520px;
}

.gallery-note em {
  font-style: italic;
  color: var(--terracotta);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 2px;
}

.gallery-item.large {
  grid-column: span 2;
}

/* ============================================
   TIPOLOGII
============================================ */

/* ============================================
   STADIUL LUCRARILOR (TIMELINE)
============================================ */

.stadiu {
  background: var(--green-soft);
  max-width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  padding-left: 0;
  padding-right: 0;
}

.stadiu > * {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.timeline-item {
  border: 1px solid var(--line);
  background: var(--white);
}

.timeline-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.timeline-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline-info {
  padding: 20px;
}

.timeline-date {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.timeline-info p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ============================================
   MODEL DE CASA (TIPOLOGII)
============================================ */

.model-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.model-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
}

.model-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.model-visual-split {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.model-visual-split img {
  aspect-ratio: 4 / 3;
}

.model-visual-split .plan-img {
  object-fit: contain;
  background: var(--white);
  padding: 16px;
  box-sizing: border-box;
}

.model-info p {
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 480px;
}

.model-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-specs li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.model-specs strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 140px;
}

.model-specs span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.phases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.phase-card {
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.phase-visual {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.phase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phase-info {
  padding: 28px;
}

.phase-info h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.phase-info p:not(.plan-meta) {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.plan-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.plan-info p:not(.plan-meta) {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.plan-status {
  display: block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.status-available {
  background: var(--green-soft);
  color: var(--green);
}

.status-ready {
  background: var(--terracotta);
  color: var(--white);
}

.plan-link {
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  display: inline-block;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.plan-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* ============================================
   LOCATIE
============================================ */

.locatie {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.locatie-info p {
  margin: 20px 0 32px;
  max-width: 460px;
  color: var(--ink-soft);
}

.locatie-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.locatie-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.locatie-list strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green);
  min-width: 70px;
}

.map-embed {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  display: block;
}

.map-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.map-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* ============================================
   CONTACT
============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info p {
  margin: 20px 0 36px;
  max-width: 440px;
  color: var(--ink-soft);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
}

.contact-details a {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--terracotta);
  min-height: 1.2em;
}

/* ============================================
   FOOTER
============================================ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 32px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-note {
  width: 100%;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 900px) {
  section { padding: 72px 24px; }

  .natura-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mood { padding: 0; }
  .mood img { height: 52vh; min-height: 320px; }
  .mood-overlay { padding: 32px 24px; }

  .proiect {
    padding: 64px 0;
  }
  .proiect > * {
    padding-left: 24px;
    padding-right: 24px;
  }

  .stadiu {
    padding: 64px 0;
  }
  .stadiu > * {
    padding-left: 24px;
    padding-right: 24px;
  }

  .timeline-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .hero-image { order: -1; }

  .proiect-grid,
  .locatie,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proiect-features {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.large { grid-column: span 2; }

  .model-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .phases-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 20px;
    display: none;
  }
  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }
}

@media (max-width: 540px) {
  .logo-mark { width: 50px; }
  .logo-word { font-size: 1.9rem; }
  .logo-divider { height: 42px; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.large { grid-column: span 1; }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   DISPONIBILITATE
============================================ */

.avail-legend {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.avail-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  flex-shrink: 0;
}
.dot-disponibila { background: #4C9A5A; }
.dot-rezervata   { background: #D4882A; }
.dot-vanduta     { background: #B0392B; }

.avail-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 2px;
}

.avail-img {
  width: 100%;
  display: block;
  user-select: none;
}

.avail-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.avail-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--white);
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.15);
}

.avail-pin:hover,
.avail-pin.active {
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 10;
}

.avail-pin.pin-with-label {
  width: auto;
  height: auto;
  border-radius: 4px;
  padding: 5px 10px;
  white-space: nowrap;
}

.pin-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.pin-disponibila { background: #4C9A5A; }
.pin-rezervata   { background: #D4882A; }
.pin-vanduta     { background: #B0392B; }

.avail-tooltip {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 24px;
  max-width: 420px;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tooltip-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.tooltip-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
}

.status-badge-disponibila { background: #E6F4E8; color: #4C9A5A; }
.status-badge-rezervata   { background: #FDF2E3; color: #D4882A; }
.status-badge-vanduta     { background: #FAEAE9; color: #B0392B; }

.tooltip-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.avail-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}

.avail-stat {
  background: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.avail-stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

.avail-stat span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.avail-stat:nth-child(1) strong { color: #4C9A5A; }
.avail-stat:nth-child(2) strong { color: #D4882A; }
.avail-stat:nth-child(3) strong { color: #B0392B; }

@media (max-width: 600px) {
  .avail-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .avail-pin {
    width: 20px;
    height: 20px;
    font-size: 0.55rem;
  }
  .avail-legend {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* ============================================
   REDUCED MOTION
============================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ============================================
   BARA MOBILA — Suna acum / WhatsApp
============================================ */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  border-top: 1px solid var(--line);
}
.mcta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}
.mcta svg { width: 18px; height: 18px; }
.mcta-call { background: var(--terracotta); }
.mcta-call svg path { fill: var(--white); }
.mcta-wa { background: var(--green); }
.mcta-wa svg path { fill: var(--white); }
.mcta-wa svg .wa-inner { fill: var(--green); }

@media (max-width: 900px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 54px; }
  .to-top { bottom: 72px; }
}
