/* ==========================================================================
   landing.css — landing page progetti /<lang>/progetti/<slug>/
   Si appoggia a reset.css / grid.css / style.css del sito.
   Palette: nero/bianco + bronzo rgb(150,120,90) (accento sito).
   ========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.landing-hero {
  position: relative;
  min-height: 62vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}
.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,0) 70%);
}
.landing-hero-plain {
  min-height: 38vh;
  background: linear-gradient(135deg, rgb(150,120,90) 0%, rgb(105,82,60) 100%);
}
.landing-hero-text {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
.landing-hero-text h1,
.landing-hero-text h2 {
  color: rgb(255,255,255);
}
.landing-hero-text h1 { font-size: 2rem; line-height: 1.15; }
.landing-hero-text h2 { font-size: 1.15rem; font-weight: normal; opacity: .92; }
@media (min-width: 992px) {
  .landing-hero-text { padding: 3rem 4rem; }
  .landing-hero-text h1 { font-size: 3rem; }
  .landing-hero-text h2 { font-size: 1.4rem; }
}

/* ---- Sezioni -------------------------------------------------------------- */
.landing-section { padding: 1.25rem 0; }
.landing-section-alt { background-color: rgb(245,243,240); }
.landing-section-title {
  color: rgb(150,120,90);
  font-size: 1.25rem;
  margin-bottom: .75rem;
}
@media (min-width: 992px) {
  .landing-section { padding: 2rem 0; }
  .landing-section-title { font-size: 1.5rem; }
}

/* ---- Badge demo ----------------------------------------------------------- */
.landing-demo-badge {
  display: inline-block;
  margin: 1rem;
  padding: .3rem .8rem;
  border: 1px solid rgb(150,120,90);
  color: rgb(150,120,90);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---- Tabella unità -------------------------------------------------------- */
.landing-units-wrap { overflow-x: auto; }
.landing-units {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 560px;
}
.landing-units th,
.landing-units td {
  text-align: left;
  padding: .55rem .75rem;
  border-bottom: 1px solid rgb(210,205,198);
  white-space: nowrap;
}
.landing-units thead th {
  color: rgb(150,120,90);
  font-weight: 500;
  border-bottom: 1px solid rgb(150,120,90);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.landing-units tr.unit-venduto td { color: rgb(160,160,160); }

.unit-badge {
  display: inline-block;
  padding: .12rem .55rem;
  font-size: .78rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.unit-badge-disponibile { color: rgb(90,125,70); }
.unit-badge-riservato   { color: rgb(150,120,90); }
.unit-badge-venduto     { color: rgb(160,160,160); }

/* ---- Documenti / mappa / CTA ---------------------------------------------- */
.landing-doc { color: rgb(150,120,90); }
.landing-map iframe {
  width: 100%;
  height: 420px;
  display: block;
}
.landing-cta .lead a { color: rgb(150,120,90); }

/* ---- Placeholder card griglia progetti ------------------------------------ */
.project-card-placeholder {
  width: 100%;
  min-height: 220px;
  height: 100%;
  background: linear-gradient(135deg, rgb(235,231,226) 0%, rgb(214,206,196) 100%);
}
