/* =========================================
   UrbanNest — Projects Page (projects.html)
   ========================================= */

/* Общие заголовки/текст для этой страницы */
.unp-page-title {
  margin: 0 0 0.7rem;
  font-family: "UrbanNestDisplay", system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--un-ink);
}

.unp-section-title {
  margin: 0 0 0.5rem;
  font-family: "UrbanNestDisplay", system-ui, sans-serif;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--un-ink);
}

.unp-section-lead {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--un-muted);
}

/* =============== SECTION 1: OVERVIEW RAIL =============== */

.unp-overview {
  margin-bottom: 2.8rem;
}

.unp-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: 1.8rem;
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(circle at 0% 0%, #ffffff, var(--un-bg-soft));
}

.unp-rail {
  position: relative;
  padding-right: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.unp-rail::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 1px;
  background-image: linear-gradient(
    to bottom,
    rgba(223, 212, 200, 0.2),
    rgba(223, 212, 200, 0.9),
    rgba(223, 212, 200, 0.2)
  );
}

.unp-rail-text,
.unp-rail-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--un-muted);
}

.unp-rail-note {
  font-size: 0.88rem;
}

.unp-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.unp-chip {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  background: rgba(251, 247, 242, 0.96);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--un-muted);
  cursor: default;
}

.unp-chip--active {
  background: linear-gradient(120deg, rgba(233, 205, 168, 0.3), rgba(251, 247, 242, 0.96));
  color: var(--un-ink);
  border-style: solid;
}

.unp-overview-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.unp-mosaic-main {
  background: var(--un-bg-elevated);
  border-radius: 26px;
  padding: 0.7rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  box-shadow: 0 22px 55px rgba(40, 32, 24, 0.1);
}

.unp-mosaic-main img {
  border-radius: 20px;
  max-width: 340px; /* <= 350px */
  display: block;
}

.unp-mosaic-main figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-mosaic-column {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.unp-mosaic-card {
  background: rgba(251, 247, 242, 0.98);
  border-radius: 22px;
  padding: 0.55rem 0.6rem 0.7rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-mosaic-card img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-mosaic-card figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

/* =============== SECTION 2: PROJECT CARDS STRIPE =============== */

.unp-stripe {
  margin-bottom: 2.9rem;
}

.unp-stripe-head {
  max-width: 40rem;
  margin-bottom: 1.2rem;
}

.unp-stripe-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.unp-project-card {
  border-radius: 26px;
  padding: 1rem 0.9rem 1.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: var(--un-bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.unp-project-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.unp-project-header h3 {
  margin: 0;
  font-size: 0.98rem;
  color: var(--un-ink);
}

.unp-project-header p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

.unp-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  background: rgba(251, 247, 242, 0.96);
  color: var(--un-muted);
}

.unp-tag--clay {
  background: rgba(209, 139, 115, 0.12);
}

.unp-tag--mint {
  background: rgba(196, 224, 217, 0.2);
}

.unp-project-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr);
  gap: 0.6rem;
}

.unp-project-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #ddd;
}

.unp-project-photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.unp-project-points {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--un-muted);
}

.unp-project-points li + li {
  margin-top: 0.15rem;
}

/* =============== SECTION 3: PLAN GRID =================== */

.unp-plangrid {
  margin-bottom: 3rem;
}

.unp-plangrid-inner {
  border-radius: 30px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(circle at 50% 0%, #ffffff, var(--un-bg-soft));
}

.unp-plangrid-head {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.unp-plangrid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.unp-plan-card {
  background: var(--un-bg-elevated);
  border-radius: 24px;
  padding: 0.7rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-plan-card img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-plan-card figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

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

@media (max-width: 599px) {
  .unp-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem 1.1rem 1.7rem;
  }

  .unp-rail {
    padding-right: 0;
  }

  .unp-rail::before {
    display: none;
  }

  .unp-overview-mosaic {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .unp-mosaic-main img,
  .unp-mosaic-card {
    max-width: min(320px, 100%);
  }

  .unp-stripe-inner {
    padding-inline: 1.1rem;
  }

  .unp-stripe-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-plangrid-inner {
    padding: 1.5rem 1.1rem 1.8rem;
  }

  .unp-plangrid-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .unp-plan-card {
    max-width: min(320px, 100%);
  }
}

@media (min-width: 768px) {
  .unp-overview-grid,
  .unp-plangrid-inner {
    padding-inline: 2rem;
  }

  .unp-stripe {
    padding-inline: 0.4rem;
  }
}
/* =============== SECTION 4: DETAIL BELT =================== */

.unp-detailsbelt {
  margin-bottom: 2.9rem;
}

.unp-detailsbelt-inner {
  border-radius: 30px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: var(--un-bg-elevated);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.8rem;
}

.unp-details-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.unp-details-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--un-muted);
}

.unp-details-list li + li {
  margin-top: 0.2rem;
}

.unp-details-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  justify-items: flex-start;
}

.unp-detail-photo {
  background: var(--un-bg-soft);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-detail-photo img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-detail-photo figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

/* =============== SECTION 5: MATERIAL BAND =================== */

.unp-materialband {
  margin-bottom: 2.9rem;
}

.unp-material-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(circle at 100% 0%, #ffffff, var(--un-bg-soft));
}

.unp-material-head {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.unp-material-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
}

.unp-material-main {
  background: var(--un-bg-elevated);
  border-radius: 26px;
  padding: 0.7rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  max-width: 340px; /* <= 350px */
  box-shadow: 0 20px 55px rgba(40, 32, 24, 0.1);
}

.unp-material-main img {
  border-radius: 20px;
  max-width: 100%;
  display: block;
}

.unp-material-main figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-material-strip {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.unp-material-chip {
  background: rgba(251, 247, 242, 0.98);
  border-radius: 22px;
  padding: 0.55rem 0.6rem 0.7rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-material-chip img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-material-chip figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

/* =============== SECTION 6: FAMILY GRID =================== */

.unp-familygrid {
  margin-bottom: 3rem;
}

.unp-family-inner {
  border-radius: 30px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: var(--un-bg-soft);
}

.unp-family-head {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.unp-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.unp-family-card {
  border-radius: 24px;
  padding: 0.9rem 0.9rem 1rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.unp-family-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ddd;
}

.unp-family-photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.unp-family-card h3 {
  margin: 0;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.unp-family-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}
@media (max-width: 599px) {
    .unp-detailsbelt-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem 1.1rem 1.8rem;
  }

  .unp-details-visual {
    justify-items: center;
  }

  .unp-detail-photo {
    max-width: min(320px, 100%);
  }

  .unp-material-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .unp-material-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .unp-material-main,
  .unp-material-chip {
    max-width: min(320px, 100%);
  }

  .unp-family-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .unp-family-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}
/* =============== SECTION 7: LIGHT ROUTES =================== */

.unp-lights {
  margin-bottom: 3rem;
}

.unp-lights-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: linear-gradient(
    135deg,
    rgba(196, 224, 217, 0.3),
    rgba(251, 247, 242, 0.98),
    rgba(233, 205, 168, 0.25)
  );
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: center;
}

.unp-lights-photo {
  background: var(--un-bg-elevated);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-lights-photo img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-lights-photo figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-lights-timeline {
  position: relative;
  padding-left: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.unp-lights-timeline::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 1px;
  background-image: linear-gradient(
    to bottom,
    rgba(223, 212, 200, 0.2),
    rgba(223, 212, 200, 0.9),
    rgba(223, 212, 200, 0.2)
  );
}

.unp-lights-steps {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.unp-lights-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.6rem;
  align-items: baseline;
}

.unp-lights-time {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.unp-lights-steps p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

/* =============== SECTION 8: BALCONY SCENES =================== */

.unp-balconies {
  margin-bottom: 3rem;
}

.unp-balcony-inner {
  border-radius: 30px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: var(--un-bg-elevated);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 1.6rem;
}

.unp-balcony-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.unp-balcony-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--un-muted);
}

.unp-balcony-list li + li {
  margin-top: 0.2rem;
}

.unp-balcony-visual {
  position: relative;
  display: grid;
  gap: 0.8rem;
  justify-items: flex-start;
}

.unp-balcony-photo {
  background: var(--un-bg-soft);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-balcony-photo img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-balcony-photo figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-balcony-photo--top {
  transform: translateX(0.8rem);
}

.unp-balcony-photo--bottom {
  transform: translateX(0.1rem);
}

/* =============== SECTION 9: MAP & STATS =================== */

.unp-mapstats {
  margin-bottom: 3.1rem;
}

.unp-mapstats-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(circle at 50% 0%, #ffffff, var(--un-bg-soft));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 1.8rem;
}

.unp-mapstats-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.unp-mapstats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.unp-mapstat {
  border-radius: 18px;
  padding: 0.6rem 0.7rem;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.unp-mapstat-number {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--un-ink);
}

.unp-mapstat-label {
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-mapstats-note {
  margin: 0.4rem 0 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

.unp-mapstats-visual {
  display: grid;
  gap: 0.9rem;
  justify-items: flex-start;
}

.unp-map-main,
.unp-map-mini {
  background: var(--un-bg-elevated);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-map-main img,
.unp-map-mini img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-map-main figcaption,
.unp-map-mini figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}
@media (max-width: 599px) {
  .unp-lights-inner,
  .unp-balcony-inner,
  .unp-mapstats-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem 1.1rem 1.8rem;
  }

  .unp-lights-inner {
    justify-items: center;
  }

  .unp-lights-timeline {
    padding-left: 0;
  }

  .unp-lights-timeline::before {
    display: none;
  }

  .unp-lights-steps li {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-lights-photo,
  .unp-balcony-photo,
  .unp-map-main,
  .unp-map-mini {
    max-width: min(320px, 100%);
  }

  .unp-balcony-visual,
  .unp-mapstats-visual {
    justify-items: center;
  }

  .unp-mapstats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}
@media (min-width: 768px) {
  .unp-overview-grid,
  .unp-plangrid-inner,
  .unp-detailsbelt-inner,
  .unp-material-inner,
  .unp-family-inner,
  .unp-lights-inner,
  .unp-balcony-inner,
  .unp-mapstats-inner {
    padding-inline: 2rem;
  }

  .unp-stripe {
    padding-inline: 0.4rem;
  }
}
/* =============== SECTION 10: PROGRESS SCENES =================== */

.unp-progress {
  margin-bottom: 3rem;
}

.unp-progress-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: var(--un-bg-elevated);
}

.unp-progress-head {
  max-width: 38rem;
  margin-bottom: 1.2rem;
}

.unp-progress-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr) minmax(0, 1.05fr);
  gap: 1.6rem;
  align-items: center;
}

.unp-progress-photo {
  background: var(--un-bg-soft);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-progress-photo img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-progress-photo figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-progress-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--un-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* =============== SECTION 11: WORK CORNERS =================== */

.unp-workcorners {
  margin-bottom: 3rem;
}

.unp-workcorners-inner {
  border-radius: 30px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(circle at 50% 0%, #ffffff, var(--un-bg-soft));
}

.unp-workcorners-head {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.unp-workcorners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.unp-work-card {
  border-radius: 24px;
  padding: 0.9rem 0.9rem 1rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.unp-work-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ddd;
}

.unp-work-photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.unp-work-card h3 {
  margin: 0;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.unp-work-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

/* =============== SECTION 12: KITCHEN LINES =================== */

.unp-kitchenlines {
  margin-bottom: 3.2rem;
}

.unp-kitchen-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: linear-gradient(
    120deg,
    rgba(196, 224, 217, 0.35),
    rgba(251, 247, 242, 0.98),
    rgba(233, 205, 168, 0.28)
  );
}

.unp-kitchen-text {
  max-width: 36rem;
  margin-bottom: 1.1rem;
}

.unp-kitchen-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  align-items: center;
}

.unp-kitchen-photo {
  background: var(--un-bg-elevated);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 330px; /* <= 350px */
}

.unp-kitchen-photo img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-kitchen-photo figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-kitchen-photo--secondary {
  transform: translateX(0.7rem);
}

/* =============== RESPONSIVE 10–12 =================== */

@media (max-width: 599px) {
  .unp-progress-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .unp-progress-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1rem;
  }

  .unp-progress-photo {
    max-width: min(320px, 100%);
  }

  .unp-workcorners-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .unp-workcorners-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-kitchen-inner {
    padding: 1.7rem 1.1rem 2rem;
  }

  .unp-kitchen-visual {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .unp-kitchen-photo {
    max-width: min(320px, 100%);
  }

  .unp-kitchen-photo--secondary {
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .unp-progress-inner,
  .unp-workcorners-inner,
  .unp-kitchen-inner {
    padding-inline: 2rem;
  }
}
/* =============== SECTION 13: BATHROOM SCENES =================== */

.unp-bathscenes {
  margin-bottom: 3rem;
}

.unp-bath-inner {
  border-radius: 30px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: var(--un-bg-soft);
}

.unp-bath-head {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.unp-bath-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.unp-bath-card {
  border-radius: 24px;
  padding: 0.9rem 0.9rem 1rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.unp-bath-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ddd;
}

.unp-bath-photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.unp-bath-card h3 {
  margin: 0;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.unp-bath-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

/* =============== SECTION 14: ENTRY LINE =================== */

.unp-entryline {
  margin-bottom: 3.1rem;
}

.unp-entry-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(circle at 0% 0%, #ffffff, var(--un-bg-soft));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  align-items: center;
}

.unp-entry-visual {
  display: grid;
  gap: 0.8rem;
  justify-items: flex-start;
}

.unp-entry-photo {
  background: var(--un-bg-elevated);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
  max-width: 320px; /* <= 350px */
}

.unp-entry-photo img {
  border-radius: 18px;
  max-width: 100%;
  display: block;
}

.unp-entry-photo figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-entry-photo--top {
  transform: translateX(0.6rem);
}

.unp-entry-photo--bottom {
  transform: translateX(0.1rem);
}

.unp-entry-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.unp-entry-steps {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.unp-entry-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.6rem;
  align-items: baseline;
}

.unp-entry-tag {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(209, 139, 115, 0.24);
  color: var(--un-ink);
}

.unp-entry-steps p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

/* =============== SECTION 15: FAVORITE FRAMES =================== */

.unp-favorites {
  margin-bottom: 3.3rem;
}

.unp-favorites-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: linear-gradient(
    135deg,
    rgba(196, 224, 217, 0.3),
    rgba(251, 247, 242, 0.98),
    rgba(233, 205, 168, 0.28)
  );
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: center;
}

.unp-favorites-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.unp-favorites-notes {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--un-muted);
}

.unp-favorites-visual {
  position: relative;
  display: grid;
  gap: 0.7rem;
  justify-items: flex-start;
}

.unp-fav-photo {
  background: var(--un-bg-elevated);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.unp-fav-photo img {
  border-radius: 18px;
  max-width: 320px; /* <= 350px */
  display: block;
}

.unp-fav-photo figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--un-muted);
}

.unp-fav-photo--main {
  max-width: 330px;
}

.unp-fav-photo--small {
  max-width: 220px;
  transform: translateX(0.9rem);
}

/* =============== RESPONSIVE 13–15 =================== */

@media (max-width: 599px) {
  .unp-bath-inner,
  .unp-entry-inner,
  .unp-favorites-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .unp-bath-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-entry-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .unp-entry-photo {
    max-width: min(320px, 100%);
  }

  .unp-entry-photo--top,
  .unp-entry-photo--bottom {
    transform: translateX(0);
  }

  .unp-entry-steps li {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-favorites-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-favorites-visual {
    justify-items: center;
  }

  .unp-fav-photo--main,
  .unp-fav-photo--small {
    max-width: min(320px, 100%);
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .unp-bath-inner,
  .unp-entry-inner,
  .unp-favorites-inner {
    padding-inline: 2rem;
  }
}
/* =============== SECTION 16: PROJECT TIMELINE STRIP =================== */

.unp-timeline {
  margin-bottom: 3.1rem;
}

.unp-timeline-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.1rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(circle at 50% 0%, #ffffff, var(--un-bg-soft));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.unp-timeline-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.unp-timeline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.unp-timeline-badge {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  color: var(--un-muted);
}

.unp-timeline-flow {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.unp-timeline-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.unp-timeline-steps li {
  border-radius: 22px;
  padding: 0.7rem 0.8rem 0.8rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.unp-timeline-stephead {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.unp-timeline-index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(196, 224, 217, 0.5);
  color: var(--un-ink);
}

.unp-timeline-stephead h3 {
  margin: 0;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.unp-timeline-steps p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

.unp-timeline-steps p + p {
  margin-top: 0.2rem;
}

.unp-timeline-meta {
  font-size: 0.8rem;
  opacity: 0.9;
}

.unp-timeline-note {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--un-muted);
  border-radius: 18px;
  padding: 0.7rem 0.8rem;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

/* =============== SECTION 17: PROJECT CTA PANEL =================== */

.unp-projectcta {
  margin-bottom: 3.4rem;
}

.unp-projectcta-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: linear-gradient(
    120deg,
    rgba(196, 224, 217, 0.35),
    rgba(251, 247, 242, 0.98),
    rgba(233, 205, 168, 0.28)
  );
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.unp-projectcta-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.unp-projectcta-points {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--un-muted);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.unp-projectcta-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.unp-projectcta-aside {
  border-radius: 24px;
  padding: 0.9rem 0.9rem 1rem;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.unp-projectcta-subtitle {
  margin: 0;
  font-size: 0.96rem;
  color: var(--un-ink);
}

.unp-projectcta-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--un-muted);
}

.unp-projectcta-list li + li {
  margin-top: 0.2rem;
}

.unp-projectcta-list span {
  font-weight: 500;
  color: var(--un-ink);
}

.unp-projectcta-note {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

/* =============== RESPONSIVE 16–17 =================== */

@media (max-width: 599px) {
  .unp-timeline-inner,
  .unp-projectcta-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .unp-timeline-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-projectcta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .unp-projectcta-actions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .unp-timeline-inner,
  .unp-projectcta-inner {
    padding-inline: 2rem;
  }
}
/* ============================
   PROJECTS PAGE — MOBILE IMAGE FIX
   ============================ */
@media (max-width: 599px) {
  /* Чуть ужимаем паддинги по краям секций */
  main .un-section,
  main section {
    padding-inline: 1.1rem;
  }

  /* Все figure / фото-карточки на 2 странице по центру и не шире 340px */
  main figure,
  main [class*="photo"],
  main [class*="card"],
  main [class*="image"] {
    max-width: min(340px, 100%);
    margin-left: auto;
    margin-right: auto;
    transform: none !important;
    margin-top: 0 !important;
  }

  /* Сами картинки */
  main img {
    display: block;
    max-width: min(340px, 100%) !important; /* <= 350px */
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }
}
