/* =========================================
   UrbanNest — Studio Page (studio.html)
   ========================================= */

/* Базовые заголовки/текст для студийной страницы */

.uns-page-title {
  margin: 0 0 0.7rem;
  font-family: var(--un-font-display);
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--un-ink);
}

.uns-section-title {
  margin: 0 0 0.5rem;
  font-family: var(--un-font-display);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--un-ink);
}

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

/* =========================================
   SECTION 1: STUDIO HERO COLLAGE
   ========================================= */

.uns-hero {
  margin-bottom: 3rem;
}

.uns-hero-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.2rem;
  border: 1px solid rgba(223, 212, 200, 0.9);
  background: radial-gradient(
    circle at 0% 0%,
    rgba(196, 224, 217, 0.35),
    rgba(251, 247, 242, 0.98)
  );
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: center;
}

.uns-hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 0.8rem;
}

.uns-hero-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.uns-hero-photo img {
  border-radius: 20px;
  max-width: 340px; /* <= 350px */
  width: 100%;
  display: block;
}

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

.uns-hero-photo--team {
  align-self: stretch;
}

.uns-hero-photo--materials,
.uns-hero-photo--window {
  max-width: 320px; /* <= 350px */
}

.uns-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

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

.uns-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.uns-hero-tag {
  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);
}

.uns-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

/* =========================================
   SECTION 2: SERVICE BANDS
   ========================================= */

.uns-services {
  margin-bottom: 3rem;
}

.uns-services-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);
}

.uns-services-head {
  max-width: 40rem;
  margin-bottom: 1.3rem;
}

.uns-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-services-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
}

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

.uns-service-card h3 {
  margin: 0;
  font-size: 0.98rem;
  color: var(--un-ink);
}

.uns-service-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--un-muted);
}

.uns-service-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--un-muted);
}

.uns-service-card ul li + li {
  margin-top: 0.16rem;
}

.uns-services-media {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.uns-service-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 */
}

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

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

/* =========================================
   SECTION 3: WORK FORMATS
   ========================================= */

.uns-formats {
  margin-bottom: 3.2rem;
}

.uns-formats-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));
}

.uns-formats-head {
  max-width: 40rem;
  margin-bottom: 1.2rem;
}

.uns-formats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.uns-format-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;
}

.uns-format-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.uns-format-header h3 {
  margin: 0;
  font-size: 0.96rem;
  color: var(--un-ink);
}

.uns-format-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;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  color: var(--un-muted);
}

.uns-format-tag--clay {
  background: rgba(209, 139, 115, 0.16);
}

.uns-format-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--un-muted);
}

.uns-format-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--un-muted);
}

.uns-format-card ul li + li {
  margin-top: 0.16rem;
}

.uns-formats-media {
  display: grid;
  gap: 0.8rem;
  justify-items: flex-start;
}

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

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

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

.uns-format-photo--top {
  max-width: 320px;
}

.uns-format-photo--bottom {
  max-width: 260px;
  transform: translateX(0.8rem);
}

/* =========================================
   RESPONSIVE (1–3)
   ========================================= */

@media (max-width: 599px) {
  .uns-hero-inner,
  .uns-services-inner,
  .uns-formats-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

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

  .uns-hero-media {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .uns-hero-photo img {
    max-width: min(320px, 100%);
  }

  .uns-services-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .uns-services-media {
    align-items: center;
  }

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

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

  .uns-formats-media {
    justify-items: center;
  }

  .uns-format-photo--bottom {
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .uns-hero-inner,
  .uns-services-inner,
  .uns-formats-inner {
    padding-inline: 2rem;
  }
}
/* =========================================
   SECTION 4: STUDIO DAY FLOW
   ========================================= */

.uns-dayflow {
  margin-bottom: 3rem;
}

.uns-dayflow-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);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-dayflow-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.uns-dayflow-list li + li {
  margin-top: 0.2rem;
}

.uns-dayflow-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.uns-day-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 */
}

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

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

/* =========================================
   SECTION 5: TEAM ROLES BAND
   ========================================= */

.uns-teamband {
  margin-bottom: 3rem;
}

.uns-teamband-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));
}

.uns-teamband-head {
  max-width: 40rem;
  margin-bottom: 1.2rem;
}

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

.uns-team-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;
}

.uns-team-photo {
  margin: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #ddd;
  width: 120px;
  height: 120px;
}

.uns-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uns-team-card h3 {
  margin: 0.3rem 0 0;
  font-size: 0.96rem;
  color: var(--un-ink);
}

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

/* =========================================
   SECTION 6: TOOLS & SOFTWARE
   ========================================= */

.uns-tools {
  margin-bottom: 3.2rem;
}

.uns-tools-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)
  );
}

.uns-tools-head {
  max-width: 40rem;
  margin-bottom: 1.2rem;
}

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

.uns-tool-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;
}

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

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

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

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

/* =========================================
   RESPONSIVE (4–6)
   ========================================= */

@media (max-width: 599px) {
  .uns-dayflow-inner,
  .uns-teamband-inner,
  .uns-tools-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

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

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

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

  .uns-teamband-grid,
  .uns-tools-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .uns-team-card,
  .uns-tool-card {
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .uns-dayflow-inner,
  .uns-teamband-inner,
  .uns-tools-inner {
    padding-inline: 2rem;
  }
}
/* =========================================
   SECTION 7: CLIENT RHYTHMS
   ========================================= */

.uns-clients {
  margin-bottom: 3rem;
}

.uns-clients-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);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-clients-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uns-clients-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
}

.uns-client-card {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-soft);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

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

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

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

.uns-clients-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 */
}

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

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

.uns-clients-photo--left {
  transform: translateX(0.6rem);
}

.uns-clients-photo--right {
  transform: translateX(0.1rem);
}

/* =========================================
   SECTION 8: APARTMENT SCALES
   ========================================= */

.uns-scales {
  margin-bottom: 3.1rem;
}

.uns-scales-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));
}

.uns-scales-head {
  max-width: 40rem;
  margin-bottom: 1.2rem;
}

.uns-scales-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-scales-table {
  display: grid;
  gap: 0.6rem;
}

.uns-scale-row {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 0.4rem 0.8rem;
}

.uns-scale-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--un-ink);
}

.uns-scale-desc p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

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

.uns-scales-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 */
}

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

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

/* =========================================
   SECTION 9: MINI FAQ STRIP
   ========================================= */

.uns-faqband {
  margin-bottom: 3.3rem;
}

.uns-faqband-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);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-faqband-media {
  display: grid;
  gap: 0.8rem;
  justify-items: flex-start;
}

.uns-faq-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 */
}

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

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

.uns-faqband-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uns-faq-list {
  display: grid;
  gap: 0.6rem;
}

.uns-faq-item {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-soft);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.uns-faq-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.uns-faq-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

/* =========================================
   RESPONSIVE (7–9)
   ========================================= */

@media (max-width: 599px) {
  .uns-clients-inner,
  .uns-scales-inner,
  .uns-faqband-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .uns-clients-inner,
  .uns-scales-layout,
  .uns-faqband-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .uns-clients-visual,
  .uns-scales-visual,
  .uns-faqband-media {
    justify-items: center;
  }

  .uns-clients-photo,
  .uns-scales-photo,
  .uns-faq-photo {
    max-width: min(320px, 100%);
  }

  .uns-clients-photo--left,
  .uns-clients-photo--right {
    transform: translateX(0);
  }

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

@media (min-width: 768px) {
  .uns-clients-inner,
  .uns-scales-inner,
  .uns-faqband-inner {
    padding-inline: 2rem;
  }
}
/* =========================================
   SECTION 10: COLLABORATION BOARD
   ========================================= */

.uns-collab {
  margin-bottom: 3.1rem;
}

.uns-collab-inner {
  border-radius: 32px;
  padding: 1.9rem 1.6rem 2.2rem;
  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.5fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-collab-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uns-collab-steps {
  margin: 0.4rem 0 0.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.uns-collab-steps li {
  border-radius: 20px;
  padding: 0.6rem 0.7rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.uns-collab-steps h3 {
  margin: 0 0 0.16rem;
  font-size: 0.94rem;
  color: var(--un-ink);
}

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

.uns-collab-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.uns-collab-stat {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.uns-collab-number {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--un-ink);
}

.uns-collab-label {
  font-size: 0.78rem;
  color: var(--un-muted);
}

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

.uns-collab-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 */
}

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

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

.uns-collab-photo--top {
  transform: translateX(0.7rem);
}

.uns-collab-photo--bottom {
  transform: translateX(0.2rem);
}

/* =========================================
   SECTION 11: NEIGHBOURHOOD & STUDIO LOCATION
   ========================================= */

.uns-neighborhood {
  margin-bottom: 3.1rem;
}

.uns-neighborhood-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);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-neighborhood-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.uns-neighborhood-list li + li {
  margin-top: 0.2rem;
}

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

.uns-neigh-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 */
}

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

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

/* =========================================
   SECTION 12: MICRO TESTIMONIALS
   ========================================= */

.uns-testimonials {
  margin-bottom: 3.3rem;
}

.uns-testimonials-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)
  );
}

.uns-testimonials-head {
  max-width: 40rem;
  margin-bottom: 1.2rem;
}

.uns-testimonials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-testimonials-quotes {
  display: grid;
  gap: 0.6rem;
}

.uns-quote-card {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

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

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

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

.uns-testimonial-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 */
}

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

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

/* =========================================
   RESPONSIVE (10–12)
   ========================================= */

@media (max-width: 599px) {
  .uns-collab-inner,
  .uns-neighborhood-inner,
  .uns-testimonials-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .uns-collab-inner,
  .uns-neighborhood-inner,
  .uns-testimonials-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .uns-collab-visual,
  .uns-neighborhood-visual,
  .uns-testimonials-visual {
    justify-items: center;
  }

  .uns-collab-photo,
  .uns-neigh-photo,
  .uns-testimonial-photo {
    max-width: min(320px, 100%);
  }

  .uns-collab-photo--top,
  .uns-collab-photo--bottom {
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .uns-collab-inner,
  .uns-neighborhood-inner,
  .uns-testimonials-inner {
    padding-inline: 2rem;
  }
}
/* =========================================
   SECTION 13: STUDIO PRINCIPLES
   ========================================= */

.uns-principles {
  margin-bottom: 3.1rem;
}

.uns-principles-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);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-principles-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

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

.uns-principles-list li + li {
  margin-top: 0.2rem;
}

.uns-principles-visual {
  display: grid;
  gap: 0.7rem;
  justify-items: flex-start;
}

.uns-principle-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 */
}

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

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

/* =========================================
   SECTION 14: SESSION SCENARIOS
   ========================================= */

.uns-scenarios {
  margin-bottom: 3.1rem;
}

.uns-scenarios-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.5fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-scenarios-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uns-scenarios-cards {
  display: grid;
  gap: 0.6rem;
}

.uns-scenario-card {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

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

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

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

.uns-scenarios-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 */
}

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

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

/* =========================================
   SECTION 15: AFTERCARE & LIVING WITH INTERIOR
   ========================================= */

.uns-aftercare {
  margin-bottom: 3.3rem;
}

.uns-aftercare-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)
  );
}

.uns-aftercare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-aftercare-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

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

.uns-aftercare-body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
}

.uns-aftercare-body ul li + li {
  margin-top: 0.16rem;
}

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

.uns-aftercare-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 */
}

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

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

/* =========================================
   RESPONSIVE (13–15)
   ========================================= */

@media (max-width: 599px) {
  .uns-principles-inner,
  .uns-scenarios-inner,
  .uns-aftercare-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .uns-principles-inner,
  .uns-scenarios-inner,
  .uns-aftercare-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .uns-principles-visual,
  .uns-scenarios-visual,
  .uns-aftercare-visual {
    justify-items: center;
  }

  .uns-principle-photo,
  .uns-scenarios-photo,
  .uns-aftercare-photo {
    max-width: min(320px, 100%);
  }
}

@media (min-width: 768px) {
  .uns-principles-inner,
  .uns-scenarios-inner,
  .uns-aftercare-inner {
    padding-inline: 2rem;
  }
}
/* =========================================
   SECTION 16: BUDGET & PRIORITY LINES
   ========================================= */

.uns-budget {
  margin-bottom: 3.1rem;
}

.uns-budget-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.6fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-budget-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uns-budget-lines {
  display: grid;
  gap: 0.6rem;
}

.uns-budget-chip {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.uns-budget-chip h3 {
  margin: 0 0 0.2rem;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.uns-budget-chip p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

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

.uns-budget-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 */
}

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

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

/* =========================================
   SECTION 17: STUDIO WALL & PROCESS MAP
   ========================================= */

.uns-studiowall {
  margin-bottom: 3.2rem;
}

.uns-studiowall-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);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 1.8rem;
  align-items: flex-start;
}

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

.uns-studiowall-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 */
}

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

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

.uns-studiowall-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uns-studiowall-grid {
  display: grid;
  gap: 0.6rem;
}

.uns-studiowall-item {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-soft);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.uns-studiowall-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.uns-studiowall-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

/* =========================================
   SECTION 18: FINAL CTA & NEXT STEPS
   ========================================= */

.uns-finalcta {
  margin-bottom: 3.5rem;
}

.uns-finalcta-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.7fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.uns-finalcta-main {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uns-finalcta-steps {
  display: grid;
  gap: 0.6rem;
}

.uns-final-step {
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: var(--un-bg-elevated);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

.uns-final-step h3 {
  margin: 0 0 0.2rem;
  font-size: 0.94rem;
  color: var(--un-ink);
}

.uns-final-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--un-muted);
}

.uns-finalcta-actions {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

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

.uns-final-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 */
}

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

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

/* =========================================
   RESPONSIVE (16–18)
   ========================================= */

@media (max-width: 599px) {
  .uns-budget-inner,
  .uns-studiowall-inner,
  .uns-finalcta-inner {
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .uns-budget-inner,
  .uns-studiowall-inner,
  .uns-finalcta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .uns-budget-visual,
  .uns-studiowall-visual,
  .uns-finalcta-visual {
    justify-items: center;
  }

  .uns-budget-photo,
  .uns-studiowall-photo,
  .uns-final-photo {
    max-width: min(320px, 100%);
  }
}

@media (min-width: 768px) {
  .uns-budget-inner,
  .uns-studiowall-inner,
  .uns-finalcta-inner {
    padding-inline: 2rem;
  }
}
/* ============================
   STUDIO PAGE — MOBILE H-SCROLL FIX
   ============================ */
@media (max-width: 599px) {
  /* Чуть ужимаем паддинги у секций, чтобы точно не вылезали */
  .un-main,
  .un-main.un-main--studio {
    overflow-x: hidden;
  }

  .un-main.un-main--studio .un-section,
  .un-main .un-section {
    padding-inline: 1.1rem;
  }

  /* Все "inner"-контейнеры студии вписываем в ширину */
  .un-main.un-main--studio [class*="inner"],
  .un-main.un-main--studio [class^="uns-"],
  .un-main [class^="uns-"] {
    max-width: 100%;
  }

  /* Визуальные колонки (visual/layout) — в одну колонку по центру */
  .un-main.un-main--studio [class*="visual"],
  .un-main.un-main--studio [class*="layout"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  /* Карточки с фото — без сдвигов и строго по центру */
  .un-main.un-main--studio [class*="photo"],
  .un-main.un-main--studio [class*="card"] {
    transform: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: min(340px, 100%);
  }

  /* Сами картинки: вписаны, не тянут страницу шире */
  .un-main.un-main--studio img {
    display: block;
    max-width: min(340px, 100%);
    height: auto;
  }
}
/* ============================
   STUDIO PAGE — MOBILE HARD FIX
   ============================ */
@media (max-width: 599px) {
  /* Основной контейнер страницы студии */
  .un-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-inline: 0;
  }

  /* Все секции чуть уже, чтобы точно влезали */
  .un-main .un-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Любые "inner"-контейнеры студийных секций */
  .un-main [class*="inner"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* Все figure на 3 странице по центру и ограничены по ширине */
  .un-main figure {
    box-sizing: border-box;
    max-width: min(340px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .un-main figure img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Убираем любые сдвиги/оверлеи у фото-карточек */
  .un-main [class*="photo"],
  .un-main [class*="card"] {
    transform: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: min(340px, 100%);
  }
}
/* ============================
   STUDIO PAGE — DESKTOP PHOTO ALIGN
   ============================ */
@media (min-width: 900px) {
  /* Все фото-карточки внутри секций студии без сдвигов */
  .un-main .un-section [class*="photo"] {
    transform: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
